rack-less 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,47 +1,57 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rack-less (3.0.0)
4
+ rack-less (3.0.1)
5
5
  less (~> 2.0)
6
6
  rack (~> 1.0)
7
7
 
8
8
  GEM
9
9
  remote: http://rubygems.org/
10
10
  specs:
11
- ansi (1.3.0)
12
- assert (0.3.0)
11
+ POpen4 (0.1.4)
12
+ Platform (>= 0.4.0)
13
+ open4
14
+ Platform (0.4.0)
15
+ ansi (1.4.1)
16
+ assert (0.7.1)
17
+ assert-view (~> 0.4)
18
+ assert-view (0.4.2)
13
19
  ansi (~> 1.3)
20
+ undies (~> 1.1)
14
21
  differ (0.1.2)
15
22
  less (2.0.6)
16
23
  therubyracer (~> 0.9.2)
17
- libv8 (3.3.10.2)
18
- nokogiri (1.4.4)
19
- rack (1.2.2)
20
- rack-test (0.5.7)
24
+ libv8 (3.3.10.4)
25
+ nokogiri (1.5.0)
26
+ open4 (1.1.0)
27
+ rack (1.3.2)
28
+ rack-test (0.6.1)
21
29
  rack (>= 1.0)
22
30
  rake (0.9.2)
23
- sinatra (1.2.1)
31
+ sinatra (1.2.6)
24
32
  rack (~> 1.1)
25
33
  tilt (>= 1.2.2, < 2.0)
26
- therubyracer (0.9.4)
34
+ therubyracer (0.9.9)
27
35
  libv8 (~> 3.3.10)
28
- tilt (1.2.2)
36
+ tilt (1.3.3)
37
+ undies (1.2.0)
29
38
  webrat (0.7.3)
30
39
  nokogiri (>= 1.2.0)
31
40
  rack (>= 1.0)
32
41
  rack-test (>= 0.5.3)
33
- yui-compressor (0.9.4)
42
+ yui-compressor (0.9.6)
43
+ POpen4 (>= 0.1.4)
34
44
 
35
45
  PLATFORMS
36
46
  ruby
37
47
 
38
48
  DEPENDENCIES
39
- assert (~> 0.3.0)
49
+ assert (~> 0.7)
40
50
  bundler (~> 1.0)
41
51
  differ
42
52
  rack-less!
43
- rack-test (>= 0.5.3)
53
+ rack-test (~> 0.6.0)
44
54
  rake (~> 0.9.2)
45
- sinatra (>= 0.9.4)
46
- webrat (>= 0.6.0)
47
- yui-compressor (>= 0.9.1)
55
+ sinatra (~> 1.2)
56
+ webrat (~> 0.7.0)
57
+ yui-compressor (~> 0.9.0)
@@ -38,7 +38,7 @@ module Rack::Less
38
38
  end
39
39
 
40
40
  def to_rack
41
- [status, headers.to_hash, body]
41
+ [status, headers.to_hash, [body]]
42
42
  end
43
43
 
44
44
  end
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module Less
3
- VERSION = '3.0.0'
3
+ VERSION = '3.0.1'
4
4
  end
5
5
  end
@@ -18,12 +18,12 @@ Gem::Specification.new do |s|
18
18
  s.require_paths = ["lib"]
19
19
 
20
20
  s.add_development_dependency("bundler", ["~> 1.0"])
21
- s.add_development_dependency("assert", ["~>0.3.0"])
21
+ s.add_development_dependency("assert", ["~>0.7"])
22
22
 
23
- s.add_development_dependency("sinatra", [">= 0.9.4"])
24
- s.add_development_dependency("rack-test", [">= 0.5.3"])
25
- s.add_development_dependency("webrat", [">= 0.6.0"])
26
- s.add_development_dependency("yui-compressor", [">=0.9.1"])
23
+ s.add_development_dependency("sinatra", ["~> 1.2"])
24
+ s.add_development_dependency("rack-test", ["~> 0.6.0"])
25
+ s.add_development_dependency("webrat", ["~> 0.7.0"])
26
+ s.add_development_dependency("yui-compressor", ["~> 0.9.0"])
27
27
 
28
28
  s.add_dependency("rack", ["~> 1.0"])
29
29
  s.add_dependency("less", ["~> 2.0"])
@@ -38,6 +38,10 @@ module Rack::Less
38
38
  assert_equal Rack::Less::Response.content_length(@css), @response.headers['Content-Length'].to_i
39
39
  end
40
40
 
41
+ should "return a response body that responds to #each" do
42
+ assert_respond_to :each, @response.to_rack.last
43
+ end
44
+
41
45
  end
42
46
 
43
47
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-less
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 0
10
- version: 3.0.0
9
+ - 1
10
+ version: 3.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kelly Redding
@@ -15,11 +15,11 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-26 00:00:00 Z
18
+ date: 2011-11-29 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- prerelease: false
22
21
  type: :development
22
+ prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
@@ -30,91 +30,89 @@ dependencies:
30
30
  - 1
31
31
  - 0
32
32
  version: "1.0"
33
- name: bundler
34
33
  version_requirements: *id001
34
+ name: bundler
35
35
  - !ruby/object:Gem::Dependency
36
- prerelease: false
37
36
  type: :development
37
+ prerelease: false
38
38
  requirement: &id002 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
42
42
  - !ruby/object:Gem::Version
43
- hash: 19
43
+ hash: 5
44
44
  segments:
45
45
  - 0
46
- - 3
47
- - 0
48
- version: 0.3.0
49
- name: assert
46
+ - 7
47
+ version: "0.7"
50
48
  version_requirements: *id002
49
+ name: assert
51
50
  - !ruby/object:Gem::Dependency
52
- prerelease: false
53
51
  type: :development
52
+ prerelease: false
54
53
  requirement: &id003 !ruby/object:Gem::Requirement
55
54
  none: false
56
55
  requirements:
57
- - - ">="
56
+ - - ~>
58
57
  - !ruby/object:Gem::Version
59
- hash: 51
58
+ hash: 11
60
59
  segments:
61
- - 0
62
- - 9
63
- - 4
64
- version: 0.9.4
65
- name: sinatra
60
+ - 1
61
+ - 2
62
+ version: "1.2"
66
63
  version_requirements: *id003
64
+ name: sinatra
67
65
  - !ruby/object:Gem::Dependency
68
- prerelease: false
69
66
  type: :development
67
+ prerelease: false
70
68
  requirement: &id004 !ruby/object:Gem::Requirement
71
69
  none: false
72
70
  requirements:
73
- - - ">="
71
+ - - ~>
74
72
  - !ruby/object:Gem::Version
75
- hash: 13
73
+ hash: 7
76
74
  segments:
77
75
  - 0
78
- - 5
79
- - 3
80
- version: 0.5.3
81
- name: rack-test
76
+ - 6
77
+ - 0
78
+ version: 0.6.0
82
79
  version_requirements: *id004
80
+ name: rack-test
83
81
  - !ruby/object:Gem::Dependency
84
- prerelease: false
85
82
  type: :development
83
+ prerelease: false
86
84
  requirement: &id005 !ruby/object:Gem::Requirement
87
85
  none: false
88
86
  requirements:
89
- - - ">="
87
+ - - ~>
90
88
  - !ruby/object:Gem::Version
91
- hash: 7
89
+ hash: 3
92
90
  segments:
93
91
  - 0
94
- - 6
92
+ - 7
95
93
  - 0
96
- version: 0.6.0
97
- name: webrat
94
+ version: 0.7.0
98
95
  version_requirements: *id005
96
+ name: webrat
99
97
  - !ruby/object:Gem::Dependency
100
- prerelease: false
101
98
  type: :development
99
+ prerelease: false
102
100
  requirement: &id006 !ruby/object:Gem::Requirement
103
101
  none: false
104
102
  requirements:
105
- - - ">="
103
+ - - ~>
106
104
  - !ruby/object:Gem::Version
107
- hash: 57
105
+ hash: 59
108
106
  segments:
109
107
  - 0
110
108
  - 9
111
- - 1
112
- version: 0.9.1
113
- name: yui-compressor
109
+ - 0
110
+ version: 0.9.0
114
111
  version_requirements: *id006
112
+ name: yui-compressor
115
113
  - !ruby/object:Gem::Dependency
116
- prerelease: false
117
114
  type: :runtime
115
+ prerelease: false
118
116
  requirement: &id007 !ruby/object:Gem::Requirement
119
117
  none: false
120
118
  requirements:
@@ -125,11 +123,11 @@ dependencies:
125
123
  - 1
126
124
  - 0
127
125
  version: "1.0"
128
- name: rack
129
126
  version_requirements: *id007
127
+ name: rack
130
128
  - !ruby/object:Gem::Dependency
131
- prerelease: false
132
129
  type: :runtime
130
+ prerelease: false
133
131
  requirement: &id008 !ruby/object:Gem::Requirement
134
132
  none: false
135
133
  requirements:
@@ -140,8 +138,8 @@ dependencies:
140
138
  - 2
141
139
  - 0
142
140
  version: "2.0"
143
- name: less
144
141
  version_requirements: *id008
142
+ name: less
145
143
  description: LESS CSS preprocessing for Rack apps.
146
144
  email:
147
145
  - kelly@kelredd.com
@@ -232,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
230
  requirements: []
233
231
 
234
232
  rubyforge_project:
235
- rubygems_version: 1.8.8
233
+ rubygems_version: 1.8.11
236
234
  signing_key:
237
235
  specification_version: 3
238
236
  summary: LESS CSS preprocessing for Rack apps.