payload-api 0.3.2 → 0.3.4

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: 16701a789efbe6cd8db196282866c1fbe466062498e78b1e574cd55c49e76f86
4
- data.tar.gz: 2feafbc3e039e0791a1949aca35c14d5f0a7b67865cf93cbd981318ddba3a2c7
3
+ metadata.gz: 3c1b0ae0bea650ee31b523d697b18fa5823ae0178ad8bb8ada76a02c06fa4d1b
4
+ data.tar.gz: f474d53fb54ac628452b82634eccd292f68a472fa0e03250c889bd35980a1ecc
5
5
  SHA512:
6
- metadata.gz: 20abdf730b82f46b8a91da28babe36ef47f5e0820dfe1547a65d17e5128f6ca16f95cc70ebf3f577b078e9b173144d54fb19c17267247c0e33cb6055bdef42cf
7
- data.tar.gz: cdd45d5cf7eb05913138929b6b1a0b4f6e094120d11ccaba9b42ee2265957c28873d683c32c337cf0313495d68a92d24a2a425700331da6190b4c1759ab808fc
6
+ metadata.gz: c1141993256d880877999ca29b9564c828432e0fa924189272ed7778c7f27995394a2576967e13192b6fabed5860a630ba503290d76f18a6660b7a92638ee548
7
+ data.tar.gz: 68235f8ceb1fcdd0411f608add58c038b9d9fb79edd47a9f7b72af4abe62aa3b880491849aeca9d67b24585f62ba1ae1bc4168e8dd2406d31099c86f0ae2c85c
@@ -0,0 +1,24 @@
1
+ name: Publish Gem
2
+ on:
3
+ release:
4
+ types: [published]
5
+ jobs:
6
+ publish:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v4
10
+ - name: Set up Ruby
11
+ uses: ruby/setup-ruby@v1
12
+ with:
13
+ ruby-version: 3.0.1
14
+ - run: |
15
+ mkdir -p $HOME/.gem
16
+ touch $HOME/.gem/credentials
17
+ chmod 0600 $HOME/.gem/credentials
18
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
19
+ env:
20
+ # Make sure to update the secret name
21
+ # if yours isn't named RUBYGEMS_AUTH_TOKEN
22
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
23
+ - run: gem build *.gemspec
24
+ - run: gem push *.gem
@@ -10,6 +10,10 @@ module Payload
10
10
  @poly = { 'type' => 'client' }
11
11
  end
12
12
 
13
+ class OAuthToken < ARMObject
14
+ @spec = { 'object' => 'oauth_token', 'endpoint' => '/oauth/token' }
15
+ end
16
+
13
17
  class Account < ARMObject
14
18
  @spec = { 'object' => 'account' }
15
19
  end
@@ -23,7 +27,7 @@ module Payload
23
27
  end
24
28
 
25
29
  class Org < ARMObject
26
- @spec = { 'object' => 'org', 'endoint' => '/account/orgs' }
30
+ @spec = { 'object' => 'org', 'endpoint' => '/account/orgs' }
27
31
  end
28
32
 
29
33
  class Transaction < ARMObject
@@ -1,3 +1,3 @@
1
1
  module Payload
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payload-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Payload
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-12 00:00:00.000000000 Z
11
+ date: 2024-04-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple library to interface with the Payload API. See https://docs.payload.co
14
14
  for details.
@@ -17,6 +17,7 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
+ - ".github/workflows/publish.yml"
20
21
  - ".github/workflows/ruby-app.yml"
21
22
  - LICENSE
22
23
  - README.md
@@ -35,7 +36,7 @@ homepage: https://docs.payload.co
35
36
  licenses:
36
37
  - MIT
37
38
  metadata: {}
38
- post_install_message:
39
+ post_install_message:
39
40
  rdoc_options: []
40
41
  require_paths:
41
42
  - lib
@@ -50,8 +51,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
50
51
  - !ruby/object:Gem::Version
51
52
  version: '0'
52
53
  requirements: []
53
- rubygems_version: 3.3.15
54
- signing_key:
54
+ rubygems_version: 3.2.15
55
+ signing_key:
55
56
  specification_version: 4
56
57
  summary: Payload ruby library
57
58
  test_files: []