shopify-cli 2.16.0 → 2.16.1

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: 26f358d4694d7c5dd9b64208107c69def6144f79ee55ba2536c138a14ca81ea7
4
- data.tar.gz: f1dccbffeece205fb67601a3510a351073ea61ff45e2c1276679a1604a489c2d
3
+ metadata.gz: 671c2f790725e98a8ff2cd52ba3e82bfba8602119b9438e935f5762b2369944d
4
+ data.tar.gz: 3636ef6682230d30d507f1e721771a52230fa6dedda9537b56ecd133729d5ddf
5
5
  SHA512:
6
- metadata.gz: e208397e4a7ed51e65a651b567c535d23bcbd90f5587a518c69bb1aa70f67efa9cd21bce69a5eda57e005d427456776ab76543938f8188be2a262c421935ac52
7
- data.tar.gz: '083e6f590ccdb81cc43f9c1200bceca765c5242d7b701a872311b49f10184fb62723df553df74f76f7e311343e814038a360821dc434ffa46a83c9907ff881e4'
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shopify-cli (2.16.0)
4
+ shopify-cli (2.16.1)
5
5
  bugsnag (~> 6.22)
6
6
  listen (~> 3.7.0)
7
7
  theme-check (~> 1.10.1)
@@ -2,6 +2,7 @@
2
2
 
3
3
  require "pathname"
4
4
  require "json"
5
+ require "yaml"
5
6
 
6
7
  module Extension
7
8
  class PackageResolutionFailed < RuntimeError; end
@@ -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
@@ -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
- fork do
625
- retrieve_latest_gem_version
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)
@@ -24,7 +24,7 @@ module ShopifyCLI
24
24
  end
25
25
 
26
26
  def consume_jobs!(jobs)
27
- thread_pool = ShopifyCLI::ThreadPool.new
27
+ thread_pool = ShopifyCLI::ThreadPool.new(pool_size: 1)
28
28
  jobs.each do |job|
29
29
  thread_pool.schedule(job)
30
30
  end
@@ -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', '>=18.1.0'"
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))
@@ -1,3 +1,3 @@
1
1
  module ShopifyCLI
2
- VERSION = "2.16.0"
2
+ VERSION = "2.16.1"
3
3
  end
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.0
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-25 00:00:00.000000000 Z
11
+ date: 2022-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler