kpm 0.0.9 → 0.0.10

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
  SHA1:
3
- metadata.gz: 0217943b6184aee07239fa618195b86a1b48c4b7
4
- data.tar.gz: 00bbb9ccdb2cc60ccd6a7e2a4996b1d2bf756abc
3
+ metadata.gz: db96b11608798cde3ec2a9dfd2efaa308454f4e4
4
+ data.tar.gz: 61338181fe1bdf34b9c1cd94b13bd7b44478034c
5
5
  SHA512:
6
- metadata.gz: 9b3352cda886cf9d8a1344025afa0447ebea58cb816439969250729883429335c72e0015591e5c186ec0f2742430bac3cb9e348738e76a713a11a86e72e51977
7
- data.tar.gz: 488037941b893049c70e6f3d27a28ff638129dcdbed86e17ebe14c57624973caf36d8055417c3acd1dd737c6dca74fbc76e98adb00703ec75643c7462210d236
6
+ metadata.gz: 03cf860cb590f67dbd904e8b26f77f7d479289b7c1a8c62bf623505736925f3e58bd8b5811f8c096103f71d17834d234d379668e891575c57612e4a13258cd42
7
+ data.tar.gz: c1eced6bfdef0b4003a7f0ba6bfc612e5702d10b0fc3fb2e5993e89e3cf39d3d0d6981e0668c79ee084c5a56c6daf9d75282ff207df3f7a5c4bffda80597915b
@@ -1,4 +1,4 @@
1
- require 'net/http'
1
+ require 'open-uri'
2
2
  require 'yaml'
3
3
 
4
4
  module KPM
@@ -6,8 +6,7 @@ module KPM
6
6
  def self.all(latest=false)
7
7
  if latest
8
8
  # Look at GitHub (source of truth)
9
- uri = URI('https://raw.githubusercontent.com/killbill/killbill-cloud/master/kpm/lib/kpm/plugins_directory.yml')
10
- source = Net::HTTP.get(uri)
9
+ source = URI.parse('https://raw.githubusercontent.com/killbill/killbill-cloud/master/kpm/lib/kpm/plugins_directory.yml').read
11
10
  YAML.load(source)
12
11
  else
13
12
  source = File.join(File.expand_path(File.dirname(__FILE__)), 'plugins_directory.yml')
data/lib/kpm/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module KPM
2
- VERSION = '0.0.9'
2
+ VERSION = '0.0.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kill Bill core team