tilt-handlebars 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +6 -0
- data/README.md +6 -0
- data/RELEASE_NOTES.md +19 -0
- data/Rakefile +2 -0
- data/lib/tilt/handlebars/version.rb +1 -1
- data/test/test_helper.rb +4 -0
- data/test/tilt_handlebarstemplate_test.rb +1 -1
- data/tilt-handlebars.gemspec +2 -1
- metadata +30 -31
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 60c16fb0db1e4616de9bd0f9e8482fa47dfa242c
|
4
|
+
data.tar.gz: 9c0186d04fc88e47178490a96ca7c0b39dcf0b31
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d3fc7a744cbb23b085ddb98a9bf221b581b706421516a3a2530676299d3bc6336c4b1c1f89f3aee43c189224412ed3c7858699d04ea945bd47bc15ac4ae0a24d
|
7
|
+
data.tar.gz: c75e9eaf9ec8837a16fbca97a9653119c39f27a3ab64cf33f8c335dd2970a4040b521e4a8d68d4a5fbfb8c1a229a7f514a28d95d6eb09da133635667da0c21a7
|
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
1
|
# Tilt::Handlebars
|
2
|
+
<a href="http://badge.fury.io/rb/tilt-handlebars"><img src="https://badge.fury.io/rb/tilt-handlebars@2x.png" alt="Gem Version" height="18"></a>
|
3
|
+
[![Build Status](https://travis-ci.org/jimothyGator/tilt-handlebars.png?branch=develop)](https://travis-ci.org/jimothyGator/tilt-handlebars)
|
4
|
+
[![Coverage Status](https://coveralls.io/repos/jimothyGator/tilt-handlebars/badge.png?branch=develop)](https://coveralls.io/r/jimothyGator/tilt-handlebars?branch=develop)
|
5
|
+
[![Code Climate](https://codeclimate.com/github/jimothyGator/tilt-handlebars.png)](https://codeclimate.com/github/jimothyGator/tilt-handlebars)
|
6
|
+
|
7
|
+
[![Codeship Status](https://www.codeship.io/projects/71da7c90-ee55-0130-eff4-7205960840ac/status)](https://www.codeship.io/projects/6182)
|
2
8
|
|
3
9
|
Adds support for [Handlebars.rb](https://github.com/cowboyd/handlebars.rb) template
|
4
10
|
engine to [Tilt](https://github.com/rtomayko/tilt).
|
data/RELEASE_NOTES.md
CHANGED
@@ -1,3 +1,22 @@
|
|
1
|
+
Version 1.2.0
|
2
|
+
-------------
|
3
|
+
2013 September 30
|
4
|
+
|
5
|
+
This version is recommend for all users, as it brings support for the release version of Handlebars.
|
6
|
+
|
7
|
+
* Updates to handlebars.rb 0.5.0, which brings with it the 1.0.0 release
|
8
|
+
version version of the JavaScript Handlebars, and an updated Ruby Racer (Ruby-JavaScript bridge).
|
9
|
+
Thanks to [Yehuda Katz](https://github.com/wycats) and [Charles Lowell](https://github.com/cowboyd)
|
10
|
+
for their continued work on Handlebars and Handlebars.rb, respectively.
|
11
|
+
|
12
|
+
* Backwards compatibility note: If you are using automatic partials loading
|
13
|
+
with an absolute path, you must now quote the path. For example:
|
14
|
+
|
15
|
+
{{> "/the/path/to/partial.html.hbs" }}
|
16
|
+
|
17
|
+
This is due to changes in the Handlebars parser.
|
18
|
+
|
19
|
+
|
1
20
|
Version 1.1.0
|
2
21
|
-------------
|
3
22
|
2013 August 15
|
data/Rakefile
CHANGED
data/test/test_helper.rb
CHANGED
@@ -225,7 +225,7 @@ describe Tilt::HandlebarsTemplate do
|
|
225
225
|
|
226
226
|
it "can load partial from absolute path" do
|
227
227
|
dir = Dir.pwd
|
228
|
-
template = make_template "Have you read {{> #{dir}/test/fixtures/views/partial}}?"
|
228
|
+
template = make_template "Have you read {{> \"#{dir}/test/fixtures/views/partial\" }}?"
|
229
229
|
template.render(nil, :author => "Stephanie Queen").must_equal "Have you read It Came From the Partial Side by Stephanie Queen?"
|
230
230
|
end
|
231
231
|
|
data/tilt-handlebars.gemspec
CHANGED
@@ -20,11 +20,12 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
22
|
spec.add_dependency "tilt", "~> 1.4"
|
23
|
-
spec.add_dependency "handlebars", "~> 0.
|
23
|
+
spec.add_dependency "handlebars", "~> 0.5"
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.3"
|
26
26
|
spec.add_development_dependency "rake"
|
27
27
|
spec.add_development_dependency "minitest", "~> 5.0"
|
28
28
|
spec.add_development_dependency "sinatra"
|
29
29
|
spec.add_development_dependency "rack-test"
|
30
|
+
spec.add_development_dependency "coveralls"
|
30
31
|
end
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tilt-handlebars
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jim Cushing
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-09-30 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: tilt
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,23 +27,20 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: handlebars
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: '0.
|
33
|
+
version: '0.5'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: '0.
|
40
|
+
version: '0.5'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: bundler
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,23 +55,20 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rake
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: minitest
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -94,33 +83,43 @@ dependencies:
|
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: sinatra
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- -
|
87
|
+
- - '>='
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: '0'
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- -
|
94
|
+
- - '>='
|
108
95
|
- !ruby/object:Gem::Version
|
109
96
|
version: '0'
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: rack-test
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - '>='
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: '0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
|
-
- -
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: coveralls
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
124
123
|
- !ruby/object:Gem::Version
|
125
124
|
version: '0'
|
126
125
|
description: Use Handlebars.rb with Tilt
|
@@ -131,6 +130,7 @@ extensions: []
|
|
131
130
|
extra_rdoc_files: []
|
132
131
|
files:
|
133
132
|
- .gitignore
|
133
|
+
- .travis.yml
|
134
134
|
- Gemfile
|
135
135
|
- LICENSE.txt
|
136
136
|
- README.md
|
@@ -153,27 +153,26 @@ files:
|
|
153
153
|
homepage: https://github.com/jimothyGator/tilt-handlebars
|
154
154
|
licenses:
|
155
155
|
- MIT
|
156
|
+
metadata: {}
|
156
157
|
post_install_message:
|
157
158
|
rdoc_options: []
|
158
159
|
require_paths:
|
159
160
|
- lib
|
160
161
|
required_ruby_version: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
162
|
requirements:
|
163
|
-
- -
|
163
|
+
- - '>='
|
164
164
|
- !ruby/object:Gem::Version
|
165
165
|
version: '0'
|
166
166
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
|
-
none: false
|
168
167
|
requirements:
|
169
|
-
- -
|
168
|
+
- - '>='
|
170
169
|
- !ruby/object:Gem::Version
|
171
170
|
version: '0'
|
172
171
|
requirements: []
|
173
172
|
rubyforge_project:
|
174
|
-
rubygems_version: 1.
|
173
|
+
rubygems_version: 2.1.5
|
175
174
|
signing_key:
|
176
|
-
specification_version:
|
175
|
+
specification_version: 4
|
177
176
|
summary: Use Handlebars.rb with Tilt
|
178
177
|
test_files:
|
179
178
|
- test/fixtures/views/hello.hbs
|