eac_ruby_utils 0.105.0 → 0.106.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7c14027c7e1ef4db1c0b886d72d3053d6f7406468bf497bf0a644d988602ea6
4
- data.tar.gz: 54eed81faaa197cf4b210c80df89c7f1ee414f99fae66275b2bab7a71e870b2e
3
+ metadata.gz: d09c44eb96a5d9f1ea3fa5f6559e3f7b0185c536af8b254daea989f8abe71ffa
4
+ data.tar.gz: 732c0400447703cc639ca400c0a0eaf2c294d260dc2e7a91a8c88874ceae248d
5
5
  SHA512:
6
- metadata.gz: cf946355a2cf5ec6a7dfb568d7b751b48e8d34b28d6e963eca8204fffbfc375ce9772f32029161c8413ec2557aba9216dd59f2a528428d1dfd832c350989934e
7
- data.tar.gz: 59a58657570e06311d85c82d0deca5dab659ef0477d14794a9cd069dd637208fe1c97458e902ded340babfaf95f3f8ae3635ab4bc3fc9f50df41e25d50f85f82
6
+ metadata.gz: 8a3f8342b15dc6f6b957efeb8f3a6b297876573f7a9ed29fce86307e6f42710914169f6785f41ed14c495cf35b6147f1399575955389c095a964480166b290f6
7
+ data.tar.gz: e03b9749f87b9dea75f376f152000a55365fc915d931d28cb7df97cf15566227e56083913a88ac52e42ea7635293637309f53e0b354221318522bb0778c784d0
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/boolean'
4
+
5
+ class Object
6
+ # Shortcut to +EacRubyUtils::Boolean.parse(self).
7
+ #
8
+ # @return [Boolean]
9
+ def to_bool
10
+ ::EacRubyUtils::Boolean.parse(self)
11
+ end
12
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyUtils
4
- VERSION = '0.105.0'
4
+ VERSION = '0.106.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_ruby_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.105.0
4
+ version: 0.106.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-16 00:00:00.000000000 Z
11
+ date: 2022-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -234,6 +234,7 @@ files:
234
234
  - lib/eac_ruby_utils/patches/object/if_nil.rb
235
235
  - lib/eac_ruby_utils/patches/object/if_present.rb
236
236
  - lib/eac_ruby_utils/patches/object/if_respond.rb
237
+ - lib/eac_ruby_utils/patches/object/to_bool.rb
237
238
  - lib/eac_ruby_utils/patches/object/to_pathname.rb
238
239
  - lib/eac_ruby_utils/patches/object/to_uri.rb
239
240
  - lib/eac_ruby_utils/patches/pathname.rb