slim 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,7 +46,9 @@ class TestSlim < ActionDispatch::IntegrationTest
46
46
  assert_html "<h1>Hello Slim!</h1><p>With a partial!</p>"
47
47
  end
48
48
 
49
- if ::Rails::VERSION::MAJOR == 3 && ::Rails::VERSION::MINOR >= 1 && Object.const_defined?(:Fiber)
49
+ #Disable streaming testing for rails 3.x and on jruby
50
+ if ::Rails::VERSION::MAJOR >= 4 ||
51
+ (::Rails::VERSION::MAJOR == 3 && ::Rails::VERSION::MINOR >= 1 && Object.const_defined?(:Fiber))
50
52
  puts 'Streaming test enabled'
51
53
  test "streaming" do
52
54
  get "slim/streaming"
@@ -87,4 +89,4 @@ class TestSlim < ActionDispatch::IntegrationTest
87
89
  expected = "<!DOCTYPE html><html><head><title>Dummy</title></head><body>#{options[:heading]}<div class=\"content\">#{expected}</div></body></html>" unless options[:skip_layout]
88
90
  assert_equal expected, @response.body
89
91
  end
90
- end
92
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slim
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Mendler
@@ -10,40 +10,40 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-10-27 00:00:00.000000000 Z
13
+ date: 2014-07-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: temple
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ~>
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
21
  version: 0.6.6
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ~>
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
28
  version: 0.6.6
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: tilt
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - '>='
33
+ - - ">="
34
34
  - !ruby/object:Gem::Version
35
35
  version: 1.3.3
36
- - - <
36
+ - - "<"
37
37
  - !ruby/object:Gem::Version
38
38
  version: '2.1'
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  requirements:
43
- - - '>='
43
+ - - ">="
44
44
  - !ruby/object:Gem::Version
45
45
  version: 1.3.3
46
- - - <
46
+ - - "<"
47
47
  - !ruby/object:Gem::Version
48
48
  version: '2.1'
49
49
  description: Slim is a template language whose goal is reduce the syntax to the essential
@@ -57,12 +57,13 @@ executables:
57
57
  extensions: []
58
58
  extra_rdoc_files: []
59
59
  files:
60
- - .gitignore
61
- - .travis.yml
62
- - .yardopts
60
+ - ".gitignore"
61
+ - ".travis.yml"
62
+ - ".yardopts"
63
63
  - CHANGES
64
64
  - Gemfile
65
65
  - LICENSE
66
+ - README.jp.md
66
67
  - README.md
67
68
  - Rakefile
68
69
  - benchmarks/context.rb
@@ -168,17 +169,17 @@ require_paths:
168
169
  - lib
169
170
  required_ruby_version: !ruby/object:Gem::Requirement
170
171
  requirements:
171
- - - '>='
172
+ - - ">="
172
173
  - !ruby/object:Gem::Version
173
174
  version: '0'
174
175
  required_rubygems_version: !ruby/object:Gem::Requirement
175
176
  requirements:
176
- - - '>='
177
+ - - ">="
177
178
  - !ruby/object:Gem::Version
178
179
  version: '0'
179
180
  requirements: []
180
181
  rubyforge_project: slim
181
- rubygems_version: 2.0.3
182
+ rubygems_version: 2.2.2
182
183
  signing_key:
183
184
  specification_version: 4
184
185
  summary: Slim is a template language.