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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad6c6dd51289d7cb6595a4fe877d62be3e77060e
4
- data.tar.gz: 210071b747c8402d99ec65645b908662513048ce
3
+ metadata.gz: 9c8c7f720260b040c43c17417dd4439a4b805148
4
+ data.tar.gz: 631ad4e30441fdd5578590c0870cd74671d521ba
5
5
  SHA512:
6
- metadata.gz: 70a0edbbc9d106e9a68ffc7cb219fcda5e5012d35daada8532592767416ce0c77b0ba7c6bca4dae13f05d926f231c2186990a78813eaf310ab3e449e4415a343
7
- data.tar.gz: 661c0fcc2f256135c0b3e43406d79588da0bed14a540ce1763b5ce508a795956dd53afe49ad38290f2ad7ae4b56d878a742bcc996ecba533cf66cd72e10ab0b4
6
+ metadata.gz: 81d552f46af00644c343c1d1eeb178cc9f5254b88d91fce078b7ca6184f7dd19154596107ff9eac30747bd1df4936d8379c353390c679fc7320f317ebab5139f
7
+ data.tar.gz: 82b96deed87a5c1ba783905d8a26b507b5022aba73c137bf102f54e10062dca4d717163e74140c8e48b595af380d6e37a9ad388bbc776ee1eda6a578decf554b
@@ -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 "cd vagrant && exec vagrant ssh -c\\"#{command}\\""')
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"]}"
@@ -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
@@ -1,4 +1,4 @@
1
1
  module Bard
2
- VERSION = "0.38.0"
2
+ VERSION = "0.39.0"
3
3
  end
4
4
 
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.38.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-01 00:00:00.000000000 Z
11
+ date: 2019-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor