tinyatom 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,3 @@
1
1
  require 'tinyatom/feed'
2
2
  require 'tinyatom/uri_domain'
3
+ require 'tinyatom/version'
@@ -1,4 +1,4 @@
1
- require 'public_suffix_service'
1
+ require 'public_suffix'
2
2
 
3
3
  # URI mixin that adds method to get domain.
4
4
  module TinyAtom
@@ -9,7 +9,7 @@ module TinyAtom
9
9
  def domain
10
10
  if host
11
11
  begin
12
- parsed = PublicSuffixService.parse(host.downcase)
12
+ parsed = PublicSuffix.parse(host.downcase)
13
13
  "#{parsed.sld}.#{parsed.tld}"
14
14
  rescue Exception
15
15
  end
@@ -0,0 +1,3 @@
1
+ module TinyAtom
2
+ VERSION = '0.3.6'
3
+ end
@@ -1,8 +1,12 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
+ $:.unshift(File.join(File.dirname(__FILE__), 'lib'))
4
+
5
+ require 'tinyatom/version'
6
+
3
7
  Gem::Specification.new do |s|
4
8
  s.name = 'tinyatom'
5
- s.version = '0.3.5'
9
+ s.version = TinyAtom::VERSION
6
10
  s.summary = 'Small and easy to use ruby Atom feed generator'
7
11
  s.description = s.summary
8
12
  s.homepage = 'https://github.com/mmb/tinyatom'
@@ -12,7 +16,7 @@ Gem::Specification.new do |s|
12
16
 
13
17
  %w{
14
18
  builder > 0
15
- public_suffix_service > 0
19
+ public_suffix > 0
16
20
  }.each_slice(3) { |g,o,v| s.add_dependency(g, "#{o} #{v}") }
17
21
 
18
22
  s.files = `git ls-files`.split("\n")
metadata CHANGED
@@ -1,103 +1,87 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: tinyatom
3
- version: !ruby/object:Gem::Version
4
- hash: 25
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.6
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 3
9
- - 5
10
- version: 0.3.5
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Matthew M. Boedicker
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-09-05 00:00:00 -04:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2013-01-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: builder
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
27
- - - ">"
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
18
+ requirements:
19
+ - - ! '>'
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
33
22
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: public_suffix_service
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>'
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: public_suffix
32
+ requirement: !ruby/object:Gem::Requirement
39
33
  none: false
40
- requirements:
41
- - - ">"
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
34
+ requirements:
35
+ - - ! '>'
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
47
38
  type: :runtime
48
- version_requirements: *id002
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>'
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
49
46
  description: Small and easy to use ruby Atom feed generator
50
- email:
47
+ email:
51
48
  - matthewm@boedicker.org
52
49
  executables: []
53
-
54
50
  extensions: []
55
-
56
51
  extra_rdoc_files: []
57
-
58
- files:
52
+ files:
59
53
  - .gitignore
60
54
  - COPYING
61
55
  - Gemfile
62
56
  - README.markdown
63
- - VERSION
64
57
  - lib/tinyatom.rb
65
58
  - lib/tinyatom/feed.rb
66
59
  - lib/tinyatom/uri_domain.rb
60
+ - lib/tinyatom/version.rb
67
61
  - tinyatom.gemspec
68
- has_rdoc: true
69
62
  homepage: https://github.com/mmb/tinyatom
70
- licenses:
63
+ licenses:
71
64
  - MIT
72
65
  post_install_message:
73
66
  rdoc_options: []
74
-
75
- require_paths:
67
+ require_paths:
76
68
  - lib
77
- required_ruby_version: !ruby/object:Gem::Requirement
69
+ required_ruby_version: !ruby/object:Gem::Requirement
78
70
  none: false
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- hash: 3
83
- segments:
84
- - 0
85
- version: "0"
86
- required_rubygems_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ! '>='
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
87
76
  none: false
88
- requirements:
89
- - - ">="
90
- - !ruby/object:Gem::Version
91
- hash: 3
92
- segments:
93
- - 0
94
- version: "0"
77
+ requirements:
78
+ - - ! '>='
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
95
81
  requirements: []
96
-
97
82
  rubyforge_project:
98
- rubygems_version: 1.5.2
83
+ rubygems_version: 1.8.23
99
84
  signing_key:
100
85
  specification_version: 3
101
86
  summary: Small and easy to use ruby Atom feed generator
102
87
  test_files: []
103
-
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.3.4