wunderbar 0.10.1 → 0.10.2

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.
@@ -36,10 +36,6 @@ at_exit do
36
36
 
37
37
  elsif Wunderbar.queue.length > 0
38
38
 
39
- # allow the REQUEST_METHOD to be set for command line invocations
40
- ENV['REQUEST_METHOD'] ||= 'POST' if ARGV.delete('--post')
41
- ENV['REQUEST_METHOD'] ||= 'GET' if ARGV.delete('--get')
42
-
43
39
  # Only prompt if explicitly asked for
44
40
  ARGV.push '' if ARGV.empty?
45
41
  ARGV.delete('--prompt') or ARGV.delete('--offline')
@@ -75,6 +71,10 @@ at_exit do
75
71
  ENV['HOME'] ||= Dir.home($USER) rescue nil
76
72
  ENV['HOME'] = ENV['DOCUMENT_ROOT'] if not File.exist? ENV['HOME'].to_s
77
73
 
74
+ # allow the REQUEST_METHOD to be set for command line invocations
75
+ ENV['REQUEST_METHOD'] ||= 'POST' if ARGV.delete('--post')
76
+ ENV['REQUEST_METHOD'] ||= 'GET' if ARGV.delete('--get')
77
+
78
78
  # CGI or command line
79
79
  Wunderbar::CGI.call(cgi)
80
80
  end
@@ -2,7 +2,7 @@ module Wunderbar
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 10
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/wunderbar.gemspec CHANGED
@@ -2,17 +2,17 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "wunderbar"
5
- s.version = "0.10.1"
5
+ s.version = "0.10.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Sam Ruby"]
9
- s.date = "2012-04-12"
9
+ s.date = "2012-04-13"
10
10
  s.description = " Wunderbar makes it easy to produce valid HTML5, wellformed XHTML, Unicode\n (utf-8), consistently indented, readable applications. This includes\n output that conforms to the Polyglot specification and the emerging\n results from the XML Error Recovery Community Group.\n"
11
11
  s.email = "rubys@intertwingly.net"
12
12
  s.files = ["wunderbar.gemspec", "README.md", "COPYING", "lib/wunderbar.rb", "lib/wunderbar", "lib/wunderbar/installation.rb", "lib/wunderbar/html-methods.rb", "lib/wunderbar/job-control.rb", "lib/wunderbar/server.rb", "lib/wunderbar/logger.rb", "lib/wunderbar/rack.rb", "lib/wunderbar/builder.rb", "lib/wunderbar/sinatra.rb", "lib/wunderbar/environment.rb", "lib/wunderbar/cgi-methods.rb", "lib/wunderbar/cssproxy.rb", "lib/wunderbar/version.rb"]
13
13
  s.homepage = "http://github.com/rubys/wunderbar"
14
14
  s.require_paths = ["lib"]
15
- s.rubygems_version = "1.8.21"
15
+ s.rubygems_version = "1.8.15"
16
16
  s.summary = "HTML Generator and CGI application support"
17
17
 
18
18
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,60 +1,47 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: wunderbar
3
- version: !ruby/object:Gem::Version
4
- hash: 53
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.10.2
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 10
9
- - 1
10
- version: 0.10.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Sam Ruby
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-04-12 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-04-13 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: builder
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &6685180 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 7
29
- segments:
30
- - 3
31
- - 0
32
- version: "3.0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '3.0'
33
22
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: json
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *6685180
25
+ - !ruby/object:Gem::Dependency
26
+ name: json
27
+ requirement: &6684680 !ruby/object:Gem::Requirement
39
28
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
47
33
  type: :runtime
48
- version_requirements: *id002
49
- description: " Wunderbar makes it easy to produce valid HTML5, wellformed XHTML, Unicode\n (utf-8), consistently indented, readable applications. This includes\n output that conforms to the Polyglot specification and the emerging\n results from the XML Error Recovery Community Group.\n"
34
+ prerelease: false
35
+ version_requirements: *6684680
36
+ description: ! " Wunderbar makes it easy to produce valid HTML5, wellformed XHTML,
37
+ Unicode\n (utf-8), consistently indented, readable applications. This includes\n
38
+ \ output that conforms to the Polyglot specification and the emerging\n results
39
+ from the XML Error Recovery Community Group.\n"
50
40
  email: rubys@intertwingly.net
51
41
  executables: []
52
-
53
42
  extensions: []
54
-
55
43
  extra_rdoc_files: []
56
-
57
- files:
44
+ files:
58
45
  - wunderbar.gemspec
59
46
  - README.md
60
47
  - COPYING
@@ -73,36 +60,26 @@ files:
73
60
  - lib/wunderbar/version.rb
74
61
  homepage: http://github.com/rubys/wunderbar
75
62
  licenses: []
76
-
77
63
  post_install_message:
78
64
  rdoc_options: []
79
-
80
- require_paths:
65
+ require_paths:
81
66
  - lib
82
- required_ruby_version: !ruby/object:Gem::Requirement
67
+ required_ruby_version: !ruby/object:Gem::Requirement
83
68
  none: false
84
- requirements:
85
- - - ">="
86
- - !ruby/object:Gem::Version
87
- hash: 3
88
- segments:
89
- - 0
90
- version: "0"
91
- required_rubygems_version: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ! '>='
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
73
+ required_rubygems_version: !ruby/object:Gem::Requirement
92
74
  none: false
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- hash: 3
97
- segments:
98
- - 0
99
- version: "0"
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
100
79
  requirements: []
101
-
102
80
  rubyforge_project:
103
- rubygems_version: 1.8.21
81
+ rubygems_version: 1.8.15
104
82
  signing_key:
105
83
  specification_version: 3
106
84
  summary: HTML Generator and CGI application support
107
85
  test_files: []
108
-