asin 0.6.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/.travis.yml +1 -0
- data/Gemfile.lock +18 -17
- data/README.rdoc +10 -2
- data/asin.gemspec +12 -11
- data/lib/asin/version.rb +1 -1
- data/rakefile.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- metadata +16 -27
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
asin (0.
|
5
|
-
crack (~> 0.1
|
6
|
-
hashie (~> 1.0
|
7
|
-
httpi (~> 0.9
|
4
|
+
asin (0.7.0)
|
5
|
+
crack (~> 0.1)
|
6
|
+
hashie (~> 1.0)
|
7
|
+
httpi (~> 0.9)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: http://rubygems.org/
|
@@ -16,14 +16,14 @@ GEM
|
|
16
16
|
rspec (~> 2.0)
|
17
17
|
rspec-instafail (~> 0.1.8)
|
18
18
|
ruby-progressbar (~> 0.0.10)
|
19
|
-
hashie (1.
|
19
|
+
hashie (1.1.0)
|
20
20
|
httpclient (2.2.1)
|
21
21
|
httpi (0.9.5)
|
22
22
|
rack
|
23
23
|
rack (1.3.2)
|
24
24
|
rake (0.9.2)
|
25
|
-
rash (0.3.
|
26
|
-
hashie (~> 1.
|
25
|
+
rash (0.3.1)
|
26
|
+
hashie (~> 1.1.0)
|
27
27
|
rspec (2.6.0)
|
28
28
|
rspec-core (~> 2.6.0)
|
29
29
|
rspec-expectations (~> 2.6.0)
|
@@ -34,20 +34,21 @@ GEM
|
|
34
34
|
rspec-instafail (0.1.8)
|
35
35
|
rspec-mocks (2.6.0)
|
36
36
|
ruby-progressbar (0.0.10)
|
37
|
-
vcr (1.
|
38
|
-
webmock (1.6
|
39
|
-
addressable (
|
37
|
+
vcr (1.11.3)
|
38
|
+
webmock (1.7.6)
|
39
|
+
addressable (~> 2.2, > 2.2.5)
|
40
40
|
crack (>= 0.1.7)
|
41
41
|
|
42
42
|
PLATFORMS
|
43
|
+
java
|
43
44
|
ruby
|
44
45
|
|
45
46
|
DEPENDENCIES
|
46
47
|
asin!
|
47
|
-
fuubar (~> 0.0
|
48
|
-
httpclient (~> 2.2
|
49
|
-
rake (~> 0.9
|
50
|
-
rash (~> 0.3
|
51
|
-
rspec (~> 2.6
|
52
|
-
vcr (~> 1.10
|
53
|
-
webmock (~> 1.6
|
48
|
+
fuubar (~> 0.0)
|
49
|
+
httpclient (~> 2.2)
|
50
|
+
rake (~> 0.9)
|
51
|
+
rash (~> 0.3)
|
52
|
+
rspec (~> 2.6)
|
53
|
+
vcr (~> 1.10)
|
54
|
+
webmock (~> 1.6)
|
data/README.rdoc
CHANGED
@@ -9,9 +9,17 @@ For more information on the REST calls, have a look at the whole Amazon E-Commer
|
|
9
9
|
|
10
10
|
Have a look at the RDOC[http://rdoc.info/projects/phoet/asin] for this project, if you like browsing some docs.
|
11
11
|
|
12
|
-
|
12
|
+
The gem runs smoothly with Rails 3 and is tested against these rubies:
|
13
|
+
|
14
|
+
- 1.8.7
|
15
|
+
- 1.9.2
|
16
|
+
- rbx
|
17
|
+
- rbx-2.0
|
18
|
+
- ree
|
19
|
+
- ruby-head
|
20
|
+
- jruby
|
13
21
|
|
14
|
-
|
22
|
+
== Installation
|
15
23
|
|
16
24
|
gem install asin
|
17
25
|
gem install httpclient # optional, see HTTPI
|
data/asin.gemspec
CHANGED
@@ -19,17 +19,18 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
|
-
s.add_dependency('crack', '~> 0.1
|
23
|
-
s.add_dependency('hashie', '~> 1.0
|
24
|
-
s.add_dependency('httpi', '~> 0.9
|
22
|
+
s.add_dependency('crack', '~> 0.1')
|
23
|
+
s.add_dependency('hashie', '~> 1.0')
|
24
|
+
s.add_dependency('httpi', '~> 0.9')
|
25
25
|
|
26
|
-
s.
|
27
|
-
|
26
|
+
s.add_runtime_dependency('jruby-openssl') if RUBY_PLATFORM == 'java'
|
27
|
+
|
28
|
+
s.add_development_dependency('httpclient', '~> 2.2')
|
29
|
+
s.add_development_dependency('rash', '~> 0.3')
|
28
30
|
|
29
|
-
s.add_development_dependency('rake', '~> 0.9
|
30
|
-
s.add_development_dependency('
|
31
|
-
s.add_development_dependency('
|
32
|
-
s.add_development_dependency('
|
33
|
-
s.add_development_dependency('
|
34
|
-
s.add_development_dependency('fuubar', '~> 0.0.5')
|
31
|
+
s.add_development_dependency('rake', '~> 0.9')
|
32
|
+
s.add_development_dependency('vcr', '~> 1.10')
|
33
|
+
s.add_development_dependency('webmock', '~> 1.6')
|
34
|
+
s.add_development_dependency('rspec', '~> 2.6')
|
35
|
+
s.add_development_dependency('fuubar', '~> 0.0')
|
35
36
|
end
|
data/lib/asin/version.rb
CHANGED
data/rakefile.rb
CHANGED
@@ -5,7 +5,7 @@ require 'rspec/core/rake_task'
|
|
5
5
|
Bundler::GemHelper.install_tasks
|
6
6
|
|
7
7
|
RSpec::Core::RakeTask.new do |t|
|
8
|
-
t.rspec_opts = ["--format Fuubar", "--color"
|
8
|
+
t.rspec_opts = ["--format Fuubar", "--color"]
|
9
9
|
t.pattern = 'spec/**/*_spec.rb'
|
10
10
|
end
|
11
11
|
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: asin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.7.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- "Peter Schr\xC3\xB6der"
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-09-
|
13
|
+
date: 2011-09-16 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
requirements:
|
22
22
|
- - ~>
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: 0.1
|
24
|
+
version: "0.1"
|
25
25
|
type: :runtime
|
26
26
|
version_requirements: *id001
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - ~>
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 1.0
|
35
|
+
version: "1.0"
|
36
36
|
type: :runtime
|
37
37
|
version_requirements: *id002
|
38
38
|
- !ruby/object:Gem::Dependency
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - ~>
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.9
|
46
|
+
version: "0.9"
|
47
47
|
type: :runtime
|
48
48
|
version_requirements: *id003
|
49
49
|
- !ruby/object:Gem::Dependency
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
requirements:
|
55
55
|
- - ~>
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version: 2.2
|
57
|
+
version: "2.2"
|
58
58
|
type: :development
|
59
59
|
version_requirements: *id004
|
60
60
|
- !ruby/object:Gem::Dependency
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
requirements:
|
66
66
|
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.3
|
68
|
+
version: "0.3"
|
69
69
|
type: :development
|
70
70
|
version_requirements: *id005
|
71
71
|
- !ruby/object:Gem::Dependency
|
@@ -76,64 +76,53 @@ dependencies:
|
|
76
76
|
requirements:
|
77
77
|
- - ~>
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 0.9
|
79
|
+
version: "0.9"
|
80
80
|
type: :development
|
81
81
|
version_requirements: *id006
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
|
-
name:
|
83
|
+
name: vcr
|
84
84
|
prerelease: false
|
85
85
|
requirement: &id007 !ruby/object:Gem::Requirement
|
86
86
|
none: false
|
87
87
|
requirements:
|
88
88
|
- - ~>
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version:
|
90
|
+
version: "1.10"
|
91
91
|
type: :development
|
92
92
|
version_requirements: *id007
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
|
-
name:
|
94
|
+
name: webmock
|
95
95
|
prerelease: false
|
96
96
|
requirement: &id008 !ruby/object:Gem::Requirement
|
97
97
|
none: false
|
98
98
|
requirements:
|
99
99
|
- - ~>
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: 1.
|
101
|
+
version: "1.6"
|
102
102
|
type: :development
|
103
103
|
version_requirements: *id008
|
104
104
|
- !ruby/object:Gem::Dependency
|
105
|
-
name:
|
105
|
+
name: rspec
|
106
106
|
prerelease: false
|
107
107
|
requirement: &id009 !ruby/object:Gem::Requirement
|
108
108
|
none: false
|
109
109
|
requirements:
|
110
110
|
- - ~>
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version:
|
112
|
+
version: "2.6"
|
113
113
|
type: :development
|
114
114
|
version_requirements: *id009
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
|
-
name:
|
116
|
+
name: fuubar
|
117
117
|
prerelease: false
|
118
118
|
requirement: &id010 !ruby/object:Gem::Requirement
|
119
119
|
none: false
|
120
120
|
requirements:
|
121
121
|
- - ~>
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version:
|
123
|
+
version: "0.0"
|
124
124
|
type: :development
|
125
125
|
version_requirements: *id010
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: fuubar
|
128
|
-
prerelease: false
|
129
|
-
requirement: &id011 !ruby/object:Gem::Requirement
|
130
|
-
none: false
|
131
|
-
requirements:
|
132
|
-
- - ~>
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
version: 0.0.5
|
135
|
-
type: :development
|
136
|
-
version_requirements: *id011
|
137
126
|
description: Amazon Simple INterface.
|
138
127
|
email:
|
139
128
|
- phoetmail@googlemail.com
|