prospectus_terraform 0.1.1 → 0.1.2

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: 864fb577c94541a2da670286e7e54c3f6828939168b48f256c7aaccf591ca0c6
4
- data.tar.gz: 7a7ef68ee0e7f91bc40ada5809ccae960aae12dbc254a1e36439440d23f38d2f
3
+ metadata.gz: 145de0b47604cb7fdd78f80c0edb53418a6d68d67e2a64c35102b25c23ae5bdc
4
+ data.tar.gz: 39f3791d6a9e3960f95b753cc1c60bd10e671d47c1794b458c0cafe7a10c188c
5
5
  SHA512:
6
- metadata.gz: 7b0cd4f919ab352bba6d36af5223b3479a427f37a7a0f2b8d13feca0502aee32f9ef74893499af68898619f5ec50174d029fccbbe00e14734ae0add042936efd
7
- data.tar.gz: 96e067acf47046196998acf250d271c84e3d5cdd4bb1b2f1a27a89a3caebf167d4bbf0eeb16e8317dbad5b8779c3c2456b6993283aa53de453b7aa7a7b759095
6
+ metadata.gz: aa7e52606acf369206f435e01cef3f9211fa41e9d83fd0dde9ed209081a991e0cd897d25c4269c0aedbede8da82f45a703521b62b88ec97085f5103fc4803073
7
+ data.tar.gz: 0e90c91dfd2d204b895c8dcdb6547b817130152aaa6bfeb1c0fba746a2db72173aec019876b24ffc1f67500603667d69e12cc56523ff1bd1a24d68374f43a406
@@ -5,10 +5,11 @@ module ProspectusTerraform
5
5
  ##
6
6
  # Module object, for passing state and update info
7
7
  class ModuleData
8
- attr_reader :name, :version
8
+ attr_reader :name, :source, :version
9
9
 
10
10
  def initialize(params)
11
- @name = params['source']
11
+ @name = params['name']
12
+ @source = params['source']
12
13
  @version = params['version']
13
14
  end
14
15
 
@@ -20,7 +21,7 @@ module ProspectusTerraform
20
21
  private
21
22
 
22
23
  def latest_url
23
- @latest_url ||= 'https://registry.terraform.io/v1/modules/' + name
24
+ @latest_url ||= 'https://registry.terraform.io/v1/modules/' + source
24
25
  end
25
26
  end
26
27
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'prospectus_terraform'
3
- s.version = '0.1.1'
3
+ s.version = '0.1.2'
4
4
  s.date = Time.now.strftime('%Y-%m-%d')
5
5
 
6
6
  s.summary = 'Prospectus helpers for Terraform'
@@ -20,5 +20,5 @@ Gem::Specification.new do |s|
20
20
  s.add_development_dependency 'goodcop', '~> 0.7.0'
21
21
  s.add_development_dependency 'rake', '~> 12.3.0'
22
22
  s.add_development_dependency 'rspec', '~> 3.8.0'
23
- s.add_development_dependency 'rubocop', '~> 0.67.2'
23
+ s.add_development_dependency 'rubocop', '~> 0.72.0'
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prospectus_terraform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.67.2
103
+ version: 0.72.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.67.2
110
+ version: 0.72.0
111
111
  description: Prospectus helpers for Terraform
112
112
  email: me@lesaker.org
113
113
  executables: []