danger-additional-logging 0.0.34 → 0.0.35

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b98a01945f753254fc90055f1bf1f7951d2f09961f70c9d7e9b0f1f2af5c7243
4
- data.tar.gz: af2a66a8f5a95b971ea888153eca5498c47e223ba4877eb5b0a0dccadf6f362b
3
+ metadata.gz: 41bae5740f54f09732c3c80bc743e90f02928aab1eb697fc7d3d7ba6b7610089
4
+ data.tar.gz: 07741d4197dfaac1b35b82f0de7c5bd2420db16ec070e28fb57a054ada3a1f19
5
5
  SHA512:
6
- metadata.gz: a0dfe8aec47b2451728302dc83cf578936af2191f2e6ae4c421b9aae3c2d81ee65dc706f7eabf50ad0ae1a3875ee0498ecb011fa0ed457076a18863200ed67f1
7
- data.tar.gz: 263544a6dfa8fb8406e99508db0ab12f03a079bf214ddfb6bb27b34919e44aeff743828bb1c447b0f2a0dbc0aabf872af4ab0c0fc220596566c382f9560a2fd9
6
+ metadata.gz: c2682948d8b8d334a3ff07aa772abb5f7f21ae6187d88a675f92793024090493e05ce932e67cfc861e3360820edcb06e8b00a52eb35e5ec93235c3d56acbecdb
7
+ data.tar.gz: df44298d3bb37da2efb2c7dc1eba9d7287c7a6ed3ec705768cd705e18bc4fd7008b54778a0490c63139c3a668c164cfccc0f2ed616f4079130162fc862bdb0b0
@@ -178,16 +178,12 @@ module Danger
178
178
  def parse(path, contents = nil)
179
179
  print_known_info if verbose
180
180
 
181
- # contents ||= File.open(path, "r:utf-8", &:read)
182
- File.open(path, "r:utf-8") do |file|
183
- lines = file.each_line.take(54)
184
- lines << "Dir[kover_dir].each { |file_name| message(file_name) }\n"
185
- lines << "message(\"this is a sample message :)\")\n"
186
- contents = lines.join
187
- puts "contents:"
188
- puts contents
189
- end
181
+ contents ||= File.open(path, "r:utf-8", &:read)
182
+
183
+ puts contents
190
184
 
185
+ message("this is a sample message :)")
186
+
191
187
  # Work around for Rubinius incomplete encoding in 1.9 mode
192
188
  if contents.respond_to?(:encoding) && contents.encoding.name != "UTF-8"
193
189
  contents.encode!("UTF-8")
@@ -18,8 +18,6 @@ module Danger
18
18
  merge_base = find_merge_base(repo, from, to)
19
19
  commits_in_branch_count = commits_in_branch_count(from, to)
20
20
 
21
- puts "commits_in_branch_count #{commits_in_branch_count}"
22
-
23
21
  self.diff = repo.diff(merge_base, to)
24
22
  self.log = repo.log(commits_in_branch_count).between(from, to)
25
23
  end
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "0.0.34".freeze
2
+ VERSION = "0.0.35".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.34
4
+ version: 0.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orta Therox