dokku-cli 0.2.0 → 0.2.1

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: 206038795a0a8a9922b75ab326d425f309d0f46d
4
- data.tar.gz: 58e8ffaf8478808bf7cb5102ad132bdfec7727b6
3
+ metadata.gz: e758ac7c9185a92938989a5138150b492f7a70ca
4
+ data.tar.gz: ea650ff1ab6dfd0bc46973d866079f7c85010409
5
5
  SHA512:
6
- metadata.gz: f621f11719d16baad5f3a9c846ef72965427e73a2b584b8d183e70505cf034a6a458eff1bb41912d313c5c88443a5083563ccff9441d2af4ce988f2e3cafd30c
7
- data.tar.gz: d91eb52374131d80a6205b9998e3fe30a0ffc97a321066ce1b565562cd55c37ee25f5a4c090173e947e8102e54ddf30224006877e644bf4f9e096c9745ea4232
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.3.x```
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}"\]\n\turl \= dokku@(.*):(.*)\n/).to_a
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}..."
@@ -1,3 +1,3 @@
1
1
  module DokkuCli
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
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.2.0
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-04-16 00:00:00.000000000 Z
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.6
82
+ rubygems_version: 2.4.8
83
83
  signing_key:
84
84
  specification_version: 4
85
85
  summary: Command line tool for Dokku.