bootic_cli 0.5.3 → 0.5.4

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
  SHA1:
3
- metadata.gz: 124176a77bce62cae1afe8e3c7804df89e862462
4
- data.tar.gz: 82ab73189ede38c158b8359bd31e54d410837ea3
3
+ metadata.gz: 33dd7903e0e41865015bbbf447ba8eeb5f129349
4
+ data.tar.gz: 8a082e16833d9da57bdc7f408f652f5b43677c4b
5
5
  SHA512:
6
- metadata.gz: 07cbc4c6fb1d172f4b716be085e5074cca7a1f92da1d7fb0cd1d9292af5e554feba61bad3199508f4ab53f127abdec97f2e6ed34b5f57596614c26dcec4857a4
7
- data.tar.gz: 73c3a3dd9c2e07170feb84b10bd25bb1a62d52e08d9bbd18b2c20c60a5bee6eef0e0405fc0728da08432c8ed2e6ed2226d1253d10258298a816fa1627875c0e1
6
+ metadata.gz: e5b628ce27bd6bb46520a971a8dc5c49acc8bb36f1bd029bf9fcfeed327e92b177c8da4e7ef6ecbff5c90e638141a87596fb547f4bc6cf32e1de846c5926d953
7
+ data.tar.gz: 46b6bed1f17ac6fae5f102d444014714fdb79cfcc2405bd5e798680b2ea0941cc22aaf8769b19089f28912b6166c323f2e2ea5f082257988d0e64123f33d7a3e
@@ -114,7 +114,7 @@ module BooticCli
114
114
  end
115
115
  end
116
116
 
117
- desc 'publish', 'Moves your development theme into your public website'
117
+ desc 'publish', 'Merges your development theme back into your public website'
118
118
  def publish
119
119
  within_theme do
120
120
  local_theme, remote_theme = theme_selector.select_theme_pair(default_subdomain, current_dir)
@@ -137,7 +137,6 @@ module BooticCli
137
137
 
138
138
  # prompt.say("Publishing means all your public theme's templates and assets will be replaced and lost.")
139
139
  if prompt.yes_or_no?("Would you like to make a local copy of your current public theme before publishing?", diff.any?) # default to true if changes exist
140
-
141
140
  backup_path = File.join(local_theme.path, "public-theme-backup-#{Time.now.to_i}")
142
141
  backup_theme = theme_selector.select_local_theme(backup_path, local_theme.subdomain)
143
142
 
@@ -181,6 +181,10 @@ module BooticCli
181
181
  updated_theme = remote_theme.publish(delete: delete_dev)
182
182
 
183
183
  prompt.notice "Yay! Your development theme has been made public. Take a look at #{remote_theme.path.sub('/preview/dev', '')}"
184
+
185
+ if delete_dev
186
+ prompt.say "Run the `dev` command to copy your public theme into a development copy later."
187
+ end
184
188
  end
185
189
 
186
190
  def watch(dir, remote_theme, watcher: Listen)
@@ -1,3 +1,3 @@
1
1
  module BooticCli
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
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.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ismael Celis