app_store_connect 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef28f4d26cf54c0039e5a6ce6baa3c4833e446e0280b3efcb6cb2fe6c69fb6ff
4
- data.tar.gz: d7a421fdc14eb1fda87335df2626d5e8d45e1770d27457fc1a54b88909a7a6d8
3
+ metadata.gz: d993e5f35945b7fc08c653a9362b64a95a171eae510c7aa7785d8e8bb8a90335
4
+ data.tar.gz: c0b5b21db623dfb55e19f3eb0171961f9b5c47d93be295c2392de258314451ba
5
5
  SHA512:
6
- metadata.gz: 308b4c710329ebb6e081be441022bd506335f187018cc0e477e1b42daed560e006ac563d6b7dcd446cc0be197a183af205f277aeba247fcf8f2dd28fbb433b14
7
- data.tar.gz: f728932fdf6df1e58c0b763ae2d96450f40aaaa42f1ea9cffe558ac38ca202901975d030980f6d9aaf6ef9c6612ab6e473cb3e68eaf2ec3f0780a0498adc6e44
6
+ metadata.gz: 4dc3aa5552c3c73a87ea8e767275e0c1166ef6287c9be322ca7834541931efdd43aca276d09141766ba74c24b71d35cbea014d446335accca9caa9a2d2da4742
7
+ data.tar.gz: 6c10eaf8a6951bd27392a94c73d96939eaacb2cd50c02ab6cb919e2180c72cbbd4e7fa0aac2731f6022f4631ac7a422696546e959a99c4d78bddf45d579d5798
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_store_connect (0.3.0)
4
+ app_store_connect (0.3.2)
5
5
  activesupport (~> 5.2.3)
6
6
  gli (~> 2.17)
7
7
  httparty (~> 0.16)
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # AppStoreConnect [![Build Status](https://travis-ci.com/kyledecot/app_store_connect.svg?branch=master)](https://travis-ci.com/kyledecot/app_store_connect)
1
+ # AppStoreConnect [![Build Status](https://travis-ci.com/kyledecot/app_store_connect.svg?branch=master)](https://travis-ci.com/kyledecot/app_store_connect) [![Gem Version](https://badge.fury.io/rb/app_store_connect.svg)](https://badge.fury.io/rb/app_store_connect)
2
2
 
3
3
  TODO
4
4
 
@@ -31,12 +31,7 @@ module AppStoreConnect
31
31
  end
32
32
 
33
33
  def invite_user(first_name:, last_name:, email:, roles:)
34
- invitation = UserInvitationCreateRequest.new(
35
- first_name: first_name,
36
- last_name: last_name,
37
- email: email,
38
- roles: roles
39
- )
34
+ invitation = UserInvitationCreateRequest.new(first_name, last_name, email, roles)
40
35
 
41
36
  post('userInvitations', invitation.body.to_json)
42
37
  end
@@ -5,7 +5,7 @@ module AppStoreConnect
5
5
  def body
6
6
  { 'data' =>
7
7
  { 'type' => 'userInvitations', 'attributes' =>
8
- { 'firstName' => @first_name, 'lastName' => @last_name, 'email' => @email, 'roles' => @roles, 'allAppsVisible' => true, 'provisioningAllowed' => true } } }
8
+ { 'firstName' => first_name, 'lastName' => last_name, 'email' => email, 'roles' => roles, 'allAppsVisible' => true, 'provisioningAllowed' => true } } }
9
9
  end
10
10
 
11
11
  def to_s
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppStoreConnect
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_store_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Decot