ruby_concourse 0.1.3 → 0.1.4
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/lib/ruby_concourse.rb +1 -2
- data/lib/ruby_concourse/version.rb +1 -1
- data/ruby_concourse.gemspec +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cdc58e25f3af7a92451a930fedcbb456b6a8ed7e
|
4
|
+
data.tar.gz: 7c7c4362cd86b830593477f16e0038ecfb8b0833
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85d56dafe136248fd01cec368773604d5535568fc6f28eef20f1949fd7ee2de9405db4cb4511b2e32a752eb8226c292fa013e8b1cecd581e8b588978c931ee44
|
7
|
+
data.tar.gz: 2e4905f93f040ae0d3d7784f79bb4a272c24436f0655407e3591d355f42160266fb08c746068c78de5de0d9017d68721a09c7836483210918caa58d3019d8675
|
data/lib/ruby_concourse.rb
CHANGED
@@ -58,6 +58,7 @@ module RubyConcourse
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def update_pipeline(env, team, pipeline, credentials_file, pipeline_configuration_file)
|
61
|
+
login(env, team)
|
61
62
|
command = `fly -t #{env}-#{team} validate-pipeline --config #{pipeline_configuration_file}`
|
62
63
|
if command == "looks good\n"
|
63
64
|
command = `echo y | fly -t #{env}-#{team} set-pipeline --config #{pipeline_configuration_file} --pipeline #{pipeline} --load-vars-from #{credentials_file}`
|
@@ -72,8 +73,6 @@ module RubyConcourse
|
|
72
73
|
end
|
73
74
|
|
74
75
|
|
75
|
-
private
|
76
|
-
|
77
76
|
def web_login(env, concourse_login_url)
|
78
77
|
var = load_variables(env)
|
79
78
|
username = var['username']
|
data/ruby_concourse.gemspec
CHANGED
@@ -31,5 +31,6 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_development_dependency "bundler", "~> 1.14"
|
32
32
|
spec.add_development_dependency "rake", "~> 10.0"
|
33
33
|
spec.add_development_dependency "rspec", "~> 3.0"
|
34
|
-
|
34
|
+
|
35
|
+
spec.add_dependency "mechanize", '~> 2.7', '>= 2.7.4'
|
35
36
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_concourse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pawel Bardzinski
|
@@ -62,7 +62,7 @@ dependencies:
|
|
62
62
|
- - ">="
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: 2.7.4
|
65
|
-
type: :
|
65
|
+
type: :runtime
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|