theme-juice 0.7.14 → 0.8.0

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.
@@ -23,9 +23,22 @@ module ThemeJuice
23
23
  attr_accessor :skip_repo
24
24
  attr_accessor :skip_db
25
25
  attr_accessor :use_defaults
26
+ attr_accessor :no_theme
26
27
  attr_accessor :no_wp
27
28
  attr_accessor :no_db
28
29
 
30
+ def vm_root
31
+ @vm_root ||= File.expand_path("#{Env.vm_path}/www")
32
+ end
33
+
34
+ def vm_location
35
+ @vm_location ||= "#{vm_root}/#{Env.vm_prefix}#{name}"
36
+ end
37
+
38
+ def vm_srv
39
+ @vm_srv ||= "/srv/www/#{Env.vm_prefix}#{name}"
40
+ end
41
+
29
42
  extend self
30
43
  end
31
44
  end
@@ -27,17 +27,5 @@ module ThemeJuice
27
27
  end
28
28
 
29
29
  private
30
-
31
- def vm_root
32
- File.expand_path "#{@env.vm_path}/www"
33
- end
34
-
35
- def vm_location
36
- "#{vm_root}/#{@env.vm_prefix}#{@project.name}"
37
- end
38
-
39
- def vm_srv
40
- "/srv/www/#{@env.vm_prefix}#{@project.name}"
41
- end
42
30
  end
43
31
  end
@@ -6,9 +6,6 @@ module ThemeJuice
6
6
 
7
7
  def initialize(opts = {})
8
8
  super
9
-
10
- @project.vm_root = vm_root
11
- @project.vm_location = vm_location
12
9
  end
13
10
 
14
11
  def list(prop)
@@ -9,19 +9,19 @@ module ThemeJuice
9
9
  end
10
10
 
11
11
  def execute
12
- install_vvv
12
+ install_box
13
13
  end
14
14
 
15
15
  private
16
16
 
17
- def vvv_is_installed?
17
+ def box_is_installed?
18
18
  File.exist? @env.vm_path
19
19
  end
20
20
 
21
- def install_vvv
22
- unless vvv_is_installed?
23
- @io.log "Installing VVV"
24
- @util.run "git clone https://github.com/Varying-Vagrant-Vagrants/VVV.git #{@env.vm_path} --depth 1",
21
+ def install_box
22
+ unless box_is_installed?
23
+ @io.log "Installing Vagrant box"
24
+ @util.run "git clone #{@env.vm_box} #{@env.vm_path} --depth 1",
25
25
  :verbose => @env.verbose
26
26
  end
27
27
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module ThemeJuice
4
- VERSION = "0.7.14"
4
+ VERSION = "0.8.0"
5
5
  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.7.14
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezekiel Gabrielse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-27 00:00:00.000000000 Z
11
+ date: 2015-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - ~>
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0.6'
111
+ - !ruby/object:Gem::Dependency
112
+ name: ronn
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: '0.7'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ version: '0.7'
111
125
  description: Theme Juice is a WordPress development command line utility that allows
112
126
  you to scaffold out entire Vagrant development environments in seconds, manage dependencies
113
127
  and build tools, and even handle deployments.
@@ -130,6 +144,14 @@ files:
130
144
  - lib/theme-juice/env.rb
131
145
  - lib/theme-juice/helpers/singleton_helper.rb
132
146
  - lib/theme-juice/io.rb
147
+ - lib/theme-juice/man/tj
148
+ - lib/theme-juice/man/tj-create
149
+ - lib/theme-juice/man/tj-create.txt
150
+ - lib/theme-juice/man/tj-delete
151
+ - lib/theme-juice/man/tj-delete.txt
152
+ - lib/theme-juice/man/tj-setup
153
+ - lib/theme-juice/man/tj-setup.txt
154
+ - lib/theme-juice/man/tj.txt
133
155
  - lib/theme-juice/patches/option.rb
134
156
  - lib/theme-juice/project.rb
135
157
  - lib/theme-juice/task.rb