connector_kit_fork 0.3.1

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f2bde5885b04d01922fee2de21b504192e073f1351b6e13e37c773e3a8121dcf
4
+ data.tar.gz: 359c57f254d32845ef32f8aab4721cdc6901241013c89de14788dc6b32f45b61
5
+ SHA512:
6
+ metadata.gz: 24a8a6cf8a1ea932cd7530722c782bbb059ec25c7496115ad72e155d46ed7ef63d8e8a28e766a3b53b359366d69b9d1c3540454853e5f24ad6f2d6c41808f6a9
7
+ data.tar.gz: 941abfb5f263bf9eccaa1d97c97862ac7198329205f8e84b00e09c85e806241bad0351d1b10251d8d0358cec2d6e8af1946a1a3686461fbfef458f2c56f3502b
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ *.gem
2
+
3
+ /.bundle/
4
+ /.yardoc
5
+ /_yardoc/
6
+ /coverage/
7
+ /doc/
8
+ /pkg/
9
+ /spec/reports/
10
+ /tmp/
11
+
12
+ # rspec failure tracking
13
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.5.3
7
+ before_install: gem install bundler -v 1.17.1
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in connector_kit.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,45 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ connector_kit_fork (0.3.1)
5
+ httparty (~> 0.16.3)
6
+ jwt (~> 2.1, >= 2.1.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ diff-lcs (1.4.4)
12
+ httparty (0.16.4)
13
+ mime-types (~> 3.0)
14
+ multi_xml (>= 0.5.2)
15
+ jwt (2.2.2)
16
+ mime-types (3.3.1)
17
+ mime-types-data (~> 3.2015)
18
+ mime-types-data (3.2021.0212)
19
+ multi_xml (0.6.0)
20
+ rake (13.0.3)
21
+ rspec (3.10.0)
22
+ rspec-core (~> 3.10.0)
23
+ rspec-expectations (~> 3.10.0)
24
+ rspec-mocks (~> 3.10.0)
25
+ rspec-core (3.10.1)
26
+ rspec-support (~> 3.10.0)
27
+ rspec-expectations (3.10.1)
28
+ diff-lcs (>= 1.2.0, < 2.0)
29
+ rspec-support (~> 3.10.0)
30
+ rspec-mocks (3.10.2)
31
+ diff-lcs (>= 1.2.0, < 2.0)
32
+ rspec-support (~> 3.10.0)
33
+ rspec-support (3.10.2)
34
+
35
+ PLATFORMS
36
+ ruby
37
+
38
+ DEPENDENCIES
39
+ bundler
40
+ connector_kit_fork!
41
+ rake
42
+ rspec
43
+
44
+ BUNDLED WITH
45
+ 2.1.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Simon Jarbrant
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,81 @@
1
+ # ConnectorKit 🔌
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/connector_kit.svg)](https://badge.fury.io/rb/connector_kit)
4
+
5
+ A simple Ruby gem for communicating with the [App Store Connect API](https://developer.apple.com/app-store-connect/api). Currently supported features:
6
+
7
+ - [x] List users
8
+ - [x] List apps
9
+ - [x] List builds of an app
10
+ - [x] Get build details for a specific build
11
+
12
+ ## Installation
13
+
14
+ Add this line to your application's Gemfile:
15
+
16
+ ```ruby
17
+ gem 'connector_kit'
18
+ ```
19
+
20
+ And then execute:
21
+
22
+ ```bash
23
+ $ bundle
24
+ ```
25
+
26
+ Or install it yourself as:
27
+
28
+ ```bash
29
+ $ gem install connector_kit
30
+ ```
31
+
32
+ ## Usage
33
+
34
+ Before you can use this gem you need to set up a new key in the App Store Connect "Users and Access" section. More detailed info here: [App Store Connect API documentation](https://developer.apple.com/documentation/appstoreconnectapi)
35
+
36
+ First, require the gem and set up a client. The `Client` class has three constructor arguments:
37
+
38
+ - `issuer_id`: The Issuer ID of your organisation (you can find this in App Store Connect)
39
+ - `key_id`: The Key ID of the App Store Connect API key you want to use
40
+ - `private_key_file_path`: The path to the `*.p8` file that you downloaded as part of creating an App Store Connect API key
41
+
42
+ ```ruby
43
+ require 'connector_kit'
44
+
45
+ client = ConnectorKit::Client.new(
46
+ '8e2f3845-63ec-4865-8be7-f7cbb3c099db',
47
+ 'E28E8EE0B4CE',
48
+ 'AuthKey_E28E8EE0B4CE.p8'
49
+ )
50
+ ```
51
+
52
+ After initialising the client, it will generate a JWT token as described in the documentation for the App Store Connect API. It's valid for 20 minutes. Now you can use it to fetch information from the API:
53
+
54
+ ```ruby
55
+ # Fetches all apps in the organisation
56
+ apps = client.apps
57
+ ```
58
+
59
+ ```ruby
60
+ # Fetches all builds for an app
61
+ builds = client.app_builds(app)
62
+ ```
63
+
64
+ ```ruby
65
+ # Fetches build details for a build
66
+ build_details = client.build_beta_details(build)
67
+ ```
68
+
69
+ ## Development
70
+
71
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
72
+
73
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
74
+
75
+ ## Contributing
76
+
77
+ Bug reports and pull requests are welcome on GitHub at https://github.com/simba909/connector_kit.
78
+
79
+ ## License
80
+
81
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "connector_kit"
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
@@ -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,29 @@
1
+ $LOAD_PATH.push File.expand_path("../lib", __FILE__)
2
+ require "connector_kit/version"
3
+
4
+ Gem::Specification.new do |spec|
5
+ spec.name = "connector_kit_fork"
6
+ spec.version = ConnectorKit::VERSION
7
+ spec.authors = ["Simon Jarbrant"]
8
+ spec.email = ["simonjarbrant@gmail.com"]
9
+
10
+ spec.summary = "A gem for communicating with the App Store Connect API."
11
+ spec.description = "A gem for communicating with the App Store Connect API."
12
+ spec.homepage = "https://github.com/simba909/connector_kit"
13
+ spec.license = "MIT"
14
+
15
+ all_files = `git ls-files`.split("\n")
16
+ test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
+
18
+ spec.files = all_files - test_files
19
+ spec.test_files = test_files
20
+ spec.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.add_development_dependency "bundler"
24
+ spec.add_development_dependency "rake"
25
+ spec.add_development_dependency "rspec"
26
+
27
+ spec.add_dependency "httparty", "~> 0.16.3"
28
+ spec.add_dependency "jwt", "~> 2.1", ">= 2.1.0"
29
+ end
@@ -0,0 +1,63 @@
1
+ require 'connector_kit/httpclient.rb'
2
+ require 'connector_kit/token_generator'
3
+ require 'connector_kit/version'
4
+ require 'connector_kit/mappers/app_list_response_mapper'
5
+ require 'connector_kit/mappers/app_response_mapper'
6
+ require 'connector_kit/mappers/user_list_response_mapper'
7
+ require 'connector_kit/mappers/build_list_response_mapper'
8
+ require 'connector_kit/mappers/build_details_response_mapper'
9
+ require 'connector_kit/mappers/app_version_mapper'
10
+
11
+ module ConnectorKit
12
+ # Class used for communicating with the App Store Connect API
13
+ class Client
14
+
15
+ def initialize(issuer_id, key_id, private_key)
16
+ token_generator = TokenGenerator.new(
17
+ issuer_id,
18
+ key_id,
19
+ private_key
20
+ )
21
+
22
+ @httpclient = HTTPClient.new('https://api.appstoreconnect.apple.com/v1')
23
+ @httpclient.class.headers(
24
+ 'Authorization' => "Bearer #{token_generator.generate_token}"
25
+ )
26
+ end
27
+
28
+ def apps
29
+ @httpclient.get '/apps', AppListResponseMapper.new
30
+ end
31
+
32
+ def users
33
+ @httpclient.get '/users', UserListResponseMapper.new
34
+ end
35
+
36
+ def app_builds(app)
37
+ @httpclient.get "/apps/#{app.id}/builds", BuildListResponseMapper.new
38
+ end
39
+
40
+ def app(id)
41
+ @httpclient.get "/apps/#{id}", AppResponseMapper.new
42
+ end
43
+
44
+ def prepare_submition_versions(id)
45
+ releaseVersion(id, "PREPARE_FOR_SUBMISSION")
46
+ end
47
+
48
+ def ready_sale_versions(id)
49
+ releaseVersion(id, "READY_FOR_SALE")
50
+ end
51
+
52
+ def release_version(id, state)
53
+ @httpclient.get "/apps/#{id}/appStoreVersions?filter[appStoreState]=#{state}", VersionResponseMapper.new
54
+ end
55
+
56
+ def build_beta_details(build)
57
+ @httpclient.get(
58
+ "/buildBetaDetails/#{build.id}",
59
+ BuildDetailsResponseMapper.new
60
+ )
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,15 @@
1
+ module ConnectorKit
2
+ class Error < StandardError; end
3
+
4
+ # Simple model class for representing errors in the App Store Connect API
5
+ class APIError < Error
6
+ attr_reader :detail, :status
7
+
8
+ def initialize(message, detail, status)
9
+ super(message)
10
+
11
+ @detail = detail
12
+ @status = status
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,30 @@
1
+ require 'httparty'
2
+
3
+ require 'connector_kit/exceptions'
4
+
5
+ module ConnectorKit
6
+ # Simple HTTP client wrapper for HTTParty
7
+ class HTTPClient
8
+ include HTTParty
9
+
10
+ def initialize(target_uri)
11
+ self.class.base_uri(target_uri)
12
+ end
13
+
14
+ def get(url, response_mapper)
15
+ response = self.class.get(url)
16
+
17
+ raise make_api_error(response) unless response.code == 200
18
+
19
+ response_mapper.map(response.parsed_response['data'])
20
+ end
21
+
22
+ private
23
+
24
+ def make_api_error(response)
25
+ # For the time being, the first error received is enough
26
+ error = response.parsed_response['errors'].first
27
+ APIError.new(error['title'], error['detail'], error['status'])
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,10 @@
1
+ require 'connector_kit/models/app'
2
+
3
+ module ConnectorKit
4
+ # Mapper between a HTTParty response and a list of Apps
5
+ class AppListResponseMapper
6
+ def map(data)
7
+ data.map { |app| App.new(app) }
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ require 'connector_kit/models/app'
2
+
3
+ module ConnectorKit
4
+ # Mapper between a HTTParty response and a list of Apps
5
+ class AppResponseMapper
6
+ def map(data)
7
+ App.new(data)
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ require 'connector_kit/models/version'
2
+
3
+ module ConnectorKit
4
+
5
+ class VersionResponseMapper
6
+ def map(data)
7
+ data.map { |version| Version.new(version) }
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ require 'connector_kit/models/build_details'
2
+
3
+ module ConnectorKit
4
+ # Mapper between a HTTParty response and a BuildDetails object
5
+ class BuildDetailsResponseMapper
6
+ def map(data)
7
+ BuildDetails.new(data)
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ require 'connector_kit/models/build'
2
+
3
+ module ConnectorKit
4
+ # Mapper between a HTTParty response and a list of Builds
5
+ class BuildListResponseMapper
6
+ def map(data)
7
+ data.map { |build| Build.new(build) }
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ require 'connector_kit/models/user'
2
+
3
+ module ConnectorKit
4
+ # Mapper between a HTTParty response and a list of Users
5
+ class UserListResponseMapper
6
+ def map(data)
7
+ data.map { |user| User.new(user) }
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,17 @@
1
+ require 'connector_kit/models/model'
2
+
3
+ module ConnectorKit
4
+ # Simple model class for representing Apps
5
+ class App < Model
6
+ attr_reader :bundle_id, :name, :sku
7
+
8
+ def initialize(options)
9
+ super(options)
10
+
11
+ attrs = options['attributes']
12
+ @bundle_id = attrs['bundleId']
13
+ @name = attrs['name']
14
+ @sku = attrs['sku']
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,23 @@
1
+ require 'connector_kit/models/model'
2
+
3
+ module ConnectorKit
4
+ # Simple model class for representing Builds
5
+ class Build < Model
6
+ attr_reader :expired,
7
+ :processing_state,
8
+ :version,
9
+ :uploaded_date,
10
+ :expiration_date
11
+
12
+ def initialize(options)
13
+ super(options)
14
+
15
+ attrs = options['attributes']
16
+ @expired = attrs['expired']
17
+ @processing_state = attrs['processingState']
18
+ @version = attrs['version']
19
+ @uploaded_date = Time.parse(attrs['uploadedDate']).getlocal
20
+ @expiration_date = Time.parse(attrs['expirationDate']).getlocal
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,16 @@
1
+ require 'connector_kit/models/model'
2
+
3
+ module ConnectorKit
4
+ # Simple model class for representing Build details
5
+ class BuildDetails < Model
6
+ attr_reader :external_build_state, :internal_build_state
7
+
8
+ def initialize(options)
9
+ super(options)
10
+
11
+ attrs = options['attributes']
12
+ @external_build_state = attrs['externalBuildState']
13
+ @internal_build_state = attrs['internalBuildState']
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,10 @@
1
+ module ConnectorKit
2
+ # Base model for representing different entities
3
+ class Model
4
+ attr_reader :id
5
+
6
+ def initialize(options)
7
+ @id = options['id']
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,23 @@
1
+ require 'connector_kit/models/model'
2
+
3
+ module ConnectorKit
4
+ # Simple model class for representing Users in the App Store Connect API
5
+ class User < Model
6
+ attr_reader :first_name, :last_name, :username, :roles, :all_apps_visible
7
+
8
+ def initialize(options)
9
+ super(options)
10
+
11
+ attrs = options['attributes']
12
+ @first_name = attrs['firstName']
13
+ @last_name = attrs['lastName']
14
+ @username = attrs['username']
15
+ @all_apps_visible = attrs['allAppsVisible']
16
+ @roles = attrs['roles'].map { |role| role.downcase.to_sym }
17
+ end
18
+
19
+ def full_name
20
+ "#{@first_name} #{@last_name}"
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,16 @@
1
+ require 'connector_kit/models/model'
2
+
3
+ module ConnectorKit
4
+ # Simple model class for representing AppVersion
5
+ class Version < Model
6
+ attr_reader :version_string, :store_state
7
+
8
+ def initialize(options)
9
+ super(options)
10
+
11
+ attrs = options['attributes']
12
+ @version_string = attrs['versionString']
13
+ @store_state = attrs['appStoreState']
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,35 @@
1
+ require 'openssl'
2
+ require 'jwt'
3
+
4
+ module ConnectorKit
5
+ # Helper class for generating JWT tokens
6
+ class TokenGenerator
7
+
8
+ def self.cretat_from_file(issuer_id, key_id, private_key_file_path)
9
+ private_key = File.read(@private_key_file_path)
10
+ instance = TokenGenerator.new(issuer_id, key_id, private_key)
11
+ end
12
+
13
+ def initialize(issuer_id, key_id, private_key)
14
+ @private_key = private_key
15
+ @custom_headers = {
16
+ kid: key_id,
17
+ typ: 'JWT'
18
+ }
19
+ @payload = {
20
+ iss: issuer_id,
21
+ aud: 'appstoreconnect-v1'
22
+ }
23
+ end
24
+
25
+ def generate_token
26
+ ecdsa_key = OpenSSL::PKey.read(@private_key)
27
+ expiration = Time.now.to_i + 20 * 60
28
+ @payload[:exp] = expiration
29
+
30
+ puts "Generated token expires: #{Time.at(expiration)}"
31
+
32
+ JWT.encode(@payload, ecdsa_key, 'ES256', @custom_headers)
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,3 @@
1
+ module ConnectorKit
2
+ VERSION = '0.3.1'.freeze
3
+ end
@@ -0,0 +1,9 @@
1
+ RSpec.describe ConnectorKit do
2
+ it "has a version number" do
3
+ expect(ConnectorKit::VERSION).not_to be nil
4
+ end
5
+
6
+ it "does something useful" do
7
+ expect(false).to eq(true)
8
+ end
9
+ end
@@ -0,0 +1,14 @@
1
+ require "bundler/setup"
2
+ require "connector_kit"
3
+
4
+ RSpec.configure do |config|
5
+ # Enable flags like --only-failures and --next-failure
6
+ config.example_status_persistence_file_path = ".rspec_status"
7
+
8
+ # Disable RSpec exposing methods globally on `Module` and `main`
9
+ config.disable_monkey_patching!
10
+
11
+ config.expect_with :rspec do |c|
12
+ c.syntax = :expect
13
+ end
14
+ end
metadata ADDED
@@ -0,0 +1,153 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: connector_kit_fork
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.1
5
+ platform: ruby
6
+ authors:
7
+ - Simon Jarbrant
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-02-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: httparty
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.16.3
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.16.3
69
+ - !ruby/object:Gem::Dependency
70
+ name: jwt
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.1'
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: 2.1.0
79
+ type: :runtime
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - "~>"
84
+ - !ruby/object:Gem::Version
85
+ version: '2.1'
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: 2.1.0
89
+ description: A gem for communicating with the App Store Connect API.
90
+ email:
91
+ - simonjarbrant@gmail.com
92
+ executables:
93
+ - console
94
+ - setup
95
+ extensions: []
96
+ extra_rdoc_files: []
97
+ files:
98
+ - ".gitignore"
99
+ - ".rspec"
100
+ - ".travis.yml"
101
+ - Gemfile
102
+ - Gemfile.lock
103
+ - LICENSE.txt
104
+ - README.md
105
+ - Rakefile
106
+ - bin/console
107
+ - bin/setup
108
+ - connector_kit.gemspec
109
+ - lib/connector_kit.rb
110
+ - lib/connector_kit/exceptions.rb
111
+ - lib/connector_kit/httpclient.rb
112
+ - lib/connector_kit/mappers/app_list_response_mapper.rb
113
+ - lib/connector_kit/mappers/app_response_mapper.rb
114
+ - lib/connector_kit/mappers/app_version_mapper.rb
115
+ - lib/connector_kit/mappers/build_details_response_mapper.rb
116
+ - lib/connector_kit/mappers/build_list_response_mapper.rb
117
+ - lib/connector_kit/mappers/user_list_response_mapper.rb
118
+ - lib/connector_kit/models/app.rb
119
+ - lib/connector_kit/models/build.rb
120
+ - lib/connector_kit/models/build_details.rb
121
+ - lib/connector_kit/models/model.rb
122
+ - lib/connector_kit/models/user.rb
123
+ - lib/connector_kit/models/version.rb
124
+ - lib/connector_kit/token_generator.rb
125
+ - lib/connector_kit/version.rb
126
+ - spec/connector_kit_spec.rb
127
+ - spec/spec_helper.rb
128
+ homepage: https://github.com/simba909/connector_kit
129
+ licenses:
130
+ - MIT
131
+ metadata: {}
132
+ post_install_message:
133
+ rdoc_options: []
134
+ require_paths:
135
+ - lib
136
+ required_ruby_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ required_rubygems_version: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ requirements: []
147
+ rubygems_version: 3.1.2
148
+ signing_key:
149
+ specification_version: 4
150
+ summary: A gem for communicating with the App Store Connect API.
151
+ test_files:
152
+ - spec/connector_kit_spec.rb
153
+ - spec/spec_helper.rb