theme-juice 0.1.6 → 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/lib/theme-juice/scaffold.rb +2 -10
- data/lib/theme-juice/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 059ce849fd1f2d505d1e6daedf3985ad7600a99e
|
4
|
+
data.tar.gz: cf312295ddf93aceba229ed411c473c033f94e4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb0e8d619dcf9c11bbe1b99b5b18dc0f321a48b7fbb28d86fc2289e71ab6d49f3f994278662befa81be3532877b7730912ce9156007aad6ca0b6c0738b364335
|
7
|
+
data.tar.gz: 412a4434a2388fc22985ea52f61cb28ff4f8cad134d0883560412375cc91ddb8aee1298a5b240f721e3276bee8efea60460d21744775300d63a77788dc2e7ac4
|
data/lib/theme-juice/scaffold.rb
CHANGED
@@ -65,10 +65,6 @@ module ThemeJuice
|
|
65
65
|
|
66
66
|
if wpcli_exists? && !wpcli_is_setup?
|
67
67
|
setup_wpcli
|
68
|
-
else
|
69
|
-
if yes? "Do you want to setup a new 'wp-cli.yml' file? (y/N) :", :green
|
70
|
-
setup_wpcli true
|
71
|
-
end
|
72
68
|
end
|
73
69
|
|
74
70
|
if @opts[:repository]
|
@@ -496,17 +492,13 @@ module ThemeJuice
|
|
496
492
|
].join " && "
|
497
493
|
end
|
498
494
|
|
499
|
-
|
495
|
+
##
|
500
496
|
# Add wp-cli-ssh block to wp-cli.yml
|
501
497
|
#
|
502
|
-
# @param {Bool} fresh
|
503
|
-
# Create a fresh wp-cli.yml file
|
504
|
-
#
|
505
498
|
# @return {Void}
|
506
499
|
###
|
507
|
-
def setup_wpcli
|
500
|
+
def setup_wpcli
|
508
501
|
File.open "#{@opts[:site_location]}/wp-cli.yml", "a+" do |file|
|
509
|
-
file.puts "path: wp" if fresh
|
510
502
|
file.puts "require:"
|
511
503
|
file.puts "\t- vendor/autoload.php"
|
512
504
|
file.puts "ssh:"
|
data/lib/theme-juice/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: theme-juice
|
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
|
- Ezekiel Gabrielse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|