greader 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.md CHANGED
@@ -1,3 +1,9 @@
1
+ v0.0.3 - Aug 06, 2011
2
+ ---------------------
3
+
4
+ ### Fixed:
5
+ * Move the version number to it's own Ruby file to make sure gem building produces no trouble. (#2)
6
+
1
7
  v0.0.2 - Jun 03, 2011
2
8
  ---------------------
3
9
 
@@ -53,7 +53,6 @@ require 'nokogiri' unless defined?(Nokogiri)
53
53
  #
54
54
  module GReader
55
55
  PREFIX = File.expand_path('../greader/', __FILE__)
56
- VERSION = "0.0.2"
57
56
 
58
57
  autoload :Client, "#{PREFIX}/client"
59
58
  autoload :Entry, "#{PREFIX}/entry"
@@ -62,6 +61,8 @@ module GReader
62
61
  autoload :Tag, "#{PREFIX}/tag"
63
62
  autoload :Utilities, "#{PREFIX}/utilities"
64
63
 
64
+ require "#{PREFIX}/version"
65
+
65
66
  def self.auth(options={})
66
67
  client = GReader::Client.new options
67
68
  client if client.logged_in?
@@ -86,11 +87,7 @@ module GReader
86
87
  html
87
88
  end
88
89
 
89
- def self.version
90
- VERSION
91
- end
92
-
93
- Error = Class.new(StandardError)
90
+ Error = Class.new(StandardError)
94
91
 
95
92
  class ParseError < Error
96
93
  attr_reader :node
@@ -0,0 +1,7 @@
1
+ module GReader
2
+ VERSION = "0.0.3"
3
+
4
+ def self.version
5
+ VERSION
6
+ end
7
+ end
metadata CHANGED
@@ -1,56 +1,53 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: greader
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
4
5
  prerelease:
5
- version: 0.0.2
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Rico Sta. Cruz
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-06-03 00:00:00 +08:00
12
+ date: 2011-08-06 00:00:00.000000000 +08:00
14
13
  default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
17
16
  name: nokogiri
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &2165865660 !ruby/object:Gem::Requirement
20
18
  none: false
21
- requirements:
19
+ requirements:
22
20
  - - ~>
23
- - !ruby/object:Gem::Version
21
+ - !ruby/object:Gem::Version
24
22
  version: 1.4.4
25
23
  type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: rest-client
29
24
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: *2165865660
26
+ - !ruby/object:Gem::Dependency
27
+ name: rest-client
28
+ requirement: &2165898180 !ruby/object:Gem::Requirement
31
29
  none: false
32
- requirements:
30
+ requirements:
33
31
  - - ~>
34
- - !ruby/object:Gem::Version
35
- version: "1.6"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.6'
36
34
  type: :runtime
37
- version_requirements: *id002
35
+ prerelease: false
36
+ version_requirements: *2165898180
38
37
  description: It reads Google Reader feeds.
39
- email:
38
+ email:
40
39
  - rico@sinefunc.com
41
40
  executables: []
42
-
43
41
  extensions: []
44
-
45
42
  extra_rdoc_files: []
46
-
47
- files:
43
+ files:
48
44
  - lib/greader/client.rb
49
45
  - lib/greader/entries.rb
50
46
  - lib/greader/entry.rb
51
47
  - lib/greader/feed.rb
52
48
  - lib/greader/tag.rb
53
49
  - lib/greader/utilities.rb
50
+ - lib/greader/version.rb
54
51
  - lib/greader.rb
55
52
  - test/client_test.rb
56
53
  - test/feed_test.rb
@@ -68,30 +65,26 @@ files:
68
65
  has_rdoc: true
69
66
  homepage: http://github.com/rstacruz/greader.rb
70
67
  licenses: []
71
-
72
68
  post_install_message:
73
69
  rdoc_options: []
74
-
75
- require_paths:
70
+ require_paths:
76
71
  - lib
77
- required_ruby_version: !ruby/object:Gem::Requirement
72
+ required_ruby_version: !ruby/object:Gem::Requirement
78
73
  none: false
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: "0"
83
- required_rubygems_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ required_rubygems_version: !ruby/object:Gem::Requirement
84
79
  none: false
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: "0"
80
+ requirements:
81
+ - - ! '>='
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
89
84
  requirements: []
90
-
91
85
  rubyforge_project:
92
86
  rubygems_version: 1.6.2
93
87
  signing_key:
94
88
  specification_version: 3
95
89
  summary: Google Reader API client.
96
90
  test_files: []
97
-