relex-specjour 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/specjour.rb +1 -1
- data/lib/specjour/manager.rb +6 -6
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.7
|
data/lib/specjour.rb
CHANGED
data/lib/specjour/manager.rb
CHANGED
@@ -51,15 +51,15 @@ module Specjour
|
|
51
51
|
|
52
52
|
def compile_fastor
|
53
53
|
# Only compile fastor if there are new changes since the last compilation
|
54
|
-
sha_tool = RUBY_PLATFORM =~ /darwin/ ? "shasum" : "sha1sum"
|
55
|
-
files = Dir["#{project_path}/lib/fastor/*.{rb,h,c,y,sql}"].sort.join(' ')
|
56
|
-
sha_file = "/tmp/fastor_sha_#{project_name}"
|
57
|
-
return if File.exists?("#{project_path}/lib/fastor/fastor.so") && File.exists?(sha_file) &&
|
58
|
-
|
54
|
+
# sha_tool = RUBY_PLATFORM =~ /darwin/ ? "shasum" : "sha1sum"
|
55
|
+
# files = Dir["#{project_path}/lib/fastor/*.{rb,h,c,y,sql}"].sort.join(' ')
|
56
|
+
# sha_file = "/tmp/fastor_sha_#{project_name}"
|
57
|
+
# return if File.exists?("#{project_path}/lib/fastor/fastor.so") && File.exists?(sha_file) &&
|
58
|
+
# `cd #{project_path} && cat #{files} | #{sha_tool}` == File.new(sha_file).readlines.first
|
59
59
|
|
60
60
|
puts "Compiling fastor..."
|
61
61
|
system "cd #{project_path} && rake fastor"
|
62
|
-
system "cd #{project_path} && cat #{files} | #{sha_tool} > #{sha_file}"
|
62
|
+
# system "cd #{project_path} && cat #{files} | #{sha_tool} > #{sha_file}"
|
63
63
|
end
|
64
64
|
|
65
65
|
def dispatch_workers
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relex-specjour
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 7
|
10
|
+
version: 0.2.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sandro Turriate
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-06-
|
19
|
+
date: 2010-06-16 00:00:00 +03:00
|
20
20
|
default_executable: specjour
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|