dokku-installer-cli 0.0.5 → 0.0.6

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
  SHA1:
3
- metadata.gz: c47223114c4e27d49a5d09f044654629b9b902ab
4
- data.tar.gz: 94d3da617019a9a66c769c1a776d63b999218166
3
+ metadata.gz: 1e680fb8095ae57d0c8283dcfda2bfea0850309d
4
+ data.tar.gz: a40ff8c42b02a94a53d63dd9bf52762d4c20cdc3
5
5
  SHA512:
6
- metadata.gz: 3d14cafedf0e754507539d38cc16ff00c9fec81a2cd937d3e02f4af98299cc957850fe7f597bfd2cf70c4ed49c00df455abd928dfe809bb07ca72a38d530f5a0
7
- data.tar.gz: 6313e6bacae56e61ce9d48e4d8346456083496f958f0b59028a63da22607f10f2942997af45feb9644209134dc8c1692581029dc344e84d8438ce1d3e763c473
6
+ metadata.gz: 19fdd8dcfef693f7f5ec7233aa08fa068179cbc15cbf81c8315eb64acbf4b905db876ae7d7b3e36e967f2b6ffae70e541fa90cb14e5c2ea2ca5ed5b3930c3d57
7
+ data.tar.gz: 62fb6b3b51241d7841d86b7b0a0adbc9211aa7a9b7e94a94129afdde2719a52d2d8846834a9812fec4a5af9607543edc883f6a3788d6ba179f036fe480b379c8
data/bin/dokku CHANGED
@@ -40,12 +40,17 @@ module DokkuInstaller
40
40
  run_command "logs #{app_name} #{args.join(' ')}"
41
41
  end
42
42
 
43
+ desc "open", "Open the application in your default browser"
44
+ def open
45
+ exec("open http://#{app_name}.#{domain}")
46
+ end
47
+
43
48
  desc "restart", "Restart the application"
44
49
  def restart(*args)
45
50
  run_command "restart #{app_name}"
46
51
  end
47
52
 
48
- desc "run <cmd>", "Run a command in the environment of an application"
53
+ desc "run <cmd>", "Run a command in the environment of the application"
49
54
  def walk(*args)
50
55
  run_command "run #{app_name} #{args.join(' ')}"
51
56
  end
@@ -70,7 +75,12 @@ module DokkuInstaller
70
75
  exec(dokku_command)
71
76
  end
72
77
 
73
- desc "version", "Print dokku-installer-cli's version"
78
+ desc "url", "Show the URL for the application"
79
+ def url
80
+ puts "http://#{app_name}.#{domain}"
81
+ end
82
+
83
+ desc "version", "Show dokku-installer-cli's version"
74
84
  def version
75
85
  puts "Dokku Installer CLI #{DokkuInstaller::VERSION}"
76
86
  end
@@ -1,3 +1,3 @@
1
1
  module DokkuInstaller
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dokku-installer-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Pattison
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-19 00:00:00.000000000 Z
11
+ date: 2014-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  version: '0'
62
62
  requirements: []
63
63
  rubyforge_project:
64
- rubygems_version: 2.2.2
64
+ rubygems_version: 2.4.3
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: Command line tool for Dokku Installer