shopify_empty_gem 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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/shopify_empty_gem/version.rb +1 -1
- data/lib/snippets/release-gem-with-otp +15 -8
- data/shipit.rubygems_otp.yml +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb4d0021dd980883d5b21f5b902a2b91a28549b13f50200aade0666d75990aff
|
4
|
+
data.tar.gz: c4a73502042003e933c4ec1363e42164b58dc698bae03aba9c0388c2da804eee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af5e4c140011efe6795e59de53864ca9cd4cb41a8d08c4743303186a204e9407084cef83fc38246f33b91ffd1b4d6d217eea493f02f851448ae89710aad87472
|
7
|
+
data.tar.gz: d949025f19c47d4b96d5b5b2dd1d791faf03bc765b2f93c4376c47b5f4b9cf0616aee9433208a9453bbfe98b642d40a7d5e091941bda439e521b30ffee3da168
|
data/Gemfile.lock
CHANGED
@@ -129,15 +129,22 @@ else
|
|
129
129
|
# Since we've already tagged and built the gem with `bundle exec gem_push=no rake release`, the last step is to push the gem
|
130
130
|
# Instead of re-building and re-tagging the gem, we'll complete the last step of the `rake release` command => (gem push)
|
131
131
|
puts "💪 Preparing to release gem"
|
132
|
-
puts "🎉 Running 'bundle exec rake release' with otp code #{temp_otp_code}"
|
133
132
|
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
)
|
133
|
+
puts "❓ GEM_HOST_OTP_CODE value is: #{ENV['GEM_HOST_OTP_CODE']}"
|
134
|
+
puts "🤝 Setting environment variable"
|
135
|
+
ENV['GEM_HOST_OTP_CODE'] = temp_otp_code
|
136
|
+
puts "✅ GEM_HOST_OTP_CODE value is updated to: #{ENV['GEM_HOST_OTP_CODE']}"
|
137
|
+
|
138
|
+
puts "🎉 Running 'bundle exec rake release' with otp code #{temp_otp_code}"
|
139
|
+
system('bundle', 'exec', 'rake', 'release')
|
140
|
+
|
141
|
+
# system(
|
142
|
+
# {'GEM_HOST_OTP_CODE' => temp_otp_code.to_s},
|
143
|
+
# 'bundle',
|
144
|
+
# 'exec',
|
145
|
+
# 'rake',
|
146
|
+
# 'release'
|
147
|
+
# )
|
141
148
|
|
142
149
|
# TODO: What if OTP has expired? Add mechanism to retry.
|
143
150
|
end
|
data/shipit.rubygems_otp.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shopify_empty_gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -44,7 +44,7 @@ dependencies:
|
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 12.3.3
|
47
|
-
description:
|
47
|
+
description:
|
48
48
|
email:
|
49
49
|
- admins@shopify.com
|
50
50
|
executables: []
|
@@ -64,7 +64,7 @@ licenses:
|
|
64
64
|
- MIT
|
65
65
|
metadata:
|
66
66
|
allowed_push_host: https://rubygems.org
|
67
|
-
post_install_message:
|
67
|
+
post_install_message:
|
68
68
|
rdoc_options: []
|
69
69
|
require_paths:
|
70
70
|
- lib
|
@@ -79,8 +79,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
|
-
rubygems_version: 3.2.
|
83
|
-
signing_key:
|
82
|
+
rubygems_version: 3.2.32
|
83
|
+
signing_key:
|
84
84
|
specification_version: 4
|
85
85
|
summary: Empty gem for testing purposes
|
86
86
|
test_files: []
|