picasa-ruby 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1 -0
- data/Rakefile +2 -2
- data/lib/picasa/client.rb +1 -1
- data/picasa-ruby.gemspec +3 -3
- metadata +7 -7
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -3,11 +3,11 @@ require 'rubygems'
|
|
3
3
|
require 'rake'
|
4
4
|
require 'echoe'
|
5
5
|
|
6
|
-
Echoe.new('picasa-ruby', '0.1.
|
6
|
+
Echoe.new('picasa-ruby', '0.1.1') do |p|
|
7
7
|
p.description = "Ruby library for Picasa Web Albums API."
|
8
8
|
p.url = "http://github.com/23ninja/picasa-ruby"
|
9
9
|
p.author = "Iskander Haziev"
|
10
10
|
p.email = "gvalmon@gmail.com"
|
11
11
|
p.ignore_pattern = ["tmp/*", "script/*"]
|
12
|
-
p.
|
12
|
+
p.runtime_dependencies = ['oauth', 'typhoeus']
|
13
13
|
end
|
data/lib/picasa/client.rb
CHANGED
@@ -7,7 +7,7 @@ module Picasa
|
|
7
7
|
def initialize(api_key, api_secret, oauth_token, oauth_secret = nil)
|
8
8
|
@consumer = ::OAuth::Consumer.new(api_key,api_secret, :site => BASE_URL)
|
9
9
|
@token = ::OAuth::Token.new(oauth_token, oauth_secret)
|
10
|
-
@oauth_params = {:consumer => consumer, :token => token}
|
10
|
+
@oauth_params = {:consumer => @consumer, :token => @token}
|
11
11
|
@client = ::Typhoeus::Hydra.new
|
12
12
|
end
|
13
13
|
|
data/picasa-ruby.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{picasa-ruby}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = [%q{Iskander Haziev}]
|
@@ -22,8 +22,8 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.specification_version = 3
|
23
23
|
|
24
24
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
25
|
-
s.
|
26
|
-
s.
|
25
|
+
s.add_runtime_dependency(%q<oauth>, [">= 0"])
|
26
|
+
s.add_runtime_dependency(%q<typhoeus>, [">= 0"])
|
27
27
|
else
|
28
28
|
s.add_dependency(%q<oauth>, [">= 0"])
|
29
29
|
s.add_dependency(%q<typhoeus>, [">= 0"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: picasa-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,26 +13,26 @@ date: 2011-08-01 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: oauth
|
16
|
-
requirement: &
|
16
|
+
requirement: &7203820 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '0'
|
22
|
-
type: :
|
22
|
+
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *7203820
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: typhoeus
|
27
|
-
requirement: &
|
27
|
+
requirement: &7198000 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '0'
|
33
|
-
type: :
|
33
|
+
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *7198000
|
36
36
|
description: Ruby library for Picasa Web Albums API.
|
37
37
|
email: gvalmon@gmail.com
|
38
38
|
executables: []
|