peddler 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 62834a80dac2dbed397f77f2079c67b03e77b210
4
+ data.tar.gz: abaac02b413d76490fd2150477cdbaec192ab40d
5
+ SHA512:
6
+ metadata.gz: 6b35c2fb1aaebdfd8d52f5eaca1aa9a9b21aa169e63f058f70fb81834ac4631884b37a8e0bd60893a3df748a7c78af3afd0933be70b191fbc22970e53ece4aa5
7
+ data.tar.gz: 85c116fdf9f320edb63dce740e892c9f6c205e0fa92149d1ea15c97a300499bb60204dde3a585810dac479f888ce6c8183cbcbfc923a074b2a6d5b6fcbd765de
@@ -1,8 +1,8 @@
1
1
  require 'jeff'
2
2
 
3
3
  module Peddler
4
- BadLocale = Class.new ArgumentError
5
- MissingSeller = Class.new ArgumentError
4
+ BadLocale = Class.new(ArgumentError)
5
+ MissingSeller = Class.new(ArgumentError)
6
6
 
7
7
  # A wrapper around a Marketplace Web Services (MWS) endpoint.
8
8
  class Service
@@ -49,10 +49,10 @@ module Peddler
49
49
  }
50
50
 
51
51
  def self.inherited(base)
52
- base.params params
52
+ base.params(params)
53
53
  end
54
54
 
55
- # Creates a new service endpoint for given locale.
55
+ # Create a new service endpoint for given locale.
56
56
  #
57
57
  # locale - The String MWS API locale.
58
58
  #
@@ -61,7 +61,7 @@ module Peddler
61
61
  @host = HOSTS[@locale = locale] or raise BadLocale
62
62
  end
63
63
 
64
- # Configures the MWS endpoint.
64
+ # Configure the MWS endpoint.
65
65
  #
66
66
  # credentials - The Hash credentials.
67
67
  # :key - The String Amazon Web Services (AWS) key.
@@ -70,7 +70,7 @@ module Peddler
70
70
  #
71
71
  # Returns nothing.
72
72
  def configure(credentials)
73
- credentials.each { |key, val| self.send "#{key}=", val }
73
+ credentials.each { |key, val| self.send("#{key}=", val) }
74
74
  end
75
75
 
76
76
  # Returns the String MWS endpoint.
@@ -1,3 +1,3 @@
1
1
  module Peddler
2
- VERSION = '0.4.2'
2
+ VERSION = '0.4.3'
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peddler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
5
- prerelease:
4
+ version: 0.4.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Hakan Ensari
@@ -10,40 +9,36 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-09-19 00:00:00.000000000 Z
12
+ date: 2013-03-26 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rake
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - '>='
21
19
  - !ruby/object:Gem::Version
22
20
  version: '0'
23
21
  type: :development
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - '>='
29
26
  - !ruby/object:Gem::Version
30
27
  version: '0'
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: jeff
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
32
  - - ~>
37
33
  - !ruby/object:Gem::Version
38
- version: 0.4.3
34
+ version: 0.6.0
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
39
  - - ~>
45
40
  - !ruby/object:Gem::Version
46
- version: 0.4.3
41
+ version: 0.6.0
47
42
  description: A wrapper to the Amazon Marketplace Web Service (MWS) API
48
43
  email:
49
44
  - code@papercavalier.com
@@ -66,27 +61,25 @@ files:
66
61
  - README.md
67
62
  homepage: http://github.com/papercavalier/peddler
68
63
  licenses: []
64
+ metadata: {}
69
65
  post_install_message:
70
66
  rdoc_options: []
71
67
  require_paths:
72
68
  - lib
73
69
  required_ruby_version: !ruby/object:Gem::Requirement
74
- none: false
75
70
  requirements:
76
- - - ! '>='
71
+ - - '>='
77
72
  - !ruby/object:Gem::Version
78
73
  version: '1.9'
79
74
  required_rubygems_version: !ruby/object:Gem::Requirement
80
- none: false
81
75
  requirements:
82
- - - ! '>='
76
+ - - '>='
83
77
  - !ruby/object:Gem::Version
84
78
  version: '0'
85
79
  requirements: []
86
80
  rubyforge_project:
87
- rubygems_version: 1.8.23
81
+ rubygems_version: 2.0.0
88
82
  signing_key:
89
- specification_version: 3
83
+ specification_version: 4
90
84
  summary: Wraps the Amazon Marketplace Web Service API
91
85
  test_files: []
92
- has_rdoc: