Use frozen_string_literal comment

This commit is contained in:
Hakan Ensari 2015-12-30 19:52:02 +00:00
parent 7284abfdd7
commit bfe8313418
5 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'logger'
require 'pathname'

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'sinatra'
require 'sinatra/cross_origin'
require 'sinatra/jsonp'

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
class Currency < Sequel::Model
dataset_module do
def recent

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'virtus'
require 'currency'

View File

@ -1,4 +1,9 @@
namespace :db do
desc 'Create db'
task :create do
`createdb fixer`
end
desc 'Run database migrations'
task migrate: :environment do
Sequel.extension(:migration)