fast_rake 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fast_rake/fast_runner.rb +0 -15
- data/lib/fast_rake/version.rb +1 -1
- metadata +5 -5
@@ -20,7 +20,6 @@ class FastRake::FastRunner
|
|
20
20
|
|
21
21
|
def run
|
22
22
|
clean_previous_results
|
23
|
-
check_if_previous_processes_really_finished
|
24
23
|
@start = Time.now
|
25
24
|
|
26
25
|
put_w_time %{Started at #{Time.now.strftime("%H:%M:%S")}}
|
@@ -35,20 +34,6 @@ class FastRake::FastRunner
|
|
35
34
|
|
36
35
|
private
|
37
36
|
|
38
|
-
def check_if_previous_processes_really_finished
|
39
|
-
process = `ps aux | grep -E "ruby|selenium" | grep -vE "grep|foreman|script\/worker|guard|memcached|growl_notify_buildlight|gem server|#{Process.pid}"`
|
40
|
-
lines = process.split("\n")
|
41
|
-
if lines.length > 0
|
42
|
-
puts lines
|
43
|
-
prompt = "#{YELLOW}These ruby|selenium processes were found to be running. Do you want to continue (Y)? (ctrl-c to stop)#{RESET}"
|
44
|
-
puts prompt
|
45
|
-
STDIN.each_line do |line|
|
46
|
-
return if line.downcase.chomp == 'y'
|
47
|
-
puts prompt
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
37
|
def results_folder
|
53
38
|
Rails.root.join('tmp', 'build')
|
54
39
|
end
|
data/lib/fast_rake/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fast_rake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jonathan Ricketson
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-05-07 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: gemma
|
@@ -52,7 +52,7 @@ licenses: []
|
|
52
52
|
post_install_message:
|
53
53
|
rdoc_options:
|
54
54
|
- --title
|
55
|
-
- fast_rake-0.0.
|
55
|
+
- fast_rake-0.0.4 Documentation
|
56
56
|
require_paths:
|
57
57
|
- lib
|
58
58
|
required_ruby_version: !ruby/object:Gem::Requirement
|