jumpstart 0.6.1 → 0.6.2
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.
- data/README.rdoc +8 -1
- data/config/jumpstart_version.yml +2 -2
- data/lib/jumpstart.rb +1 -1
- metadata +7 -2
data/README.rdoc
CHANGED
|
@@ -163,6 +163,13 @@ e.g.
|
|
|
163
163
|
:symbols:
|
|
164
164
|
:project_name: name_of_my_app
|
|
165
165
|
:womble: uncle_bulgaria
|
|
166
|
+
|
|
167
|
+
===:run_after_string_replace:
|
|
168
|
+
Can be omitted or left blank.
|
|
169
|
+
Add extra commands that you want to run after templates have been parsed for string replacement.
|
|
170
|
+
e.g.
|
|
171
|
+
:run_after_string_replace:
|
|
172
|
+
- rake db:migrate
|
|
166
173
|
|
|
167
174
|
===:local_nginx_conf:
|
|
168
175
|
Can be omitted or left blank.
|
|
@@ -209,7 +216,7 @@ Example 1: Sets up a new Rails project, creating MySQL Dbs and other options. Cr
|
|
|
209
216
|
- :target_path: /config/environments/production.rb
|
|
210
217
|
:symbols:
|
|
211
218
|
:project_name: name_of_my_app
|
|
212
|
-
|
|
219
|
+
|
|
213
220
|
:local_nginx_conf: /usr/local/nginx/conf/nginx.conf
|
|
214
221
|
|
|
215
222
|
==Note on Patches/Pull Requests
|
data/lib/jumpstart.rb
CHANGED
|
@@ -135,7 +135,7 @@ module JumpStart
|
|
|
135
135
|
# The path to the jumpstart templates directory.
|
|
136
136
|
# Set as a module instance variable.
|
|
137
137
|
if !@jumpstart_setup_yaml[:jumpstart_templates_path].nil?
|
|
138
|
-
@templates_path = @jumpstart_setup_yaml[:jumpstart_templates_path] if
|
|
138
|
+
@templates_path = @jumpstart_setup_yaml[:jumpstart_templates_path] if File.directory?(@jumpstart_setup_yaml[:jumpstart_templates_path])
|
|
139
139
|
end
|
|
140
140
|
|
|
141
141
|
end
|
metadata
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jumpstart
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 3
|
|
4
5
|
prerelease: false
|
|
5
6
|
segments:
|
|
6
7
|
- 0
|
|
7
8
|
- 6
|
|
8
|
-
-
|
|
9
|
-
version: 0.6.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.6.2
|
|
10
11
|
platform: ruby
|
|
11
12
|
authors:
|
|
12
13
|
- Ian Alexander Wood (i0n)
|
|
@@ -25,6 +26,7 @@ dependencies:
|
|
|
25
26
|
requirements:
|
|
26
27
|
- - ">="
|
|
27
28
|
- !ruby/object:Gem::Version
|
|
29
|
+
hash: 3
|
|
28
30
|
segments:
|
|
29
31
|
- 0
|
|
30
32
|
version: "0"
|
|
@@ -38,6 +40,7 @@ dependencies:
|
|
|
38
40
|
requirements:
|
|
39
41
|
- - ">="
|
|
40
42
|
- !ruby/object:Gem::Version
|
|
43
|
+
hash: 3
|
|
41
44
|
segments:
|
|
42
45
|
- 0
|
|
43
46
|
version: "0"
|
|
@@ -151,6 +154,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
151
154
|
requirements:
|
|
152
155
|
- - ">="
|
|
153
156
|
- !ruby/object:Gem::Version
|
|
157
|
+
hash: 3
|
|
154
158
|
segments:
|
|
155
159
|
- 0
|
|
156
160
|
version: "0"
|
|
@@ -159,6 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
159
163
|
requirements:
|
|
160
164
|
- - ">="
|
|
161
165
|
- !ruby/object:Gem::Version
|
|
166
|
+
hash: 23
|
|
162
167
|
segments:
|
|
163
168
|
- 1
|
|
164
169
|
- 3
|