smartystreets_ruby_sdk 5.14.11 → 5.14.13
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/.github/workflows/gem-publish.yml +59 -0
- data/lib/smartystreets_ruby_sdk/version.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42a215aa8d810dbd85f5739ae7a73dbd0ead4a253627d8bfeb36d017e36ca716
|
4
|
+
data.tar.gz: 3be273085fc4466f96c0376e9d101d5dc2464210aa3a092c00e0f4ddade0fb12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 318e5a6802ffa480c4a83887637a0e64c41e3481d5cfd28799de3d455f68369f2733c9fad6afa9b1e95974524da273daf688d54f124062d8ea9e634b80ad0bda
|
7
|
+
data.tar.gz: f719f070faf89dfe73c4e248f19cdb71c769ecdd88e2e5bd2ddf0ec9cfcd4f35f66630fe763b05e6903b7a76af5932302ed41ff29dcbceac46d43dc0f513d00a
|
@@ -0,0 +1,59 @@
|
|
1
|
+
name: Ruby Gem Publish
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- '*'
|
7
|
+
jobs:
|
8
|
+
publish:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
env:
|
11
|
+
GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
|
12
|
+
|
13
|
+
steps:
|
14
|
+
- uses: actions/checkout@v3
|
15
|
+
with:
|
16
|
+
fetch-depth: 0 # need all the commits
|
17
|
+
|
18
|
+
- uses: ruby/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: '2.6'
|
21
|
+
bundler-cache: false
|
22
|
+
|
23
|
+
- uses: actions/setup-node@v2
|
24
|
+
|
25
|
+
- name: Clean
|
26
|
+
run: |
|
27
|
+
rm -f *.gem
|
28
|
+
git checkout lib/smartystreets_ruby_sdk/version.rb
|
29
|
+
|
30
|
+
- name: Dependencies
|
31
|
+
run: |
|
32
|
+
gem install minitest
|
33
|
+
|
34
|
+
- name: Test
|
35
|
+
run: |
|
36
|
+
rake test
|
37
|
+
|
38
|
+
- name: Set Environment Variable
|
39
|
+
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
40
|
+
|
41
|
+
- name: Grab Version
|
42
|
+
run: |
|
43
|
+
echo "Module SmartyStreets
|
44
|
+
VERSION = '${{ env.RELEASE_VERSION }}'
|
45
|
+
end" >> version.rb \
|
46
|
+
&& cat version.rb \
|
47
|
+
&& gem build *.gemspec \
|
48
|
+
&& git checkout lib/smartystreets_ruby_sdk/version.rb
|
49
|
+
|
50
|
+
- name: Push to rubygems.org
|
51
|
+
run: |
|
52
|
+
mkdir -p $HOME/.gem
|
53
|
+
touch $HOME/.gem/credentials
|
54
|
+
chmod 0600 $HOME/.gem/credentials
|
55
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
56
|
+
gem push *.gem
|
57
|
+
# chmod 0600 /root/.gem/credentials
|
58
|
+
env:
|
59
|
+
GEM_HOST_API_KEY: "${{secrets.GEM_HOST_API_KEY}}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smartystreets_ruby_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.14.
|
4
|
+
version: 5.14.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SmartyStreets SDK Team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,13 +72,14 @@ dependencies:
|
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: 0.12.0
|
75
|
-
description:
|
75
|
+
description:
|
76
76
|
email:
|
77
77
|
- support@smartystreets.com
|
78
78
|
executables: []
|
79
79
|
extensions: []
|
80
80
|
extra_rdoc_files: []
|
81
81
|
files:
|
82
|
+
- ".github/workflows/gem-publish.yml"
|
82
83
|
- ".gitignore"
|
83
84
|
- CHANGELOG.md
|
84
85
|
- Dockerfile
|
@@ -178,7 +179,7 @@ homepage: https://github.com/smartystreets/smartystreets-ruby-sdk
|
|
178
179
|
licenses:
|
179
180
|
- Apache-2.0
|
180
181
|
metadata: {}
|
181
|
-
post_install_message:
|
182
|
+
post_install_message:
|
182
183
|
rdoc_options: []
|
183
184
|
require_paths:
|
184
185
|
- lib
|
@@ -193,8 +194,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
194
|
- !ruby/object:Gem::Version
|
194
195
|
version: '0'
|
195
196
|
requirements: []
|
196
|
-
rubygems_version: 3.3.
|
197
|
-
signing_key:
|
197
|
+
rubygems_version: 3.0.3.1
|
198
|
+
signing_key:
|
198
199
|
specification_version: 4
|
199
200
|
summary: An official library for the SmartyStreets APIs
|
200
201
|
test_files: []
|