orange-flickr 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/orange-flickr/resources/flickr_resource.rb +2 -2
- data/orange-flickr.gemspec +4 -4
- metadata +4 -17
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
@@ -12,7 +12,7 @@ class Orange::FlickrResource < Orange::Resource
|
|
12
12
|
options["flickr_nsid"] = orange.options["flickr_nsid"] || false
|
13
13
|
end
|
14
14
|
|
15
|
-
def photosets
|
15
|
+
def photosets(packet, opts = {})
|
16
16
|
if FlickRaw.api_key && options["flickr_nsid"]
|
17
17
|
ret = {}
|
18
18
|
sets = flickr.photosets.getList(:user_id => options["flickr_nsid"])
|
@@ -22,7 +22,7 @@ class Orange::FlickrResource < Orange::Resource
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
-
def gallery
|
25
|
+
def gallery(packet, opts = {})
|
26
26
|
if options["flickr_nsid"]
|
27
27
|
sets_url = FlickRaw::URL_PHOTOSTREAM + options["flickr_nsid"] + "/sets"
|
28
28
|
else
|
data/orange-flickr.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{orange-flickr}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["David Haslem"]
|
12
|
-
s.date = %q{2010-08-
|
12
|
+
s.date = %q{2010-08-19}
|
13
13
|
s.description = %q{Adds flickr functionality to Orange}
|
14
14
|
s.email = %q{therabidbanana@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -89,7 +89,7 @@ Gem::Specification.new do |s|
|
|
89
89
|
s.homepage = %q{http://orangerb.com}
|
90
90
|
s.rdoc_options = ["--charset=UTF-8"]
|
91
91
|
s.require_paths = ["lib"]
|
92
|
-
s.rubygems_version = %q{1.3.
|
92
|
+
s.rubygems_version = %q{1.3.6}
|
93
93
|
s.summary = %q{A gem that uses FlickRaw to integrate with orange}
|
94
94
|
s.test_files = [
|
95
95
|
"spec/orange-flickr_spec.rb",
|
@@ -100,7 +100,7 @@ Gem::Specification.new do |s|
|
|
100
100
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
101
101
|
s.specification_version = 3
|
102
102
|
|
103
|
-
if Gem::Version.new(Gem::
|
103
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
104
104
|
s.add_runtime_dependency(%q<flickraw-cached>, [">= 0"])
|
105
105
|
s.add_runtime_dependency(%q<orange-core>, [">= 0"])
|
106
106
|
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orange-flickr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 31
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
8
|
+
- 3
|
9
|
+
version: 0.1.3
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- David Haslem
|
@@ -15,18 +14,16 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2010-08-
|
17
|
+
date: 2010-08-19 00:00:00 -04:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: flickraw-cached
|
23
22
|
prerelease: false
|
24
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
24
|
requirements:
|
27
25
|
- - ">="
|
28
26
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
27
|
segments:
|
31
28
|
- 0
|
32
29
|
version: "0"
|
@@ -36,11 +33,9 @@ dependencies:
|
|
36
33
|
name: orange-core
|
37
34
|
prerelease: false
|
38
35
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
36
|
requirements:
|
41
37
|
- - ">="
|
42
38
|
- !ruby/object:Gem::Version
|
43
|
-
hash: 3
|
44
39
|
segments:
|
45
40
|
- 0
|
46
41
|
version: "0"
|
@@ -50,11 +45,9 @@ dependencies:
|
|
50
45
|
name: rspec
|
51
46
|
prerelease: false
|
52
47
|
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
48
|
requirements:
|
55
49
|
- - ">="
|
56
50
|
- !ruby/object:Gem::Version
|
57
|
-
hash: 13
|
58
51
|
segments:
|
59
52
|
- 1
|
60
53
|
- 2
|
@@ -66,11 +59,9 @@ dependencies:
|
|
66
59
|
name: yard
|
67
60
|
prerelease: false
|
68
61
|
requirement: &id004 !ruby/object:Gem::Requirement
|
69
|
-
none: false
|
70
62
|
requirements:
|
71
63
|
- - ">="
|
72
64
|
- !ruby/object:Gem::Version
|
73
|
-
hash: 3
|
74
65
|
segments:
|
75
66
|
- 0
|
76
67
|
version: "0"
|
@@ -164,27 +155,23 @@ rdoc_options:
|
|
164
155
|
require_paths:
|
165
156
|
- lib
|
166
157
|
required_ruby_version: !ruby/object:Gem::Requirement
|
167
|
-
none: false
|
168
158
|
requirements:
|
169
159
|
- - ">="
|
170
160
|
- !ruby/object:Gem::Version
|
171
|
-
hash: 3
|
172
161
|
segments:
|
173
162
|
- 0
|
174
163
|
version: "0"
|
175
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
|
-
none: false
|
177
165
|
requirements:
|
178
166
|
- - ">="
|
179
167
|
- !ruby/object:Gem::Version
|
180
|
-
hash: 3
|
181
168
|
segments:
|
182
169
|
- 0
|
183
170
|
version: "0"
|
184
171
|
requirements: []
|
185
172
|
|
186
173
|
rubyforge_project:
|
187
|
-
rubygems_version: 1.3.
|
174
|
+
rubygems_version: 1.3.6
|
188
175
|
signing_key:
|
189
176
|
specification_version: 3
|
190
177
|
summary: A gem that uses FlickRaw to integrate with orange
|