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 +4 -4
- data/.gitignore +2 -0
- data/idlc-sdk-pfm.gemspec +6 -1
- data/lib/idlc-sdk-pfm/command/build.rb +1 -1
- data/lib/idlc-sdk-pfm/version.rb +1 -1
- data/lib/idlc-sdk-pfm.rb +7 -0
- metadata +46 -5
- data/bin/console +0 -14
- data/bin/setup +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5fe7d6a30272984ed0300dec6f8d71a57e15a4a
|
4
|
+
data.tar.gz: 84d4dbc6666d8c79a9e3013ae0bb2cc90af24359
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a57a688230655b7abea17faa5292349261ebba033657e0878eabf0a9d32969793db1cd09988ff3f6006b8ffba691bb05922ca10debc2e97c7c4871b692e53ed4
|
7
|
+
data.tar.gz: 057ba9da0a7d64c996d459f37f9a360d77e4311e3e0d42a16381548dd04eb4e1ba169fdae59557c03e237561758189ab581d71468daae03113e6ce0fb0dde411
|
data/.gitignore
CHANGED
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]}")
|
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
|
data/lib/idlc-sdk-pfm/version.rb
CHANGED
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.
|
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-
|
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__)
|