activeset 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/CHANGELOG +4 -0
- data/lib/active_set/instructions/base.rb +2 -0
- data/lib/active_set/instructions/entry/keypath.rb +1 -1
- data/lib/active_set/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43b8c14be0e499a84f414dd4f1b4d101cb0c8ae9
|
4
|
+
data.tar.gz: 63d2f2f54be44b6d37e8da72eaba0cef2aec3552
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10fff65c6a1936633c374f6e07a5c81d679d7991940f8b2a2bc7c50807f418c2a9760fd30d246ad2417e19b348db9a58ca3df7d12ec03e1a53538c5bd28348a4
|
7
|
+
data.tar.gz: d0b5327b6a08e168ffdedb6b65be5095f00081a01fa18f40d79a34fe1a7673517c61fd36ee4e00ca52befd8aa32cdda489ca64d35d3ed00cb2ce8e15eb86f865
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.4.1
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
v 0.4.2
|
2
|
+
- Ensure that the `transform_keys` method is available for Hashes by bringing in the ActiveSupport module
|
3
|
+
- Fix bug in handling string keypaths passed in from Processors
|
4
|
+
- Set the Ruby version for this project
|
1
5
|
v 0.4.1
|
2
6
|
- Soften the constraint on the ActiveSupport dependency
|
3
7
|
- Don't require ActiveSupport methods that are no longer used in the processors
|
@@ -12,7 +12,7 @@ class ActiveSet
|
|
12
12
|
def initialize(path)
|
13
13
|
# `path` can be an Array (e.g. [:parent, :child, :grandchild])
|
14
14
|
# or a String (e.g. 'parent.child.grandchild')
|
15
|
-
@path = path.
|
15
|
+
@path = Array.wrap(path).map(&:to_s).flat_map { |x| x.split('.') }
|
16
16
|
end
|
17
17
|
|
18
18
|
def attribute
|
data/lib/active_set/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeset
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Margheim
|
@@ -160,6 +160,7 @@ files:
|
|
160
160
|
- ".gitignore"
|
161
161
|
- ".rspec"
|
162
162
|
- ".rubocop.yml"
|
163
|
+
- ".ruby-version"
|
163
164
|
- ".travis.yml"
|
164
165
|
- CHANGELOG
|
165
166
|
- Gemfile
|
@@ -207,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
208
|
version: '0'
|
208
209
|
requirements: []
|
209
210
|
rubyforge_project:
|
210
|
-
rubygems_version: 2.
|
211
|
+
rubygems_version: 2.6.11
|
211
212
|
signing_key:
|
212
213
|
specification_version: 4
|
213
214
|
summary: A toolkit for working with enumerable sets.
|