bard 0.32.0 → 0.33.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/README.rdoc +1 -2
- data/lib/bard.rb +0 -9
- data/lib/bard/capistrano.rb +1 -1
- 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: b1df41454cd4b61d8d45dc761755b8d58dcdae5c
|
|
4
|
+
data.tar.gz: 9d0257fa9d586fdc9ae378c884e8e40aec470ef7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d062e0d8c1d5581422cc54a8a46d9feec856ecd34b5d36c7a505d9d31654550bf204a62f182270b7d1271c7011fea956a768fcab7ca36d19d0affa1b9b36ca32
|
|
7
|
+
data.tar.gz: c19d74c8754c4dddee1deaf1027f4ccc49727b49b9a0e9ede63c1565f97a094a176836ddadae3b72faa7b1ec08469f0d6f4bfd28b53cd8a24b79e85f1da66d22
|
data/README.rdoc
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
This is a collection of tools designed to ease collaboration within Bot and Rose Design.
|
|
4
4
|
It wraps git, capistrano, and rake to make things as simple as:
|
|
5
5
|
|
|
6
|
-
bard pull
|
|
7
6
|
bard stage
|
|
8
7
|
bard deploy
|
|
9
8
|
|
|
@@ -12,5 +11,5 @@ Seed database from staging or production:
|
|
|
12
11
|
|
|
13
12
|
== Copyright
|
|
14
13
|
|
|
15
|
-
Copyright (c)
|
|
14
|
+
Copyright (c) 2018 Micah Geisel. See LICENSE for details.
|
|
16
15
|
|
data/lib/bard.rb
CHANGED
|
@@ -13,15 +13,6 @@ class Bard::CLI < Thor
|
|
|
13
13
|
exec "cap _2.5.10_ data:push ROLES=#{to}" if from == "local"
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
method_options %w( verbose -v ) => :boolean
|
|
17
|
-
desc "pull", "pull changes to your local machine"
|
|
18
|
-
def pull
|
|
19
|
-
branch = Git.current_branch
|
|
20
|
-
|
|
21
|
-
run_crucial "git pull --rebase origin #{branch}", options.verbose?
|
|
22
|
-
run_crucial "bin/setup", options.verbose?
|
|
23
|
-
end
|
|
24
|
-
|
|
25
16
|
method_options %w( verbose -v ) => :boolean
|
|
26
17
|
desc "stage", "pushes current branch, and stages it"
|
|
27
18
|
def stage
|
data/lib/bard/capistrano.rb
CHANGED
|
@@ -79,7 +79,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
79
79
|
desc "log in via ssh"
|
|
80
80
|
task :ssh do
|
|
81
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} && exec $SHELL'"
|
|
82
|
+
exec "ssh -t #{"-p#{uri.port} " if uri.port}#{uri.user}@#{uri.host} 'cd #{application} && exec $SHELL -l'"
|
|
83
83
|
end
|
|
84
84
|
|
|
85
85
|
desc "download latest test coverage information from CI"
|
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.33.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-04-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|