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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc75dee35fec5f2ff424dc902a1a80161eaa31d0
4
- data.tar.gz: abc86eb45f781f2a77f8db9c4e5905c96f560937
3
+ metadata.gz: 7c1b43c2bab7582a171246219c4345f24722be03
4
+ data.tar.gz: cfa42a01f7d60cc89b32760046c65fa03c6b8405
5
5
  SHA512:
6
- metadata.gz: 7f418791b2899a6294453de7a73d62f50dfa92ff12f358366c271432443ad51e2916424497e825395f4e31df444ac4274bab7bd6ed1c643bf86b792385174fa0
7
- data.tar.gz: 71d26c11975bf71e033ab1fe295bb5f5377ea5faa9a01ab08c87039f94b04d87104abae73259d39ba345d27970e94166bf94f721d613fa36594febaa1459de8b
6
+ metadata.gz: 8306f6dea12cd65a056a7f262c02438b5edef30f3f04b1e3720b49715290c6203f9a76cd02f215eef5ee57d3d15d2eab9eb6c2ac07d24b7bac16fdce237c9f7f
7
+ data.tar.gz: 938b5b262c9ddfe9636c0932779d2b8342f81e0d3e9fe54988f2f8abee7f882c6908653ec78b690d365dc9caa4c3fb8e16a21eb80fb24c3d186048bbbd563f34
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Sparkler
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
@@ -27,6 +27,8 @@ group :development, :test do
27
27
  gem 'debugger'
28
28
  gem 'rspec-rails'
29
29
  gem 'dotenv-rails'
30
+ gem 'spring'
31
+ gem 'spring-commands-rspec'
30
32
  end
31
33
 
32
34
  group :test do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sparkler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Moore