bard 0.33.0 → 0.34.0
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/lib/bard/capistrano.rb +2 -2
- data/lib/bard/version.rb +1 -1
- data/lib/bard.rb +6 -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: af89341f13435bad3293c1ea129bd1f37b95ce0b
|
|
4
|
+
data.tar.gz: 4417f0eb7e8e995a3452f725c2e594441d0452e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5fe7f4c6f052d2484062c5e72020c8433c0030360d80974ee9670f4cbb9abb86432844d7b8c0ea5398b49c7f529ead9c6af868f8c57e4c155698fa6a1bfa42fc
|
|
7
|
+
data.tar.gz: fe8edf3865fcf9d295dca9c4a6c4ad3b0e07ecab5b43c4697a018d22843c48ebab1d90af1c0348243238369e7f5d16bff187183d9a9484bea5ec4dae029803d1
|
data/lib/bard/capistrano.rb
CHANGED
|
@@ -78,8 +78,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
78
78
|
|
|
79
79
|
desc "log in via ssh"
|
|
80
80
|
task :ssh do
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
uri = URI.parse("ssh://#{roles[ENV['ROLES'].to_sym].first.to_s}")
|
|
82
|
+
exec "ssh -t #{"-p#{uri.port} " if uri.port}#{uri.user}@#{uri.host} '#{"cd #{application} && " unless ENV['NOCD']}exec $SHELL -l'"
|
|
83
83
|
end
|
|
84
84
|
|
|
85
85
|
desc "download latest test coverage information from CI"
|
data/lib/bard/version.rb
CHANGED
data/lib/bard.rb
CHANGED
|
@@ -124,9 +124,14 @@ class Bard::CLI < Thor
|
|
|
124
124
|
end
|
|
125
125
|
end
|
|
126
126
|
|
|
127
|
+
method_options %w( home ) => :boolean
|
|
127
128
|
desc "ssh [TO=production]", "logs into the specified server via SSH"
|
|
128
129
|
def ssh to="production"
|
|
129
|
-
|
|
130
|
+
if to == "gubs"
|
|
131
|
+
exec %(ssh -t gubito@gubs.pagekite.me 'cd vagrant && exec vagrant ssh -c"#{"cd Sites/#{project_name} && " unless options["home"]}exec $SHELL"')
|
|
132
|
+
else
|
|
133
|
+
exec "cap _2.5.10_ ssh ROLES=#{to}#{" NOCD=1" if options["home"]}"
|
|
134
|
+
end
|
|
130
135
|
end
|
|
131
136
|
|
|
132
137
|
desc "install", "copies bin/setup and bin/ci scripts into current project."
|
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.34.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: 2018-
|
|
11
|
+
date: 2018-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|