guard-rspec 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/guard/rspec/runner.rb +1 -0
- data/lib/guard/rspec/templates/Guardfile +2 -2
- data/lib/guard/rspec/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 639765a4923eb0c18f6e903623c732acdf2ec011
|
4
|
+
data.tar.gz: 686f2f76750aa4dbca040114f1fa5fcbee46e602
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa2ea4ac62f3b4941eef4ab2e32c81d843bca6d54178ec611ea1131ba229f1ea75482a42214390eb8d276628f0185066d1ad3363e9373004e7dfeda6c34be7af
|
7
|
+
data.tar.gz: 0e0ccdac7ad624f8844d8d584ca8501fca49bf1fc1fcaf170dbe82d86706d3c5e2d51ddde8bd74bd2255eb1c44d7f5b3a0faf897d7187974873dec84fd1b22e5
|
data/README.md
CHANGED
@@ -57,7 +57,7 @@ guard :rspec do
|
|
57
57
|
watch('app/controllers/application_controller.rb') { "spec/controllers" }
|
58
58
|
watch(%r{^spec/.+_spec\.rb$})
|
59
59
|
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
60
|
-
watch(%r{^app/(.*)(\.erb|\.haml)$})
|
60
|
+
watch(%r{^app/(.*)(\.erb|\.haml|\.slim)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
|
61
61
|
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
62
62
|
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
|
63
63
|
end
|
data/lib/guard/rspec/runner.rb
CHANGED
@@ -106,6 +106,7 @@ module Guard
|
|
106
106
|
def zeus_guard_env_file
|
107
107
|
unless @zeus_guard_env_file
|
108
108
|
@zeus_guard_env_file = Tempfile.new(['zeus_guard_env','.rb'])
|
109
|
+
@zeus_guard_env_file.puts '# encoding: UTF-8'
|
109
110
|
@zeus_guard_env_file.puts '# Extra settings for Guard when using Zeus'
|
110
111
|
@zeus_guard_env_file.puts "ENV['GUARD_NOTIFICATIONS']=#{ENV['GUARD_NOTIFICATIONS'].inspect}" if ENV['GUARD_NOTIFICATIONS']
|
111
112
|
@zeus_guard_env_file.puts "ENV['GUARD_NOTIFY']=#{ENV['GUARD_NOTIFY'].inspect}" if ENV['GUARD_NOTIFY']
|
@@ -5,14 +5,14 @@ guard :rspec do
|
|
5
5
|
|
6
6
|
# Rails example
|
7
7
|
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
8
|
-
watch(%r{^app/(.*)(\.erb|\.haml)$})
|
8
|
+
watch(%r{^app/(.*)(\.erb|\.haml|\.slim)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
|
9
9
|
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
|
10
10
|
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
|
11
11
|
watch('config/routes.rb') { "spec/routing" }
|
12
12
|
watch('app/controllers/application_controller.rb') { "spec/controllers" }
|
13
13
|
|
14
14
|
# Capybara features specs
|
15
|
-
watch(%r{^app/views/(.+)/.*\.(erb|haml)$})
|
15
|
+
watch(%r{^app/views/(.+)/.*\.(erb|haml|slim)$}) { |m| "spec/features/#{m[1]}_spec.rb" }
|
16
16
|
|
17
17
|
# Turnip features and steps
|
18
18
|
watch(%r{^spec/acceptance/(.+)\.feature$})
|
data/lib/guard/rspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thibaud Guillaume-Gentil
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: guard
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
version: 1.3.6
|
87
87
|
requirements: []
|
88
88
|
rubyforge_project: guard-rspec
|
89
|
-
rubygems_version: 2.0.
|
89
|
+
rubygems_version: 2.0.7
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: Guard gem for RSpec
|