respec 0.1.0 → 0.1.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/CHANGELOG +4 -0
- data/lib/respec/app.rb +1 -1
- data/lib/respec/version.rb +1 -1
- data/spec/respec/app_spec.rb +6 -0
- metadata +4 -4
data/CHANGELOG
CHANGED
data/lib/respec/app.rb
CHANGED
data/lib/respec/version.rb
CHANGED
data/spec/respec/app_spec.rb
CHANGED
@@ -99,6 +99,12 @@ describe Respec::App do
|
|
99
99
|
app.generated_args.should == ["#{tmp}/existing.rb"]
|
100
100
|
end
|
101
101
|
|
102
|
+
it "should pass existing file names with line numbers directly to rspec" do
|
103
|
+
FileUtils.touch "#{tmp}/existing.rb"
|
104
|
+
app = Respec::App.new("#{tmp}/existing.rb:123")
|
105
|
+
app.generated_args.should == ["#{tmp}/existing.rb:123"]
|
106
|
+
end
|
107
|
+
|
102
108
|
it "should treat other arguments as example names" do
|
103
109
|
FileUtils.touch "#{tmp}/FILE"
|
104
110
|
app = Respec::App.new("#{tmp}/FILE")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: respec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -98,7 +98,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
segments:
|
100
100
|
- 0
|
101
|
-
hash:
|
101
|
+
hash: 1462009004299331695
|
102
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
103
|
none: false
|
104
104
|
requirements:
|
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
107
|
version: '0'
|
108
108
|
segments:
|
109
109
|
- 0
|
110
|
-
hash:
|
110
|
+
hash: 1462009004299331695
|
111
111
|
requirements: []
|
112
112
|
rubyforge_project:
|
113
113
|
rubygems_version: 1.8.24
|