asin 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +5 -1
- data/Gemfile.lock +7 -7
- data/lib/asin/client.rb +1 -1
- data/lib/asin/version.rb +1 -1
- data/spec/lib/browse_node_spec.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
asin (1.
|
4
|
+
asin (1.1.0)
|
5
5
|
confiture (>= 0.1)
|
6
6
|
crack (>= 0.3)
|
7
7
|
hashie (>= 1.1)
|
@@ -11,15 +11,15 @@ GEM
|
|
11
11
|
remote: http://rubygems.org/
|
12
12
|
specs:
|
13
13
|
addressable (2.3.2)
|
14
|
-
coderay (1.0.
|
15
|
-
confiture (0.1.
|
14
|
+
coderay (1.0.8)
|
15
|
+
confiture (0.1.4)
|
16
16
|
crack (0.3.1)
|
17
17
|
diff-lcs (1.1.3)
|
18
18
|
hashie (1.2.0)
|
19
|
-
httpclient (2.
|
20
|
-
httpi (
|
19
|
+
httpclient (2.3.0.1)
|
20
|
+
httpi (2.0.0)
|
21
21
|
rack
|
22
|
-
method_source (0.8)
|
22
|
+
method_source (0.8.1)
|
23
23
|
pry (0.9.10)
|
24
24
|
coderay (~> 1.0.5)
|
25
25
|
method_source (~> 0.8)
|
@@ -42,7 +42,7 @@ GEM
|
|
42
42
|
slop (3.3.3)
|
43
43
|
spoon (0.0.1)
|
44
44
|
vcr (2.2.5)
|
45
|
-
webmock (1.8.
|
45
|
+
webmock (1.8.11)
|
46
46
|
addressable (>= 2.2.7)
|
47
47
|
crack (>= 0.1.7)
|
48
48
|
|
data/lib/asin/client.rb
CHANGED
@@ -213,7 +213,7 @@ module ASIN
|
|
213
213
|
#
|
214
214
|
def browse_node(node_id, params={:ResponseGroup => :BrowseNodeInfo})
|
215
215
|
response = call(params.merge(:Operation => :BrowseNodeLookup, :BrowseNodeId => node_id))
|
216
|
-
|
216
|
+
arrayfy(response['BrowseNodeLookupResponse']['BrowseNodes']['BrowseNode']).map {|item| handle_type(item, Configuration.node_type)}
|
217
217
|
end
|
218
218
|
|
219
219
|
# Performs an +SimilarityLookup+ REST call against the Amazon API.
|
data/lib/asin/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: crack
|