testr 14.0.2 → 14.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,16 @@
1
+ ------------------------------------------------------------------------------
2
+ Version 14.0.3 (2011-10-11)
3
+ ------------------------------------------------------------------------------
4
+
5
+ Bug fixes:
6
+
7
+ * Forgot to migrate the `testr/config/rails` configuration helper to use the
8
+ new TestR configuration parameter names.
9
+
10
+ Housekeeping:
11
+
12
+ * README: add Gemfile howto for guard FS monitoring.
13
+
1
14
  ------------------------------------------------------------------------------
2
15
  Version 14.0.2 (2011-10-11)
3
16
  ------------------------------------------------------------------------------
@@ -64,6 +64,13 @@ As a Ruby gem:
64
64
 
65
65
  gem install testr
66
66
 
67
+ In a Gemfile:
68
+
69
+ gem 'testr', :require => false
70
+ gem 'rb-inotify', :require => false if RUBY_PLATFORM =~ /linux/i
71
+ gem 'rb-fsevent', :require => false if RUBY_PLATFORM =~ /darwin/i
72
+ gem 'rb-fchange', :require => false if RUBY_PLATFORM =~ /mingw/i
73
+
67
74
  As a Git clone:
68
75
 
69
76
  git clone git://github.com/sunaku/testr
data/bin/testr CHANGED
@@ -7,7 +7,7 @@ require 'testr/client'
7
7
  event, *details = JSON.load(line)
8
8
 
9
9
  case event = event.to_sym
10
- when :load then warn 'testr: Overhead absorbed; Ready for testing!'
10
+ when :load then warn 'testr: Overhead absorbed. Ready for testing!'
11
11
  when :over then warn 'testr: Reabsorbing changed overhead files...'
12
12
  else
13
13
  test_file, test_names, *details = details
@@ -1,20 +1,20 @@
1
1
  require 'testr/config'
2
2
  require 'active_support/inflector'
3
3
 
4
- TestR::Config.reabsorb_file_globs.push(
5
- 'config/**/*.{rb,yml}',
6
- 'db/schema.rb',
7
- 'Gemfile.lock'
4
+ TestR::Config.reabsorb_file_greps.push(
5
+ %r<^config/.+\.(rb|yml)$>,
6
+ %r<^db/schema\.rb$>,
7
+ %r<^Gemfile\.lock$>
8
8
  )
9
9
 
10
- TestR::Config.test_file_matchers[%r<^(app|lib|test|spec)/.+\.rb$>] =
10
+ TestR::Config.test_file_globbers[%r<^(app|lib|test|spec)/.+\.rb$>] =
11
11
  lambda do |path|
12
12
  base = File.basename(path, '.rb')
13
13
  poly = ActiveSupport::Inflector.pluralize(base)
14
14
  "{test,spec}/**/{#{base},#{poly}_*}_{test,spec}.rb"
15
15
  end
16
16
 
17
- TestR::Config.test_file_matchers[%r<^(test|spec)/factories/.+_factory\.rb$>] =
17
+ TestR::Config.test_file_globbers[%r<^(test|spec)/factories/.+_factory\.rb$>] =
18
18
  lambda do |path|
19
19
  base = File.basename(path, '_factory.rb')
20
20
  poly = ActiveSupport::Inflector.pluralize(base)
@@ -1,3 +1,3 @@
1
1
  module TestR
2
- VERSION = "14.0.2"
2
+ VERSION = "14.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testr
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.0.2
4
+ version: 14.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,11 +13,11 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2011-10-11 00:00:00.000000000 Z
16
+ date: 2011-10-12 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: json
20
- requirement: &11673440 !ruby/object:Gem::Requirement
20
+ requirement: &15214300 !ruby/object:Gem::Requirement
21
21
  none: false
22
22
  requirements:
23
23
  - - ! '>='
@@ -25,10 +25,10 @@ dependencies:
25
25
  version: 1.6.1
26
26
  type: :runtime
27
27
  prerelease: false
28
- version_requirements: *11673440
28
+ version_requirements: *15214300
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: guard
31
- requirement: &11672900 !ruby/object:Gem::Requirement
31
+ requirement: &15213320 !ruby/object:Gem::Requirement
32
32
  none: false
33
33
  requirements:
34
34
  - - ! '>='
@@ -36,10 +36,10 @@ dependencies:
36
36
  version: 0.8.4
37
37
  type: :runtime
38
38
  prerelease: false
39
- version_requirements: *11672900
39
+ version_requirements: *15213320
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: diff-lcs
42
- requirement: &11670160 !ruby/object:Gem::Requirement
42
+ requirement: &15212380 !ruby/object:Gem::Requirement
43
43
  none: false
44
44
  requirements:
45
45
  - - ! '>='
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: 1.1.2
48
48
  type: :runtime
49
49
  prerelease: false
50
- version_requirements: *11670160
50
+ version_requirements: *15212380
51
51
  description: ''
52
52
  email:
53
53
  - sunaku@gmail.com