appstore_kit_fork 0.0.1
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/.travis.yml +7 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +45 -0
- data/LICENSE.txt +21 -0
- data/README.md +81 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/connector_kit.gemspec +29 -0
- data/lib/connector_kit.rb +63 -0
- data/lib/connector_kit/exceptions.rb +15 -0
- data/lib/connector_kit/httpclient.rb +30 -0
- data/lib/connector_kit/mappers/app_list_response_mapper.rb +10 -0
- data/lib/connector_kit/mappers/app_response_mapper.rb +10 -0
- data/lib/connector_kit/mappers/app_version_mapper.rb +10 -0
- data/lib/connector_kit/mappers/build_details_response_mapper.rb +10 -0
- data/lib/connector_kit/mappers/build_list_response_mapper.rb +10 -0
- data/lib/connector_kit/mappers/user_list_response_mapper.rb +10 -0
- data/lib/connector_kit/models/app.rb +17 -0
- data/lib/connector_kit/models/app_version.rb +16 -0
- data/lib/connector_kit/models/build.rb +23 -0
- data/lib/connector_kit/models/build_details.rb +16 -0
- data/lib/connector_kit/models/model.rb +10 -0
- data/lib/connector_kit/models/user.rb +23 -0
- data/lib/connector_kit/token_generator.rb +35 -0
- data/lib/connector_kit/version.rb +3 -0
- data/spec/connector_kit_spec.rb +9 -0
- data/spec/spec_helper.rb +14 -0
- metadata +149 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cc378aee0b10d6f7413d88516d37527b5c3542ac0f340a610030bcfc9a57bb3f
|
4
|
+
data.tar.gz: e67a0604e80ca627a90829396eea72d387fd267fe0ee5c8109a634381e56b399
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a67b304b2dc16bff3f036bf8c26f52066850bc62879f4f479df960fe5b8b474515ca12db75afbbc3282b55adeac68c4f2a51af83d1b655bc633b2e9a6b28db43
|
7
|
+
data.tar.gz: 2ebd8e053c49604f93fe5c201e33e2cdb8f1d681a2803ce9c8641285d1ca0225da91d51e89947f4b6d71fcd31b66180ddd795ee7a4261cce00033fe63cb7acbc
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
connector_kit_fork (0.3.2)
|
5
|
+
httparty
|
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.18.1)
|
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
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,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 = "appstore_kit_fork"
|
6
|
+
spec.version = ConnectorKit::VERSION
|
7
|
+
spec.authors = ["Vadim Lavrov"]
|
8
|
+
spec.email = ["vadimlavrov@hotmail.com"]
|
9
|
+
|
10
|
+
spec.summary = "A gem for communicating with the App Store Connect API. Forked from https://github.com/simba909/connector_kit fro tests"
|
11
|
+
spec.description = "A gem for communicating with the App Store Connect API. Forked from https://github.com/simba909/connector_kit fro tests"
|
12
|
+
spec.homepage = "https://github.com/Vadim-Lavrov/appStore_api_fork"
|
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"
|
28
|
+
spec.add_dependency "jwt"
|
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_submission_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,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,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,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,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,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
|
data/spec/spec_helper.rb
ADDED
@@ -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,149 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: appstore_kit_fork
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Vadim Lavrov
|
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'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: jwt
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
description: A gem for communicating with the App Store Connect API. Forked from https://github.com/simba909/connector_kit
|
84
|
+
fro tests
|
85
|
+
email:
|
86
|
+
- vadimlavrov@hotmail.com
|
87
|
+
executables:
|
88
|
+
- console
|
89
|
+
- setup
|
90
|
+
extensions: []
|
91
|
+
extra_rdoc_files: []
|
92
|
+
files:
|
93
|
+
- ".gitignore"
|
94
|
+
- ".rspec"
|
95
|
+
- ".travis.yml"
|
96
|
+
- Gemfile
|
97
|
+
- Gemfile.lock
|
98
|
+
- LICENSE.txt
|
99
|
+
- README.md
|
100
|
+
- Rakefile
|
101
|
+
- bin/console
|
102
|
+
- bin/setup
|
103
|
+
- connector_kit.gemspec
|
104
|
+
- lib/connector_kit.rb
|
105
|
+
- lib/connector_kit/exceptions.rb
|
106
|
+
- lib/connector_kit/httpclient.rb
|
107
|
+
- lib/connector_kit/mappers/app_list_response_mapper.rb
|
108
|
+
- lib/connector_kit/mappers/app_response_mapper.rb
|
109
|
+
- lib/connector_kit/mappers/app_version_mapper.rb
|
110
|
+
- lib/connector_kit/mappers/build_details_response_mapper.rb
|
111
|
+
- lib/connector_kit/mappers/build_list_response_mapper.rb
|
112
|
+
- lib/connector_kit/mappers/user_list_response_mapper.rb
|
113
|
+
- lib/connector_kit/models/app.rb
|
114
|
+
- lib/connector_kit/models/app_version.rb
|
115
|
+
- lib/connector_kit/models/build.rb
|
116
|
+
- lib/connector_kit/models/build_details.rb
|
117
|
+
- lib/connector_kit/models/model.rb
|
118
|
+
- lib/connector_kit/models/user.rb
|
119
|
+
- lib/connector_kit/token_generator.rb
|
120
|
+
- lib/connector_kit/version.rb
|
121
|
+
- spec/connector_kit_spec.rb
|
122
|
+
- spec/spec_helper.rb
|
123
|
+
homepage: https://github.com/Vadim-Lavrov/appStore_api_fork
|
124
|
+
licenses:
|
125
|
+
- MIT
|
126
|
+
metadata: {}
|
127
|
+
post_install_message:
|
128
|
+
rdoc_options: []
|
129
|
+
require_paths:
|
130
|
+
- lib
|
131
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
requirements: []
|
142
|
+
rubygems_version: 3.1.2
|
143
|
+
signing_key:
|
144
|
+
specification_version: 4
|
145
|
+
summary: A gem for communicating with the App Store Connect API. Forked from https://github.com/simba909/connector_kit
|
146
|
+
fro tests
|
147
|
+
test_files:
|
148
|
+
- spec/connector_kit_spec.rb
|
149
|
+
- spec/spec_helper.rb
|