unicorn 2.0.0pre2.1.ge991 → 2.0.0pre2.4.gf202
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.
- data/GNUmakefile +5 -8
- data/script/isolate_for_tests +6 -4
- data/t/GNUmakefile +5 -6
- data/unicorn.gemspec +1 -1
- metadata +8 -8
data/GNUmakefile
CHANGED
@@ -24,14 +24,11 @@ endif
|
|
24
24
|
|
25
25
|
RUBY_ENGINE := $(shell $(RUBY) -e 'puts((RUBY_ENGINE rescue "ruby"))')
|
26
26
|
|
27
|
-
isolate_libs := tmp/isolate
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
echo:
|
34
|
-
@echo $(MYLIBS)
|
27
|
+
isolate_libs := tmp/isolate/$(RUBY_ENGINE)-$(RUBY_VERSION).mk
|
28
|
+
$(isolate_libs): script/isolate_for_tests
|
29
|
+
@$(RUBY) script/isolate_for_tests
|
30
|
+
-include $(isolate_libs)
|
31
|
+
MYLIBS = $(RUBYLIB):$(ISOLATE_LIBS)
|
35
32
|
|
36
33
|
# dunno how to implement this as concisely in Ruby, and hell, I love awk
|
37
34
|
awk_slow := awk '/def test_/{print FILENAME"--"$$2".n"}' 2>/dev/null
|
data/script/isolate_for_tests
CHANGED
@@ -17,16 +17,18 @@ opts = {
|
|
17
17
|
pid = fork do
|
18
18
|
Isolate.now!(opts) do
|
19
19
|
gem 'sqlite3-ruby', '1.2.5'
|
20
|
-
gem 'kgio', '1.
|
20
|
+
gem 'kgio', '1.3.0'
|
21
21
|
gem 'rack', '1.1.0'
|
22
22
|
end
|
23
23
|
end
|
24
24
|
_, status = Process.waitpid2(pid)
|
25
25
|
status.success? or abort status.inspect
|
26
26
|
lib_paths = Dir["#{opts[:path]}/gems/*-*/lib"].map { |x| File.expand_path(x) }
|
27
|
-
|
28
|
-
File.open("#{
|
29
|
-
|
27
|
+
dst = "tmp/isolate/#{ruby_engine}-#{RUBY_VERSION}.mk"
|
28
|
+
File.open("#{dst}.#$$", "w") do |fp|
|
29
|
+
fp.puts "ISOLATE_LIBS=#{lib_paths.join(':')}"
|
30
|
+
end
|
31
|
+
File.rename("#{dst}.#$$", dst)
|
30
32
|
|
31
33
|
# pure Ruby gems can be shared across all Rubies
|
32
34
|
%w(3.0.0).each do |rails_ver|
|
data/t/GNUmakefile
CHANGED
@@ -17,12 +17,11 @@ endif
|
|
17
17
|
RUBY_ENGINE := $(shell $(RUBY) -e 'puts((RUBY_ENGINE rescue "ruby"))')
|
18
18
|
export RUBY_ENGINE
|
19
19
|
|
20
|
-
isolate_libs := ../tmp/isolate
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
endif
|
20
|
+
isolate_libs := ../tmp/isolate/$(RUBY_ENGINE)-$(RUBY_VERSION).mk
|
21
|
+
$(isolate_libs): ../script/isolate_for_tests
|
22
|
+
@cd .. && $(RUBY) script/isolate_for_tests
|
23
|
+
-include $(isolate_libs)
|
24
|
+
MYLIBS := $(RUBYLIB):$(ISOLATE_LIBS)
|
26
25
|
|
27
26
|
T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
|
28
27
|
|
data/unicorn.gemspec
CHANGED
@@ -48,7 +48,7 @@ Gem::Specification.new do |s|
|
|
48
48
|
# commented out. Nevertheless, upgrading to Rails 2.3.4 or later is
|
49
49
|
# *strongly* recommended for security reasons.
|
50
50
|
s.add_dependency(%q<rack>)
|
51
|
-
s.add_dependency(%q<kgio>, '~> 1.
|
51
|
+
s.add_dependency(%q<kgio>, '~> 1.3.0')
|
52
52
|
|
53
53
|
s.add_development_dependency('isolate', '~> 2.1.2')
|
54
54
|
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicorn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1058687251
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
9
|
- 0pre2
|
10
|
-
-
|
11
|
-
-
|
12
|
-
version: 2.0.0pre2.
|
10
|
+
- 4
|
11
|
+
- gf202
|
12
|
+
version: 2.0.0pre2.4.gf202
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Unicorn hackers
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2010-10-
|
20
|
+
date: 2010-10-08 00:00:00 +00:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
@@ -42,12 +42,12 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
45
|
+
hash: 27
|
46
46
|
segments:
|
47
47
|
- 1
|
48
|
-
-
|
48
|
+
- 3
|
49
49
|
- 0
|
50
|
-
version: 1.
|
50
|
+
version: 1.3.0
|
51
51
|
type: :runtime
|
52
52
|
version_requirements: *id002
|
53
53
|
- !ruby/object:Gem::Dependency
|