pricehubble 2.9.0 → 3.0.0
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/Guardfile +4 -4
- data/lib/price_hubble/core_ext/hash.rb +1 -2
- data/lib/price_hubble/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f8a798b55981a2e6d6e54f5276be51291a5011d43aba409418127d0f40320f5b
|
|
4
|
+
data.tar.gz: 3e0605faf74b7cadebd3e0ac53af246c9ed7433ccdc7095682fcc9aa6c8675b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5001d4287937bddc6b011899a097c3727e399bf281aad27fc9f616f860acb6b06b726d806b03d494431eea0709e10ef4bd536c3aa2ebf0a7fa39f607ecb58da3
|
|
7
|
+
data.tar.gz: 62fb86f23cee618d21f56c341529fdf6bef62c7c494be8356c359c7d5581f1e255af5fba9ba2590228cc3480b84907f5c0ddde1d7da2a8514509080cb0bcd3ab
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
* TODO: Replace this bullet point with an actual description of a change.
|
|
4
4
|
|
|
5
|
+
### 3.0.0 (13 March 2026)
|
|
6
|
+
|
|
7
|
+
* Corrected some RuboCop issues ([#31](https://github.com/hausgold/pricehubble/pull/31))
|
|
8
|
+
* Corrected the `Hash#deep_compact` core extension behavior and added specs for
|
|
9
|
+
it ([#32](https://github.com/hausgold/pricehubble/pull/32))
|
|
10
|
+
|
|
5
11
|
### 2.9.0 (18 February 2026)
|
|
6
12
|
|
|
7
13
|
* Dropped 3rd-level gem dependencies which are not directly used
|
data/Guardfile
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# More info at https://github.com/guard/guard#readme
|
|
5
5
|
|
|
6
6
|
## Uncomment and set this to only include directories you want to watch
|
|
7
|
-
(directories %w[lib spec]).select do |d|
|
|
7
|
+
(directories %w[lib/price_hubble spec]).select do |d|
|
|
8
8
|
if Dir.exist?(d)
|
|
9
9
|
d
|
|
10
10
|
else
|
|
@@ -35,10 +35,10 @@ guard :rspec, cmd: 'bundle exec rspec' do
|
|
|
35
35
|
watch('spec/spec_helper.rb') { 'spec' }
|
|
36
36
|
watch(%r{^lib/pricehubble.rb}) { 'spec' }
|
|
37
37
|
watch(%r{^spec/.+_spec\.rb$})
|
|
38
|
-
watch(%r{^lib/
|
|
39
|
-
"spec/
|
|
38
|
+
watch(%r{^lib/price_hubble/([^\\]+)\.rb$}) do |m|
|
|
39
|
+
"spec/price_hubble/#{m[1]}_spec.rb"
|
|
40
40
|
end
|
|
41
|
-
watch(%r{^lib/
|
|
41
|
+
watch(%r{^lib/price_hubble/([^\\]+)/(.*)\.rb$}) do |m|
|
|
42
42
|
"spec/#{m[1]}/#{m[2]}_spec.rb"
|
|
43
43
|
end
|
|
44
44
|
end
|
|
@@ -35,10 +35,9 @@ class Hash
|
|
|
35
35
|
def deep_compact_in_object(object)
|
|
36
36
|
case object
|
|
37
37
|
when Hash
|
|
38
|
-
object
|
|
38
|
+
object.compact.transform_values do |value|
|
|
39
39
|
deep_compact_in_object(value)
|
|
40
40
|
end
|
|
41
|
-
object.empty? ? nil : object.compact
|
|
42
41
|
when Array
|
|
43
42
|
object.map { |item| deep_compact_in_object(item) }
|
|
44
43
|
else
|
data/lib/price_hubble/version.rb
CHANGED