curly-templates 2.6.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -2
- data/Gemfile +0 -2
- data/curly-templates.gemspec +2 -3
- data/lib/curly/presenter.rb +1 -1
- data/lib/curly/version.rb +1 -1
- metadata +9 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 46f85e87a2acb2dca4a5697240b4c3adc5b8e9f3
|
|
4
|
+
data.tar.gz: 934f2c988d7aaaac31185688c7cdea5bf7eb6713
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cafbc87a5dc279e74e728da53ef1af239128f22a3d9e23f0194092958a482d385bc777c19ee1eefb512898e0798ca009cfcc7a681964fc691cfa3e06d015bd26
|
|
7
|
+
data.tar.gz: 73508e3b1060e487714682f40daa424a20fd2d680b8338e8c1d8fedbe83387689f2b9ca75c58ca903a58d27ccf1b1d05ffd0256bfa69c6d49f2120827d8c972e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
### Unreleased
|
|
2
2
|
|
|
3
|
+
### Curly 2.6.1 (August 3, 2016)
|
|
4
|
+
|
|
5
|
+
* Use Rails' `constantize` method instead of `get_const` when looking up
|
|
6
|
+
presenter classes, so that Rails has a chance to autoload missing classes.
|
|
7
|
+
|
|
8
|
+
*Creighton Long*
|
|
9
|
+
|
|
10
|
+
|
|
3
11
|
### Curly 2.6.0 (July 4, 2016)
|
|
4
12
|
|
|
5
13
|
* Add support for Rails 5.
|
|
@@ -25,7 +33,7 @@
|
|
|
25
33
|
end
|
|
26
34
|
end
|
|
27
35
|
```
|
|
28
|
-
|
|
36
|
+
|
|
29
37
|
*Daniel Schierbeck*
|
|
30
38
|
|
|
31
39
|
### Curly 2.5.0 (May 19, 2015)
|
|
@@ -38,7 +46,7 @@
|
|
|
38
46
|
presents(:author) { @comment.author }
|
|
39
47
|
end
|
|
40
48
|
```
|
|
41
|
-
|
|
49
|
+
|
|
42
50
|
*Steven Davidovitz & Jeremy Rodi*
|
|
43
51
|
|
|
44
52
|
### Curly 2.4.0 (February 24, 2015)
|
data/Gemfile
CHANGED
data/curly-templates.gemspec
CHANGED
|
@@ -7,7 +7,6 @@ Gem::Specification.new do |s|
|
|
|
7
7
|
|
|
8
8
|
s.name = 'curly-templates'
|
|
9
9
|
s.version = Curly::VERSION
|
|
10
|
-
s.date = '2015-05-19'
|
|
11
10
|
|
|
12
11
|
s.summary = "Free your views!"
|
|
13
12
|
s.description = "A view layer for your Rails apps that separates structure and logic."
|
|
@@ -25,8 +24,8 @@ Gem::Specification.new do |s|
|
|
|
25
24
|
|
|
26
25
|
s.add_development_dependency("railties", [">= 3.1", "< 5.1"])
|
|
27
26
|
s.add_development_dependency("rake")
|
|
28
|
-
s.add_development_dependency("rspec", "
|
|
29
|
-
s.add_development_dependency("genspec")
|
|
27
|
+
s.add_development_dependency("rspec", ">= 3")
|
|
28
|
+
s.add_development_dependency("genspec", ">= 0.3.0")
|
|
30
29
|
|
|
31
30
|
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(perf|spec)/}) }
|
|
32
31
|
s.test_files = s.files.select { |path| path =~ /^spec\/.*_spec\.rb/ }
|
data/lib/curly/presenter.rb
CHANGED
|
@@ -183,7 +183,7 @@ module Curly
|
|
|
183
183
|
# solution in the future.
|
|
184
184
|
begin
|
|
185
185
|
full_name = namespace.join("::") << "::" << class_name
|
|
186
|
-
|
|
186
|
+
full_name.constantize
|
|
187
187
|
rescue NameError => e
|
|
188
188
|
# Due to the way the exception hirearchy works, we need to check
|
|
189
189
|
# that this exception is actually a `NameError` - since other
|
data/lib/curly/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: curly-templates
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.6.
|
|
4
|
+
version: 2.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Schierbeck
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-08-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionpack
|
|
@@ -68,30 +68,30 @@ dependencies:
|
|
|
68
68
|
name: rspec
|
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
|
70
70
|
requirements:
|
|
71
|
-
- - "
|
|
71
|
+
- - ">="
|
|
72
72
|
- !ruby/object:Gem::Version
|
|
73
|
-
version: '
|
|
73
|
+
version: '3'
|
|
74
74
|
type: :development
|
|
75
75
|
prerelease: false
|
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
|
78
|
-
- - "
|
|
78
|
+
- - ">="
|
|
79
79
|
- !ruby/object:Gem::Version
|
|
80
|
-
version: '
|
|
80
|
+
version: '3'
|
|
81
81
|
- !ruby/object:Gem::Dependency
|
|
82
82
|
name: genspec
|
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
|
84
84
|
requirements:
|
|
85
85
|
- - ">="
|
|
86
86
|
- !ruby/object:Gem::Version
|
|
87
|
-
version:
|
|
87
|
+
version: 0.3.0
|
|
88
88
|
type: :development
|
|
89
89
|
prerelease: false
|
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
|
91
91
|
requirements:
|
|
92
92
|
- - ">="
|
|
93
93
|
- !ruby/object:Gem::Version
|
|
94
|
-
version:
|
|
94
|
+
version: 0.3.0
|
|
95
95
|
description: A view layer for your Rails apps that separates structure and logic.
|
|
96
96
|
email: daniel.schierbeck@gmail.com
|
|
97
97
|
executables: []
|
|
@@ -155,9 +155,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
155
155
|
version: '0'
|
|
156
156
|
requirements: []
|
|
157
157
|
rubyforge_project:
|
|
158
|
-
rubygems_version: 2.
|
|
158
|
+
rubygems_version: 2.6.6
|
|
159
159
|
signing_key:
|
|
160
160
|
specification_version: 2
|
|
161
161
|
summary: Free your views!
|
|
162
162
|
test_files: []
|
|
163
|
-
has_rdoc:
|