daddy 0.9.10 → 0.9.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/daddy/test_help.rb +1 -2
- data/lib/daddy/version.rb +1 -1
- metadata +3 -4
- data/lib/daddy/coverage/rcov_formatter.rb +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89d4f9ea97e8584e3ba66b7154e16fa2697fcbab4346c42e7610302cf659bcbc
|
4
|
+
data.tar.gz: 4e50e357553fb85a66f1b5efd1c04c2dde45d29a75d619d4ee4eca1652e1ada9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a10f34b3fe6ec8d9441f6d1fc94efe7b4c1e030037015aeb6f25e06b9402f296a1fa22556f82de58dc8f4274c76cbeb49700bb3695cfda1d4bbeb21d01f694fe
|
7
|
+
data.tar.gz: eae37a88e5395fee44a5c0ecd0efa43841362a9f7eb3140f21a2110bd045e14859d09c7a530bd4f4e5f7bb42bd947e42f10947f5102ebb0e352ae0af09200eb8
|
data/lib/daddy/test_help.rb
CHANGED
@@ -6,14 +6,13 @@ if ENV['COVERAGE']
|
|
6
6
|
end
|
7
7
|
begin
|
8
8
|
require 'simplecov-rcov'
|
9
|
-
require 'daddy/coverage/rcov_formatter'
|
10
9
|
rescue LoadError => e
|
11
10
|
raise 'simplecov-rcov not found.'
|
12
11
|
end
|
13
12
|
|
14
13
|
SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new([
|
15
14
|
SimpleCov::Formatter::HTMLFormatter,
|
16
|
-
|
15
|
+
SimpleCov::Formatter::RcovFormatter
|
17
16
|
])
|
18
17
|
|
19
18
|
SimpleCov.start do
|
data/lib/daddy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daddy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ichy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docker-api
|
@@ -353,7 +353,6 @@ files:
|
|
353
353
|
- lib/capistrano/tasks/clear_cache.rake
|
354
354
|
- lib/capistrano/tasks/update_linked_files.rake
|
355
355
|
- lib/daddy.rb
|
356
|
-
- lib/daddy/coverage/rcov_formatter.rb
|
357
356
|
- lib/daddy/cucumber.rb
|
358
357
|
- lib/daddy/cucumber/helpers.rb
|
359
358
|
- lib/daddy/cucumber/helpers/assert.rb
|
@@ -467,7 +466,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
467
466
|
- !ruby/object:Gem::Version
|
468
467
|
version: '0'
|
469
468
|
requirements: []
|
470
|
-
rubygems_version: 3.
|
469
|
+
rubygems_version: 3.3.26
|
471
470
|
signing_key:
|
472
471
|
specification_version: 4
|
473
472
|
summary: My rails dad
|
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'simplecov-rcov'
|
2
|
-
|
3
|
-
module Daddy
|
4
|
-
module Coverage
|
5
|
-
class RcovFormatter < SimpleCov::Formatter::RcovFormatter
|
6
|
-
|
7
|
-
private
|
8
|
-
|
9
|
-
def write_file(template, output_filename, binding)
|
10
|
-
rcov_result = template.result( binding ).force_encoding('UTF-8')
|
11
|
-
|
12
|
-
File.open( output_filename, "w" ) do |file_result|
|
13
|
-
file_result.write rcov_result
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|