opzworks 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0227740638ba8cba45e3cf1894d1835aee89a5a6
4
- data.tar.gz: 4f24bcf3cf796509078019a9b93e801a6df2dd2a
3
+ metadata.gz: 13a23231c360f3084886f8aec9634bde9b45a8fe
4
+ data.tar.gz: bd74a23339baa6b30ceb32b156c3fdcf035550f2
5
5
  SHA512:
6
- metadata.gz: 9f5fca32c81ff05746e9f4eb1baaae13ac4ac38822600df5ca1ee48b1904f8f88cdb21dce3b2b044f3ff2a37394823974e828b71894a9c676e3d82ee764f1118
7
- data.tar.gz: 7c0e0b70030c75d66e69a0d8d82b31382ad7752c3e775130570a7552a2e89faea40b7c4249768633c12331264499e1e89d0c84bd4315a0c6daacc270a9eacb44
6
+ metadata.gz: 0eda426fad4c204ef192b495ebe41996da4e7679f03fed51a97918c02dcde80648dbd5a5fb3cf8c46f66833ad175682c6f9804701a964038b66a0f43b82c0af8
7
+ data.tar.gz: 4cb7e6f766c2ad7815569404cb6002a1af358625b72e6c037750cf46fbb7a2ee3ae63137300067bcbede7a62d8919f6cd9a6cc8db142ee4f39a0452ef67d4455
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  changelog
2
2
  =========
3
3
 
4
+ 0.6.3
5
+ -----
6
+ * support for missing Berksfile.lock, such as when starting a new project
7
+
4
8
  0.5.5
5
9
  -----
6
10
  * remove Berksfile.opsworks detection, deprecated
@@ -72,11 +72,22 @@ module OpzWorks
72
72
 
73
73
  # berks
74
74
  #
75
- puts 'Running berks install'.foreground(:blue)
75
+ if !File.exist?("#{@target_path}/Berksfile.lock")
76
+ puts "\nNo Berksfile.lock, running berks install before vendoring".foreground(:blue)
77
+ run_local <<-BASH
78
+ cd #{@target_path}
79
+ berks install
80
+ git add Berksfile.lock
81
+ BASH
82
+ end
83
+
84
+ puts "\nUpdating the berkshelf".foreground(:blue)
76
85
  run_local <<-BASH
77
86
  cd #{@target_path}
78
87
  berks update
79
88
  BASH
89
+
90
+ puts "\nVendoring the berkshelf".foreground(:blue)
80
91
  run_local <<-BASH
81
92
  cd #{@target_path}
82
93
  berks vendor #{install_path}
data/lib/opzworks/meta.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module OpzWorks
3
- VERSION = '0.6.2'.freeze
3
+ VERSION = '0.6.3'.freeze
4
4
  AUTHORS = ['Grant Heffernan', 'Mapzen'].freeze
5
5
  EMAIL = ['grant@mapzen.com'].freeze
6
6
  DESCRIPTION = 'OpzWorks Utilities'.freeze
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opzworks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grant Heffernan
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-22 00:00:00.000000000 Z
12
+ date: 2016-01-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk