mws-feeds 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/.rspec +3 -0
- data/.rubocop.yml +78 -0
- data/.travis.yml +9 -0
- data/Gemfile +6 -0
- data/Guardfile +31 -0
- data/LICENSE.txt +21 -0
- data/README.md +29 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/mws-feeds.rb +4 -0
- data/lib/mws/feeds/collection.rb +29 -0
- data/lib/mws/feeds/document.rb +26 -0
- data/lib/mws/feeds/entity.rb +50 -0
- data/lib/mws/feeds/feed_submission_count.rb +13 -0
- data/lib/mws/feeds/parser.rb +44 -0
- data/lib/mws/feeds/version.rb +7 -0
- data/mws-feeds.gemspec +48 -0
- metadata +234 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: dc59457c39c6a3290ee377beba736e35ed8d5932
|
4
|
+
data.tar.gz: cfc0cfaf76e3af43cb3c2264d40c408e43423719
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f0b504576f5a13d91541cc65452562df8b678aba24829d92e68181d12374bb37e96ffd4244df4c3a8243e58f2e06ec79d0647bb8e0f71bfdec97af427701149e
|
7
|
+
data.tar.gz: 531c61071153641927e33d4d14300287207dcaef6df7c47047d734451f37c27a79d3bae4332f7b51ef1287f0862b3269b25d3022bb283acbbff812cd87c7ddd8
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
#
|
2
|
+
# For more information see https://github.com/bbatsov/rubocop/blob/master/config/default.yml
|
3
|
+
#
|
4
|
+
# However, do not include entire blocks here just because you want to change them.
|
5
|
+
# Include only the specific lines that you're changing from the defaults.
|
6
|
+
#
|
7
|
+
---
|
8
|
+
AllCops:
|
9
|
+
TargetRubyVersion: 2.3
|
10
|
+
Exclude:
|
11
|
+
- 'Gemfile.lock'
|
12
|
+
- 'tmp/**/*'
|
13
|
+
- '*.gemspec'
|
14
|
+
DisplayCopNames: true
|
15
|
+
DisplayStyleGuide: true
|
16
|
+
StyleGuideCopsOnly: false
|
17
|
+
|
18
|
+
Bundler/OrderedGems:
|
19
|
+
Enabled: false
|
20
|
+
Metrics/LineLength:
|
21
|
+
Max: 120
|
22
|
+
Metrics/BlockLength:
|
23
|
+
Exclude:
|
24
|
+
- 'Guardfile'
|
25
|
+
- 'spec/**/*.rb'
|
26
|
+
Naming/FileName:
|
27
|
+
Exclude:
|
28
|
+
- 'lib/mws-merchant_fulfillment.rb'
|
29
|
+
Style/BracesAroundHashParameters:
|
30
|
+
Enabled: false
|
31
|
+
Style/FrozenStringLiteralComment:
|
32
|
+
Exclude:
|
33
|
+
- 'Gemfile'
|
34
|
+
- 'Guardfile'
|
35
|
+
- 'Rakefile'
|
36
|
+
- 'bin/*'
|
37
|
+
Style/ClassCheck:
|
38
|
+
Enabled: false
|
39
|
+
Style/RegexpLiteral:
|
40
|
+
Exclude:
|
41
|
+
- 'Guardfile'
|
42
|
+
Style/SymbolArray:
|
43
|
+
MinSize: 3
|
44
|
+
Layout/DotPosition:
|
45
|
+
EnforcedStyle: trailing
|
46
|
+
Layout/IndentHash:
|
47
|
+
EnforcedStyle: consistent
|
48
|
+
Layout/MultilineOperationIndentation:
|
49
|
+
EnforcedStyle: indented
|
50
|
+
Layout/AlignParameters:
|
51
|
+
EnforcedStyle: with_fixed_indentation
|
52
|
+
Layout/IndentArray:
|
53
|
+
EnforcedStyle: consistent
|
54
|
+
Layout/MultilineMethodCallIndentation:
|
55
|
+
EnforcedStyle: indented
|
56
|
+
Lint/AmbiguousBlockAssociation:
|
57
|
+
Exclude:
|
58
|
+
- 'spec/**.rb'
|
59
|
+
Style/BlockDelimiters:
|
60
|
+
EnforcedStyle: semantic
|
61
|
+
Exclude:
|
62
|
+
- 'spec/factories/**/*.rb'
|
63
|
+
- 'spec/**/*.rb'
|
64
|
+
Style/Lambda:
|
65
|
+
EnforcedStyle: literal
|
66
|
+
Style/Semicolon:
|
67
|
+
Exclude:
|
68
|
+
- 'spec/*_spec.rb'
|
69
|
+
Style/StringLiterals:
|
70
|
+
Enabled: false
|
71
|
+
Style/StringLiteralsInInterpolation:
|
72
|
+
Enabled: false
|
73
|
+
Style/TrailingCommaInArrayLiteral:
|
74
|
+
EnforcedStyleForMultiline: comma
|
75
|
+
Style/TrailingCommaInHashLiteral:
|
76
|
+
EnforcedStyleForMultiline: comma
|
77
|
+
Style/TrailingCommaInArguments:
|
78
|
+
EnforcedStyleForMultiline: comma
|
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/Guardfile
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
group :red_green_refactor_rb, halt_on_fail: true do
|
2
|
+
rspec_options = {
|
3
|
+
all_on_start: false,
|
4
|
+
failed_mode: :keep,
|
5
|
+
}
|
6
|
+
rspec_format = "--format documentation"
|
7
|
+
|
8
|
+
rspec_options[:cmd] = "bundle exec rspec #{rspec_format}"
|
9
|
+
|
10
|
+
guard 'rspec', rspec_options do
|
11
|
+
watch(%r{spec/spec_helper.rb}) { "spec" }
|
12
|
+
watch(%r{^spec/.+_spec\.rb$})
|
13
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
14
|
+
end
|
15
|
+
|
16
|
+
rubocop_options = {
|
17
|
+
cli: %w[-D --format fuubar],
|
18
|
+
all_on_start: false,
|
19
|
+
keep_failed: false,
|
20
|
+
notification: :failed,
|
21
|
+
}
|
22
|
+
|
23
|
+
guard :rubocop, rubocop_options do
|
24
|
+
watch('Guardfile')
|
25
|
+
watch('Rakefile')
|
26
|
+
watch(/.+\.rb$/)
|
27
|
+
watch(/.+\.rake$/)
|
28
|
+
# Rerun rubocop on everything in the folder or below a .rubocop.yml file
|
29
|
+
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
|
30
|
+
end
|
31
|
+
end
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 Robin Daugherty
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
[![Build Status](https://travis-ci.org/Flowspace-Team/mws-feeds.svg?branch=master)](https://travis-ci.org/Flowspace-Team/mws-feeds)
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/mws-feeds.svg)](https://badge.fury.io/rb/mws-feeds)
|
3
|
+
|
4
|
+
# MWS Feeds
|
5
|
+
|
6
|
+
**MWS Feeds** is a Ruby interface to the [Amazon Marketplace Web Service (MWS) Feeds API](http://docs.developer.amazonservices.com/en_US/feeds/index.html). With the MWS Feeds API, you can build applications that let sellers purchase shipping for non-Prime and Prime orders using Amazon’s Buy Shipping Services.
|
7
|
+
|
8
|
+
(To use Amazon MWS, you must have an Amazon MWS developer account.)
|
9
|
+
|
10
|
+
## Usage
|
11
|
+
|
12
|
+
Create a client:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require "mws-feeds"
|
16
|
+
client = MWS.feeds(marketplace: "ATVPDKIKX0DER", merchant_id: "123")
|
17
|
+
```
|
18
|
+
|
19
|
+
Set up credentials [when instantiating or with environment variables](https://github.com/hakanensari/peddler#usage).
|
20
|
+
|
21
|
+
### Feed Submission Count
|
22
|
+
|
23
|
+
Get the count of feeds submitted in the past 90 days:
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
response = client.get_feed_submission_count
|
27
|
+
submission_count_data = response.parse
|
28
|
+
puts submission_count_data.count # => 1
|
29
|
+
```
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "mws/feeds"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/lib/mws-feeds.rb
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'mws/feeds/document'
|
4
|
+
|
5
|
+
module MWS
|
6
|
+
module Feeds
|
7
|
+
class Collection < Document
|
8
|
+
include Enumerable
|
9
|
+
|
10
|
+
def each
|
11
|
+
raise NotImplementedError
|
12
|
+
end
|
13
|
+
|
14
|
+
def empty?
|
15
|
+
count.zero?
|
16
|
+
end
|
17
|
+
|
18
|
+
def inspect
|
19
|
+
"#<#{self.class} #{if count > 3
|
20
|
+
"[#{take(3).map(&:inspect).join(', ')}...]"
|
21
|
+
else
|
22
|
+
"[#{map(&:inspect).join(', ')}]"
|
23
|
+
end}>"
|
24
|
+
end
|
25
|
+
|
26
|
+
alias to_s inspect
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module MWS
|
4
|
+
module Feeds
|
5
|
+
class Document
|
6
|
+
attr_reader :node
|
7
|
+
|
8
|
+
def initialize(node)
|
9
|
+
@node = node
|
10
|
+
end
|
11
|
+
|
12
|
+
def xpath(path)
|
13
|
+
node.xpath(add_namespace(path))
|
14
|
+
end
|
15
|
+
|
16
|
+
private
|
17
|
+
|
18
|
+
def add_namespace(path)
|
19
|
+
path.
|
20
|
+
split('/').
|
21
|
+
map { |attr| "xmlns:#{attr}" }.
|
22
|
+
join('/')
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'cgi'
|
4
|
+
require 'time'
|
5
|
+
require 'money'
|
6
|
+
require 'structure'
|
7
|
+
require 'mws/feeds/document'
|
8
|
+
|
9
|
+
module MWS
|
10
|
+
module Feeds
|
11
|
+
class Entity < Document
|
12
|
+
include Structure
|
13
|
+
|
14
|
+
def boolean_at_path(path)
|
15
|
+
text = text_at_xpath(path)
|
16
|
+
text&.downcase == 'true'
|
17
|
+
end
|
18
|
+
|
19
|
+
def float_at_xpath(path)
|
20
|
+
text = text_at_xpath(path)
|
21
|
+
text&.to_f
|
22
|
+
end
|
23
|
+
|
24
|
+
def integer_at_xpath(path)
|
25
|
+
text = text_at_xpath(path)
|
26
|
+
text&.to_i
|
27
|
+
end
|
28
|
+
|
29
|
+
def money_at_xpath(path)
|
30
|
+
amount = float_at_xpath("#{path}/Amount")
|
31
|
+
return unless amount
|
32
|
+
|
33
|
+
currency_code = text_at_xpath("#{path}/CurrencyCode")
|
34
|
+
amount *= 100 unless currency_code == 'JPY'
|
35
|
+
|
36
|
+
Money.new(amount, currency_code)
|
37
|
+
end
|
38
|
+
|
39
|
+
def time_at_xpath(path)
|
40
|
+
text = text_at_xpath(path)
|
41
|
+
Time.parse(CGI.unescape(text)) if text
|
42
|
+
end
|
43
|
+
|
44
|
+
def text_at_xpath(path)
|
45
|
+
node = xpath(path).first
|
46
|
+
node&.text&.strip
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'peddler'
|
4
|
+
require 'nokogiri'
|
5
|
+
require 'mws/feeds/feed_submission_count'
|
6
|
+
|
7
|
+
module MWS
|
8
|
+
module Feeds
|
9
|
+
class Parser
|
10
|
+
include ::Peddler::Headers
|
11
|
+
|
12
|
+
def initialize(response, _encoding)
|
13
|
+
@response = response
|
14
|
+
end
|
15
|
+
|
16
|
+
def parse
|
17
|
+
node = find_result_node
|
18
|
+
|
19
|
+
case node.name
|
20
|
+
when /GetFeedSubmissionCount/
|
21
|
+
FeedSubmissionCount.new(node)
|
22
|
+
else
|
23
|
+
raise NotImplementedError
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
def headers
|
28
|
+
@response.headers
|
29
|
+
end
|
30
|
+
|
31
|
+
private
|
32
|
+
|
33
|
+
def find_result_node
|
34
|
+
xml = Nokogiri(@response.body)
|
35
|
+
root = xml.children.first
|
36
|
+
|
37
|
+
root.children.find { |node| node.name.include?('Result') }
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
# Override Peddler's default Parser.
|
42
|
+
Client.parser = Parser
|
43
|
+
end
|
44
|
+
end
|
data/mws-feeds.gemspec
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path("../lib", __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require "mws/feeds/version"
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "mws-feeds"
|
9
|
+
spec.version = Mws::Feeds::VERSION
|
10
|
+
spec.authors = ["Robin Daugherty"]
|
11
|
+
spec.email = ["robin@robindaugherty.net"]
|
12
|
+
|
13
|
+
spec.summary = %q{Wraps the Amazon MWS Feeds API}
|
14
|
+
spec.description = %q{A rich Ruby interface to the Amazon MWS Feeds API.}
|
15
|
+
spec.homepage = 'https://github.com/Flowspace-Team/mws-feeds'
|
16
|
+
spec.license = "MIT"
|
17
|
+
|
18
|
+
if spec.respond_to?(:metadata)
|
19
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
20
|
+
spec.metadata["source_code_uri"] = 'https://github.com/Flowspace-Team/mws-feeds'
|
21
|
+
spec.metadata["changelog_uri"] = 'https://github.com/Flowspace-Team/mws-feeds/releases'
|
22
|
+
end
|
23
|
+
|
24
|
+
# Specify which files should be added to the gem when it is released.
|
25
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
26
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
27
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
28
|
+
end
|
29
|
+
spec.bindir = "exe"
|
30
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
|
+
spec.require_paths = ["lib"]
|
32
|
+
|
33
|
+
spec.add_runtime_dependency 'money', '~> 6.0'
|
34
|
+
spec.add_runtime_dependency 'nokogiri', '~> 1.5'
|
35
|
+
spec.add_runtime_dependency 'peddler', '~> 2.0'
|
36
|
+
spec.add_runtime_dependency 'structure', '~> 1.0'
|
37
|
+
|
38
|
+
spec.required_ruby_version = '>= 2.3'
|
39
|
+
|
40
|
+
spec.add_development_dependency "bundler", "~> 1.17"
|
41
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
42
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
43
|
+
spec.add_development_dependency 'rubocop'
|
44
|
+
spec.add_development_dependency 'guard'
|
45
|
+
spec.add_development_dependency 'guard-rspec'
|
46
|
+
spec.add_development_dependency 'guard-rubocop'
|
47
|
+
spec.add_development_dependency 'pry'
|
48
|
+
end
|
metadata
ADDED
@@ -0,0 +1,234 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mws-feeds
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Robin Daugherty
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-02-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: money
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '6.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '6.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nokogiri
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.5'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.5'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: peddler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: structure
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.17'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.17'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '10.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '10.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '3.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '3.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: guard
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: guard-rspec
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: guard-rubocop
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: pry
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
description: A rich Ruby interface to the Amazon MWS Feeds API.
|
182
|
+
email:
|
183
|
+
- robin@robindaugherty.net
|
184
|
+
executables: []
|
185
|
+
extensions: []
|
186
|
+
extra_rdoc_files: []
|
187
|
+
files:
|
188
|
+
- ".gitignore"
|
189
|
+
- ".rspec"
|
190
|
+
- ".rubocop.yml"
|
191
|
+
- ".travis.yml"
|
192
|
+
- Gemfile
|
193
|
+
- Guardfile
|
194
|
+
- LICENSE.txt
|
195
|
+
- README.md
|
196
|
+
- Rakefile
|
197
|
+
- bin/console
|
198
|
+
- bin/setup
|
199
|
+
- lib/mws-feeds.rb
|
200
|
+
- lib/mws/feeds/collection.rb
|
201
|
+
- lib/mws/feeds/document.rb
|
202
|
+
- lib/mws/feeds/entity.rb
|
203
|
+
- lib/mws/feeds/feed_submission_count.rb
|
204
|
+
- lib/mws/feeds/parser.rb
|
205
|
+
- lib/mws/feeds/version.rb
|
206
|
+
- mws-feeds.gemspec
|
207
|
+
homepage: https://github.com/Flowspace-Team/mws-feeds
|
208
|
+
licenses:
|
209
|
+
- MIT
|
210
|
+
metadata:
|
211
|
+
homepage_uri: https://github.com/Flowspace-Team/mws-feeds
|
212
|
+
source_code_uri: https://github.com/Flowspace-Team/mws-feeds
|
213
|
+
changelog_uri: https://github.com/Flowspace-Team/mws-feeds/releases
|
214
|
+
post_install_message:
|
215
|
+
rdoc_options: []
|
216
|
+
require_paths:
|
217
|
+
- lib
|
218
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '2.3'
|
223
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
224
|
+
requirements:
|
225
|
+
- - ">="
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: '0'
|
228
|
+
requirements: []
|
229
|
+
rubyforge_project:
|
230
|
+
rubygems_version: 2.6.14.1
|
231
|
+
signing_key:
|
232
|
+
specification_version: 4
|
233
|
+
summary: Wraps the Amazon MWS Feeds API
|
234
|
+
test_files: []
|