Permalink
Browse files

Set TargetRubyVersion to 2.3 in Rubocop

1 parent 168bfff commit b6b697872e46fd340263bc9c24339e790967d581 @hakanensari committed Apr 11, 2016
View
@@ -1,2 +1,4 @@
+AllCops:
+ TargetRubyVersion: 2.3
Documentation:
Enabled: false
View
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
source 'http://rubygems.org'
ruby '2.3.0'
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative 'app'
$LOAD_PATH << App.root.join('lib')
Dir[App.root.join('config/initializers/*.rb')].each { |f| require f }
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require 'pg'
require 'sequel'
View
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
job_type :rake, 'cd :path && foreman run bundle exec rake :task --silent :output'
every '*/15 13,14,15,16,17 * * 1-5' do
- rake "rates:update"
+ rake 'rates:update'
end
View
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
preload_app true
worker_processes((ENV['WORKER_PROCESSES'] || 4).to_i)
timeout 10
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
Sequel.migration do
change do
create_table :currencies do
View
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
namespace :db do
desc 'Create db'
task :create do
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
task :environment do
require './config/environment'
end
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
namespace :rates do
task setup: :environment do
require 'currency'
View
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require 'rake/testtask'
Rake::TestTask.new(test: :environment) do |t|
View
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative 'helper'
require 'rack/test'
require 'api'
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative 'helper'
require 'currency'
View
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
ENV['RACK_ENV'] = 'test'
require './config/environment'
require 'minitest/autorun'
View
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative 'helper'
require 'quote'

0 comments on commit b6b6978

Please sign in to comment.