idlc-sdk-pfm 1.0.0.rc1 → 1.0.0.rc2

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: 1f1fbee3ed759edf82a775e37cba442570f63f4f
4
- data.tar.gz: 6e991406c8b6f19bb74e8ebf3e8d91df383252d3
3
+ metadata.gz: e5fe7d6a30272984ed0300dec6f8d71a57e15a4a
4
+ data.tar.gz: 84d4dbc6666d8c79a9e3013ae0bb2cc90af24359
5
5
  SHA512:
6
- metadata.gz: 39de7e461e19917d27281f19213949a8cd68d41a5079b268ff70f0527a73616f83a08e2d1211466abcbccbdab4c75fc35b60e180dcb61bdcb5f5edb7448c8222
7
- data.tar.gz: f6e8aa4e4828a6df098460fa854d805f1b21df2cb62746494f066e8ab25aa15319e7ac62596263a23ec595c99f5b331e7f401f4de4435c287a899513edd6d6c0
6
+ metadata.gz: a57a688230655b7abea17faa5292349261ebba033657e0878eabf0a9d32969793db1cd09988ff3f6006b8ffba691bb05922ca10debc2e97c7c4871b692e53ed4
7
+ data.tar.gz: 057ba9da0a7d64c996d459f37f9a360d77e4311e3e0d42a16381548dd04eb4e1ba169fdae59557c03e237561758189ab581d71468daae03113e6ce0fb0dde411
data/.gitignore CHANGED
@@ -9,6 +9,8 @@
9
9
  /tmp/
10
10
  /vendor
11
11
  /.pfm
12
+ /builds
13
+ /inf
12
14
 
13
15
  # rspec failure tracking
14
16
  .rspec_status
data/idlc-sdk-pfm.gemspec CHANGED
@@ -13,13 +13,15 @@ Gem::Specification.new do |spec|
13
13
  spec.description = 'Provides the pfm executable for idlc-sdk. This gem is part of the IDLC SDK'
14
14
  spec.homepage = 'https://github.com/nathantcz/idlc-sdk'
15
15
  spec.license = 'MIT'
16
+ spec.has_rdoc = 'yard'
17
+ spec.executables << 'pfm'
16
18
 
17
19
  spec.metadata = {
18
20
  'source_code_uri' => 'https://github.com/nathantcz/idlc-sdk-deploy'
19
21
  }
20
22
 
21
23
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
22
- f.match(%r{^(test|spec|features)/})
24
+ f.match(%r{^(test|spec|features|bin)/})
23
25
  end
24
26
 
25
27
  spec.require_paths = ['lib']
@@ -34,7 +36,10 @@ Gem::Specification.new do |spec|
34
36
  spec.add_runtime_dependency 'idlc-sdk-core'
35
37
  spec.add_runtime_dependency 'idlc-sdk-build'
36
38
  spec.add_runtime_dependency 'idlc-sdk-deploy'
39
+ spec.add_runtime_dependency 'berkshelf'
37
40
  spec.add_runtime_dependency 'chefspec'
41
+ spec.add_runtime_dependency 'foodcritic-junit'
42
+ spec.add_runtime_dependency 'foodcritic', '10.3.1'
38
43
  spec.add_runtime_dependency 'mixlib-cli'
39
44
  spec.add_runtime_dependency 'mixlib-shellout'
40
45
  spec.add_runtime_dependency 'rubocop-junit-formatter'
@@ -84,7 +84,7 @@ module Pfm
84
84
  @build_config.add_build_var_v2('httpd_port', ENV['HTTPD_PORT'])
85
85
 
86
86
  begin
87
- Packer::Binary.build("#{@build_config.dump_build_vars} #{@config[:build_template]}") || raise
87
+ Packer::Binary.build("#{@build_config.dump_build_vars} #{@config[:build_template]}")
88
88
  Idlc::Build::Httpd.stop(pid)
89
89
  Dir.chdir(build_base_dir)
90
90
  rescue
@@ -1,3 +1,3 @@
1
1
  module Pfm
2
- VERSION = '1.0.0.rc1'.freeze
2
+ VERSION = '1.0.0.rc2'.freeze
3
3
  end
data/lib/idlc-sdk-pfm.rb CHANGED
@@ -3,6 +3,7 @@ require 'mixlib/shellout'
3
3
  require 'packer/binary'
4
4
  require 'terraform/binary'
5
5
 
6
+ require 'idlc-sdk-core'
6
7
  require 'idlc-sdk-build'
7
8
  require 'idlc-sdk-deploy'
8
9
 
@@ -15,3 +16,9 @@ require 'idlc-sdk-pfm/builtin_commands'
15
16
 
16
17
  # Load config file as mapp of strings ex. SETTINGS[ 'AWS_REGION' ] = 'us-east-1'
17
18
  SETTINGS = Pfm::Settings.new(true).settings_strings
19
+
20
+ # Global repository version file
21
+ REPO_VERSION_FILE = 'version'.freeze
22
+
23
+ # Load the current repository version number
24
+ REPO_VERSION = Idlc::Utility.set_global_version(REPO_VERSION_FILE)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idlc-sdk-pfm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc1
4
+ version: 1.0.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Cazell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-10 00:00:00.000000000 Z
11
+ date: 2017-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -136,6 +136,20 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: berkshelf
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: chefspec
141
155
  requirement: !ruby/object:Gem::Requirement
@@ -150,6 +164,34 @@ dependencies:
150
164
  - - ">="
151
165
  - !ruby/object:Gem::Version
152
166
  version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: foodcritic-junit
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: foodcritic
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - '='
186
+ - !ruby/object:Gem::Version
187
+ version: 10.3.1
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - '='
193
+ - !ruby/object:Gem::Version
194
+ version: 10.3.1
153
195
  - !ruby/object:Gem::Dependency
154
196
  name: mixlib-cli
155
197
  requirement: !ruby/object:Gem::Requirement
@@ -210,7 +252,8 @@ description: Provides the pfm executable for idlc-sdk. This gem is part of the I
210
252
  SDK
211
253
  email:
212
254
  - nathan.cazell@imageapi.com
213
- executables: []
255
+ executables:
256
+ - pfm
214
257
  extensions: []
215
258
  extra_rdoc_files: []
216
259
  files:
@@ -222,9 +265,7 @@ files:
222
265
  - LICENSE.txt
223
266
  - README.md
224
267
  - Rakefile
225
- - bin/console
226
268
  - bin/pfm
227
- - bin/setup
228
269
  - docs/GettingStarted.md
229
270
  - idlc-sdk-pfm.gemspec
230
271
  - lib/idlc-sdk-pfm.rb
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "idlc/sdk/pfm"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here