sauron 0.1.27 → 0.1.29

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.27
1
+ 0.1.29
@@ -5,7 +5,7 @@ when 'testunit'
5
5
  # Unit tests #
6
6
  watch('test/unit/(.*)_test\.rb'){|f| Sauron.run_pattern_tests 'test/unit/', f[1], '_test.rb'}
7
7
  watch('app/models/(.*)\.rb') do |f|
8
- files = Dir.glob("test/unit/*_#{f[1]}_test.rb")
8
+ files = Dir.glob("test/unit/*#{f[1]}_test.rb")
9
9
 
10
10
  if files.size == 1
11
11
  Sauron.run_single_test files.first
@@ -18,7 +18,7 @@ when 'testunit'
18
18
  watch('test/functional/(.*)_controller_test\.rb'){|f| Sauron.run_pattern_tests 'test/functional/', f[1], '_controller_test.rb'}
19
19
 
20
20
  watch('app/controllers/(.*)\.rb') do |f|
21
- files = Dir.glob("test/functional/*_#{f[1]}_test.rb")
21
+ files = Dir.glob("test/functional/*#{f[1]}_test.rb")
22
22
 
23
23
  if files.size == 1
24
24
  Sauron.run_single_test files.first
@@ -45,9 +45,9 @@ class SauronTemplate
45
45
  files = []
46
46
 
47
47
  elements = pattern.split(/_/)
48
- while elements.shift
48
+ begin
49
49
  files << Dir.glob("#{prefix}#{elements.join('_')}#{suffix}") unless elements.empty?
50
- end
50
+ end while elements.shift
51
51
 
52
52
  run_multiple_tests files
53
53
  end
data/sauron.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sauron}
8
- s.version = "0.1.27"
8
+ s.version = "0.1.29"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jaime Bellmyer"]
12
- s.date = %q{2010-08-10}
12
+ s.date = %q{2010-09-01}
13
13
  s.description = %q{Speed up your automated tests with multiple databases and workers.}
14
14
  s.email = %q{jaime@kconrails.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sauron
3
3
  version: !ruby/object:Gem::Version
4
- hash: 45
4
+ hash: 33
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 27
10
- version: 0.1.27
9
+ - 29
10
+ version: 0.1.29
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jaime Bellmyer
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-10 00:00:00 -05:00
18
+ date: 2010-09-01 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency