stache 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.md +8 -0
- data/README.md +1 -0
- data/lib/stache/railtie.rb +1 -1
- data/lib/stache/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzZkZjUyYzllZWRhODJkYzc4YTViMGFhYzlkOTgyMTU2MmVkZjgwOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
M2M5MGM0ZDU5Zjk3YWVmMWFiZWI1ZDM3MTUxMzMzMTY1NDM3ODZiOA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YzJmYjgyYmQ2MzBkOTZiOWIxNzI4NmRkZWUxY2Q0OTNjNzk4MWIwMDQ5Mzg2
|
10
|
+
ZTQ4Y2IxMjkyYjRmNWFkODhkMjU0Yzk2ZDE1MDAyNTQwM2Q3YTcxNWVmZmE4
|
11
|
+
MzkwMmI2MGUwNjUzMDlhMDc2ZTc1YzhmYjkzYTEzZGI2Y2Y1ZmE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDEyNTAyMDg4OTcwYmFjMWNmNjUzMWVhODdkMzQ1NWE2NTNlZDM0YzUwMjll
|
14
|
+
NDZhZTBiNzc2MzNlNWE0YTAwMmUwNjk0MzhhMTY5YWNmYTdkZTNjYzg3YjFl
|
15
|
+
NjE0OTkxZjgwNTY3OGJiNjM5ZjAwYTQ5OTU2ZTJjZTdkOGU1MzA=
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
# 1.0.1
|
2
|
+
|
3
|
+
* Change autoload paths to an array of Strings instead of Pathnames, for greater compatibility.
|
4
|
+
|
5
|
+
# 1.0.1
|
6
|
+
|
7
|
+
* Fix a regression in mustache layout handling.
|
8
|
+
|
1
9
|
# 1.0.0
|
2
10
|
|
3
11
|
* Overhauled Mustache template engine. If you wish to have Mustache drive your entire template stack, you can invert control to it.
|
data/README.md
CHANGED
@@ -123,6 +123,7 @@ So: thanks a ton to those guys.
|
|
123
123
|
* [awestendorf](https://github.com/awestendorf) requested that `View#partial` not be so particular about leading underscores. Though I didn't use his code, his prompt lead me to investigate how to properly use Rails' internal template lookup code.
|
124
124
|
* [zombor](https://github.com/zombor) contributed an overhaul to the Mustache renderer that puts Mustache classes themselves in control of the render chain, not Rails.
|
125
125
|
* [kategengler](https://github.com/kategengler) contributed a patch to allow folks to specify a namespace for their view objects.
|
126
|
+
* [joker1007](https://github.com/joker1007) contributed a patch making the autoload paths setup more broadly compatible.
|
126
127
|
|
127
128
|
Thanks a ton to all of the contributors as well. This would never have grown beyond a mediocre tool that rendered partials without their help!
|
128
129
|
|
data/lib/stache/railtie.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Stache
|
2
2
|
class Railtie < ::Rails::Railtie
|
3
3
|
initializer 'stache.autoload', :before => :set_autoload_paths do |app|
|
4
|
-
app.config.autoload_paths << Rails.root + 'app/views'
|
4
|
+
app.config.autoload_paths << (Rails.root + 'app/views').to_s
|
5
5
|
end
|
6
6
|
|
7
7
|
config.to_prepare do
|
data/lib/stache/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Wilson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mustache
|