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 CHANGED
@@ -29,7 +29,7 @@ gem 'haml', '>= 3.0'
29
29
  gem 'sass'
30
30
  gem 'builder'
31
31
  gem 'erubis'
32
- gem 'less', '~> 1.0'
32
+ gem 'less', '~> 2.0'
33
33
  gem 'liquid'
34
34
  gem 'slim', '~> 1.0'
35
35
  gem 'temple', '!= 0.3.3'
@@ -1,3 +1,3 @@
1
1
  module Sinatra
2
- VERSION = '1.3.0.g'
2
+ VERSION = '1.3.0'
3
3
  end
@@ -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
- assert_equal "#main { background-color: #ffffff; }\n", body
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
- assert_equal "#main { background-color: #ffffff; }\n", body
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
- assert_equal "#main { background-color: #ffffff; }\n", body
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.g
5
- prerelease: 6
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-09-25 00:00:00.000000000Z
15
+ date: 2011-10-01 00:00:00.000000000Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rack
19
- requirement: &2158234720 !ruby/object:Gem::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: *2158234720
27
+ version_requirements: *2153226420
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rack-protection
30
- requirement: &2158234220 !ruby/object:Gem::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: *2158234220
38
+ version_requirements: *2153224900
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: tilt
41
- requirement: &2158233760 !ruby/object:Gem::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: *2158233760
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: 1.3.1
197
+ version: '0'
201
198
  requirements: []
202
199
  rubyforge_project:
203
- rubygems_version: 1.8.6
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