shopify-cli 2.16.0 → 2.16.1
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/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/lib/project_types/extension/cli.rb +1 -0
- data/lib/shopify_cli/commands/logout.rb +1 -1
- data/lib/shopify_cli/context.rb +6 -2
- data/lib/shopify_cli/partners_api/app_extensions.rb +1 -1
- data/lib/shopify_cli/services/app/create/rails_service.rb +1 -1
- data/lib/shopify_cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 671c2f790725e98a8ff2cd52ba3e82bfba8602119b9438e935f5762b2369944d
|
|
4
|
+
data.tar.gz: 3636ef6682230d30d507f1e721771a52230fa6dedda9537b56ecd133729d5ddf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 90a96e0a4357d43118ed0417e310042327e520ac4ecfc3c6789a66a2acc502f908c99ce54b16768b56975ad8a83ca9e74f23d2f14fa2475083b2e46f126f238d
|
|
7
|
+
data.tar.gz: f969943491bee41c44c172984942d8ee406e6e9bbbf95556b93f4843978925b127db0d52f52d961d19fff7ede178b990db25e83ff7a19dd0107f6ce040d50f6d
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@ From version 2.6.0, the sections in this file adhere to the [keep a changelog](h
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## Version 2.16.1 - 2022-04-26
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
* [#2279](https://github.com/Shopify/shopify-cli/pull/2279): Fix logout when there are theme permission issues
|
|
9
|
+
* [#2285](https://github.com/Shopify/shopify-cli/pull/2285): Fix extension loading for extension connect
|
|
10
|
+
* [#2284](https://github.com/Shopify/shopify-cli/pull/2284): Fix version check for Windows
|
|
11
|
+
|
|
5
12
|
## Version 2.16.0 - 2022-04-25
|
|
6
13
|
|
|
7
14
|
### Fixed
|
data/Gemfile.lock
CHANGED
|
@@ -31,7 +31,7 @@ module ShopifyCLI
|
|
|
31
31
|
return unless has_shop?
|
|
32
32
|
|
|
33
33
|
ShopifyCLI::Theme::DevelopmentTheme.delete(@ctx)
|
|
34
|
-
rescue ShopifyCLI::API::APIRequestError
|
|
34
|
+
rescue ShopifyCLI::API::APIRequestError, ShopifyCLI::Abort, ShopifyCLI::AbortSilent
|
|
35
35
|
# Ignore since we can't delete it
|
|
36
36
|
end
|
|
37
37
|
end
|
data/lib/shopify_cli/context.rb
CHANGED
|
@@ -621,8 +621,12 @@ module ShopifyCLI
|
|
|
621
621
|
#
|
|
622
622
|
def new_version
|
|
623
623
|
if (time_of_last_check + VERSION_CHECK_INTERVAL) < (Time.now.to_i)
|
|
624
|
-
|
|
625
|
-
|
|
624
|
+
# Fork is not supported in Windows
|
|
625
|
+
if Process.respond_to?(:fork)
|
|
626
|
+
fork { retrieve_latest_gem_version }
|
|
627
|
+
else
|
|
628
|
+
thread = Thread.new { retrieve_latest_gem_version }
|
|
629
|
+
at_exit { thread.join }
|
|
626
630
|
end
|
|
627
631
|
end
|
|
628
632
|
latest_version = ShopifyCLI::Config.get(VERSION_CHECK_SECTION, LATEST_VERSION_FIELD, default: ShopifyCLI::VERSION)
|
|
@@ -184,7 +184,7 @@ module ShopifyCLI
|
|
|
184
184
|
|
|
185
185
|
context.puts(context.message("core.app.create.rails.adding_shopify_gem"))
|
|
186
186
|
File.open(File.join(context.root, "Gemfile"), "a") do |f|
|
|
187
|
-
f.puts "\ngem 'shopify_app', '
|
|
187
|
+
f.puts "\ngem 'shopify_app', '~>19.0.1'"
|
|
188
188
|
end
|
|
189
189
|
CLI::UI::Frame.open(context.message("core.app.create.rails.running_bundle_install")) do
|
|
190
190
|
syscall(%w(bundle install))
|
data/lib/shopify_cli/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shopify-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.16.
|
|
4
|
+
version: 2.16.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shopify
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-04-
|
|
11
|
+
date: 2022-04-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|