emporium 0.0.2.alpha → 0.0.2

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.
Files changed (3) hide show
  1. data/README.md +6 -4
  2. data/lib/emporium/version.rb +1 -1
  3. metadata +4 -4
data/README.md CHANGED
@@ -15,9 +15,10 @@ Add to your Gemfile and run the `bundle` command to install it.
15
15
  ## Configuration
16
16
 
17
17
  ```ruby
18
- Product.configuration do |config|
19
- config.service = :amazon
20
- # ...
18
+ service = Emporium::Services::Amazon.configuration do |config|
19
+ config.access_key = "access_key"
20
+ config.associate_tag = "associate_tag"
21
+ config.secret = "secret"
21
22
  end
22
23
  ```
23
24
 
@@ -29,7 +30,8 @@ Give it a UPC to fetch a product object. The Code only takes UPC-A digits
29
30
  ```ruby
30
31
  require 'emporium'
31
32
 
32
- product = Emporium::Product.new "066661234567"
33
+ product = Emporium::Product.new("066661234567")
34
+ product.use service
33
35
  product.fetch!
34
36
  ```
35
37
 
@@ -1,3 +1,3 @@
1
1
  module Emporium
2
- VERSION = "0.0.2.alpha"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emporium
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: 6
5
- version: 0.0.2.alpha
4
+ prerelease:
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Hugo Bastien
@@ -86,9 +86,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
86
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  none: false
88
88
  requirements:
89
- - - ">"
89
+ - - ">="
90
90
  - !ruby/object:Gem::Version
91
- version: 1.3.1
91
+ version: "0"
92
92
  requirements: []
93
93
 
94
94
  rubyforge_project: emporium