phony 2.18.11 → 2.18.12

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: 0dec25f641694c9f28c6d38038e650ee1353ffe7d7756b11f3675a8d2e2edb5d
4
- data.tar.gz: 46c14ea65fd3659bd58ae8f6764c723c0647b3bb172b535a1cfc0753b44663c6
3
+ metadata.gz: eb28b6f9cce0d35aae61c35e0c45f2f7afce7fd6e1c39bf014e6242e8e6fbed6
4
+ data.tar.gz: 4ab901070528ccb0c3dc5e1e0a0db329d85dfa4bf67c97af51fac0794b2d5bcb
5
5
  SHA512:
6
- metadata.gz: 25fa4f7c4212f45a77cd98bc18c978048d11579de5bb70680108a7e84cbe91a2ffe8935a94a9bbd4f78e9e9a32b675b341ddcaa4367666a0f7d386069352e3a8
7
- data.tar.gz: 26b570a3ddbe060b034841ffad3ecf7548d2ed74644e6a56b8790582c66b2144610e99c8bb817ecdcbdd4ca92acc25f19077df08bc2ccc73335bbf8c2fb3dedf
6
+ metadata.gz: 8e9bdc965a6046a2ea6e8c4e5e94310dc2d6d1fac4e7640f4a13005d17784974efcaa462951aaabdb574ec0185ef10e850fb0120950ebb3ab86487afa9c2f095
7
+ data.tar.gz: afb3c2b8fb427099a565369b6e2755dbb67502dc6116aabbfa34bfa74a68ea84231f188be016492ba210835cb6e6c894c0188cd6e39ae09d7875e24394603fcf
@@ -12,9 +12,9 @@ module Phony
12
12
  #
13
13
  # Phony.define.country ...
14
14
  #
15
- def self.define
15
+ def self.define(&block)
16
16
  dsl = DSL.new
17
- dsl.instance_eval(&Proc.new) if block_given?
17
+ dsl.instance_eval(&block) if block_given?
18
18
  dsl
19
19
  end
20
20
 
@@ -89,4 +89,4 @@ describe Phony::Country do
89
89
  end
90
90
  end
91
91
 
92
- end
92
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phony
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.18.11
4
+ version: 2.18.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Hanke
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0'
116
116
  requirements: []
117
- rubygems_version: 3.0.3
117
+ rubygems_version: 3.0.6
118
118
  signing_key:
119
119
  specification_version: 4
120
120
  summary: Fast international phone number (E164 standard) normalizing, splitting and