activerecord_touchy 0.1.0 → 0.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: 8b2cbdc30e00bd2ec20aaee11d4bced2d57b1470
4
- data.tar.gz: 05a7eaa39c121d77eedf834f8fba5daea1547544
3
+ metadata.gz: bb8e3bd2d6fc5b02da2896e6444428ef0bdc5e6e
4
+ data.tar.gz: 1be134813604e44652bb3563c6af359459494617
5
5
  SHA512:
6
- metadata.gz: 6bc1bae5c2ad62e3b9c5bc28e68ceddd710dc3480d14e46fd5d11c086e86f9cfc487c54731c5dd8dbf4708d52efce14132745057056f4fb7093fc7670dd4c7b1
7
- data.tar.gz: 135d6393d0f168eed2d583c775051c735367113b3aeb6a7a00e960b95a162f47582755001ab4bb30c79e1e6a1f0d7e01e20153e74b67835160b11100788b0ad2
6
+ metadata.gz: 5a5a5bea260fa8911fec13a9eb5dd40d960793496bd93b5e750edbe8f32cfae94262ccefa397a43cbbb084420bcb6787dbb5f245770e512c77cc2f8fd1f6d7e8
7
+ data.tar.gz: 981fdc3c00fd5df675d6546c1813dcc631cdfccb39a84f4c5a43e07a0c20ce390d430e9bd3f11745ca713bb21a76874c70fcce4819d007e65bc812b54d06ac7d
@@ -7,7 +7,7 @@ module ActiverecordTouchy
7
7
  end
8
8
 
9
9
  module ClassMethods
10
- def has_many(name, scope = nil, options = {}, &extension)
10
+ def has_many(name, scope = nil, **options, &extension)
11
11
  touch = (scope.is_a?(Hash) ? scope : options).delete(:touch)
12
12
  result = super
13
13
 
@@ -20,7 +20,7 @@ module ActiverecordTouchy
20
20
  result
21
21
  end
22
22
 
23
- def has_one(name, scope = nil, options = {})
23
+ def has_one(name, scope = nil, **options)
24
24
  touch = (scope.is_a?(Hash) ? scope : options).delete(:touch)
25
25
  result = super
26
26
 
@@ -1,3 +1,3 @@
1
1
  module ActiverecordTouchy
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord_touchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vital Ryabchinskiy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-17 00:00:00.000000000 Z
11
+ date: 2018-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler