summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-29 17:39:18 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-29 17:39:18 +0300
commit3daef3dd51ad69ddad8d9b73c515fc335b75d6ac (patch)
tree6cc43b22c719719e03d3e5c807905b62796a5ca2
parentdae9faf340ae4227f1a956b388ca6ee9aee3f8e2 (diff)
parent0b5783119f9577ae6b7506836c384a541854979d (diff)
downloadgitlab-ce-3daef3dd51ad69ddad8d9b73c515fc335b75d6ac.tar.gz
Merge pull request #7517 from jvanbaarsen/guard-spring-fix
Updated the spring gem and fixed the guard file
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock4
-rw-r--r--Guardfile4
3 files changed, 5 insertions, 5 deletions
diff --git a/Gemfile b/Gemfile
index e28ffcfc2d7..61a9c6cdf66 100644
--- a/Gemfile
+++ b/Gemfile
@@ -231,7 +231,7 @@ group :development, :test do
gem 'jasmine', '2.0.2'
- gem "spring", '1.1.1'
+ gem "spring", '1.1.3'
gem "spring-commands-rspec", '1.0.1'
gem "spring-commands-spinach", '1.0.0'
end
diff --git a/Gemfile.lock b/Gemfile.lock
index 205599e898c..edd30fda37a 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -489,7 +489,7 @@ GEM
capybara (>= 2.0.0)
railties (>= 3)
spinach (>= 0.4)
- spring (1.1.1)
+ spring (1.1.3)
spring-commands-rspec (1.0.1)
spring (>= 0.9.1)
spring-commands-spinach (1.0.0)
@@ -676,7 +676,7 @@ DEPENDENCIES
slack-notifier (~> 0.3.2)
slim
spinach-rails
- spring (= 1.1.1)
+ spring (= 1.1.3)
spring-commands-rspec (= 1.0.1)
spring-commands-spinach (= 1.0.0)
stamp
diff --git a/Guardfile b/Guardfile
index e19a312377d..68ac3232b09 100644
--- a/Guardfile
+++ b/Guardfile
@@ -1,7 +1,7 @@
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
-guard 'rspec', cmd: "spring rspec", version: 2, all_on_start: false, all_after_pass: false do
+guard 'rspec', cmd: "spring rspec", all_on_start: false, all_after_pass: false do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch(%r{^lib/api/(.+)\.rb$}) { |m| "spec/requests/api/#{m[1]}_spec.rb" }
@@ -19,7 +19,7 @@ guard 'rspec', cmd: "spring rspec", version: 2, all_on_start: false, all_after_p
watch(%r{^app/views/(.+)/.*\.(erb|haml)$}) { |m| "spec/requests/#{m[1]}_spec.rb" }
end
-guard 'spinach' do
+guard 'spinach', command_prefix: 'spring' do
watch(%r|^features/(.*)\.feature|)
watch(%r|^features/steps/(.*)([^/]+)\.rb|) do |m|
"features/#{m[1]}#{m[2]}.feature"