dory 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 957594fff3a1fe33b79f720e22ff0877818829ccd515cf3f4f61ef78bab59608
4
- data.tar.gz: 863764ffd64719706b2c30b77e5c153c6acc48dab8dd2086d75e32d22f674612
3
+ metadata.gz: f622e9578519e513704f61e59fb36b161c8d447d1b649021d49bb2f617eda2b4
4
+ data.tar.gz: 8f205377e4a53622060d3cb129b60129acce13926fcd66a9577eb995b70ba233
5
5
  SHA512:
6
- metadata.gz: a397e3fde108c0c04f26832b3eb45152e3d8c627780964c7813bdea3d83b15d8ff7551d2f22c91bed277937db7fca53d070aa76026dc19926bd35485f718a4f7
7
- data.tar.gz: f447712fa5f8e6c1d393917dba12a69af729a3d2b33028c1a58e675c40bfe4ab85f47e9985c2d9f81823b4990f009c77223e62b88958f341785d5f106233724c
6
+ metadata.gz: 228cd654507f88d81532cdbea3022598a9a876dbb539fd9470b062bc3d1b80264d2149745a84e4f976c7631cba4578965a4918be12ad06aae97670ea82969ba3
7
+ data.tar.gz: 1175fefea27fc72e86d564b39c38357fc9168dcd322ae365e62288d1ff978bf62be49d477268b5cbea01e1a4a50bf46540cdc07f869800ee31069366c8a02843
data/bin/dory CHANGED
@@ -60,7 +60,7 @@ class DoryBin < Thor
60
60
 
61
61
  desc 'version', 'Check current installed version of dory'
62
62
  def version
63
- puts "Dory - Version: #{Dory::VERSION}"
63
+ puts "Dory - Version: #{Dory.version}"
64
64
  end
65
65
 
66
66
  desc 'restart', 'Stop and restart all dory services'
@@ -250,7 +250,7 @@ class DoryBin < Thor
250
250
  new_version = Dory::Upgrade.new_version
251
251
  if new_version
252
252
  if Dory::Upgrade.outdated?(new_version)
253
- puts "New version #{new_version} is available. You currently have #{Dory::VERSION}.".yellow
253
+ puts "New version #{new_version} is available. You currently have #{Dory.version}.".yellow
254
254
  print "Would you like to install the update? (Y/N): ".yellow
255
255
  if STDIN.gets.chomp =~ /y/i
256
256
  puts "Upgrading dory...".green
@@ -523,7 +523,7 @@ aliases = {
523
523
  }
524
524
 
525
525
  if !ARGV.empty? && %w[-v --version].include?(ARGV.first)
526
- puts "Dory - Version: #{Dory::VERSION}"
526
+ puts "Dory - Version: #{Dory.version}"
527
527
  else
528
528
  DoryBin.start(ARGV.map { |a| aliases.keys.include?(a) ? aliases[a] : a })
529
529
  end
@@ -8,7 +8,7 @@ module Dory
8
8
  setting = Dory::Config.settings[:dory][:nginx_proxy][:image]
9
9
  return setting if setting
10
10
  certs_dir && !certs_dir.empty? \
11
- ? 'codekitchen/dinghy-http-proxy:2.5.9' \
11
+ ? 'codekitchen/dinghy-http-proxy:2.5.10' \
12
12
  : 'freedomben/dory-http-proxy:2.5.9.1'
13
13
  end
14
14
 
@@ -9,7 +9,7 @@ module Dory
9
9
  end
10
10
 
11
11
  def self.outdated?(new_version = self.new_version)
12
- return Dory::VERSION != new_version
12
+ return Dory.version != new_version
13
13
  end
14
14
 
15
15
  def self.install
@@ -1,4 +1,9 @@
1
1
  module Dory
2
- VERSION = '1.0.2'
3
- DATE = '2018-08-31'
2
+ def self.version
3
+ '1.0.3'
4
+ end
5
+
6
+ def self.date
7
+ '2019-02-18'
8
+ end
4
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dory
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Porter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-31 00:00:00.000000000 Z
11
+ date: 2019-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize