danger-additional-logging 0.0.34 → 0.0.36

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: cdb58fad8c6771e8040330d097bf22746bfe43be8f5a41281edd982697d35f30
4
+ data.tar.gz: 114662a7a7292514abbed13e9ce640bdc527306707b53ae81e9203885c12f067
5
5
  SHA512:
6
- metadata.gz: a0dfe8aec47b2451728302dc83cf578936af2191f2e6ae4c421b9aae3c2d81ee65dc706f7eabf50ad0ae1a3875ee0498ecb011fa0ed457076a18863200ed67f1
7
- data.tar.gz: 263544a6dfa8fb8406e99508db0ab12f03a079bf214ddfb6bb27b34919e44aeff743828bb1c447b0f2a0dbc0aabf872af4ab0c0fc220596566c382f9560a2fd9
6
+ metadata.gz: b30bbd7d1fc1e0bde7f24a5b529aba820075c9cdff97126fd54f28a30a92c5948dd0dcd98784db05c2d3ec8487cea96ff15e5ecdc0c82e93192156ecd937ee01
7
+ data.tar.gz: 0a8f8acde02488115fd02cc4f0da5676860d456e170e102d6c249c0f7512f578f6d8b83455d92d7c750d21c5f12b61e12d5d2f847f5ef728db9bf58e5661d33e
@@ -178,16 +178,9 @@ 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
190
-
181
+ contents ||= File.open(path, "r:utf-8", &:read)
182
+ # puts contents
183
+
191
184
  # Work around for Rubinius incomplete encoding in 1.9 mode
192
185
  if contents.respond_to?(:encoding) && contents.encoding.name != "UTF-8"
193
186
  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.36".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.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orta Therox