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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0807fd1e580795514344b115fe0554da6473dbf6
4
- data.tar.gz: d9733c7c0e8566cfed77291b9c77cda29859b7a3
3
+ metadata.gz: 059ce849fd1f2d505d1e6daedf3985ad7600a99e
4
+ data.tar.gz: cf312295ddf93aceba229ed411c473c033f94e4b
5
5
  SHA512:
6
- metadata.gz: c21bde05ccbb8dd087834b34c44a5bc87e853d26361edadefc5273e98e0df6cb167aec3481c9ba6452847d6984ea70412bf1f772c22ae7dd311646d80dc558a6
7
- data.tar.gz: 9ee649f383dd060767a0e45ed6c9336ca508bf62b46dc196326a98bf7994705396696f60bc094ef089b4aab9ba6db22c650e40b73b3480ba580d5afe13089120
6
+ metadata.gz: fb0e8d619dcf9c11bbe1b99b5b18dc0f321a48b7fbb28d86fc2289e71ab6d49f3f994278662befa81be3532877b7730912ce9156007aad6ca0b6c0738b364335
7
+ data.tar.gz: 412a4434a2388fc22985ea52f61cb28ff4f8cad134d0883560412375cc91ddb8aee1298a5b240f721e3276bee8efea60460d21744775300d63a77788dc2e7ac4
@@ -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(fresh = false)
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:"
@@ -1,3 +1,3 @@
1
1
  module ThemeJuice
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
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.6
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 00:00:00.000000000 Z
11
+ date: 2014-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor