codepipeline 0.3.2 → 0.3.3

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: 05f17ca618db165035513693108d3be5f46107656b16998db8c15bfd12a2e2af
4
- data.tar.gz: 30e9a655b994ba3ace0827db6474003e4b38b8bdeec9bcbe1fcbabd4be62ab1d
3
+ metadata.gz: aa41c971a7fc9b139cbc7d5e48460b538ef946d81c5ada6321e4231cec21162d
4
+ data.tar.gz: c789d18d33cdb3377a6ac4b105aec330a45de4d8d5cc2f3b3ebf0080e8fc80f8
5
5
  SHA512:
6
- metadata.gz: fa75143c223738fc56dd534ef50ba662e29839e35963323174fa11898c34bc297d72e1b8b09e0c0cca40ca2263a2f165d3e72d0fd9c98f64e752389374b16378
7
- data.tar.gz: c05c3b8448872ccdcc7961eb8306ac4ec3f4a293ce9e82265d1063e4d9680adb5544e5568b35225870ad04fabfff6515be5f1df72192d775794dd38c3ab3b21f
6
+ metadata.gz: f0fc69be62ac2e5b4768f913a8d43abea3156c18af5d3c6aad1c98cf66d442987a6872b13eba64738a55ab39653f0ff890d4d730965ba7335cd7c4e38559293c
7
+ data.tar.gz: 7228ce11b2b591b5c29b5e1b0aac77392afcac68836dcb7ccc483c72626ae4238d01e59ad85aa74e7a5b1193d80a13fc84c52833456152eabc5cd8250e3472aa
data/CHANGELOG.md CHANGED
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.3.3]
7
+ - allow no settings.yml file
8
+
6
9
  ## [0.3.2]
7
10
  - update vendor/aws_data
8
11
 
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  ![Build Status](https://codebuild.us-west-2.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiM3hGMlViMUtRRS9maitXVnhPNUp2ZFE3eUkzV0doNG5OR0lRRGtNOVBiWDVsb0tjY2dTVnhHamJOSzZRYU5aaW9FOS9peEUwVHBVUzk3cXVjd2FqcHFNPSIsIml2UGFyYW1ldGVyU3BlYyI6InNDdzUzVmRCd0FHSjBrTnQiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=master)
4
4
  [![Gem Version](https://badge.fury.io/rb/codepipeline.png)](http://badge.fury.io/rb/codepipeline)
5
5
 
6
- The codepipeline tool provides a DSL to create a CodePipeline project with some reasonable defaults.
6
+ The codepipeline tool provides a DSL to make it easy create a CodePipeline pipeline.
7
7
 
8
8
  The codebuild tool installs `codepipline` and `pipe` executables. Both of them do the same thing, `pipe` is just shorter to type.
9
9
 
@@ -34,10 +34,13 @@ module Codepipe
34
34
  # When ufo is determined from settings it should not called Codepipe.env since that in turn calls
35
35
  # Settings.new.data which can then cause an infinite loop.
36
36
  def pipe_env
37
- settings = YAML.load_file("#{cb_root}/.codepipeline/settings.yml")
38
- env = settings.find do |_env, section|
39
- section ||= {}
40
- ENV['AWS_PROFILE'] && ENV['AWS_PROFILE'] == section['aws_profile']
37
+ path = "#{cb_root}/.codepipeline/settings.yml"
38
+ if File.exist?(path)
39
+ settings = YAML.load_file(path)
40
+ env = settings.find do |_env, section|
41
+ section ||= {}
42
+ ENV['AWS_PROFILE'] && ENV['AWS_PROFILE'] == section['aws_profile']
43
+ end
41
44
  end
42
45
 
43
46
  pipe_env = env.first if env
@@ -1,3 +1,3 @@
1
1
  module Codepipe
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codepipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-12 00:00:00.000000000 Z
11
+ date: 2019-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport