fassbinder 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,7 +41,7 @@ module Fassbinder
41
41
  builder.asin = doc['ASIN']
42
42
  builder.offers_total = doc['Offers']['TotalOffers']
43
43
  host = Sucker::Request::HOSTS[@locale]
44
- builder.venue = "amazon.#{host.match(/[^.]+$/)}"
44
+ builder.venue = host.sub('ecs.amazonaws', 'amazon')
45
45
 
46
46
  offers = [doc['Offers']['Offer']].flatten.compact
47
47
  offers.each { |offer| builder.add_offer(offer) }
@@ -1,3 +1,3 @@
1
1
  module Fassbinder
2
- VERSION = '0.0.14'
2
+ VERSION = '0.0.15'
3
3
  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.14
5
+ version: 0.0.15
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paper Cavalier
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-04 00:00:00 +01:00
13
+ date: 2011-05-05 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  requirements: []
104
104
 
105
105
  rubyforge_project: fassbinder
106
- rubygems_version: 1.6.2
106
+ rubygems_version: 1.5.2
107
107
  signing_key:
108
108
  specification_version: 3
109
109
  summary: Crawls book offers on Amazon