geordi 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +95 -6
- data/geordi.gemspec +2 -2
- data/lib/geordi/version.rb +3 -0
- metadata +6 -5
data/README.md
CHANGED
@@ -1,10 +1,99 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
Geordi
|
2
|
+
=====
|
3
3
|
|
4
|
-
|
5
|
-
--
|
4
|
+
Geordi is a collection of command line tools we use in our daily work with Ruby, Rails and Linux at [makandra](http://makandra.com/).
|
6
5
|
|
7
|
-
|
6
|
+
Installing the *geordi* gem will link all included tools into your `/usr/bin`:
|
8
7
|
|
9
|
-
|
8
|
+
sudo gem install geordi
|
9
|
+
|
10
|
+
Below you can find a list of all included tools.
|
11
|
+
|
12
|
+
|
13
|
+
apache-site
|
14
|
+
-----------
|
15
|
+
|
16
|
+
Enables the given virtual host in `/etc/apache2/sites-available` and disables all other vhosts:
|
17
|
+
|
18
|
+
site makandra-com
|
19
|
+
|
20
|
+
More information at http://makandra.com/notes/807-shell-script-to-quickly-switch-apache-sites
|
21
|
+
|
22
|
+
|
23
|
+
b
|
24
|
+
-
|
25
|
+
|
26
|
+
Run the given command under `bundle exec` if a `Gemfile` is present in your working directory. If no `Gemfile` is present it just runs the given command:
|
27
|
+
|
28
|
+
b spec spec/models
|
29
|
+
|
30
|
+
More information at http://makandra.com/notes/684-automatically-run-bundle-exec-if-required
|
31
|
+
|
32
|
+
|
33
|
+
dumple
|
34
|
+
------
|
35
|
+
|
36
|
+
Stores a timestamped database dump for the given Rails environment in `~/dumps`:
|
37
|
+
|
38
|
+
dumple development
|
39
|
+
|
40
|
+
More information at http://makandra.com/notes/1008-dump-your-database-with-dumple
|
41
|
+
|
42
|
+
|
43
|
+
install-gems-remotely
|
44
|
+
---------------------
|
45
|
+
|
46
|
+
Installs all gems in your `Gemfile.lock` as well as vendored gems on the given host:
|
47
|
+
|
48
|
+
install-gems-remotely my.server.com
|
49
|
+
|
50
|
+
More information at http://makandra.com/notes/692-install-a-local-gemfile-on-a-remote-server
|
51
|
+
|
52
|
+
|
53
|
+
power-deploy
|
54
|
+
------------
|
55
|
+
|
56
|
+
Calls the Capistrano tasks `deploy`, `deploy:migrate` and `deploy:restart` on the given [Capistrano multistage](https://github.com/capistrano/capistrano/wiki/2.x-Multistage-Extension) deployment target:
|
57
|
+
|
58
|
+
power-deploy staging
|
59
|
+
|
60
|
+
This script is considered legacy and will be removed eventually. You should [fix your deploy scripts](http://makandra.com/notes/1176-which-capistrano-hooks-to-use-for-events-to-happen-on-both-cap-deploy-and-cap-deploy-migrations) and then use [cap deploy:migrations](http://makandra.com/notes/1000-deploy-and-migrate-with-a-single-capistrano-command).
|
61
|
+
|
62
|
+
|
63
|
+
power-rake
|
64
|
+
----------
|
65
|
+
|
66
|
+
Runs the given rake task in each Rails environment in `development`, `test`, `cucumber`, `performance`, if it exists:
|
67
|
+
|
68
|
+
power-rake db:migrate
|
69
|
+
|
70
|
+
More information at http://makandra.com/notes/737-run-a-rake-task-in-all-environments
|
71
|
+
|
72
|
+
|
73
|
+
remotify-local-branch
|
74
|
+
---------------------
|
75
|
+
|
76
|
+
Pushes the given branch to the remote `origin` and tracks it:
|
77
|
+
|
78
|
+
remotify-local-branch redesign
|
79
|
+
|
80
|
+
More information at http://makandra.com/notes/520-create-a-remote-branch-in-git
|
81
|
+
|
82
|
+
|
83
|
+
remove-executable-flags
|
84
|
+
-----------------------
|
85
|
+
|
86
|
+
Recursively removes executable flags from files in the working directory that probably shouldn't have them:
|
87
|
+
|
88
|
+
remove-executable-flags
|
89
|
+
|
90
|
+
|
91
|
+
shell-for
|
92
|
+
---------
|
93
|
+
|
94
|
+
Opens an SSH shell on the given [Capistrano multistage](https://github.com/capistrano/capistrano/wiki/2.x-Multistage-Extension) deployment target:
|
95
|
+
|
96
|
+
shell-for production
|
97
|
+
|
98
|
+
More information at http://makandra.com/notes/1209-script-to-open-an-ssh-shell-to-a-capistrano-deployment-target
|
10
99
|
|
data/geordi.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.authors = ["Henning Koch"]
|
10
10
|
s.email = ["henning.koch@makandra.de"]
|
11
11
|
s.homepage = "http://makandra.com"
|
12
|
-
s.summary = 'Collection of command line tools
|
13
|
-
s.description = 'Collection of command line tools
|
12
|
+
s.summary = 'Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.'
|
13
|
+
s.description = 'Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.'
|
14
14
|
|
15
15
|
s.rubyforge_project = "geordi"
|
16
16
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geordi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Henning Koch
|
@@ -19,7 +19,7 @@ date: 2011-05-26 00:00:00 +02:00
|
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
22
|
-
description: Collection of command line tools
|
22
|
+
description: Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.
|
23
23
|
email:
|
24
24
|
- henning.koch@makandra.de
|
25
25
|
executables:
|
@@ -51,6 +51,7 @@ files:
|
|
51
51
|
- bin/remove-execute-flags
|
52
52
|
- bin/shell-for
|
53
53
|
- geordi.gemspec
|
54
|
+
- lib/geordi/version.rb
|
54
55
|
has_rdoc: true
|
55
56
|
homepage: http://makandra.com
|
56
57
|
licenses: []
|
@@ -84,6 +85,6 @@ rubyforge_project: geordi
|
|
84
85
|
rubygems_version: 1.3.7
|
85
86
|
signing_key:
|
86
87
|
specification_version: 3
|
87
|
-
summary: Collection of command line tools
|
88
|
+
summary: Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.
|
88
89
|
test_files: []
|
89
90
|
|