harbr 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/harbr +2 -2
  3. data/lib/harbr/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95457aeca936ec9daa962ff3276511ca1e1ae0b6c0f7d722c5984ca4d2ac77f4
4
- data.tar.gz: d7359dfc24a76b6ebdea7c717327647cf36bd89f400ee4182791ca1cf131a5da
3
+ metadata.gz: aec15b9d17e7347298fec36cb3dbb0cd8274739f779abf68f1bc8fdb183e561f
4
+ data.tar.gz: f13a3cbdc0d225bb3f29a832655a37f338d706ea29dfaa49c6767d06e152c2d0
5
5
  SHA512:
6
- metadata.gz: f41b623c415565e1cdd75c7d7d192b8b9242d474daf0e375ac5cf35d463e84dec40e6326a024d10a021d04263f6281e823dac5b1b3bd28b9619999a28f5fd0f0
7
- data.tar.gz: 3dd11a0490395d4a5bbb4a1c9f5f01daf6a75bbe7677bcf3a46244ab7f7d63fab0a3c2de701be6ade7d54937eaac6bcf9380c6473e04e507e49aa57396be7ba1
6
+ metadata.gz: b7e4109fb578cf793e0b2091eeafb23dd07740a8f2a1e4e5521f5de44a876d291b5bb1db02f5b34af91b7f682a570ea7bf46693111a3a3e6314d92fd45633c79
7
+ data.tar.gz: 2be9d2761e3673893195a505f08e90bb8990a24d5254506cfd6d886ffec90634c0c9e071bdf695aced05e959a5aa00b2e897c0711f6ea311990be25cbcfb5a7d
data/exe/harbr CHANGED
@@ -177,7 +177,7 @@ class HarbrCLI < Thor
177
177
  version = $1
178
178
  raise "Ooops! next version not found!" if version.nil?
179
179
 
180
- Harbr::Lxd::Job.perform_async(name, 9292, "live")
180
+ Harbr::Lxd::Job.perform_async(name,version, "live",9292)
181
181
 
182
182
  /versions\/(?<version>\d*)/ =~ `ls -l /var/harbr/containers/#{name}/live`
183
183
  `ln -sf /var/harbr/containers/#{name}/version/#{$1} /var/harbr/containers/#{name}/rollback`
@@ -187,7 +187,7 @@ class HarbrCLI < Thor
187
187
 
188
188
  if options[:next]
189
189
  `ln -sf /var/harbr/containers/#{name}/version/#{version} /var/harbr/containers/#{name}/next`
190
- Harbr::Lxd::Job.perform_async(name, 9292, "next")
190
+ Harbr::Lxd::Job.perform_async(name,version,"next",9292)
191
191
  puts "deploy version #{version} of #{name} to next environment"
192
192
  end
193
193
  end
data/lib/harbr/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Harbr
4
- VERSION = "0.2.5"
4
+ VERSION = "0.2.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harbr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delaney Kuldvee Burke