temple 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 62248df85fb8bb676f19fbf68f2b91f5fd2ee88b
4
+ data.tar.gz: aad55078fc4f2d236b6573cb3a1f7dc1311c4a41
5
+ SHA512:
6
+ metadata.gz: 359fd5b972b0a423f0f28d35f806e635126900ec9a17675d69d8e0a8d8aa502070e298871d68a41b6d041480cb763e2af1026e74b3f306b7c67cc57e67102017
7
+ data.tar.gz: 51706ada25d75c7de46cbc060d0930678efc6f98382eba2d60f65c868c59b7e7c93bcbcf7c98fba59dc5132825d37a289e053fbf12ca6c90bc53f69c59b3bfae
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ 0.6.4
2
+
3
+ * Check for ActionView instead of Rails (#72)
4
+
1
5
  0.6.3
2
6
 
3
7
  * Fix HTML escaping for HTML::Pretty (Issue #69)
@@ -2,13 +2,13 @@ unless defined?(ActionView)
2
2
  raise "Rails is not loaded - Temple::Templates::Rails cannot be used"
3
3
  end
4
4
 
5
- if ::Rails::VERSION::MAJOR < 3
6
- raise "Temple supports only Rails 3.x and greater, your Rails version is #{::Rails::VERSION::STRING}"
5
+ if ::ActionPack::VERSION::MAJOR < 3
6
+ raise "Temple supports only Rails 3.x and greater, your Rails version is #{::ActionPack::VERSION::STRING}"
7
7
  end
8
8
 
9
9
  module Temple
10
10
  module Templates
11
- if ::Rails::VERSION::MAJOR == 3 && ::Rails::VERSION::MINOR < 1
11
+ if ::ActionPack::VERSION::MAJOR == 3 && ::ActionPack::VERSION::MINOR < 1
12
12
  class Rails < ActionView::TemplateHandler
13
13
  include ActionView::TemplateHandlers::Compilable
14
14
  extend Mixins::Template
@@ -1,3 +1,3 @@
1
1
  module Temple
2
- VERSION = '0.6.3'
2
+ VERSION = '0.6.4'
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: temple
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
5
- prerelease:
4
+ version: 0.6.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Magnus Holm
@@ -10,54 +9,48 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-04-04 00:00:00.000000000 Z
12
+ date: 2013-04-16 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: tilt
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - '>='
21
19
  - !ruby/object:Gem::Version
22
20
  version: '0'
23
21
  type: :development
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - '>='
29
26
  - !ruby/object:Gem::Version
30
27
  version: '0'
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: bacon
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - '>='
37
33
  - !ruby/object:Gem::Version
38
34
  version: '0'
39
35
  type: :development
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - '>='
45
40
  - !ruby/object:Gem::Version
46
41
  version: '0'
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: rake
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - '>='
53
47
  - !ruby/object:Gem::Version
54
48
  version: '0'
55
49
  type: :development
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - '>='
61
54
  - !ruby/object:Gem::Version
62
55
  version: '0'
63
56
  description:
@@ -138,27 +131,26 @@ files:
138
131
  - test/test_utils.rb
139
132
  homepage: https://github.com/judofyr/temple
140
133
  licenses: []
134
+ metadata: {}
141
135
  post_install_message:
142
136
  rdoc_options: []
143
137
  require_paths:
144
138
  - lib
145
139
  required_ruby_version: !ruby/object:Gem::Requirement
146
- none: false
147
140
  requirements:
148
- - - ! '>='
141
+ - - '>='
149
142
  - !ruby/object:Gem::Version
150
143
  version: '0'
151
144
  required_rubygems_version: !ruby/object:Gem::Requirement
152
- none: false
153
145
  requirements:
154
- - - ! '>='
146
+ - - '>='
155
147
  - !ruby/object:Gem::Version
156
148
  version: '0'
157
149
  requirements: []
158
150
  rubyforge_project:
159
- rubygems_version: 1.8.24
151
+ rubygems_version: 2.0.0
160
152
  signing_key:
161
- specification_version: 3
153
+ specification_version: 4
162
154
  summary: Template compilation framework in Ruby
163
155
  test_files:
164
156
  - test/filters/test_control_flow.rb