konacha 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # master
2
2
 
3
+ # 1.3.1
4
+
5
+ * Specs in subdirectories no longer run twice
6
+
3
7
  # 1.3.0
4
8
 
5
9
  * `rake konacha:run` exits with exit code 1 when spec suite fails
@@ -17,7 +17,7 @@ the asset pipeline and engines.}
17
17
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
18
  gem.name = "konacha"
19
19
  gem.require_paths = ["lib"]
20
- gem.version = "1.3.0"
20
+ gem.version = "1.3.1"
21
21
 
22
22
  gem.add_dependency "railties", "~> 3.1"
23
23
  gem.add_dependency "actionpack", "~> 3.1"
@@ -33,7 +33,7 @@ module Konacha
33
33
  end
34
34
 
35
35
  def spec_paths
36
- Dir[File.join(spec_root, "**{,/*/**}/*{_spec,_test}.*")].map do |path|
36
+ Dir[File.join(spec_root, "**{,/*/**}/*{_spec,_test}.*")].uniq.map do |path|
37
37
  path.gsub(File.join(spec_root, ''), '')
38
38
  end
39
39
  end
@@ -23,6 +23,10 @@ describe Konacha do
23
23
  subject.should include("subdirectory/subdirectory_spec.js")
24
24
  end
25
25
 
26
+ it "doesn't dup paths" do
27
+ subject.should == subject.uniq
28
+ end
29
+
26
30
  it "traverses symlinked directories" do
27
31
  begin
28
32
  # Create a directory with specs outside of 'spec/javascripts'.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: konacha
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.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-07-01 00:00:00.000000000 Z
12
+ date: 2012-07-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -275,7 +275,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
275
275
  version: '0'
276
276
  segments:
277
277
  - 0
278
- hash: -2121560053131982073
278
+ hash: 1466616259803470458
279
279
  required_rubygems_version: !ruby/object:Gem::Requirement
280
280
  none: false
281
281
  requirements:
@@ -284,7 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
284
  version: '0'
285
285
  segments:
286
286
  - 0
287
- hash: -2121560053131982073
287
+ hash: 1466616259803470458
288
288
  requirements: []
289
289
  rubyforge_project:
290
290
  rubygems_version: 1.8.24