drone-builds 0.2.5 → 0.2.6

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
  SHA1:
3
- metadata.gz: 045e396776e2750eb939928b9a4520ad277de9c8
4
- data.tar.gz: dd9e63a992db0854f1f780cc24aec1770cb9fc9b
3
+ metadata.gz: 1c49675ae2ab6857f9da681a4c5ef366ecd4283e
4
+ data.tar.gz: 941798fab8eaae5f6c9c9add92747f0d9d3b3fdb
5
5
  SHA512:
6
- metadata.gz: 767c906770d1402381a7ca96c417f9886a124a8b3f26541c8e41c46a8bec224aa04c8f68ca44ddca869a2bebd65280b1e4948f4423bff2363e876978ad8ea390
7
- data.tar.gz: c53458c12f1b9ddf0d9a3fb4abdd25b74e97b173908153182e679d7d6e13ede9a922d783cac8dd5dfc7fe2dc6226060124d789ca318091c5e45725dc0d546c9f
6
+ metadata.gz: 13d317f6abe128bc51ba8b17ec85dbb69542b9c2bf82706fb7f9f77f30b3bfff05e45e9bfb1fe6d8d96b83ef5fae7169685d9da4353103ae3f5cf78d16b1d03c
7
+ data.tar.gz: 801d2c9c2ff3025339b084be064f8b3130c3f92282437bc23407eb77d99afb3f1f9c61cd3fdb9085ac72b6195dd0a1b310533546b876b86004598462cff1d67b
@@ -1,5 +1,5 @@
1
1
  module Drone
2
2
  class Builds
3
- VERSION = '0.2.5'.freeze
3
+ VERSION = '0.2.6'.freeze
4
4
  end
5
5
  end
data/lib/drone/builds.rb CHANGED
@@ -74,10 +74,10 @@ module Drone
74
74
  def text_api(url)
75
75
  open(full_url(url)).read
76
76
  end
77
- end
78
77
 
79
- def clean_stream_data(data)
80
- lines = data.lines.grep(/^data:/).map { |l| l.gsub(/^data:/, '') }
81
- lines.map(&:strip).compact.join("\n")
78
+ def clean_stream_data(data)
79
+ lines = data.lines.grep(/^data:/).map { |l| l.gsub(/^data:/, '') }
80
+ lines.map(&:strip).compact.join("\n")
81
+ end
82
82
  end
83
83
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drone-builds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dorian Marié
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-14 00:00:00.000000000 Z
11
+ date: 2017-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize