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 +6 -0
- data/lib/greader.rb +3 -6
- data/lib/greader/version.rb +7 -0
- metadata +33 -40
data/HISTORY.md
CHANGED
data/lib/greader.rb
CHANGED
@@ -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
|
-
|
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
|
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
|
-
|
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
|
-
|
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:
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.6'
|
36
34
|
type: :runtime
|
37
|
-
|
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:
|
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:
|
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
|
-
|