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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f917a49c4fdfc7fd51ba4d4bfb7f970ec45ee15
4
- data.tar.gz: c8f6883c15dc95195db3b59ceefc8fd9ff3f3ae6
3
+ metadata.gz: 639765a4923eb0c18f6e903623c732acdf2ec011
4
+ data.tar.gz: 686f2f76750aa4dbca040114f1fa5fcbee46e602
5
5
  SHA512:
6
- metadata.gz: f2c6728f276f9f9b2343633e4e5f447befbc569aebd28dfe885da043992cf6a07262973f417d477fbc9b5df29a13e3038688df83e4ce5f91b8a0cc4099c775c7
7
- data.tar.gz: 3679e43f009ee9ca8016f479d6d31b47fd83f33f9f3d6f551143e7b6ab9b0685005c778040446862a865441af1eecd71dec8af13a30fb1bf6009096ffdac0df1
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)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
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
@@ -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)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
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)$}) { |m| "spec/features/#{m[1]}_spec.rb" }
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$})
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module RSpecVersion
3
- VERSION = "3.0.2"
3
+ VERSION = "3.0.3"
4
4
  end
5
5
  end
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.2
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-06-12 00:00:00.000000000 Z
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.3
89
+ rubygems_version: 2.0.7
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: Guard gem for RSpec