sinatra 1.3.0.g → 1.3.0
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/Gemfile +1 -1
- data/lib/sinatra/version.rb +1 -1
- data/test/less_test.rb +3 -3
- metadata +12 -15
data/Gemfile
CHANGED
data/lib/sinatra/version.rb
CHANGED
data/test/less_test.rb
CHANGED
@@ -16,7 +16,7 @@ class LessTest < Test::Unit::TestCase
|
|
16
16
|
it 'renders inline Less strings' do
|
17
17
|
less_app { less "@white_color: #fff; #main { background-color: @white_color }" }
|
18
18
|
assert ok?
|
19
|
-
|
19
|
+
assert_body "#main {background-color: #ffffff;}"
|
20
20
|
end
|
21
21
|
|
22
22
|
it 'defaults content type to css' do
|
@@ -45,13 +45,13 @@ class LessTest < Test::Unit::TestCase
|
|
45
45
|
it 'renders .less files in views path' do
|
46
46
|
less_app { less :hello }
|
47
47
|
assert ok?
|
48
|
-
|
48
|
+
assert_body "#main {background-color: #ffffff;}"
|
49
49
|
end
|
50
50
|
|
51
51
|
it 'ignores the layout option' do
|
52
52
|
less_app { less :hello, :layout => :layout2 }
|
53
53
|
assert ok?
|
54
|
-
|
54
|
+
assert_body "#main {background-color: #ffffff;}"
|
55
55
|
end
|
56
56
|
|
57
57
|
it "raises error if template not found" do
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.0
|
5
|
-
prerelease:
|
4
|
+
version: 1.3.0
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Blake Mizerany
|
@@ -12,11 +12,11 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2011-
|
15
|
+
date: 2011-10-01 00:00:00.000000000Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rack
|
19
|
-
requirement: &
|
19
|
+
requirement: &2153226420 !ruby/object:Gem::Requirement
|
20
20
|
none: false
|
21
21
|
requirements:
|
22
22
|
- - ~>
|
@@ -24,10 +24,10 @@ dependencies:
|
|
24
24
|
version: '1.3'
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
|
-
version_requirements: *
|
27
|
+
version_requirements: *2153226420
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rack-protection
|
30
|
-
requirement: &
|
30
|
+
requirement: &2153224900 !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
33
|
- - ~>
|
@@ -35,10 +35,10 @@ dependencies:
|
|
35
35
|
version: '1.1'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
|
-
version_requirements: *
|
38
|
+
version_requirements: *2153224900
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: tilt
|
41
|
-
requirement: &
|
41
|
+
requirement: &2153223640 !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
44
|
- - ~>
|
@@ -46,7 +46,7 @@ dependencies:
|
|
46
46
|
version: '1.3'
|
47
47
|
type: :runtime
|
48
48
|
prerelease: false
|
49
|
-
version_requirements: *
|
49
|
+
version_requirements: *2153223640
|
50
50
|
description: Sinatra is a DSL for quickly creating web applications in Ruby with minimal
|
51
51
|
effort.
|
52
52
|
email: sinatrarb@googlegroups.com
|
@@ -189,18 +189,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
189
189
|
- - ! '>='
|
190
190
|
- !ruby/object:Gem::Version
|
191
191
|
version: '0'
|
192
|
-
segments:
|
193
|
-
- 0
|
194
|
-
hash: -519161154716123522
|
195
192
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
196
193
|
none: false
|
197
194
|
requirements:
|
198
|
-
- - ! '
|
195
|
+
- - ! '>='
|
199
196
|
- !ruby/object:Gem::Version
|
200
|
-
version:
|
197
|
+
version: '0'
|
201
198
|
requirements: []
|
202
199
|
rubyforge_project:
|
203
|
-
rubygems_version: 1.8.
|
200
|
+
rubygems_version: 1.8.10
|
204
201
|
signing_key:
|
205
202
|
specification_version: 3
|
206
203
|
summary: Classy web-development dressed in a DSL
|