bootic_cli 0.6.6 → 0.6.7
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/lib/bootic_cli/commands/themes.rb +5 -1
- data/lib/bootic_cli/themes/api_theme.rb +1 -1
- data/lib/bootic_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: 6d8b35e5dbac7b46fc56dc3e05386fd08234fdca802a1a677d5245f5eb54028e
|
4
|
+
data.tar.gz: '05488c11d71bfe841474f0ff88e7c1ca018069e3e5b3d71d4dd0a7ac789fa970'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75c2cb138d038891fb8a4dae8d750d94192db93536c03b627265d18f706a61a49a76ef0500597de06b0910f23e3f97c245c042bad548be7e641b8a4069eab999
|
7
|
+
data.tar.gz: 15daa18cbd6fa5ac2edc87bf57ee201b7e827b981ac5c8ff8d6043f67999c7511cdffe2a3a3dd7a852f6ec2cd535517a45437a8f9f732a70d09ae87d2537c98f
|
@@ -58,13 +58,17 @@ module BooticCli
|
|
58
58
|
|
59
59
|
else # create
|
60
60
|
unless remote_theme.public?
|
61
|
-
return prompt.say("You already have a development theme set up
|
61
|
+
return prompt.say("You already have a development theme set up. If you want to delete it, please pass the --delete flag.", :red)
|
62
62
|
end
|
63
63
|
|
64
64
|
unless shop.themes.can?(:create_dev_theme)
|
65
65
|
return prompt.say('Dev theme not available!')
|
66
66
|
end
|
67
67
|
|
68
|
+
unless prompt.yes_or_no?("This will create a development copy of your current public theme. Proceed?", true)
|
69
|
+
return prompt.say "Ok, bye."
|
70
|
+
end
|
71
|
+
|
68
72
|
result = shop.themes.create_dev_theme
|
69
73
|
if result.has?(:errors)
|
70
74
|
prompt.say "Couldn't create dev theme: #{result.errors.map(&:field).join(', ')}"
|
data/lib/bootic_cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootic_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ismael Celis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-10-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|