app_store_connect 0.15.0 → 0.16.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a023509492cb1b890323abcb4da0c7c196af5dffcb70b0696284193111e69835
4
- data.tar.gz: ce1041b39a96ecf2bebd15e4118302bb54b551d1580248d3f7e1b96847a901df
3
+ metadata.gz: 8e49deacf219897c3907be8ad67fd45c76c8deaf0922fe8632758dc2471385eb
4
+ data.tar.gz: 01dcafa516d44da7874ff9c0ed849b6d8bd6ae04d2c4f55759e00cc962adbf79
5
5
  SHA512:
6
- metadata.gz: cba27a7bb9756fddff6e416c8293687c99e1f2e7ead0974845658f5657b04542a20c087431920e506af12c652a00803fa5f1360551f1799e57f36d48a9150747
7
- data.tar.gz: 47e67b25b09e78bb97c0707240a13b4d040dc351e85715e614b8e27d8c2b1c6ee7a3c397f47d62549e3e003684f6575ccb49f2f9396b47bf422baaa6db01f066
6
+ metadata.gz: d0b650b1eb71a0480fb1a053f0820017a6e57e91f09b1daa873a2319105a87640293b2e56934806b31394cb1f3012b0ac74499e4ed883779fb261c4b748629bc
7
+ data.tar.gz: 16d2a9029bd6e6cc02838dc64cc2443a50d7e37af65209979c442b26574ecc932a7addcc540bcc6046c21eddf34efb3bc2895714e18d78edf2da5f78b42d0874
@@ -16,15 +16,26 @@ jobs:
16
16
  uses: actions/setup-ruby@v1
17
17
  with:
18
18
  version: 2.6.x
19
-
20
- - name: Publish to RubyGems & Github Package Repository
19
+
20
+ - name: Configure Bundler
21
21
  run: |
22
22
  mkdir -p $HOME/.gem
23
23
  touch $HOME/.gem/credentials
24
24
  chmod 0600 $HOME/.gem/credentials
25
25
  printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n:github: ${GITHUB_PACKAGE_REPOSITORY_AUTH_TOKEN}" > $HOME/.gem/credentials
26
- gem build *.gemspec
27
- gem push *.gem
28
26
  env:
29
27
  GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
30
28
  GITHUB_PACKAGE_REPOSITORY_AUTH_TOKEN: ${{secrets.GITHUB_PACKAGE_REPOSITORY_AUTH_TOKEN}}
29
+
30
+ - name: Build Gem
31
+ run: |
32
+ gem build *.gemspec
33
+
34
+ - name: Publish to RubyGems
35
+ run: |
36
+ gem push *.gem
37
+
38
+ - name: Publish to Github Package Repository
39
+ run: |
40
+ gem push --key github --host https://rubygems.pkg.github.com/kyledecot *.gem
41
+
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_store_connect (0.15.0)
4
+ app_store_connect (0.16.0)
5
5
  activesupport
6
6
  jwt (>= 1.4, <= 2.2.1)
7
7
  mixpanel-ruby (<= 2.2.0)
@@ -19,7 +19,7 @@ module AppStoreConnect
19
19
  klass = Class.new do |attributes|
20
20
  include Object::Properties
21
21
 
22
- attributes.define_method :initialize do |**kwargs|
22
+ attributes.send(:define_method, :initialize) do |**kwargs|
23
23
  self.class.properties.each do |name, options|
24
24
  raise ArgumentError, "#{name} required" if options[:required] && !kwargs[name]
25
25
 
@@ -14,7 +14,7 @@ module AppStoreConnect
14
14
  include Object::Attributes
15
15
  include Object::Type
16
16
 
17
- data.define_method :initialize do |**kwargs|
17
+ data.send(:define_method, :initialize) do |**kwargs|
18
18
  instance_variable_set('@relationships', kwargs.delete(:relationships).to_h)
19
19
  instance_variable_set('@attributes', data::Attributes.new(kwargs))
20
20
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppStoreConnect
4
- VERSION = '0.15.0'
4
+ VERSION = '0.16.0'
5
5
  end
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.15.0
4
+ version: 0.16.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: 2019-09-25 00:00:00.000000000 Z
11
+ date: 2019-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport