sinatra 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sinatra might be problematic. Click here for more details.
- data/CHANGELOG +1 -0
- data/Rakefile +1 -6
- data/lib/sinatra.rb +8 -4
- data/sinatra.gemspec +4 -10
- metadata +2 -14
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -12,17 +12,12 @@ Rake::RDocTask.new do |rd|
|
|
12
12
|
rd.rdoc_dir = 'doc'
|
13
13
|
end
|
14
14
|
|
15
|
-
Rake::TestTask.new do |t|
|
16
|
-
ENV['SINATRA_ENV'] = 'test'
|
17
|
-
t.pattern = File.dirname(__FILE__) + "/test/*_test.rb"
|
18
|
-
end
|
19
|
-
|
20
15
|
Echoe.new("sinatra") do |p|
|
21
16
|
p.author = "Blake Mizerany"
|
22
17
|
p.summary = "Classy web-development dressed in a DSL"
|
23
18
|
p.url = "http://www.sinatrarb.com"
|
24
19
|
p.docs_host = "sinatrarb.com:/var/www/blakemizerany.com/public/docs/"
|
25
|
-
p.dependencies = ["mongrel >=1.0.1"
|
20
|
+
p.dependencies = ["mongrel >=1.0.1"]
|
26
21
|
p.install_message = "*** Be sure to checkout the site for helpful tips! sinatrarb.com ***"
|
27
22
|
p.include_rakefile = true
|
28
23
|
end
|
data/lib/sinatra.rb
CHANGED
@@ -1,6 +1,13 @@
|
|
1
|
+
Dir[File.dirname(__FILE__) + "/../vendor/*"].each do |l|
|
2
|
+
$:.unshift "#{File.expand_path(l)}/lib"
|
3
|
+
end
|
4
|
+
|
5
|
+
require 'rack'
|
6
|
+
|
1
7
|
require 'rubygems'
|
2
8
|
require 'uri'
|
3
9
|
require 'time'
|
10
|
+
require 'ostruct'
|
4
11
|
|
5
12
|
if ENV['SWIFT']
|
6
13
|
require 'swiftcore/swiftiplied_mongrel'
|
@@ -10,9 +17,6 @@ elsif ENV['EVENT']
|
|
10
17
|
puts "Using Evented Mongrel"
|
11
18
|
end
|
12
19
|
|
13
|
-
require 'rack'
|
14
|
-
require 'ostruct'
|
15
|
-
|
16
20
|
class Class
|
17
21
|
def dslify_writer(*syms)
|
18
22
|
syms.each do |sym|
|
@@ -78,7 +82,7 @@ module Sinatra
|
|
78
82
|
module Version
|
79
83
|
MAJOR = '0'
|
80
84
|
MINOR = '2'
|
81
|
-
REVISION = '
|
85
|
+
REVISION = '1'
|
82
86
|
def self.combined
|
83
87
|
[MAJOR, MINOR, REVISION].join('.')
|
84
88
|
end
|
data/sinatra.gemspec
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
|
2
|
-
# Gem::Specification for Sinatra-0.2.
|
2
|
+
# Gem::Specification for Sinatra-0.2.1
|
3
3
|
# Originally generated by Echoe
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = %q{sinatra}
|
7
|
-
s.version = "0.2.
|
7
|
+
s.version = "0.2.1"
|
8
8
|
|
9
9
|
s.specification_version = 2 if s.respond_to? :specification_version=
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.authors = ["Blake Mizerany"]
|
13
|
-
s.date = %q{2008-04-
|
13
|
+
s.date = %q{2008-04-15}
|
14
14
|
s.description = %q{Classy web-development dressed in a DSL}
|
15
15
|
s.email = %q{}
|
16
16
|
s.extra_rdoc_files = ["CHANGELOG", "lib/sinatra/test/methods.rb", "lib/sinatra/test/spec.rb", "lib/sinatra/test/unit.rb", "lib/sinatra.rb", "README.rdoc"]
|
@@ -26,7 +26,6 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.test_files = ["test/app_test.rb", "test/application_test.rb", "test/builder_test.rb", "test/custom_error_test.rb", "test/diddy_test.rb", "test/erb_test.rb", "test/event_context_test.rb", "test/events_test.rb", "test/haml_test.rb", "test/mapped_error_test.rb", "test/rest_test.rb", "test/sass_test.rb", "test/sessions_test.rb", "test/streaming_test.rb", "test/sym_params_test.rb", "test/template_test.rb", "test/use_in_file_templates_test.rb"]
|
27
27
|
|
28
28
|
s.add_dependency(%q<mongrel>, [">= 1.0.1"])
|
29
|
-
s.add_dependency(%q<rack>, [">= 0", "= 0.3.0"])
|
30
29
|
end
|
31
30
|
|
32
31
|
|
@@ -46,17 +45,12 @@ end
|
|
46
45
|
# rd.rdoc_dir = 'doc'
|
47
46
|
# end
|
48
47
|
#
|
49
|
-
# Rake::TestTask.new do |t|
|
50
|
-
# ENV['SINATRA_ENV'] = 'test'
|
51
|
-
# t.pattern = File.dirname(__FILE__) + "/test/*_test.rb"
|
52
|
-
# end
|
53
|
-
#
|
54
48
|
# Echoe.new("sinatra") do |p|
|
55
49
|
# p.author = "Blake Mizerany"
|
56
50
|
# p.summary = "Classy web-development dressed in a DSL"
|
57
51
|
# p.url = "http://www.sinatrarb.com"
|
58
52
|
# p.docs_host = "sinatrarb.com:/var/www/blakemizerany.com/public/docs/"
|
59
|
-
# p.dependencies = ["mongrel >=1.0.1"
|
53
|
+
# p.dependencies = ["mongrel >=1.0.1"]
|
60
54
|
# p.install_message = "*** Be sure to checkout the site for helpful tips! sinatrarb.com ***"
|
61
55
|
# p.include_rakefile = true
|
62
56
|
# end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blake Mizerany
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-04-
|
12
|
+
date: 2008-04-15 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -21,18 +21,6 @@ dependencies:
|
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 1.0.1
|
23
23
|
version:
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: rack
|
26
|
-
version_requirement:
|
27
|
-
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
requirements:
|
29
|
-
- - ">="
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
version: "0"
|
32
|
-
- - "="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: 0.3.0
|
35
|
-
version:
|
36
24
|
description: Classy web-development dressed in a DSL
|
37
25
|
email: ""
|
38
26
|
executables: []
|