foobara-util 0.0.5 → 0.0.6

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: b775763a1a256122c051f67beee0139ce2e2a52a773f3565f6b262240fc98be5
4
- data.tar.gz: 050b2f251de8f7be7be457ec1b8aa20412704c065681dce9fe5a49ddce2a94f3
3
+ metadata.gz: 4590da92837dec116a87f379edc8929c2de023e4ce5521f0eb495f8ffdb54b38
4
+ data.tar.gz: 90238da06830e8625f57bcdd2236f09f9599f285c309e141a39f8046064507c3
5
5
  SHA512:
6
- metadata.gz: 14e91d4625361415cb5cffa242454b27cbd660d2b86d585b19ae3546a7bcaa76aa9e1d6cef875edfc35124c042266c3a4bbd20c852e8737c2967646beb1f2712
7
- data.tar.gz: 78bc9651bc57478faa41b1280a56c9c4ec4ed24437a7063e49c6e2c4b6a10ad2a3b1194f92cda06fa7f83ddaed50ff7b8c93e3f28bacac3c6ed8d7446417c424
6
+ metadata.gz: 1de15fd9472a45496486e95887bbdbef75cad6f7d0331344f8582ddcdbcf4818c598bb48c806356e0859b8fdec9f653e2529ab90ecb3efe56898d26efbd785e4
7
+ data.tar.gz: 5b666e62ed4ad891c0410c0b86425da63bbd60b035ac33a675db0f14d8bc83c4e1d1fed0f8c5d0d2079b7687f78a96dbd5e185b3833ebc7e59a2b2e85a4d6cd2
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## [0.0.5] - 2024-09-26
1
+ ## [0.0.6] - 2024-09-26
2
2
 
3
3
  * Add find_constant_through_class_hierarchy
4
4
 
@@ -34,9 +34,7 @@ module Foobara
34
34
  if klass.const_defined?(constant)
35
35
  klass.const_get(constant)
36
36
  else
37
- unless klass == Object
38
- find_constant_through_class_hierarchy(constant, klass.superclass)
39
- end
37
+ find_constant_through_class_hierarchy(klass.superclass, constant)
40
38
  end
41
39
  end
42
40
  end
@@ -1,5 +1,5 @@
1
1
  module Foobara
2
2
  module Util
3
- VERSION = "0.0.5".freeze
3
+ VERSION = "0.0.6".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi