app_store_connect 0.20.0 → 0.21.0
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 +4 -4
- data/Gemfile.lock +10 -8
- data/app_store_connect.gemspec +1 -1
- data/lib/app_store_connect/client/utils.rb +4 -4
- data/lib/app_store_connect/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 840a58aff2568c45dad350783737805e08cc53581376fa161395d8e2c80d2a1c
|
|
4
|
+
data.tar.gz: 872a4b4914ba0ebebc222f9d1e23a4e3b96f7b9d0823cb64f2d88910405cf884
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5125264dedeee20e282d62bb495fee4d981329f216908043b6c888ead16271df4451f0957f538d4c27ac2b55479de1672ff710ada5976e541051235adec766a1
|
|
7
|
+
data.tar.gz: bea12d90667b04fcd44671ab4b966ebefeb8a4cf90065c978790276f352527918c1c8d2705599f236c5e47e27b7e672935effd58257763215180ef8e61c3bb7a
|
data/Gemfile.lock
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
app_store_connect (0.
|
|
5
|
-
activesupport
|
|
4
|
+
app_store_connect (0.21.0)
|
|
5
|
+
activesupport (>= 6.0.3.1)
|
|
6
6
|
jwt (>= 1.4, <= 2.2.1)
|
|
7
7
|
mixpanel-ruby (<= 2.2.0)
|
|
8
8
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
activesupport (
|
|
12
|
+
activesupport (6.0.3.1)
|
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
14
14
|
i18n (>= 0.7, < 2)
|
|
15
15
|
minitest (~> 5.1)
|
|
16
16
|
tzinfo (~> 1.1)
|
|
17
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
|
17
18
|
addressable (2.6.0)
|
|
18
19
|
public_suffix (>= 2.0.2, < 4.0)
|
|
19
20
|
ast (2.4.0)
|
|
20
21
|
coderay (1.1.2)
|
|
21
|
-
concurrent-ruby (1.1.
|
|
22
|
+
concurrent-ruby (1.1.6)
|
|
22
23
|
crack (0.4.3)
|
|
23
24
|
safe_yaml (~> 1.0.0)
|
|
24
25
|
diff-lcs (1.3)
|
|
@@ -42,7 +43,7 @@ GEM
|
|
|
42
43
|
guard-compat (~> 1.1)
|
|
43
44
|
rspec (>= 2.99.0, < 4.0)
|
|
44
45
|
hashdiff (0.4.0)
|
|
45
|
-
i18n (1.
|
|
46
|
+
i18n (1.8.2)
|
|
46
47
|
concurrent-ruby (~> 1.0)
|
|
47
48
|
jaro_winkler (1.5.3)
|
|
48
49
|
json (2.2.0)
|
|
@@ -53,7 +54,7 @@ GEM
|
|
|
53
54
|
ruby_dep (~> 1.2)
|
|
54
55
|
lumberjack (1.0.13)
|
|
55
56
|
method_source (0.9.2)
|
|
56
|
-
minitest (5.
|
|
57
|
+
minitest (5.14.1)
|
|
57
58
|
mixpanel-ruby (2.2.0)
|
|
58
59
|
nenv (0.3.0)
|
|
59
60
|
notiffany (0.1.1)
|
|
@@ -102,13 +103,14 @@ GEM
|
|
|
102
103
|
thor (0.20.3)
|
|
103
104
|
thread_safe (0.3.6)
|
|
104
105
|
timecop (0.9.1)
|
|
105
|
-
tzinfo (1.2.
|
|
106
|
+
tzinfo (1.2.7)
|
|
106
107
|
thread_safe (~> 0.1)
|
|
107
108
|
unicode-display_width (1.6.0)
|
|
108
109
|
webmock (3.6.0)
|
|
109
110
|
addressable (>= 2.3.6)
|
|
110
111
|
crack (>= 0.3.2)
|
|
111
112
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
113
|
+
zeitwerk (2.3.0)
|
|
112
114
|
|
|
113
115
|
PLATFORMS
|
|
114
116
|
ruby
|
|
@@ -126,4 +128,4 @@ DEPENDENCIES
|
|
|
126
128
|
webmock (~> 3.6.0)
|
|
127
129
|
|
|
128
130
|
BUNDLED WITH
|
|
129
|
-
2.
|
|
131
|
+
2.1.4
|
data/app_store_connect.gemspec
CHANGED
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
|
|
21
21
|
spec.require_paths = ['lib']
|
|
22
22
|
|
|
23
|
-
spec.add_runtime_dependency 'activesupport'
|
|
23
|
+
spec.add_runtime_dependency 'activesupport', '>= 6.0.3.1'
|
|
24
24
|
spec.add_runtime_dependency 'jwt', '>= 1.4', '<= 2.2.1'
|
|
25
25
|
spec.add_runtime_dependency 'mixpanel-ruby', '<= 2.2.0'
|
|
26
26
|
|
|
@@ -11,18 +11,18 @@ module AppStoreConnect
|
|
|
11
11
|
|
|
12
12
|
# Right now this only supports gzip and json responses.
|
|
13
13
|
# If you need to support a different type then add it.
|
|
14
|
-
def self.decode(string, content_type='application/json')
|
|
14
|
+
def self.decode(string, content_type = 'application/json')
|
|
15
15
|
decoded_data = nil
|
|
16
16
|
|
|
17
17
|
case content_type
|
|
18
18
|
when 'application/a-gzip'
|
|
19
19
|
sio = StringIO.new string
|
|
20
20
|
gz = Zlib::GzipReader.new sio
|
|
21
|
-
decoded_data = gz.read
|
|
21
|
+
decoded_data = gz.read
|
|
22
22
|
else # Assume JSON
|
|
23
23
|
decoded_data = JSON
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
.parse(string)
|
|
25
|
+
.deep_transform_keys { |k| k.underscore.to_sym }
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
decoded_data
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: app_store_connect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.21.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kyle Decot
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-06-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 6.0.3.1
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: 6.0.3.1
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: jwt
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|