sparkler 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sparkler/app_builder.rb +4 -0
- data/lib/sparkler/generators/app_generator.rb +6 -0
- data/lib/sparkler/version.rb +1 -1
- data/templates/Gemfile.new +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c1b43c2bab7582a171246219c4345f24722be03
|
4
|
+
data.tar.gz: cfa42a01f7d60cc89b32760046c65fa03c6b8405
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8306f6dea12cd65a056a7f262c02438b5edef30f3f04b1e3720b49715290c6203f9a76cd02f215eef5ee57d3d15d2eab9eb6c2ac07d24b7bac16fdce237c9f7f
|
7
|
+
data.tar.gz: 938b5b262c9ddfe9636c0932779d2b8342f81e0d3e9fe54988f2f8abee7f882c6908653ec78b690d365dc9caa4c3fb8e16a21eb80fb24c3d186048bbbd563f34
|
data/lib/sparkler/app_builder.rb
CHANGED
@@ -129,5 +129,9 @@ module Sparkler
|
|
129
129
|
inject_into_file 'config/application.rb', " generate.test_framework :rspec\n", after: "config.generators do |generate|\n"
|
130
130
|
generate 'rspec:install'
|
131
131
|
end
|
132
|
+
|
133
|
+
def use_spring_binstubs
|
134
|
+
run 'bundle exec spring binstub --all'
|
135
|
+
end
|
132
136
|
end
|
133
137
|
end
|
@@ -28,6 +28,7 @@ module Sparkler
|
|
28
28
|
invoke :setup_rspec
|
29
29
|
invoke :setup_git
|
30
30
|
invoke :setup_scripts
|
31
|
+
invoke :setup_spring
|
31
32
|
end
|
32
33
|
|
33
34
|
def use_coffeescript
|
@@ -100,6 +101,11 @@ module Sparkler
|
|
100
101
|
build :setup_scripts
|
101
102
|
end
|
102
103
|
|
104
|
+
def setup_spring
|
105
|
+
say 'Setting up Spring binstubs'
|
106
|
+
build :use_spring_binstubs
|
107
|
+
end
|
108
|
+
|
103
109
|
def copy_miscellaneous_files
|
104
110
|
say 'Copying miscellaneous support files'
|
105
111
|
build :copy_miscellaneous_files
|
data/lib/sparkler/version.rb
CHANGED
data/templates/Gemfile.new
CHANGED