naughty_or_nice 2.1.0 → 2.1.1

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
- SHA1:
3
- metadata.gz: c1f0a6ca903c8a3019b9e566099f6454b1d2b941
4
- data.tar.gz: daf9330f225766d7d2bdedee264d6d98a8bcc39f
2
+ SHA256:
3
+ metadata.gz: aad85c506756b8b17bd71ef002890296adfac42fff36403d02aaf246bf9e4c58
4
+ data.tar.gz: 4c66b7f1b875cca385551e307d0a646aba23554e17e02bf78eda514ab5f82991
5
5
  SHA512:
6
- metadata.gz: 2e0f1f7f05521e3c08f124f28513e3f8a19c752d84dc96288793a48f58aaa8493876cda29d34a31c1e3acbe3a4c0284a9f77689aa116f880335262a32ae96ba6
7
- data.tar.gz: bc06c3ed9f60e07525e016f80bb7ff23f15f0307712b06d6b6142a873311a043e1792b9bc63d7fa66e365569d4f58f88e941daf3d0475da8e054e190fba34f00
6
+ metadata.gz: a57084038554f0bea9df4a3f585f651c481888993b93b54e4c1f66da4e93a1bf83e377194cb89af459f6ca65690f0716edce1332410518206ccced429ce06dd1
7
+ data.tar.gz: cefff042115ce501365fc60164b1cec8e9c71877776d64b00a23cb1a6fc49481a8f227e34cf4b445df19d423e5ee72e9820d8b234c176f5b788c6aacd5de421a
@@ -41,7 +41,7 @@ module NaughtyOrNice
41
41
  )?
42
42
  )
43
43
  $
44
- }xi
44
+ }xi.freeze
45
45
 
46
46
  # Ruby idiom that allows `include` to create class methods
47
47
  module ClassMethods
@@ -73,8 +73,8 @@ module NaughtyOrNice
73
73
 
74
74
  @domain = begin
75
75
  PublicSuffix.parse(normalized_domain, default_rule: nil)
76
- rescue PublicSuffix::DomainInvalid, PublicSuffix::DomainNotAllowed
77
- nil
76
+ rescue PublicSuffix::DomainInvalid, PublicSuffix::DomainNotAllowed
77
+ nil
78
78
  end
79
79
  end
80
80
 
@@ -1,3 +1,3 @@
1
1
  module NaughtyOrNice
2
- VERSION = '2.1.0'.freeze
2
+ VERSION = '2.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,43 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: naughty_or_nice
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-16 00:00:00.000000000 Z
11
+ date: 2019-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: public_suffix
14
+ name: addressable
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.0'
19
+ version: '2.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.0'
26
+ version: '2.3'
27
27
  - !ruby/object:Gem::Dependency
28
- name: addressable
28
+ name: public_suffix
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '2.3'
33
+ version: '2.0'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '4.0'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
- version: '2.3'
43
+ version: '2.0'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '4.0'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: pry
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -111,8 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
117
  - !ruby/object:Gem::Version
112
118
  version: '0'
113
119
  requirements: []
114
- rubyforge_project:
115
- rubygems_version: 2.6.7
120
+ rubygems_version: 3.0.2
116
121
  signing_key:
117
122
  specification_version: 4
118
123
  summary: You've made the list. We'll help you check it twice. Given a domain-like