idlc-sdk-pfm 1.0.0.pre.2 → 1.0.0.rc1

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: e06db05b04105a042039112e0424544589134df5
4
- data.tar.gz: bb28fc80e37768c1e348e0f2344a2d50809f1739
3
+ metadata.gz: 1f1fbee3ed759edf82a775e37cba442570f63f4f
4
+ data.tar.gz: 6e991406c8b6f19bb74e8ebf3e8d91df383252d3
5
5
  SHA512:
6
- metadata.gz: 3028af844527847d29f0790603ee88c1ca1e99a6102ae0d4144a33744c7c63f8a02ab24c0d4840b4ff0c87ded6a76efd5c282d981ba351fd1fee58f4130f3613
7
- data.tar.gz: 8872731f018eb25b4a24061e7df5a00a951f1abf544d2b1552e1363628c5b3b0aa928bfa152666e62266a40e62158874fec4eafdaa4c3480830eec1727f39fb3
6
+ metadata.gz: 39de7e461e19917d27281f19213949a8cd68d41a5079b268ff70f0527a73616f83a08e2d1211466abcbccbdab4c75fc35b60e180dcb61bdcb5f5edb7448c8222
7
+ data.tar.gz: f6e8aa4e4828a6df098460fa854d805f1b21df2cb62746494f066e8ab25aa15319e7ac62596263a23ec595c99f5b331e7f401f4de4435c287a899513edd6d6c0
data/.gitignore CHANGED
@@ -9,8 +9,6 @@
9
9
  /tmp/
10
10
  /vendor
11
11
  /.pfm
12
- /builds
13
- /inf
14
12
 
15
13
  # rspec failure tracking
16
14
  .rspec_status
data/bin/console ADDED
@@ -0,0 +1,14 @@
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 ADDED
@@ -0,0 +1,8 @@
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
data/idlc-sdk-pfm.gemspec CHANGED
@@ -13,15 +13,13 @@ 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'
18
16
 
19
17
  spec.metadata = {
20
18
  'source_code_uri' => 'https://github.com/nathantcz/idlc-sdk-deploy'
21
19
  }
22
20
 
23
21
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
24
- f.match(%r{^(test|spec|features|bin)/})
22
+ f.match(%r{^(test|spec|features)/})
25
23
  end
26
24
 
27
25
  spec.require_paths = ['lib']
@@ -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]}") || raise
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.pre.2'.freeze
2
+ VERSION = '1.0.0.rc1'.freeze
3
3
  end
data/lib/idlc-sdk-pfm.rb CHANGED
@@ -3,7 +3,6 @@ require 'mixlib/shellout'
3
3
  require 'packer/binary'
4
4
  require 'terraform/binary'
5
5
 
6
- require 'idlc-sdk-core'
7
6
  require 'idlc-sdk-build'
8
7
  require 'idlc-sdk-deploy'
9
8
 
@@ -16,9 +15,3 @@ require 'idlc-sdk-pfm/builtin_commands'
16
15
 
17
16
  # Load config file as mapp of strings ex. SETTINGS[ 'AWS_REGION' ] = 'us-east-1'
18
17
  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.pre.2
4
+ version: 1.0.0.rc1
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-13 00:00:00.000000000 Z
11
+ date: 2017-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -210,8 +210,7 @@ description: Provides the pfm executable for idlc-sdk. This gem is part of the I
210
210
  SDK
211
211
  email:
212
212
  - nathan.cazell@imageapi.com
213
- executables:
214
- - pfm
213
+ executables: []
215
214
  extensions: []
216
215
  extra_rdoc_files: []
217
216
  files:
@@ -223,7 +222,9 @@ files:
223
222
  - LICENSE.txt
224
223
  - README.md
225
224
  - Rakefile
225
+ - bin/console
226
226
  - bin/pfm
227
+ - bin/setup
227
228
  - docs/GettingStarted.md
228
229
  - idlc-sdk-pfm.gemspec
229
230
  - lib/idlc-sdk-pfm.rb