geordi 0.2.5 → 0.2.6

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.
Files changed (4) hide show
  1. data/README.md +17 -7
  2. data/bin/tests +19 -0
  3. data/lib/geordi/version.rb +1 -1
  4. metadata +6 -4
data/README.md CHANGED
@@ -30,6 +30,17 @@ Runs the given command under `bundle exec` if a `Gemfile` is present in your wor
30
30
  More information at http://makandra.com/notes/684-automatically-run-bundle-exec-if-required
31
31
 
32
32
 
33
+ dump-for
34
+ --------
35
+
36
+ Dumps the database on your server for a given [Capistrano multistage](https://github.com/capistrano/capistrano/wiki/2.x-Multistage-Extension) deployment target, then copies the dump to your project root.
37
+
38
+ dump-for production
39
+
40
+ More information at http://makandra.com/notes/1237-script-to-create-and-copy-a-production-dump-to-your-project-root
41
+
42
+
43
+
33
44
  dumple
34
45
  ------
35
46
 
@@ -97,15 +108,14 @@ Opens an SSH shell on the given [Capistrano multistage](https://github.com/capis
97
108
 
98
109
  shell-for production
99
110
 
100
- More information at http://makandra.com/notes/1209-script-to-open-an-ssh-shell-to-a-capistrano-deployment-target
111
+ More information at http://makandra.com/notes/1209-script-to-open-an-ssh-shell-to-a-capistrano-deployment-target
101
112
 
102
113
 
103
- dump-for
104
- --------
105
-
106
- Dumps the database on your server for a given [Capistrano multistage](https://github.com/capistrano/capistrano/wiki/2.x-Multistage-Extension) deployment target, then copies the dump to your project root.
114
+ tests
115
+ -----
107
116
 
108
- dump-for production
117
+ Runs both RSpec and Cucumber. Call from any project directory:
109
118
 
110
- More information at http://makandra.com/notes/1237-script-to-create-and-copy-a-production-dump-to-your-project-root
119
+ tests
111
120
 
121
+ More information at http://makandra.com/notes/1197-bash-script-to-run-specs-and-features
data/bin/tests ADDED
@@ -0,0 +1,19 @@
1
+ #!/bin/bash
2
+ rm -f rerun.txt
3
+
4
+ grep rspec_spinner Gemfile > /dev/null
5
+ if [ "$?" -eq "0" ]; then
6
+ spec="script/spec -r rspec_spinner -f RspecSpinner::Bar -c spec"
7
+ else
8
+ spec="script/spec spec"
9
+ fi
10
+
11
+ grep cucumber_spinner Gemfile > /dev/null
12
+ if [ "$?" -eq "0" ]; then
13
+ cucumber="script/cucumber --format CucumberSpinner::CuriousProgressBarFormatter features"
14
+ else
15
+ cucumber="script/cucumber --format progress features"
16
+ fi
17
+
18
+ bundle exec $spec && bundle exec $cucumber
19
+
@@ -1,3 +1,3 @@
1
1
  module Geordi
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
  end
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: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 5
10
- version: 0.2.5
9
+ - 6
10
+ version: 0.2.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Henning Koch
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-30 00:00:00 +02:00
18
+ date: 2011-06-03 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -34,6 +34,7 @@ executables:
34
34
  - remotify-local-branch
35
35
  - remove-executable-flags
36
36
  - shell-for
37
+ - tests
37
38
  extensions: []
38
39
 
39
40
  extra_rdoc_files: []
@@ -54,6 +55,7 @@ files:
54
55
  - bin/remotify-local-branch
55
56
  - bin/remove-executable-flags
56
57
  - bin/shell-for
58
+ - bin/tests
57
59
  - geordi.gemspec
58
60
  - lib/geordi/version.rb
59
61
  has_rdoc: true