muffin_man 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 42a69a2af21b2348c9ef63c2d514c5edc4d03ee1c970e6c0295f9ddbb4f57c01
4
+ data.tar.gz: 9f0d990ad87181cdd0575b8d79f018aab3bd4fe3740290b3ab1247385539b43e
5
+ SHA512:
6
+ metadata.gz: 15f2eaae1864b2a91286656457419c729b60c4feee643a1da34af06316b048ea5a6a9ed70d21d1caabd18bb572b31881a08a6e60bdde48365c9f2ad01d40e9e6
7
+ data.tar.gz: 6cd9d7182c2e8ec16a053fba1890e8b00259e1b19f45652a14ad122399df04725691abae28ba64cd985347529a577953a71ce28ea6fc9d52f0c8047bc586e968
@@ -0,0 +1,13 @@
1
+ version: 2.1
2
+ jobs:
3
+ build:
4
+ docker:
5
+ - image: ruby:2.6.3
6
+ steps:
7
+ - checkout
8
+ - run:
9
+ name: Run the default task
10
+ command: |
11
+ gem install bundler -v 2.2.5
12
+ bundle install
13
+ bundle exec rake
@@ -0,0 +1,13 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+ .env
13
+ Gemfile.lock
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,13 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.4
3
+
4
+ Style/StringLiterals:
5
+ Enabled: true
6
+ EnforcedStyle: double_quotes
7
+
8
+ Style/StringLiteralsInInterpolation:
9
+ Enabled: true
10
+ EnforcedStyle: double_quotes
11
+
12
+ Layout/LineLength:
13
+ Max: 120
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at gavin@iserve.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in muffin_man.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "rspec", "~> 3.0"
11
+
12
+ gem "rubocop", "~> 1.7"
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Gavin
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.
@@ -0,0 +1,70 @@
1
+ # MuffinMan
2
+
3
+ MuffinMan is a ruby interface to the Amazon Selling Partner API. For more information on registering to use the Selling Partner API, see [Amazon's documentation](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/developer-guide/SellingPartnerApiDeveloperGuide.md)
4
+
5
+ As of now, this gem only supports the `create_product_review_and_seller_feedback_solicitation` model, likely with more to come.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'muffin_man'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install muffin_man
22
+
23
+ ## Usage
24
+
25
+ To make a call to the Amazon Selling Partner API, define your credentials and make a call as shown:
26
+
27
+ ```ruby
28
+ require 'muffin_man'
29
+ credentials = {
30
+ refresh_token: LWA_REFRESH_TOKEN,
31
+ client_id: CLIENT_ID,
32
+ client_secret: CLIENT_SECRET,
33
+ aws_access_key_id: AWS_ACCESS_KEY_ID,
34
+ aws_secret_access_key: AWS_SECRET_ACCESS_KEY,
35
+ region: REGION, # This can be one of ['na', 'eu', 'fe'] and defaults to 'na'
36
+ sts_iam_role_arn: STS_IAM_ROLE_ARN, # Optional
37
+ }
38
+ client = MuffinMan::Solicitations.new(credentials)
39
+ response = client.create_product_review_and_seller_feedback_solicitation(amazon_order_id, marketplace_ids, region)
40
+ JSON.parse(response.body)
41
+ ```
42
+
43
+ You can optionally use Amazon's sandbox environment by specifying `client = MuffinMan::Solicitations.new(credentials, sandbox = true)`
44
+
45
+ You can save and retrieve the LWA refresh token by defining a lambda in your initializers.
46
+
47
+ For example, if you are using Redis as your cache you could define:
48
+
49
+ ```ruby
50
+ @@redis = Redis.new
51
+ MuffinMan.configure do |config|
52
+ config.save_access_token = -> (client_id, token) do
53
+ @@redis.set("SP-TOKEN-#{client_id}", token['access_token'], ex: token['expires_in'])
54
+ end
55
+
56
+ config.get_access_token = -> (client_id) { @@redis.get("SP-TOKEN-#{client_id}") }
57
+ end
58
+ ```
59
+
60
+ ## Contributing
61
+
62
+ Bug reports and pull requests are welcome on GitHub at https://github.com/patterninc/muffin_man. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/patterninc/muffin_man/blob/master/CODE_OF_CONDUCT.md).
63
+
64
+ ## License
65
+
66
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
67
+
68
+ ## Code of Conduct
69
+
70
+ Everyone interacting in the MuffinMan project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/muffin_man/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "muffin_man"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ require "irb"
11
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,20 @@
1
+ require_relative "muffin_man/version"
2
+ require "muffin_man/sp_api_client"
3
+ require "muffin_man/solicitations"
4
+
5
+ module MuffinMan
6
+ class Error < StandardError; end
7
+
8
+ class << self
9
+ attr_accessor :configuration
10
+ end
11
+
12
+ def self.configure
13
+ self.configuration ||= Configuration.new
14
+ yield(configuration)
15
+ end
16
+
17
+ class Configuration
18
+ attr_accessor :save_access_token, :get_access_token
19
+ end
20
+ end
@@ -0,0 +1,19 @@
1
+ module MuffinMan
2
+ class Solicitations < SpApiClient
3
+ SANDBOX_AMAZON_ORDER_ID = "123-1234567-1234567"
4
+ SANDBOX_MARKETPLACE_IDS = "ATVPDKIKX0DER"
5
+ attr_reader :amazon_order_id, :marketplace_ids, :request_type, :local_var_path, :query_params
6
+
7
+ # Sends a solicitation to a buyer asking for seller feedback and a product review for the specified order. Send only one productReviewAndSellerFeedback or free form proactive message per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
8
+ # @param amazon_order_id An Amazon order identifier. This specifies the order for which a solicitation is sent.
9
+ # @param marketplace_ids A marketplace identifier. This specifies the marketplace in which the order was placed. Only one marketplace can be specified.
10
+ def create_product_review_and_seller_feedback_solicitation(amazon_order_id, marketplace_ids)
11
+ @amazon_order_id = sandbox ? SANDBOX_AMAZON_ORDER_ID : amazon_order_id
12
+ @marketplace_ids = sandbox ? SANDBOX_MARKETPLACE_IDS : marketplace_ids
13
+ @local_var_path = '/solicitations/v1/orders/{amazonOrderId}/solicitations/productReviewAndSellerFeedback'.sub('{' + 'amazonOrderId' + '}', @amazon_order_id)
14
+ @query_params = { "marketplaceIds" => @marketplace_ids }
15
+ @request_type = 'POST'
16
+ call_api
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,128 @@
1
+ require 'aws-sigv4'
2
+ require 'uri'
3
+ require 'aws-sdk-core'
4
+ require 'typhoeus'
5
+ require 'securerandom'
6
+
7
+ module MuffinMan
8
+ class SpApiClient
9
+ attr_reader :refresh_token, :client_id, :client_secret, :aws_access_key_id,
10
+ :aws_secret_access_key, :sts_iam_role_arn, :sandbox, :config, :region
11
+ ACCESS_TOKEN_URL = 'https://api.amazon.com/auth/o2/token'.freeze
12
+ SERVICE_NAME = 'execute-api'.freeze
13
+ AWS_REGION_MAP = {
14
+ 'na' => 'us-east-1',
15
+ 'eu' => 'eu-west-1',
16
+ 'fe' => 'us-west-2'
17
+ }.freeze
18
+
19
+ def initialize(credentials, sandbox = false)
20
+ @refresh_token = credentials[:refresh_token]
21
+ @client_id = credentials[:client_id]
22
+ @client_secret = credentials[:client_secret]
23
+ @aws_access_key_id = credentials[:aws_access_key_id]
24
+ @aws_secret_access_key = credentials[:aws_secret_access_key]
25
+ @sts_iam_role_arn = credentials[:sts_iam_role_arn]
26
+ @region = credentials[:region] || 'na'
27
+ @sandbox = sandbox
28
+ Typhoeus::Config.user_agent = ''
29
+ @config = MuffinMan.configuration
30
+ end
31
+
32
+ private
33
+
34
+ def call_api
35
+ Typhoeus.send(request_type.downcase.to_sym, request.url, headers: headers)
36
+ end
37
+
38
+ def sp_api_host
39
+ hostname = "sellingpartnerapi-#{region}.amazon.com"
40
+ sandbox ? hostname.prepend("sandbox.") : hostname
41
+ end
42
+
43
+ def sp_api_url
44
+ "https://#{sp_api_host}"
45
+ end
46
+
47
+ def canonical_uri
48
+ # local_var_path is defined in subclasses
49
+ "#{sp_api_url}#{local_var_path}"
50
+ end
51
+
52
+ def request
53
+ @request ||= Typhoeus::Request.new(
54
+ canonical_uri,
55
+ params: query_params
56
+ )
57
+ end
58
+
59
+ def retrieve_lwa_access_token
60
+ return request_lwa_access_token['access_token'] unless defined?(config.get_access_token)
61
+ stored_token = config.get_access_token.call(client_id)
62
+ if stored_token.nil?
63
+ new_token = request_lwa_access_token
64
+ config.save_access_token.call(client_id, new_token) if defined?(config.save_access_token)
65
+ return new_token['access_token']
66
+ else
67
+ return stored_token
68
+ end
69
+ end
70
+
71
+ def request_lwa_access_token
72
+ body = {
73
+ grant_type: 'refresh_token',
74
+ refresh_token: refresh_token,
75
+ client_id: client_id,
76
+ client_secret: client_secret
77
+ }
78
+ response = Typhoeus.post(
79
+ ACCESS_TOKEN_URL,
80
+ body: URI.encode_www_form(body),
81
+ headers: {
82
+ 'Content-Type' => 'application/x-www-form-urlencoded;charset=UTF-8'
83
+ }
84
+ )
85
+ JSON.parse(response.body)
86
+ end
87
+
88
+ def request_sts_token
89
+ client = Aws::STS::Client.new(
90
+ region: derive_aws_region,
91
+ access_key_id: aws_access_key_id,
92
+ secret_access_key: aws_secret_access_key
93
+ )
94
+ client.assume_role(role_arn: sts_iam_role_arn, role_session_name: SecureRandom.uuid)
95
+ end
96
+
97
+ def signed_request
98
+ request_config = {
99
+ service: SERVICE_NAME,
100
+ region: derive_aws_region,
101
+ endpoint: sp_api_host
102
+ }
103
+ if sts_iam_role_arn.nil?
104
+ request_config[:access_key_id] = aws_access_key_id
105
+ request_config[:secret_access_key] = aws_secret_access_key
106
+ else
107
+ request_config[:credentials_provider] = request_sts_token
108
+ end
109
+ signer = Aws::Sigv4::Signer.new(request_config)
110
+ signer.sign_request(http_method: request_type, url: request.url)
111
+ end
112
+
113
+ def headers
114
+ headers = {
115
+ 'x-amz-access-token' => retrieve_lwa_access_token,
116
+ 'user-agent' => "MuffinMan/#{VERSION} (Language=Ruby)",
117
+ 'content-type' => "application/json"
118
+ }
119
+ signed_request.headers.merge(headers)
120
+ end
121
+
122
+ def derive_aws_region
123
+ @aws_region ||= AWS_REGION_MAP[region]
124
+ raise MuffinMan::Error.new("#{region} is not supported or does not exist. Region must be one of the following: #{AWS_REGION_MAP.keys.join(', ')}") unless @aws_region
125
+ @aws_region
126
+ end
127
+ end
128
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module MuffinMan
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,27 @@
1
+ require_relative "lib/muffin_man/version"
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "muffin_man"
5
+ spec.version = MuffinMan::VERSION
6
+ spec.authors = ["Gavin", "Jason", "Nate"]
7
+ spec.email = ["gavin@pattern.com", "jason@pattern.com", "nate.salisbury@pattern.com"]
8
+
9
+ spec.summary = "Amazon Selling Partner API client"
10
+ spec.homepage = "https://github.com/patterninc/muffin_man"
11
+ spec.license = "MIT"
12
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
13
+
14
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
15
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
16
+ end
17
+ spec.bindir = "exe"
18
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "rspec", "~> 3.2"
22
+ spec.add_development_dependency 'webmock', '~> 2.1'
23
+ spec.add_development_dependency 'mock_redis', '>=0.14'
24
+ spec.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
25
+ spec.add_runtime_dependency 'aws-sigv4', '~> 1.2', '>= 1.2.2'
26
+ spec.add_runtime_dependency 'aws-sdk-core', '~> 2.4', '>= 2.4.4'
27
+ end
metadata ADDED
@@ -0,0 +1,165 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: muffin_man
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Gavin
8
+ - Jason
9
+ - Nate
10
+ autorequire:
11
+ bindir: exe
12
+ cert_chain: []
13
+ date: 2021-01-20 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rspec
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: '3.2'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: '3.2'
29
+ - !ruby/object:Gem::Dependency
30
+ name: webmock
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: '2.1'
36
+ type: :development
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '2.1'
43
+ - !ruby/object:Gem::Dependency
44
+ name: mock_redis
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0.14'
50
+ type: :development
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: '0.14'
57
+ - !ruby/object:Gem::Dependency
58
+ name: typhoeus
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '1.0'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 1.0.1
67
+ type: :runtime
68
+ prerelease: false
69
+ version_requirements: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '1.0'
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 1.0.1
77
+ - !ruby/object:Gem::Dependency
78
+ name: aws-sigv4
79
+ requirement: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '1.2'
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 1.2.2
87
+ type: :runtime
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - "~>"
92
+ - !ruby/object:Gem::Version
93
+ version: '1.2'
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 1.2.2
97
+ - !ruby/object:Gem::Dependency
98
+ name: aws-sdk-core
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '2.4'
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: 2.4.4
107
+ type: :runtime
108
+ prerelease: false
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "~>"
112
+ - !ruby/object:Gem::Version
113
+ version: '2.4'
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: 2.4.4
117
+ description:
118
+ email:
119
+ - gavin@pattern.com
120
+ - jason@pattern.com
121
+ - nate.salisbury@pattern.com
122
+ executables: []
123
+ extensions: []
124
+ extra_rdoc_files: []
125
+ files:
126
+ - ".circleci/config.yml"
127
+ - ".gitignore"
128
+ - ".rspec"
129
+ - ".rubocop.yml"
130
+ - CODE_OF_CONDUCT.md
131
+ - Gemfile
132
+ - LICENSE.txt
133
+ - README.md
134
+ - Rakefile
135
+ - bin/console
136
+ - bin/setup
137
+ - lib/muffin_man.rb
138
+ - lib/muffin_man/solicitations.rb
139
+ - lib/muffin_man/sp_api_client.rb
140
+ - lib/muffin_man/version.rb
141
+ - muffin_man.gemspec
142
+ homepage: https://github.com/patterninc/muffin_man
143
+ licenses:
144
+ - MIT
145
+ metadata: {}
146
+ post_install_message:
147
+ rdoc_options: []
148
+ require_paths:
149
+ - lib
150
+ required_ruby_version: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: 2.4.0
155
+ required_rubygems_version: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ requirements: []
161
+ rubygems_version: 3.0.3
162
+ signing_key:
163
+ specification_version: 4
164
+ summary: Amazon Selling Partner API client
165
+ test_files: []