handlebars_assets 0.12.2 → 0.12.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.ruby-gemset +1 -0
- data/.rvmrc +1 -1
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -0
- data/lib/handlebars_assets/config.rb +4 -0
- data/lib/handlebars_assets/tilt_handlebars.rb +2 -2
- data/lib/handlebars_assets/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTViZmE5OTE0ZDFiNjU5ZTkzMjMyYjIwZjI5NzA0ZjdlMzE4ZTcwMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OGRhMTc5NTEzZThjZjI4YzM4M2IyYTUwMWVhZjE1NDliMDZhOGZmMA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTFmODBjZmU0MDQwODkyZjEwNjMwYWJiNTY2NDhiNWNiOWNiNGE0M2Y3ZDM1
|
10
|
+
YzIzMjMzMTRhMzIzODZkYjA0ZmFjNDhiZjlkNTlhNmJjMThiZTZiODUxNTk1
|
11
|
+
ZWEwMzUxNzgyYzBmNDJkZDJmMWQzNzY4MmM2ZmIzYmRhZmI3NzY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2U2MzU0MjczYjhlNzJkMDhmMDAyOGZhYjBmYTkzMTc1YjJjYzhlNzMxNGJh
|
14
|
+
ZDA4NzRhYzkwNzY5NWUzMjk5Y2RlNTM3NmQ5YjdlODNmZDQ3YjY1ODQ1Nzk4
|
15
|
+
MDIxNjgyZDBhYjExMmE1OTgyYThmZmY1MDU3MzM3MDE1MGM0ZTI=
|
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
handlebars_assets
|
data/.rvmrc
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rvm use
|
1
|
+
rvm gemset use --create handlebars_assets
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
## On master
|
2
2
|
|
3
|
+
## 0.12.3 (2013-05-28)
|
4
|
+
|
5
|
+
* Pass scope and locals up the chain - @AlexRiedler
|
6
|
+
* Nicer rvmrc - @AlexRiedler
|
7
|
+
* Allow configure block - @AlexRiedler
|
8
|
+
|
3
9
|
## 0.12.2 (2013-05-27)
|
4
10
|
|
5
11
|
* Synchronize Sprockets engine registers with Rails - @mark-rushakoff
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -223,6 +223,7 @@ Follow me on [Github](https://github.com/leshill) and [Twitter](https://twitter.
|
|
223
223
|
* Akshay Rawat (@akshayrawat) : Update to handlebars.js 1.0.0-rc.3
|
224
224
|
* Turadg Aleahmad (@turadg) : Update to handlebars 1.0.0-rc.4
|
225
225
|
* Mark Rushakoff (@mark-rushakoff) : Synchronize Sprockets engine registers with Rails
|
226
|
+
* Alex Riedler (@AlexRiedler) : Pass scope and locals up the chain
|
226
227
|
|
227
228
|
# Contributing
|
228
229
|
|
@@ -23,9 +23,9 @@ module HandlebarsAssets
|
|
23
23
|
template_path = TemplatePath.new(scope)
|
24
24
|
|
25
25
|
source = if template_path.is_haml?
|
26
|
-
Haml::Engine.new(data, HandlebarsAssets::Config.haml_options).render
|
26
|
+
Haml::Engine.new(data, HandlebarsAssets::Config.haml_options).render(scope, locals)
|
27
27
|
elsif template_path.is_slim?
|
28
|
-
Slim::Template.new(HandlebarsAssets::Config.slim_options) { data }.render
|
28
|
+
Slim::Template.new(HandlebarsAssets::Config.slim_options) { data }.render(scope, locals)
|
29
29
|
else
|
30
30
|
data
|
31
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: handlebars_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Les Hill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|
@@ -130,6 +130,7 @@ extensions: []
|
|
130
130
|
extra_rdoc_files: []
|
131
131
|
files:
|
132
132
|
- .gitignore
|
133
|
+
- .ruby-gemset
|
133
134
|
- .rvmrc
|
134
135
|
- CHANGELOG.md
|
135
136
|
- Gemfile
|