Commit 754322f8e60b9f9a30575bd77194bb4eb5c6acc4

Authored by Andrew Kane
1 parent ee4f1df1

Fixed warnings

groupdate.gemspec
... ... @@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13 13 spec.homepage = "https://github.com/ankane/groupdate"
14 14 spec.license = "MIT"
15 15  
16   - spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
  16 + spec.files = `git ls-files`.split($/)
17 17 spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18 18 spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19 19 spec.require_paths = ["lib"]
... ...
lib/groupdate/active_record.rb
... ... @@ -26,7 +26,7 @@ module ActiveRecord
26 26 module Associations
27 27 class CollectionProxy
28 28 if ActiveRecord::VERSION::MAJOR == 3
29   - delegate *Groupdate::METHODS, to: :scoped
  29 + delegate(*Groupdate::METHODS, to: :scoped)
30 30 end
31 31 end
32 32 end
... ...