single_test 0.4.0 → 0.4.1

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.
data/Readme.md CHANGED
@@ -45,8 +45,12 @@ TODO
45
45
  ====
46
46
  - make test:last more clever e.g. lib -> try spec + spec/lib
47
47
 
48
- AUTHOR
49
- ======
50
- [Michael Grosser](http://pragmatig.wordpress.com)
51
- grosser.michael@gmail.com
48
+ Authors
49
+ =======
50
+
51
+ ### [Contributors](http://github.com/grosser/single_test/contributors)
52
+ - [Ian Young](https://github.com/iangreenleaf)
53
+
54
+ [Michael Grosser](http://grosser.it)<br/>
55
+ michael@grosser.it<br/>
52
56
  Hereby placed under public domain, do what you want, just do not hold me accountable...
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
data/lib/single_test.rb CHANGED
@@ -2,6 +2,8 @@ require 'rake'
2
2
 
3
3
  module SingleTest
4
4
  extend self
5
+
6
+ include Rake::DSL if defined? Rake::DSL # 0.8.7 does not have it
5
7
  CMD_LINE_MATCHER = /^(spec|test)\:.*(\:.*)?$/
6
8
 
7
9
  def load_tasks
data/single_test.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{single_test}
8
- s.version = "0.4.0"
8
+ s.version = "0.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
12
- s.date = %q{2011-04-16}
12
+ s.date = %q{2011-07-01}
13
13
  s.email = %q{grosser.michael@gmail.com}
14
14
  s.files = [
15
15
  "Gemfile",
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
26
26
  ]
27
27
  s.homepage = %q{http://github.com/grosser/single_test}
28
28
  s.require_paths = ["lib"]
29
- s.rubygems_version = %q{1.4.2}
29
+ s.rubygems_version = %q{1.6.2}
30
30
  s.summary = %q{Rake tasks to invoke single tests/specs with rakish syntax}
31
31
  s.test_files = [
32
32
  "spec/single_test_spec.rb",
@@ -95,11 +95,11 @@ describe SingleTest do
95
95
  describe :run_last do
96
96
  before do
97
97
  `mkdir app` unless File.exist?('app')
98
- `touch app/yyy.rb`
99
- `touch app/xxx.rb`
98
+ `touch -t 01010000 app/yyy.rb`
99
+ `touch -t 01020000 app/xxx.rb`
100
100
  `mkdir spec` unless File.exist?('spec')
101
- `touch spec/xxx_spec.rb`
102
- `touch spec/yyy_spec.rb`
101
+ `touch -t 01030000 spec/yyy_spec.rb`
102
+ `touch -t 01040000 spec/xxx_spec.rb`
103
103
  end
104
104
 
105
105
  it "runs the last test" do
@@ -118,7 +118,7 @@ describe SingleTest do
118
118
  before do
119
119
  ENV['X']=nil
120
120
  end
121
-
121
+
122
122
  after do
123
123
  ENV['X']=nil
124
124
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: single_test
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 0
10
- version: 0.4.0
9
+ - 1
10
+ version: 0.4.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Grosser
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-16 00:00:00 +02:00
18
+ date: 2011-07-01 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  requirements: []
70
70
 
71
71
  rubyforge_project:
72
- rubygems_version: 1.4.2
72
+ rubygems_version: 1.6.2
73
73
  signing_key:
74
74
  specification_version: 3
75
75
  summary: Rake tasks to invoke single tests/specs with rakish syntax