codepipeline 0.3.2 → 0.3.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 +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +1 -1
- data/lib/codepipe/setting.rb +7 -4
- data/lib/codepipe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aa41c971a7fc9b139cbc7d5e48460b538ef946d81c5ada6321e4231cec21162d
|
|
4
|
+
data.tar.gz: c789d18d33cdb3377a6ac4b105aec330a45de4d8d5cc2f3b3ebf0080e8fc80f8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0fc69be62ac2e5b4768f913a8d43abea3156c18af5d3c6aad1c98cf66d442987a6872b13eba64738a55ab39653f0ff890d4d730965ba7335cd7c4e38559293c
|
|
7
|
+
data.tar.gz: 7228ce11b2b591b5c29b5e1b0aac77392afcac68836dcb7ccc483c72626ae4238d01e59ad85aa74e7a5b1193d80a13fc84c52833456152eabc5cd8250e3472aa
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|

|
|
4
4
|
[](http://badge.fury.io/rb/codepipeline)
|
|
5
5
|
|
|
6
|
-
The codepipeline tool provides a DSL to create a CodePipeline
|
|
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
|
|
data/lib/codepipe/setting.rb
CHANGED
|
@@ -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
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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
|
data/lib/codepipe/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|