ubuntu_ami 0.4.2 → 0.4.3

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: 3039ba721b7243cce3b8640dd09b159fa5ac8e860c891fb2baca7baa86100c94
4
- data.tar.gz: 64f805d6a62788653a7908503a3006e73f6f8e77d46c47759574c502469b71d0
3
+ metadata.gz: 6ea459dc455e28a1196699035bd176a151786f8f6676b3090251fa9a96e3de3f
4
+ data.tar.gz: f5b91294c206dd5d1fba6089e99c047c45b7a9cb608b6cd405fd2b185cf858b3
5
5
  SHA512:
6
- metadata.gz: 591e7d865f2df1db256f3253242588bc39551c642df87e1010be270b8b6be4273a96574cc051ca604292032a6c51916975d7e640508ad3dbc1a90a4e48dc5665
7
- data.tar.gz: c7606d65627eb7fa7d509d6495a001c609bff771f83ed11e219c1233b027fe414a971ecbbc269ef2d6a0114771631a3448774c7a29e380c2bba87b242c8e0248
6
+ metadata.gz: 59a22938260ec46e3e2862c3e9e0fd90eaf113d4342aca98149a247bb1676e65ca581ebdcab7bc3bc511c126f7b76c274e03d63db8ebdb9692ea80b61040944d
7
+ data.tar.gz: 111894541f28127c505c9a25a85cef92d5f475cba0afdd947d68a320fe0688ad44254c08ca29f021e491f7fff724c10a9ba05d20cb91d453c3bf0aea51eb09db
@@ -67,7 +67,7 @@ class Ubuntu
67
67
  # not found.
68
68
  def content
69
69
  begin
70
- @content ||= open(url).read.split("\n")
70
+ @content ||= ::OpenURI.open_uri(url).read.split("\n")
71
71
  rescue
72
72
  raise "Could not find AMI list for distro release '#{release_name}', did you specify it correctly? (e.g., 'lucid')"
73
73
  end
@@ -17,6 +17,6 @@
17
17
 
18
18
  class Ubuntu
19
19
  class Ami
20
- VERSION = '0.4.2'
20
+ VERSION = '0.4.3'
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ubuntu_ami
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Timberman
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-10 00:00:00.000000000 Z
11
+ date: 2020-08-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Retrieves AMI information from Canonical's Ubuntu release list.Also provides
14
14
  a knife plugin to retrieve the list.
@@ -25,7 +25,7 @@ homepage: https://github.com/jtimberman/ubuntu_ami
25
25
  licenses:
26
26
  - Apache-2.0
27
27
  metadata: {}
28
- post_install_message:
28
+ post_install_message:
29
29
  rdoc_options: []
30
30
  require_paths:
31
31
  - lib
@@ -40,9 +40,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  requirements: []
43
- rubyforge_project:
44
- rubygems_version: 2.7.6
45
- signing_key:
43
+ rubygems_version: 3.1.2
44
+ signing_key:
46
45
  specification_version: 4
47
46
  summary: Retrieves AMI information from Canonical's Ubuntu release list.
48
47
  test_files: []