geordi 1.0.0 → 1.0.1

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzZlZDljN2VhOThlZWI0OGJlNTYxZTE0MzU5MDQ3NmI2OGE0YjQ1ZQ==
4
+ MzQ3MmZmN2YwNTRmNzU4ZjcxODQ0ODA0YjI1MTFhNzhlMmE0NTJmMg==
5
5
  data.tar.gz: !binary |-
6
- NWIwNTMxMjQxOGM2MTVmY2U2YTRjNjE2NGQwOWJlNDI1MDNlMzY1Nw==
6
+ YzUzMjYxYmRiMDgxOGFjNDU4MjBkZDQ2MWNiY2RiNDM3ZjU0N2U2Mg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MWQ4YjRiY2Q5MzY5NDE3NjNhYTA0OGI1YWM4M2I0NDhkZGMyNDI0MjVkZDhk
10
- ZmU4NTRiZjU4NzI1MDA4ZDBiYTgyMmU5ZDZlZDBlY2NlMGE3ZWYyZDE1NTA3
11
- OWRhNGY4ZjFhMjI4NWNlMjAwYWVlZjNmMzIyZDVlZjAyOGY4NmI=
9
+ MWZlOGFhMzgyNzFmYzI3NTBkODFmMmZiOWYzZWE4ODBhZDZkN2UwOGRiNTAx
10
+ YTUxYWFiMjhmODg1NDhmNDk0ZDU3YzJkMjNiNmNlZjBlOTMzMzE2OGZmMmRl
11
+ MmI1Mjg3MGE1OTI0N2ZjOTkwMWJhMmJkMzhjMTA0MzAwNWYwYzY=
12
12
  data.tar.gz: !binary |-
13
- YjI4OTA2YmY4NmM5MDFlZDQ2ZjYwZjIzMDk4ZDY5NzkyZTliYTg5ODliMzNk
14
- YmVhMDc5ODczY2NjZWViNjc2OGZjZTU2NTg4N2ZkYzJlMWZiMDQxMTk1OWFj
15
- M2ViZGZkNWZiZjcwOTA3ZDAxYWRlY2E0YmE1ZjA3ODUyMjJiOTk=
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 all-targets COMMAND
23
+ ### geordi apache-site VIRTUAL_HOST
24
24
 
25
- Run a capistrano command on all deploy targets.
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
- ### geordi apache-site VIRTUAL_HOST
30
+ Run a capistrano command on all deploy targets.
31
31
 
32
- Enable the given virtual host, disabling all others.
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 [step]
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,3 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- exec 'geordi', 'all_targets', *ARGV
3
+ exec 'geordi', 'capistrano', *ARGV
@@ -1,9 +1,9 @@
1
- desc 'all-targets COMMAND', 'Run a capistrano command on all deploy targets'
1
+ desc 'capistrano COMMAND', 'Run a capistrano command on all deploy targets'
2
2
  long_desc <<-LONGDESC
3
- Example: `geordi all-targets deploy`
3
+ Example: `geordi capistrano deploy`
4
4
  LONGDESC
5
5
 
6
- def all_targets(*args)
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:'
@@ -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 [step]', 'Support for performing security updates'
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 'all_targets', 'deploy:migrations'
49
+ invoke_cmd 'capistrano', 'deploy:migrations'
50
50
 
51
51
  success 'Successfully pushed and deployed security update'
52
52
  puts
File without changes
@@ -1,4 +1,4 @@
1
- desc 'with-rake', 'Run tests with `rake`'
1
+ desc 'with-rake', 'Run tests with `rake`', :hide => true
2
2
  def with_rake
3
3
  if file_containing?('Rakefile', /^task.+default.+(spec|test)/)
4
4
  invoke_cmd 'bundle_install'
@@ -1,3 +1,3 @@
1
1
  module Geordi
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
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.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-23 00:00:00.000000000 Z
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/test.rb
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