bard 0.38.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bard.rb +1 -1
- data/lib/bard/capistrano.rb +10 -0
- data/lib/bard/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c8c7f720260b040c43c17417dd4439a4b805148
|
4
|
+
data.tar.gz: 631ad4e30441fdd5578590c0870cd74671d521ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81d552f46af00644c343c1d1eeb178cc9f5254b88d91fce078b7ca6184f7dd19154596107ff9eac30747bd1df4936d8379c353390c679fc7320f317ebab5139f
|
7
|
+
data.tar.gz: 82b96deed87a5c1ba783905d8a26b507b5022aba73c137bf102f54e10062dca4d717163e74140c8e48b595af380d6e37a9ad388bbc776ee1eda6a578decf554b
|
data/lib/bard.rb
CHANGED
@@ -138,7 +138,7 @@ class Bard::CLI < Thor
|
|
138
138
|
if to == "gubs"
|
139
139
|
command = "exec $SHELL"
|
140
140
|
command = "cd Sites/#{project_name} && #{command}" unless options["home"]
|
141
|
-
command = %(ssh -t gubito@gubs.pagekite.me 'bash -l -c "
|
141
|
+
command = %(ssh -t gubito@gubs.pagekite.me 'bash -l -c "exec ./vagrant \\"#{command}\\""')
|
142
142
|
exec command
|
143
143
|
else
|
144
144
|
exec "cap _2.5.10_ ssh ROLES=#{to}#{" NOCD=1" if options["home"]}"
|
data/lib/bard/capistrano.rb
CHANGED
@@ -98,6 +98,16 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
+
desc "push master key"
|
102
|
+
task :push_master_key do
|
103
|
+
transfer :up, "config/master.key", "#{application}/config/master.key"
|
104
|
+
end
|
105
|
+
|
106
|
+
desc "pull master key"
|
107
|
+
task :pull_master_key do
|
108
|
+
transfer :down, "#{application}/config/master.key", "config/master.key"
|
109
|
+
end
|
110
|
+
|
101
111
|
desc "log in via ssh"
|
102
112
|
task :ssh do
|
103
113
|
role = ENV['ROLES'].to_sym
|
data/lib/bard/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.39.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micah Geisel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|