zbatery 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/.document CHANGED
@@ -4,4 +4,4 @@ LICENSE
4
4
  NEWS
5
5
  README
6
6
  FAQ
7
- zbatery.1
7
+ zbatery_1
data/ChangeLog CHANGED
@@ -1,5 +1,39 @@
1
- ChangeLog from git://git.bogomips.org/zbatery.git (v0.1.1..v0.3.0)
1
+ ChangeLog from git://git.bogomips.org/zbatery.git (v0.1.1..v0.3.1)
2
2
 
3
+ commit 7a3de46f4e5734c237e2bb731ee15c0c4bf0c099
4
+ Author: Eric Wong <normalperson@yhbt.net>
5
+ Date: Sun Jul 11 02:57:56 2010 +0000
6
+
7
+ Zbatery v0.3.1 - quiet EOF errors from clients
8
+
9
+ Eric Wong (3):
10
+ update local.mk.sample for 0.3.0
11
+ Fix documentation generation
12
+ bump Rainbows! (and Unicorn) dependencies
13
+
14
+ commit 6ef21bfb48fd813f084f509f525f490d66b41bc4
15
+ Author: Eric Wong <normalperson@yhbt.net>
16
+ Date: Sun Jul 11 02:57:01 2010 +0000
17
+
18
+ bump Rainbows! (and Unicorn) dependencies
19
+
20
+ Unicorn 1.1.0 had constant resolution problems
21
+ with TeeInput
22
+
23
+ commit a50a048a805e88c2ea01a1c8d0ad71391d3b11f8
24
+ Author: Eric Wong <normalperson@yhbt.net>
25
+ Date: Sat Jul 10 10:09:54 2010 +0000
26
+
27
+ Fix documentation generation
28
+
29
+ .document needed to be updated for RDoc 2.5.x
30
+
31
+ commit 35f28b9eeae69077003fc9d98779104d76da5531
32
+ Author: Eric Wong <normalperson@yhbt.net>
33
+ Date: Sat Jul 10 09:58:53 2010 +0000
34
+
35
+ update local.mk.sample for 0.3.0
36
+
3
37
  commit d4f095ed8ed0da4f190280eb957c14b3f5e9a2e9
4
38
  Author: Eric Wong <normalperson@yhbt.net>
5
39
  Date: Sat Jul 10 09:56:27 2010 +0000
data/GIT-VERSION-FILE CHANGED
@@ -1 +1 @@
1
- GIT_VERSION = 0.3.0
1
+ GIT_VERSION = 0.3.1
data/GIT-VERSION-GEN CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
3
  GVF=GIT-VERSION-FILE
4
- DEF_VER=v0.3.0.GIT
4
+ DEF_VER=v0.3.1.GIT
5
5
 
6
6
  LF='
7
7
  '
data/NEWS CHANGED
@@ -1,3 +1,10 @@
1
+ === 0.3.1 / 2010-07-11 02:58 UTC
2
+
3
+ Eric Wong (3):
4
+ update local.mk.sample for 0.3.0
5
+ Fix documentation generation
6
+ bump Rainbows! (and Unicorn) dependencies
7
+
1
8
  === 0.3.0 / 2010-07-10 09:58 UTC
2
9
 
3
10
  Rainbows! v0.95.0 is more awesome than v0.94.0, so we've updated
data/lib/zbatery.rb CHANGED
@@ -5,7 +5,7 @@ require 'rainbows'
5
5
  module Zbatery
6
6
 
7
7
  # current version of Zbatery
8
- VERSION = "0.3.0"
8
+ VERSION = "0.3.1"
9
9
 
10
10
  class << self
11
11
 
data/local.mk.sample CHANGED
@@ -1,38 +1,33 @@
1
-
2
1
  # this is the local.mk file used by Eric Wong on his dev boxes.
3
2
  # GNUmakefile will source local.mk in the top-level source tree
4
3
  # if it is present.
5
4
  #
6
5
  # This is depends on a bunch of GNU-isms from bash, sed, touch.
7
6
 
8
- RSYNC = rsync
9
7
  DLEXT := so
10
- gems := rack-1.0.1
11
- # gems += unicorn-0.95.2 # installed via setup.rb
12
- # gems += rainbows-0.8.0 # installed via setup.rb
13
- gems += rev-0.3.1
14
- gems += iobuffer-0.1.1
15
- gems += eventmachine-0.12.10
16
- gems += async_sinatra-0.1.5 sinatra-0.9.4
8
+
9
+ # if you have a decent amount of RAM, setting TMPDIR to be on tmpfs
10
+ # can significantly improve performance because uploads take a lot
11
+ # of disk I/O due to the rewindability requirement in Rack.
12
+ # TMPDIR := /dev/shm
13
+ # export TMPDIR
17
14
 
18
15
  # Avoid loading rubygems to speed up tests because gmake is
19
16
  # fork+exec heavy with Ruby.
20
17
  prefix = $(HOME)
21
- ifeq ($(r19),)
22
- RUBY := $(prefix)/bin/ruby
23
- gem_paths := $(addprefix $(prefix)/lib/ruby/gems/1.8/gems/,$(gems))
18
+
19
+ ifeq ($(r192),)
20
+ ifeq ($(r19),)
21
+ RUBY := $(prefix)/bin/ruby
22
+ else
23
+ prefix := $(prefix)/ruby-1.9
24
+ export PATH := $(prefix)/bin:$(PATH)
25
+ RUBY := $(prefix)/bin/ruby --disable-gems
26
+ endif
24
27
  else
25
- prefix := $(prefix)/ruby-1.9
28
+ prefix := $(prefix)/ruby-1.9.2
26
29
  export PATH := $(prefix)/bin:$(PATH)
27
30
  RUBY := $(prefix)/bin/ruby --disable-gems
28
- gems += case-0.5 revactor-0.1.5
29
- gem_paths := $(addprefix $(prefix)/lib/ruby/gems/1.9.1/gems/,$(gems))
30
- endif
31
-
32
- ifdef gem_paths
33
- sp :=
34
- sp +=
35
- export RUBYLIB := $(subst $(sp),:,$(addsuffix /lib,$(gem_paths)))
36
31
  endif
37
32
 
38
33
  # pipefail is THE reason to use bash (v3+) or never revisions of ksh93
@@ -43,36 +38,10 @@ SHELL := /bin/ksh93 -e -o pipefail
43
38
  # TRACER = strace -f -o $(t_pfx).strace -s 100000
44
39
  TRACER = /usr/bin/time -v -o $(t_pfx).time
45
40
 
46
- full-test: test-18 test-19
41
+ full-test: test-18 test-191 test-192
47
42
  test-18:
48
43
  $(MAKE) test 2>&1 | sed -e 's!^!1.8 !'
49
- test-19:
50
- $(MAKE) test r19=t 2>&1 | sed -e 's!^!1.9 !'
51
-
52
- latest: NEWS
53
- @awk 'BEGIN{RS="=== ";ORS=""}NR==2{sub(/\n$$/,"");print RS""$$0 }' < $<
54
-
55
- # publishes docs to http://zbatery.bogomip.org/
56
- publish_doc:
57
- -git set-file-times
58
- $(RM) -r doc ChangeLog NEWS
59
- $(MAKE) doc LOG_VERSION=$(shell git tag -l | tail -1)
60
- $(MAKE) -s latest > doc/LATEST
61
- find doc/images doc/js -type f | \
62
- TZ=UTC xargs touch -d '1970-01-01 00:00:00' doc/rdoc.css
63
- $(MAKE) doc_gz
64
- chmod 644 $$(find doc -type f)
65
- $(RSYNC) -av doc/ dcvr:/srv/zbatery/
66
- git ls-files | xargs touch
67
-
68
- # Create gzip variants of the same timestamp as the original so nginx
69
- # "gzip_static on" can serve the gzipped versions directly.
70
- doc_gz: docs = $(shell find doc -type f ! -regex '^.*\.\(gif\|jpg\|png\|gz\)$$')
71
- doc_gz:
72
- touch doc/NEWS.atom.xml -d "$$(awk 'NR==1{print $$4,$$5,$$6}' NEWS)"
73
- for i in $(docs); do \
74
- gzip --rsyncable -9 < $$i > $$i.gz; touch -r $$i $$i.gz; done
75
-
76
- # launches any of the following shells with RUBYLIB set
77
- irb sh bash ksh:
78
- $@
44
+ test-191:
45
+ $(MAKE) test r19=T 2>&1 | sed -e 's!^!1.9.1 !'
46
+ test-192:
47
+ $(MAKE) test r192=T 2>&1 | sed -e 's!^!1.9.2 !'
data/t/test_isolate.rb CHANGED
@@ -15,8 +15,8 @@ $stdout.reopen($stderr)
15
15
 
16
16
  Isolate.now!(opts) do
17
17
  gem 'rack', '1.1.0'
18
- gem 'unicorn', '1.1.0'
19
- gem 'rainbows', '0.95.0'
18
+ gem 'unicorn', '1.1.1'
19
+ gem 'rainbows', '0.95.1'
20
20
 
21
21
  if engine == "ruby"
22
22
  gem 'sendfile', '1.0.0' # next Rubinius should support this
data/zbatery.gemspec CHANGED
@@ -54,7 +54,7 @@ Gem::Specification.new do |s|
54
54
  # Unicorn were vulnerable to a remote DoS when exposed directly to
55
55
  # untrusted clients (a configuration only supported by Zbatery and Rainbows!,
56
56
  # Unicorn has never and will never be supported without trusted LAN clients.
57
- s.add_dependency(%q<rainbows>, [">= 0.95.0", "<= 1.0.0"])
57
+ s.add_dependency(%q<rainbows>, [">= 0.95.1", "<= 1.0.0"])
58
58
  s.add_development_dependency(%q<isolate>, "~> 2.1.0")
59
59
 
60
60
  # s.licenses = %w(GPLv2 Ruby) # accessor not compatible with older RubyGems
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zbatery
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Zbatery hackers
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-10 00:00:00 +00:00
18
+ date: 2010-07-11 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 355
29
+ hash: 353
30
30
  segments:
31
31
  - 0
32
32
  - 95
33
- - 0
34
- version: 0.95.0
33
+ - 1
34
+ version: 0.95.1
35
35
  - - <=
36
36
  - !ruby/object:Gem::Version
37
37
  hash: 23