polymorphic_integer_type 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 84ff86a8b1c1b2d27d9834ba6bfb1a5713968e42
4
- data.tar.gz: 72f17ee895418f4a1a7db952ce135ebadb0521d4
3
+ metadata.gz: 11fbd6f9c602a576f371e3229014f93c51c656d2
4
+ data.tar.gz: 7de5bd1c342aaf386ef9cd3defe7cb2791e1bda4
5
5
  SHA512:
6
- metadata.gz: a333e4a0da4f90c6a7ee1e0b304303b17d29fe8be6745f17e02b6e5ddf6cd1d2eb7c77d9ee26281106f5c066cbbea6be89c28ee31974fa9b5642adba4687675e
7
- data.tar.gz: 9c4ccc617103c6b818ae219bacc43c5513dac9995617fa3078db10bdfab1eb78c0d632b68d9a73fd628d5c7349031aaf08c63f367614adce6c1e59876f43ae7b
6
+ metadata.gz: f266a00a2d64233c9362f344c2d9077ffbf0fd4df12bb3dd99734b239b9c0d2867dbe7b741e36c0348adc19f9e181204e534e70c307fa711e3323c6e2958f835
7
+ data.tar.gz: 31355ff1e141213dd72935588ae45cb64ff4787407ce80ee0b242d76c7e04a41a665b432675a45b3f3d25259c44ed5c87f0fe6e3ddac13797950f703b9d689a0
@@ -3,7 +3,7 @@ module PolymorphicIntegerType
3
3
  module Extensions
4
4
  module ClassMethods
5
5
 
6
- def belongs_to(name, scope = nil, options = {})
6
+ def belongs_to(name, scope = nil, **options)
7
7
  options = scope if scope.kind_of? Hash
8
8
  integer_type = options.delete :integer_type
9
9
  super
@@ -94,7 +94,7 @@ module PolymorphicIntegerType
94
94
  end
95
95
  end
96
96
 
97
- def has_many(name, scope = nil, options = {}, &extension)
97
+ def has_many(name, scope = nil, **options, &extension)
98
98
  if scope.kind_of? Hash
99
99
  options = scope
100
100
  scope = nil
@@ -104,7 +104,7 @@ module PolymorphicIntegerType
104
104
  super(name, options.delete(:scope), options, &extension)
105
105
  end
106
106
 
107
- def has_one(name, scope = nil, options = {})
107
+ def has_one(name, scope = nil, **options)
108
108
  if scope.kind_of? Hash
109
109
  options = scope
110
110
  scope = nil
@@ -1,3 +1,3 @@
1
1
  module PolymorphicIntegerType
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polymorphic_integer_type
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle d'Oliveira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-15 00:00:00.000000000 Z
11
+ date: 2018-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler