geordi 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +7 -12
- data/bin/cap-all +1 -1
- data/lib/geordi/commands/{all_targets.rb → capistrano.rb} +3 -3
- data/lib/geordi/commands/rake.rb +1 -1
- data/lib/geordi/commands/security_update.rb +2 -2
- data/lib/geordi/commands/{test.rb → tests.rb} +0 -0
- data/lib/geordi/commands/with_rake.rb +1 -1
- data/lib/geordi/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzQ3MmZmN2YwNTRmNzU4ZjcxODQ0ODA0YjI1MTFhNzhlMmE0NTJmMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YzUzMjYxYmRiMDgxOGFjNDU4MjBkZDQ2MWNiY2RiNDM3ZjU0N2U2Mg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWZlOGFhMzgyNzFmYzI3NTBkODFmMmZiOWYzZWE4ODBhZDZkN2UwOGRiNTAx
|
10
|
+
YTUxYWFiMjhmODg1NDhmNDk0ZDU3YzJkMjNiNmNlZjBlOTMzMzE2OGZmMmRl
|
11
|
+
MmI1Mjg3MGE1OTI0N2ZjOTkwMWJhMmJkMzhjMTA0MzAwNWYwYzY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Y2ZiMDk1ZDZiNmMzNjE3NDE0YTVmYjRjYTUzNjg1YjNmOGY0NDQ0NzU2ZDU4
|
14
|
+
NGVjNzFiN2FjNDgyNGM0ODIzZjc2YzdmOGMyODIzYzVkM2M1MGU2ZGY2YjJl
|
15
|
+
OGZlOGE1MWM5YjhhYzE5ZGZlMjFmODVhZTgyOWY5NGE0YjM0ZTY=
|
data/README.md
CHANGED
@@ -20,16 +20,16 @@ tests afterwards. Underscores and dashes are equivalent.
|
|
20
20
|
|
21
21
|
For details on commands, e.g. supported options, run `geordi help <command>`.
|
22
22
|
|
23
|
-
### geordi
|
23
|
+
### geordi apache-site VIRTUAL_HOST
|
24
24
|
|
25
|
-
|
25
|
+
Enable the given virtual host, disabling all others.
|
26
26
|
|
27
|
-
Example: `geordi all-targets deploy`
|
28
27
|
|
28
|
+
### geordi capistrano COMMAND
|
29
29
|
|
30
|
-
|
30
|
+
Run a capistrano command on all deploy targets.
|
31
31
|
|
32
|
-
|
32
|
+
Example: `geordi capistrano deploy`
|
33
33
|
|
34
34
|
|
35
35
|
### geordi cleanup-directory
|
@@ -138,7 +138,7 @@ Run a rake task in several Rails environments.
|
|
138
138
|
|
139
139
|
Example: `geordi rake db:migrate`
|
140
140
|
|
141
|
-
TASK is run in the following Rails environments (if present):
|
141
|
+
`TASK` is run in the following Rails environments (if present):
|
142
142
|
|
143
143
|
- development
|
144
144
|
- test
|
@@ -160,7 +160,7 @@ Runs RSpec as you want: with RSpec 1/2 detection, `bundle exec`, rspec_spinner
|
|
160
160
|
detection, etc.
|
161
161
|
|
162
162
|
|
163
|
-
### geordi security-update [
|
163
|
+
### geordi security-update [STEP]
|
164
164
|
|
165
165
|
Support for performing security updates.
|
166
166
|
|
@@ -265,11 +265,6 @@ Useful when you need Firefox for Selenium, but can't use the `geordi cucumber`
|
|
265
265
|
command.
|
266
266
|
|
267
267
|
|
268
|
-
### geordi with-rake
|
269
|
-
|
270
|
-
Run tests with `rake`.
|
271
|
-
|
272
|
-
|
273
268
|
b
|
274
269
|
---
|
275
270
|
|
data/bin/cap-all
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
desc '
|
1
|
+
desc 'capistrano COMMAND', 'Run a capistrano command on all deploy targets'
|
2
2
|
long_desc <<-LONGDESC
|
3
|
-
Example: `geordi
|
3
|
+
Example: `geordi capistrano deploy`
|
4
4
|
LONGDESC
|
5
5
|
|
6
|
-
def
|
6
|
+
def capistrano(*args)
|
7
7
|
targets = Dir['config/deploy/*.rb'].map { |file| File.basename(file, '.rb') }.sort
|
8
8
|
|
9
9
|
note 'Found the following deploy targets:'
|
data/lib/geordi/commands/rake.rb
CHANGED
@@ -2,7 +2,7 @@ desc 'rake TASK', 'Run a rake task in several Rails environments'
|
|
2
2
|
long_desc <<-LONGDESC
|
3
3
|
Example: `geordi rake db:migrate`
|
4
4
|
|
5
|
-
TASK is run in the following Rails environments (if present):
|
5
|
+
`TASK` is run in the following Rails environments (if present):
|
6
6
|
|
7
7
|
- development
|
8
8
|
- test
|
@@ -1,4 +1,4 @@
|
|
1
|
-
desc 'security-update [
|
1
|
+
desc 'security-update [STEP]', 'Support for performing security updates'
|
2
2
|
long_desc <<-LONGDESC
|
3
3
|
Preparation for security update: `geordi security-update`
|
4
4
|
|
@@ -46,7 +46,7 @@ def security_update(step='prepare')
|
|
46
46
|
Util.system! 'git merge production', :show_cmd => true
|
47
47
|
Util.system! 'git push', :show_cmd => true
|
48
48
|
|
49
|
-
invoke_cmd '
|
49
|
+
invoke_cmd 'capistrano', 'deploy:migrations'
|
50
50
|
|
51
51
|
success 'Successfully pushed and deployed security update'
|
52
52
|
puts
|
File without changes
|
data/lib/geordi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geordi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henning Koch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Collection of command line tools we use in our daily work with Ruby,
|
14
14
|
Rails and Linux at makandra.
|
@@ -78,9 +78,9 @@ files:
|
|
78
78
|
- lib/geordi/capistrano.rb
|
79
79
|
- lib/geordi/capistrano_config.rb
|
80
80
|
- lib/geordi/cli.rb
|
81
|
-
- lib/geordi/commands/all_targets.rb
|
82
81
|
- lib/geordi/commands/apache_site.rb
|
83
82
|
- lib/geordi/commands/bundle_install.rb
|
83
|
+
- lib/geordi/commands/capistrano.rb
|
84
84
|
- lib/geordi/commands/cleanup_directory.rb
|
85
85
|
- lib/geordi/commands/commit.rb
|
86
86
|
- lib/geordi/commands/console.rb
|
@@ -100,7 +100,7 @@ files:
|
|
100
100
|
- lib/geordi/commands/setup_firefox_for_selenium.rb
|
101
101
|
- lib/geordi/commands/setup_vnc.rb
|
102
102
|
- lib/geordi/commands/shell.rb
|
103
|
-
- lib/geordi/commands/
|
103
|
+
- lib/geordi/commands/tests.rb
|
104
104
|
- lib/geordi/commands/unit.rb
|
105
105
|
- lib/geordi/commands/update.rb
|
106
106
|
- lib/geordi/commands/version.rb
|