geordi 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +11 -1
- data/bin/migrate-all +15 -0
- data/lib/geordi/setup_firefox_for_selenium.rb +1 -0
- data/lib/geordi/version.rb +1 -1
- metadata +7 -5
data/README.md
CHANGED
@@ -44,7 +44,7 @@ More information at http://makandra.com/notes/1338-console-for-opens-a-rails-con
|
|
44
44
|
cuc
|
45
45
|
-----
|
46
46
|
|
47
|
-
Runs Cucumber with the arguments you want: bundle exec, cucumber_spinner detection, etc.:
|
47
|
+
Runs Cucumber with the arguments you want: bundle exec, cucumber_spinner detection, separate Firefox for Selenium, etc.:
|
48
48
|
|
49
49
|
cuc features/users.feature
|
50
50
|
|
@@ -143,6 +143,16 @@ Runs RSpec with the arguments you want: RSpec 1/2 detection, bundle exec, rspec_
|
|
143
143
|
More information at http://makandra.com/notes/1277-a-nicer-way-to-run-rspec-and-or-cucumber
|
144
144
|
|
145
145
|
|
146
|
+
setup-firefox-for-selenium
|
147
|
+
--------------------------
|
148
|
+
|
149
|
+
Helps you create an frozen version of Firefox, so your Selenium tests will no longer break whenever Firefox updates:
|
150
|
+
|
151
|
+
setup-firefox-for-selenium
|
152
|
+
|
153
|
+
More information at http://makandra.com/notes/1575-how-to-install-an-frozen-version-of-firefox-for-your-selenium-tests
|
154
|
+
|
155
|
+
|
146
156
|
shell-for
|
147
157
|
---------
|
148
158
|
|
data/bin/migrate-all
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# Check if parallel_tests is available
|
4
|
+
parallel_tests_available = ['rake', 'parallel:spec'] if File.exists?('Gemfile') && File.open('Gemfile').read.scan(/parallel_tests/).any?
|
5
|
+
|
6
|
+
command = if parallel_tests_available
|
7
|
+
'b rake db:migrate && b rake parallel:prepare'
|
8
|
+
else
|
9
|
+
'power-rake db:migrate'
|
10
|
+
end
|
11
|
+
|
12
|
+
4.times { puts }
|
13
|
+
puts "Running command:\n#{command}"
|
14
|
+
puts "============================================"
|
15
|
+
exec command
|
@@ -39,6 +39,7 @@ module Geordi
|
|
39
39
|
def check_if_run_before
|
40
40
|
if File.exists?(ORIGINAL_FIREFOX_BINARY)
|
41
41
|
puts "It looks like you have run this script before. No good can come from running this script a second time on the same copy of Firefox."
|
42
|
+
puts
|
42
43
|
puts "Press ENTER to continue anyway or press CTRL+C to abort."
|
43
44
|
gets
|
44
45
|
end
|
data/lib/geordi/version.rb
CHANGED
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: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 6
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.6.0
|
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-
|
18
|
+
date: 2011-10-18 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -32,6 +32,7 @@ executables:
|
|
32
32
|
- dumple
|
33
33
|
- install-gems-remotely
|
34
34
|
- install-gems-remotely.sh
|
35
|
+
- migrate-all
|
35
36
|
- power-deploy
|
36
37
|
- power-rake
|
37
38
|
- remotify-local-branch
|
@@ -58,6 +59,7 @@ files:
|
|
58
59
|
- bin/dumple
|
59
60
|
- bin/install-gems-remotely
|
60
61
|
- bin/install-gems-remotely.sh
|
62
|
+
- bin/migrate-all
|
61
63
|
- bin/power-deploy
|
62
64
|
- bin/power-rake
|
63
65
|
- bin/remotify-local-branch
|
@@ -100,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
102
|
requirements: []
|
101
103
|
|
102
104
|
rubyforge_project: geordi
|
103
|
-
rubygems_version: 1.3.9.
|
105
|
+
rubygems_version: 1.3.9.3
|
104
106
|
signing_key:
|
105
107
|
specification_version: 3
|
106
108
|
summary: Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.
|