tld 0.7.0 → 0.7.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
2
  SHA1:
3
- metadata.gz: 53c5e9e950a03cdcaa55781149faa1d5f5812280
4
- data.tar.gz: ba14629d41691b5ba9a8e20a6b20defe915ab354
3
+ metadata.gz: c7fbf4acc1e2bf6b9f198aab7f0f6f3a3fc49680
4
+ data.tar.gz: 980bd3e885696a4903da4b598591cdf86b0a7c55
5
5
  SHA512:
6
- metadata.gz: e313997b5b81d8d9336bd10755889a8d4b93d17f38fdd87f35dc2df391a7041e8830e98c29096274f3da462627e0b59f9b34949574d2fb67e6b27278e9751baf
7
- data.tar.gz: f882b90d74d659b035dcf5930b0529b6faad02eb8d7ee1b19260082fbeb55184a37e9bbe920fcfb199b7329f30f84cce50111d633858139f49e1d9b5b8daea48
6
+ metadata.gz: e3b795f57c6f3546592f7f3bb66c82f98552911b68ba8b6917d1a8d35551a7cb0c409b439a17a959dda601a31b5f874235c8cbb6932e87ebf036da6da9846c7f
7
+ data.tar.gz: 3bf3e51296feb0307699f080fbd629ca68ee6bff4b5c9293fa0b3ce78eadc7129d6d87609614983d3ac3da81942abf09a038038e48d782dfbf6c37cc3cc785b8
data/.travis.yml CHANGED
@@ -2,12 +2,9 @@ language: ruby
2
2
  bundler_args: --without development
3
3
  rvm:
4
4
  - 2.0.0
5
- - 1.9.3
6
5
  - ruby-head
7
6
  - ree
8
- - jruby-19mode
9
7
  - jruby-head
10
- - rbx-19mode
11
8
  matrix:
12
9
  allow_failures:
13
10
  - rvm: ruby-head
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ === 0.7.1 / 2014-11-27
2
+
3
+ * Updated class names for pseudo, reserverd and retired TLDs
4
+ * Officially removed suport for Ruby < 2.0
5
+
1
6
  === 0.7.0 / 2014-11-27
2
7
 
3
8
  * IANA is now the authority source of TLDs instead of Wikipedia
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.0
1
+ 0.7.1
data/lib/tld/pseudo.rb CHANGED
@@ -1,28 +1,35 @@
1
1
  class TLD
2
- class PseudoTld < TLD
2
+ class Pseudo < TLD
3
3
  def type
4
4
  :pseudo
5
5
  end
6
- class BITNET < PseudoTld #:nodoc:
6
+
7
+ class TLDBitnet < Pseudo #:nodoc:
7
8
  self.tld = %q{bitnet}
8
9
  end
9
- class CSNET < PseudoTld #:nodoc:
10
+
11
+ class TLDCsnet < Pseudo #:nodoc:
10
12
  self.tld = %q{csnet}
11
13
  end
12
- class LOCAL < PseudoTld #:nodoc:
14
+
15
+ class TLDLocal < Pseudo #:nodoc:
13
16
  self.tld = %q{local}
14
17
  end
15
- class ROOT < PseudoTld #:nodoc:
18
+
19
+ class TLDRoot < Pseudo #:nodoc:
16
20
  self.tld = %q{root}
17
21
  end
18
- class UUCP < PseudoTld #:nodoc:
22
+
23
+ class TLDUucp < Pseudo #:nodoc:
19
24
  self.tld = %q{uucp}
20
25
  end
21
- class ONION < PseudoTld #:nodoc:
26
+
27
+ class TLDOnion < Pseudo #:nodoc:
22
28
  self.tld = %q{onion}
23
29
  end
24
- class EXIT < PseudoTld #:nodoc:
30
+
31
+ class TLDExit < Pseudo #:nodoc:
25
32
  self.tld = %q{exit}
26
33
  end
27
- end # end PseudoTld
34
+ end # end Pseudo
28
35
  end # end TLD
data/lib/tld/reserved.rb CHANGED
@@ -1,18 +1,22 @@
1
1
  class TLD
2
- class ReservedTld < TLD
2
+ class Reserved < TLD
3
3
  def type
4
4
  :reserved
5
5
  end
6
- class EXAMPLE < ReservedTld #:nodoc:
6
+
7
+ class TLDExample < Reserved #:nodoc:
7
8
  self.tld = %q{example}
8
9
  end
9
- class INVALID < ReservedTld #:nodoc:
10
+
11
+ class TLDInvalid < Reserved #:nodoc:
10
12
  self.tld = %q{invalid}
11
13
  end
12
- class LOCALHOST < ReservedTld #:nodoc:
14
+
15
+ class TLDLocalhost < Reserved #:nodoc:
13
16
  self.tld = %q{localhost}
14
17
  end
15
- class TEST < ReservedTld #:nodoc:
18
+
19
+ class TLDTest < Reserved #:nodoc:
16
20
  self.tld = %q{test}
17
21
  end
18
22
  end # end ReservedTld
data/lib/tld/retired.rb CHANGED
@@ -1,9 +1,10 @@
1
1
  class TLD
2
- class RetiredTld < TLD
2
+ class Retired < TLD
3
3
  def type
4
4
  :retired
5
5
  end
6
- class NATO < RetiredTld #:nodoc:
6
+
7
+ class TLDNato < Retired #:nodoc:
7
8
  self.tld = %q{nato}
8
9
  end
9
10
  end # end RetiredTld
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tld
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Rabarts
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  requirements: []
94
94
  rubyforge_project:
95
- rubygems_version: 2.4.4
95
+ rubygems_version: 2.2.2
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: Provides meta information for Internet Top Level Domains (TLDs).