fassbinder 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/fassbinder.gemspec CHANGED
@@ -19,7 +19,7 @@ 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('kosher', '~> 0.2.8')
22
+ s.add_dependency('kosher', '~> 0.2.10')
23
23
  s.add_dependency('sucker', '~> 1.3.1')
24
24
  s.add_development_dependency('rspec', '~> 2.5.0')
25
25
  s.add_development_dependency('ruby-debug19', '~> 0.11.6')
@@ -12,6 +12,7 @@ module Fassbinder
12
12
  def snapshots
13
13
  @response.map('Item') do |doc|
14
14
  Kosher::Snapshot.new(
15
+ 'amazon.' + Sucker::Request::HOSTS[@locale].match(/[^.]+$/).to_s,
15
16
  nil,
16
17
  doc['ASIN'],
17
18
  doc['SalesRank'].to_i,
@@ -1,3 +1,3 @@
1
1
  module Fassbinder
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
@@ -35,7 +35,7 @@ module Fassbinder
35
35
  request.locale = :us
36
36
  request.batchify('foo')
37
37
 
38
- request.get.should be_a ResponseWrapper
38
+ request.get.should be_a Response
39
39
  end
40
40
  end
41
41
  end
@@ -33,7 +33,6 @@ module Fassbinder
33
33
 
34
34
  describe "#snapshots" do
35
35
  it "should return snapshots" do
36
- debugger
37
36
  response.snapshots.count.should eql 19
38
37
  response.snapshots.first.should be_a Kosher::Snapshot
39
38
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: fassbinder
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paper Cavalier
@@ -21,7 +21,7 @@ dependencies:
21
21
  requirements:
22
22
  - - ~>
23
23
  - !ruby/object:Gem::Version
24
- version: 0.2.8
24
+ version: 0.2.10
25
25
  type: :runtime
26
26
  version_requirements: *id001
27
27
  - !ruby/object:Gem::Dependency