range_component_attributes 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bca1ba187de84330620031b1510c5fdd97dd08a59d2cd554386a275a56c1d28
4
- data.tar.gz: f718db1481e79bc8e9b9b09800c21c4db055d23e37c7685c6a6ea7305e7c5e60
3
+ metadata.gz: fd7fe3e06ccb72dc936cf26c80d3d134ec5e69621fd8d15a8c6d1b871868b8b3
4
+ data.tar.gz: efd2fa062b0d74b2c33d3b6fd4bbf1e42042c08f2ebcb7a39ea37e5566c17ca4
5
5
  SHA512:
6
- metadata.gz: '028503886c5fa7cba0f094da68326986ec8a8f77d375cd2c3c69a9876ade1def3e95e2dbb5877c4955c5368329c5018614dc25795019d7f912157de862dd4a26'
7
- data.tar.gz: 8e3dc81c43e5fb06be13ead85b51f5eea86fc7b1ee678173584e1ab4b2f660aa4e6675ca050c482a2f97df9723aa1470d773f3e4f6eb14264d39d638986bdeb6
6
+ metadata.gz: 45150e5a4de7df182b07bc38bf344afbecc789ee6171a5100ef2b8d647e3c58b308cd44667b9754a7d1555a185c380e6bb794bd09c8458ccd8220fea74a677aa
7
+ data.tar.gz: cea320718100b757debc40c123178390d89a1cce250be10feb6c4314e3313b703c9daaa34f171ca9a10a6bf97aa74317329484c46696cf4d1f6e1bd1ace443c0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.1.2 (April 5, 2019)
2
+
3
+ * Fix reload to return self.
4
+
1
5
  # 1.1.1 (February 7, 2019)
2
6
 
3
7
  * Fix reload to refresh stale cached values.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- range_component_attributes (1.1.1)
4
+ range_component_attributes (1.1.2)
5
5
  activerecord (>= 5.2.0)
6
6
  activesupport (>= 5.2.0)
7
7
 
@@ -103,8 +103,9 @@ module RangeComponentAttributes
103
103
  end
104
104
 
105
105
  define_method "reload" do |options=nil|
106
- super options
106
+ result = super options
107
107
  send(range_wrapper_name).range = send(range_name)
108
+ result
108
109
  end
109
110
  end
110
111
 
@@ -1,3 +1,3 @@
1
1
  module RangeComponentAttributes
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: range_component_attributes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Christensen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-07 00:00:00.000000000 Z
11
+ date: 2019-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0'
166
166
  requirements: []
167
- rubygems_version: 3.0.1
167
+ rubygems_version: 3.0.3
168
168
  signing_key:
169
169
  specification_version: 4
170
170
  summary: Splits database ranges into lower and upper attributes in ActiveRecord