dokku-cli 0.2.0 → 0.2.1
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 +4 -4
- data/README.md +1 -3
- data/lib/dokku_cli.rb +2 -1
- data/lib/dokku_cli/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e758ac7c9185a92938989a5138150b492f7a70ca
|
4
|
+
data.tar.gz: ea650ff1ab6dfd0bc46973d866079f7c85010409
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b4ae2e9a87c9a8c116e63860cb834bba124f2e9141232442faa368573996d4d84366eaa42a50a861302d81837e2c1c8bf29f73669a384453d0e8f0848c8b203
|
7
|
+
data.tar.gz: 0496c5e096427843640baf966a226992ff958eb45c9cdbc3a661acae8c6d40f96e1d6f457a71c1bde92cce8042e4589028eafa50335b7787b82e2434f0b8416d
|
data/README.md
CHANGED
@@ -5,9 +5,7 @@
|
|
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.
|
9
|
-
|
10
|
-
This project is a fork of [brianpattison/dokku-installer-cli](https://github.com/brianpattison/dokku-installer-cli).
|
8
|
+
The newest version of Dokku CLI is fully compatible with ```Dokku 0.4.x```
|
11
9
|
|
12
10
|
## Installation
|
13
11
|
```
|
data/lib/dokku_cli.rb
CHANGED
@@ -91,7 +91,7 @@ module DokkuCli
|
|
91
91
|
exit unless File.exist?(git_config)
|
92
92
|
|
93
93
|
git_config = File.read(git_config)
|
94
|
-
match = git_config.match(/\[remote "#{remote}"\]\
|
94
|
+
match = git_config.match(/\[remote "#{remote}"\]\s+url \= dokku@(.*):(.*)$/).to_a
|
95
95
|
exit unless match
|
96
96
|
|
97
97
|
match
|
@@ -99,6 +99,7 @@ module DokkuCli
|
|
99
99
|
end
|
100
100
|
|
101
101
|
def run_command(command)
|
102
|
+
command = command.gsub(/ --remote=[\S]*/, '')
|
102
103
|
dokku_command = "ssh -t dokku@#{domain} #{command}"
|
103
104
|
|
104
105
|
puts "Running #{dokku_command}..."
|
data/lib/dokku_cli/version.rb
CHANGED
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.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Szturo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
version: '0'
|
80
80
|
requirements: []
|
81
81
|
rubyforge_project:
|
82
|
-
rubygems_version: 2.4.
|
82
|
+
rubygems_version: 2.4.8
|
83
83
|
signing_key:
|
84
84
|
specification_version: 4
|
85
85
|
summary: Command line tool for Dokku.
|