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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2fb4a56c4709a4de119ddb40d6c40fe6df5fdc2e
4
- data.tar.gz: e41e04b1615ad1394c9e5a2805c90e5f5d83a4fb
3
+ metadata.gz: cdc58e25f3af7a92451a930fedcbb456b6a8ed7e
4
+ data.tar.gz: 7c7c4362cd86b830593477f16e0038ecfb8b0833
5
5
  SHA512:
6
- metadata.gz: aa9404134bb5b34f63dbe78f761b5c87ed001b85bb94a7305daf68720b63d6557c224573370327469347d3c0b96742bd804dcce577d744fa6ee69c61733dc778
7
- data.tar.gz: 1b93a924ef3f358b748bc4c653af35d08bc06192fe31bb1239d0f2f9bde1b5c773368769a560bc60e5bdb7bf15d8ce36d157d95a159d7775206845ccd4b4583e
6
+ metadata.gz: 85d56dafe136248fd01cec368773604d5535568fc6f28eef20f1949fd7ee2de9405db4cb4511b2e32a752eb8226c292fa013e8b1cecd581e8b588978c931ee44
7
+ data.tar.gz: 2e4905f93f040ae0d3d7784f79bb4a272c24436f0655407e3591d355f42160266fb08c746068c78de5de0d9017d68721a09c7836483210918caa58d3019d8675
@@ -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']
@@ -1,3 +1,3 @@
1
1
  module RubyConcourse
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -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
- spec.add_development_dependency "mechanize", '~> 2.7', '>= 2.7.4'
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.3
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: :development
65
+ type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements: