danger-additional-logging 0.0.29 → 0.0.31

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
2
  SHA256:
3
- metadata.gz: a014162a89db5f32b696c062172546e0b7714e73abdac0b638302d83f344cb9a
4
- data.tar.gz: 2e8c0624ad5ae02c08ddf15cf54050e1489e847585787629d1113f1f2a00428c
3
+ metadata.gz: e506b66ac5c2eb0c2b504ca18d9f985b0e3c19446469d4e932a1c1bac984798b
4
+ data.tar.gz: 6e68868633f52f83c5207fe0bb0e0eb0ec1e903d428e88934606f835a523d336
5
5
  SHA512:
6
- metadata.gz: 3ed524432e93289966c0212505e8a4ac140be82be7600f90c527b5514baa6391bd3f1ab37a4068870f6bb83b942c57f0e495b367bdd0361b3c8fd28f0e08e975
7
- data.tar.gz: f50aab98d18681e43d8b047a86ceb8e1b9bb3d23b7339620448cbc52a970a98b576ee2c1b075088be312353fb37547da837d1b082b5c795c906b80cab2255809
6
+ metadata.gz: 3819e761baa1df8f57c441a9679f7e7a092dd76d76f60c803d57544329c8672be8d54da704eebda922dac3ecad3032a2940c850227df1d30d84cc259046b8d2e
7
+ data.tar.gz: eebfe4d3f8b371566dad8c97688e82b569b52022cda0f8847f691d2940faf1594e60223958d83162123b80f8e57f45b04ee9312f0036b2b3b7f6f70f430f26da
@@ -180,8 +180,10 @@ module Danger
180
180
 
181
181
  # contents ||= File.open(path, "r:utf-8", &:read)
182
182
  File.open(path, "r:utf-8") do |file|
183
- contents = file.each_line.take(54).join
184
- contents += 'warn("this is a sample messageeee")'
183
+ lines = file.each_line.take(54)
184
+ lines << "puts kover_dir"
185
+ lines << 'warn("this is a sample message")'
186
+ contents = lines.join
185
187
  puts "contents:"
186
188
  puts contents
187
189
  end
@@ -207,7 +209,6 @@ module Danger
207
209
  instance_eval do
208
210
  # rubocop:disable Lint/RescueException
209
211
  eval_file(contents, path)
210
- puts kover_dir ###
211
212
  rescue Exception => e
212
213
  message = "Invalid `#{path.basename}` file: #{e.message}"
213
214
  raise DSLError.new(message, path, e.backtrace, contents)
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "0.0.29".freeze
2
+ VERSION = "0.0.31".freeze
3
3
  DESCRIPTION = "Like Unit Tests, but for your Team Culture.".freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-additional-logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.29
4
+ version: 0.0.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orta Therox