daddy 0.6.3 → 0.6.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 91acf78523a5a99a3564f1732c9c65081f5b9c12
4
- data.tar.gz: 9728c1b6946b7ccd7d46d9b23ce8bb20205b3dd7
2
+ SHA256:
3
+ metadata.gz: 162f62619d5e4c859dfeba7017de9701d22f8120f2ce0f5caffcea2505c455a4
4
+ data.tar.gz: 1f5139d284657fe8accfad6fc19c6439d16f00518fda658d3c653e6158aa98ce
5
5
  SHA512:
6
- metadata.gz: 9891d04ea5b1ebe27df1c243d06e073ccadb2ffab564b7d99256ed58aa550d19aba361165fa52e1890315dc41a897ee6c6bdea5b9a3774b5181eb4e6e0ced2c2
7
- data.tar.gz: 254e75059120c91685d285b96503b12dd516dedfc5ce64bc122e0807adb3c481933410247f8dfb426eda5043af767b55d4ef7395ea7814275d99b9a568bc2c34
6
+ metadata.gz: fbf3ca323fc5ba2218c59a79df8e964ee3a3c582234b32464eaee6d2904527c059ac0816f88188b1ff3750f986f18b930ba22d11d15ef70c001c55c21bd30a4f
7
+ data.tar.gz: 973d8a437a0e29b0559ae7bebeff2f17a6e0d633241c6447230e5be3a813f5a2aee1c6ff3975f680019cd7be2c2d96a30d46bd5deb515a9a1a5a756a167b2da9
@@ -0,0 +1,18 @@
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
@@ -6,11 +6,12 @@ if ENV['COVERAGE']
6
6
  end
7
7
  begin
8
8
  require 'simplecov-rcov'
9
+ require 'daddy/coverage/rcov_formatter'
9
10
  rescue LoadError => e
10
11
  raise 'simplecov-rcov not found.'
11
12
  end
12
13
 
13
- SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
14
+ SimpleCov.formatter = Daddy::Coverage::RcovFormatter
14
15
  SimpleCov.start do
15
16
  add_filter '/features/'
16
17
  add_filter '/test/'
data/lib/daddy/version.rb CHANGED
@@ -2,7 +2,7 @@ module Daddy
2
2
  VERSION = [
3
3
  VERSION_MAJOR = '0',
4
4
  VERSION_MINOR = '6',
5
- VERSION_REVISION = '3'
5
+ VERSION_REVISION = '4'
6
6
  ].join('.')
7
7
 
8
8
  BAZEL_VERSION = [
@@ -30,8 +30,8 @@ module Daddy
30
30
 
31
31
  PASSENGER_VERSION = [
32
32
  PASSENGER_VERSION_MAJOR = '5',
33
- PASSENGER_VERSION_MINOR = '1',
34
- PASSENGER_VERSION_REVISION = '12'
33
+ PASSENGER_VERSION_MINOR = '2',
34
+ PASSENGER_VERSION_REVISION = '0'
35
35
  ].join('.')
36
36
 
37
37
  PYTHON_VERSION = [
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.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ichy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-18 00:00:00.000000000 Z
11
+ date: 2018-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara
@@ -356,6 +356,7 @@ files:
356
356
  - lib/capistrano/tasks/clear_cache.rake
357
357
  - lib/capistrano/tasks/update_linked_files.rake
358
358
  - lib/daddy.rb
359
+ - lib/daddy/coverage/rcov_formatter.rb
359
360
  - lib/daddy/cucumber.rb
360
361
  - lib/daddy/cucumber/helpers.rb
361
362
  - lib/daddy/cucumber/helpers/assert.rb
@@ -478,7 +479,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
478
479
  version: '0'
479
480
  requirements: []
480
481
  rubyforge_project:
481
- rubygems_version: 2.6.13
482
+ rubygems_version: 2.7.6
482
483
  signing_key:
483
484
  specification_version: 4
484
485
  summary: My rails dad