lbhrr 2.34.3 → 2.34.4

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/lbhrr +6 -3
  3. data/lib/lbhrr/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d030e25acdc9b942d2436836e3959b80ef95d6ac98edebe816d730b39f0983e
4
- data.tar.gz: 9f94bf53d842203d2510ce0d6980bdb88a151c5104d1f49620b983a998ef2297
3
+ metadata.gz: 01e7b563f78733c7e1dbd0b063132ef5b7dbc72906e3f178a1c64b954d1a5bbd
4
+ data.tar.gz: e0ba1846f5ef44ad45d47a07402453f8f4770ab1e5d8293e397df8229f27a78d
5
5
  SHA512:
6
- metadata.gz: a5577076fbb8483730409945a726595a2662be9c24e9bfd5b4bd181580580172b9804a31316effe06b31ba6b3d4ec82a3ea9a930ef3fa97ee411a77892cd54f2
7
- data.tar.gz: a6d45872055f4514ead0b97bb46713905ee3e4220607f7f37fcff7b8802f14f3f47972f8fb487e9ca3a97edb26a49415e66154bb36e774b3c89e24e088641003
6
+ metadata.gz: 2b09358f2732877c2ca3b1b41152448cc3708748e4765b34c4633b0c4489ceac3c9ae09a2a7dd0e1c05d29abb7677770bcfac7fdffb37d22d4031ccb1804fb3a
7
+ data.tar.gz: 49fd10dd7505a59933cc669d10ef8c46ecc45f6923044cc6af85bb843a7278be847d9ac81df069d2e9b7ef57a74f9708fa387adf1309bb9458b1a828512c1a48
data/exe/lbhrr CHANGED
@@ -23,7 +23,10 @@ class LbhrrCLI < Thor
23
23
  [21,34,55][n]
24
24
  end
25
25
 
26
- def ok(url,grace: 0)
26
+ def ok(url,grace: 0,skip: false)
27
+
28
+ yield if block_given? if skip
29
+
27
30
  retries = 2
28
31
  sleep(grace)
29
32
  (0..retries).each do |i|
@@ -397,6 +400,7 @@ class LbhrrCLI < Thor
397
400
 
398
401
  desc "hoist", "Deploy an application using the configuration from config/manifest.yml to next"
399
402
  method_option :current, type: :boolean, aliases: "-c", desc: "curret version"
403
+ method_option :skipok, type: :boolean, aliases: "-so", desc: "curret version"
400
404
  method_option :major, type: :boolean, aliases: "-ma", desc: "Increment major version"
401
405
  method_option :msg, type: :boolean, aliases: "-msg", desc: "set the commit message"
402
406
  method_option :minor, type: :boolean, aliases: "-mi", desc: "Increment minor version"
@@ -436,7 +440,6 @@ class LbhrrCLI < Thor
436
440
 
437
441
  if options[:current]
438
442
  version = config['version']
439
- puts "re hoist #{version}"
440
443
  end
441
444
 
442
445
  modify_manifest do |config|
@@ -462,7 +465,7 @@ class LbhrrCLI < Thor
462
465
  change = "RELEASE #{version}"
463
466
  commit("#{change}\n\n#{msg}\n\n Hoisted #{name} version #{version}")
464
467
 
465
- ok("https://next.#{config['host']}/ok",grace: 25) do
468
+ ok("https://next.#{config['host']}/ok",grace: 25,skip:options[:skipok]) do
466
469
  notify_terminal(" #{name} version #{version} is up on next!", "Lbhhr")
467
470
  end
468
471
  end
data/lib/lbhrr/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lbhrr
4
- VERSION = "2.34.3"
4
+ VERSION = "2.34.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lbhrr
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.34.3
4
+ version: 2.34.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delaney Kuldvee Burke