danger-warnings_next_generation 0.0.1 → 0.0.2

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: 7990e6df49d5cb67f84be084b85231c56af1d0d3674b5240c8581108b8a8b4a2
4
- data.tar.gz: 14dbe07a32c8fcd047df790ad1fa57d788e1456433d203c8567f435dea403b42
3
+ metadata.gz: 61e6e3d8631cd2d6f0486218ead208fb1ffc95742c6ab4a7db4e6fca376a0dd3
4
+ data.tar.gz: 3a2549476d33256091ebaf460bdb442821ccfb531dfb2575859c9052bf8dab5a
5
5
  SHA512:
6
- metadata.gz: 3e1408adc3a3e52ee44bf8a3069c170ee45b222ab2dbb93d722fd813102728b261c2eee241a78963885bd1fdc26f01fbaacf58c15af54b251c6a2438f8279b74
7
- data.tar.gz: 53a161e50de41d02d53b01b34108fe9d55c8a8fab8b93d54b9de8ced55cf29fea5172318c1ffee1ef9ec89dcd50652c9d3684d1aedf5e3fc8d0db0a582df15c5
6
+ metadata.gz: a9cbda9537a0408d69ff6de2ce133b44081e254bc414c6fa12a66722e0a2fb85b1a2affd450ece1a89482b80f0721bae0c4cd5d2041bd69eb44dcbf3b301a57b
7
+ data.tar.gz: f85a1ad82731b9863f97b9d703996b22e47527710f9dd0548d5e70d9d19af9dba4a62581326ec9db2063cb39e5751d2787cc0e91531e55bec27f285e1db4c393
data/CHANGELOG.md ADDED
@@ -0,0 +1,16 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [0.0.2] - 2019-5-17
8
+ ### Fixed
9
+ - Fixed OpenUri usage
10
+
11
+ ### Added
12
+ - CHANGELOG.md
13
+
14
+ ## [0.0.1] - 2019-5-17
15
+ ### Added
16
+ - Initial release
data/README.md CHANGED
@@ -13,11 +13,11 @@
13
13
  <div align="center">
14
14
  <!-- Version -->
15
15
  <a href="https://badge.fury.io/rb/danger-warnings_next_generation">
16
- <img src="https://badge.fury.io/rb/danger-warnings.svg" alt="Version" />
16
+ <img src="https://badge.fury.io/rb/danger-warnings_next_generation.svg" alt="Version" />
17
17
  </a>
18
18
  <!-- Downloads -->
19
19
  <a href="https://badge.fury.io/rb/danger-warnings_next_generation">
20
- <img src="https://img.shields.io/gem/dt/danger-warnings.svg" alt="Downloads" />
20
+ <img src="https://img.shields.io/gem/dt/danger-warnings_next_generation.svg" alt="Downloads" />
21
21
  </a>
22
22
  </div>
23
23
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WarningsNextGeneration
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
@@ -197,17 +197,17 @@ module Danger
197
197
  end
198
198
 
199
199
  def details_result(url)
200
- content = OpenURI.open("#{url}/all/api/json").read
200
+ content = OpenURI.open_uri("#{url}/all/api/json").read
201
201
  JSON.parse(content)
202
202
  end
203
203
 
204
204
  def overview_result(url)
205
- content = OpenURI.open("#{url}/api/json").read
205
+ content = OpenURI.open_uri("#{url}/api/json").read
206
206
  JSON.parse(content)
207
207
  end
208
208
 
209
209
  def aggregation_result
210
- content = OpenURI.open("#{ENV['BUILD_URL']}/warnings-ng/api/json").read
210
+ content = OpenURI.open_uri("#{ENV['BUILD_URL']}/warnings-ng/api/json").read
211
211
  JSON.parse(content)
212
212
  end
213
213
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-warnings_next_generation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Schwamberger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-16 00:00:00.000000000 Z
11
+ date: 2019-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger-plugin-api
@@ -160,6 +160,7 @@ files:
160
160
  - ".gitignore"
161
161
  - ".rubocop.yml"
162
162
  - ".travis.yml"
163
+ - CHANGELOG.md
163
164
  - Gemfile
164
165
  - LICENSE.txt
165
166
  - README.md