smstools_api 0.1.3 → 0.1.7

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: 4e7f08aab83edfe08f0ac3198c2a566cd697c82074eb7ca6fd03794fd1e6f61c
4
- data.tar.gz: 95b5b7b88144956dde519df037b1316443d7c89d30fdab3f002ac146469e11e5
3
+ metadata.gz: 3e8c7f6d5d01ca8159205cb97c374318f547648218e376c9f9af4537545ee8a0
4
+ data.tar.gz: 694c275606814b85e047ee4d9e2f11f08b09d438ace7f9ddaa1a4b69f62e1128
5
5
  SHA512:
6
- metadata.gz: b1f3cc3e080c49499987f9cf1c01ade368bd0b0ddeba804c18758adbbec4e6ab600d82cc3a399678f7571a2751ce8cc89ba88d71040991aa26c3f5e8352d172f
7
- data.tar.gz: e2ac7bf51bccca62000b67a913318531be40760c59bbb2a225da5dc8747537872951014053e33a1cc9e9fd968783e8ddeeef834d8b203d7680cc955324277f44
6
+ metadata.gz: fcc88cf017796e3cea32888becd43b6bcb49f26768c0b48951f20198eee50fb78e75d2fbce5f5555bacbd30bc9743c1336b775bcd4baf14043931391dbac7e11
7
+ data.tar.gz: da94b70fde290325e4a802471ccba3d63283d2cbcde465aea4cbcbaad56d306102b8153f9f37bb3d84ad43cab7eaf956d30a187321a66f58ce60711d2902371c
@@ -1,48 +1,11 @@
1
- name: Ruby Gem
2
-
1
+ name: Rubygem Push
3
2
  on:
4
3
  push:
5
- branches: [ "main" ]
6
- paths:
7
- - 'lib/**/version.rb'
8
-
4
+ tags:
5
+ - '*'
9
6
  jobs:
10
7
  build:
11
- name: Build + Publish
12
- runs-on: ubuntu-latest
13
- permissions:
14
- contents: read
15
- packages: write
16
-
17
- steps:
18
- - uses: actions/checkout@v3
19
- - name: Set up Ruby 3.2
20
- # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
21
- # change this to (see https://github.com/ruby/setup-ruby#versioning):
22
- # uses: ruby/setup-ruby@v1
23
- uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
24
- with:
25
- ruby-version: 3.2.2
26
-
27
- - name: Publish to GPR
28
- run: |
29
- mkdir -p $HOME/.gem
30
- touch $HOME/.gem/credentials
31
- chmod 0600 $HOME/.gem/credentials
32
- printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
33
- gem build *.gemspec
34
- gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
35
- env:
36
- GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
37
- OWNER: ${{ github.repository_owner }}
38
-
39
- - name: Publish to RubyGems
40
- run: |
41
- mkdir -p $HOME/.gem
42
- touch $HOME/.gem/credentials
43
- chmod 0600 $HOME/.gem/credentials
44
- printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
45
- gem build *.gemspec
46
- gem push *.gem
47
- env:
48
- GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
8
+ uses: entdec/_workflows/.github/workflows/gem-push.yml@main
9
+ with:
10
+ public: true
11
+ secrets: inherit
@@ -14,9 +14,9 @@ http_interactions:
14
14
  accept:
15
15
  - application/json
16
16
  x-client-id:
17
- - "434421713782941511298"
17
+ - "436621713682841522298"
18
18
  X-Client-Secret:
19
- - FGbWCZrjtY64E31BaBkz9
19
+ - FGbXCUtjrY64E32BbBkz8
20
20
  response:
21
21
  status:
22
22
  code: 200
@@ -16,9 +16,9 @@ http_interactions:
16
16
  accept:
17
17
  - application/json
18
18
  x-client-id:
19
- - "434421713782941511298"
19
+ - "436621713682841522298"
20
20
  X-Client-Secret:
21
- - FGbWCZrjtY64E31BaBkz9
21
+ - FGbXCUtjrY64E32BbBkz8
22
22
  response:
23
23
  status:
24
24
  code: 200
@@ -1,3 +1,3 @@
1
1
  module SmstoolsApi
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.7"
3
3
  end
data/lib/smstools_api.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  require "faraday"
2
2
  require "hashie"
3
- require 'debug'
4
3
 
5
4
  require "smstools_api/client"
6
5
  require "smstools_api/version"
data/smstools_api.gemspec CHANGED
@@ -27,7 +27,6 @@ Gem::Specification.new do |spec|
27
27
  spec.add_runtime_dependency 'faraday', '>= 2.9'
28
28
  spec.add_runtime_dependency 'hashie', '>= 5'
29
29
 
30
- spec.add_development_dependency 'debug'
31
30
  spec.add_development_dependency 'minitest', '~> 5.0'
32
31
  spec.add_development_dependency 'rake', '~> 12.0'
33
32
  spec.add_development_dependency 'rubocop', '~> 1.65'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smstools_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom de Grunt
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-29 00:00:00.000000000 Z
11
+ date: 2024-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '5'
41
- - !ruby/object:Gem::Dependency
42
- name: debug
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
41
  - !ruby/object:Gem::Dependency
56
42
  name: minitest
57
43
  requirement: !ruby/object:Gem::Requirement