dokku-cli 0.3.2 → 0.3.3

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: 07155d395cd58a6d539e395cca7d1c9ee5073e0f
4
- data.tar.gz: ce5969e65a0812916f52092639ad0b40a61b0814
3
+ metadata.gz: 10ee6a06c6e1eb40bb482b7194155e095119e1f6
4
+ data.tar.gz: 7421deb453df8dfcb24861bfbb388eb7dda46063
5
5
  SHA512:
6
- metadata.gz: ac2064cd05cd8a054f65f7b3c7603c6d4ffaf2476f2d7ffa2d74d761b4e0b698488bb84b0c51ab9917e522075abdcddb520bb79e4cf9d3b80fbe405ae2e04c6b
7
- data.tar.gz: 209ba971a42cf2784a70f2dfa9e013e3968aa9a5fb81030c7b1ddae414d43cd2f94f0109866159438abd9d0893fdd1f35981280193e6ae622ac6fbf093393518
6
+ metadata.gz: 1220e0fac5c0df558d03c84fed418642cb6f3dbea0fc9c5a0e5d6803657229501520b7dbd39727c6ee50e40dc67c91d4b813fc66b921f32225e1dde5447b6818
7
+ data.tar.gz: 84e22aee2a785ca436080115c065b59a1e89b10f527a6eaf78034b5495a77ae337b060a4dc77c349a8f42fc0d40a6157338952b83de360e6ba7a2b8abeadd153
data/.gitignore CHANGED
@@ -12,3 +12,5 @@
12
12
  *.o
13
13
  *.a
14
14
  mkmf.log
15
+ *.gem
16
+ .idea
data/README.md CHANGED
@@ -5,8 +5,6 @@
5
5
 
6
6
  Dokku CLI is a zero config command line tool for the official version of [Dokku](https://github.com/progrium/dokku).
7
7
 
8
- The newest version of Dokku CLI is fully compatible with ```Dokku 0.5.x```
9
-
10
8
  ## Installation
11
9
  ```
12
10
  $ gem install dokku-cli
@@ -40,6 +38,7 @@ dokku ps # List processes running in app container(s)
40
38
  dokku ps:rebuild # Rebuild the app
41
39
  dokku ps:restart # Restart the app container
42
40
  dokku ps:start # Start the app container
41
+ dokku ps:stop # Stop the app container
43
42
  ```
44
43
 
45
44
  ## Add SSH key
@@ -3,7 +3,8 @@ module DokkuCli
3
3
 
4
4
  map "ps:rebuild" => "ps_rebuild",
5
5
  "ps:restart" => "ps_restart",
6
- "ps:start" => "ps_start"
6
+ "ps:start" => "ps_start",
7
+ "ps:stop" => "ps_stop"
7
8
 
8
9
  desc "ps", "List processes running in app container(s)"
9
10
  def ps
@@ -24,5 +25,10 @@ module DokkuCli
24
25
  def ps_start
25
26
  run_command "ps:start #{app_name}"
26
27
  end
28
+
29
+ desc "ps:stop", "Stop the app container"
30
+ def ps_stop
31
+ run_command "ps:stop #{app_name}"
32
+ end
27
33
  end
28
34
  end
@@ -1,3 +1,3 @@
1
1
  module DokkuCli
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dokku-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Szturo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-28 00:00:00.000000000 Z
11
+ date: 2017-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor