closer 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/closer.rb +4 -0
- data/lib/closer/config.rb +7 -0
- data/lib/closer/rails/railtie.rb +1 -1
- data/lib/closer/version.rb +1 -1
- data/lib/tasks/close.rake +7 -4
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6dff4afe01f734e75665276bbb408f992c108a2e
|
4
|
+
data.tar.gz: 9f7f601676d2ff3e6a261db0d4972318fb19773c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 642c8b5dfcf36801dd23a4e68da0488b7229a6ca5aa717a1127e6b7cfa9bb4e569664f1ed38a8c368657b1a58fc9d36a4ad7ca489a8c5a1af12af1380c44e8ce
|
7
|
+
data.tar.gz: 2a5062e867ac2d43cbd28b57d6958c82db7f52fa1be0a4b2e74ed9cbd47c642f9b3104b86619747914dc28260ae2a54b0cb0455f7a9dd429a4665a992929de20
|
data/lib/closer.rb
CHANGED
data/lib/closer/rails/railtie.rb
CHANGED
@@ -4,7 +4,7 @@ if true_values.include?(ENV["COVERAGE"].to_s.downcase) and true_values.include?(
|
|
4
4
|
require 'simplecov-rcov'
|
5
5
|
SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
|
6
6
|
SimpleCov.command_name(ENV['COMMAND_NAME'] || 'Cucumber')
|
7
|
-
SimpleCov.merge_timeout(
|
7
|
+
SimpleCov.merge_timeout(Closer.config.merge_timeout)
|
8
8
|
SimpleCov.start 'rails'
|
9
9
|
end
|
10
10
|
|
data/lib/closer/version.rb
CHANGED
data/lib/tasks/close.rake
CHANGED
@@ -16,12 +16,15 @@ task :close => dependencies do |t, args|
|
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
feature_dir =
|
19
|
+
feature_dir = 'features'
|
20
20
|
if features.first
|
21
|
-
dir =
|
22
|
-
|
21
|
+
dir = features.first
|
22
|
+
while dir != '.'
|
23
|
+
feature_dir = dir
|
24
|
+
dir = File.dirname(dir)
|
25
|
+
end
|
23
26
|
end
|
24
|
-
puts "using features in directory #{feature_dir}"
|
27
|
+
puts "using features in directory #{feature_dir}" unless feature_dir == 'features'
|
25
28
|
|
26
29
|
format = ENV['FORMAT'] || 'Closer::Formatter::Html'
|
27
30
|
unless format.empty?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: closer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ichy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- Rakefile
|
67
67
|
- closer.gemspec
|
68
68
|
- lib/closer.rb
|
69
|
+
- lib/closer/config.rb
|
69
70
|
- lib/closer/formatter/closer.css
|
70
71
|
- lib/closer/formatter/closer.js
|
71
72
|
- lib/closer/formatter/closer_html.rb
|
@@ -98,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
99
|
version: '0'
|
99
100
|
requirements: []
|
100
101
|
rubyforge_project:
|
101
|
-
rubygems_version: 2.4.
|
102
|
+
rubygems_version: 2.4.7
|
102
103
|
signing_key:
|
103
104
|
specification_version: 4
|
104
105
|
summary: Cucumber test execution tool
|