breezy_template 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/breezy_template.rb +285 -211
- data/lib/breezy_template/active_support.rb +3 -3
- data/lib/breezy_template/blank.rb +11 -0
- data/lib/breezy_template/breezy_template.rb +7 -0
- data/lib/breezy_template/cache_extension.rb +75 -27
- data/lib/breezy_template/configuration.rb +3 -1
- data/lib/breezy_template/deferment_extension.rb +14 -12
- data/lib/breezy_template/dependency_tracker.rb +5 -2
- data/lib/breezy_template/digestor.rb +2 -1
- data/lib/breezy_template/errors.rb +24 -0
- data/lib/breezy_template/handler.rb +4 -2
- data/lib/breezy_template/key_formatter.rb +34 -0
- data/lib/breezy_template/partial_extension.rb +57 -19
- data/lib/breezy_template/search_extension.rb +3 -3
- data/test/dependency_tracker_test.rb +80 -64
- data/test/{breezy_template_test.rb → extensions_test.rb} +130 -77
- data/test/template_test.rb +714 -0
- data/test/test_helper.rb +0 -1
- metadata +31 -25
- data/lib/breezy_template/version.rb +0 -3
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,55 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: breezy_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johny Ho
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: actionpack
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "<"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '3.0'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
19
|
+
version: 4.2.0
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "<"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '3.0'
|
30
24
|
- - ">="
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
26
|
+
version: 4.2.0
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
28
|
+
name: activesupport
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
|
-
- - "<"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '6.0'
|
40
31
|
- - ">="
|
41
32
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
33
|
+
version: 4.2.0
|
43
34
|
type: :runtime
|
44
35
|
prerelease: false
|
45
36
|
version_requirements: !ruby/object:Gem::Requirement
|
46
37
|
requirements:
|
47
|
-
- - "
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 4.2.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: multi_json
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
48
46
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
47
|
+
version: '1.2'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
50
52
|
- - ">="
|
51
53
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
54
|
+
version: '1.2'
|
53
55
|
- !ruby/object:Gem::Dependency
|
54
56
|
name: mocha
|
55
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,17 +74,21 @@ extra_rdoc_files: []
|
|
72
74
|
files:
|
73
75
|
- lib/breezy_template.rb
|
74
76
|
- lib/breezy_template/active_support.rb
|
77
|
+
- lib/breezy_template/blank.rb
|
78
|
+
- lib/breezy_template/breezy_template.rb
|
75
79
|
- lib/breezy_template/cache_extension.rb
|
76
80
|
- lib/breezy_template/configuration.rb
|
77
81
|
- lib/breezy_template/deferment_extension.rb
|
78
82
|
- lib/breezy_template/dependency_tracker.rb
|
79
83
|
- lib/breezy_template/digestor.rb
|
84
|
+
- lib/breezy_template/errors.rb
|
80
85
|
- lib/breezy_template/handler.rb
|
86
|
+
- lib/breezy_template/key_formatter.rb
|
81
87
|
- lib/breezy_template/partial_extension.rb
|
82
88
|
- lib/breezy_template/search_extension.rb
|
83
|
-
- lib/breezy_template/version.rb
|
84
|
-
- test/breezy_template_test.rb
|
85
89
|
- test/dependency_tracker_test.rb
|
90
|
+
- test/extensions_test.rb
|
91
|
+
- test/template_test.rb
|
86
92
|
- test/test_helper.rb
|
87
93
|
homepage: https://github.com/jho406/breezy/
|
88
94
|
licenses:
|
@@ -96,7 +102,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
96
102
|
requirements:
|
97
103
|
- - ">="
|
98
104
|
- !ruby/object:Gem::Version
|
99
|
-
version:
|
105
|
+
version: 1.9.3
|
100
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
107
|
requirements:
|
102
108
|
- - ">="
|
@@ -104,12 +110,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
110
|
version: '0'
|
105
111
|
requirements: []
|
106
112
|
rubyforge_project:
|
107
|
-
rubygems_version: 2.
|
113
|
+
rubygems_version: 2.5.2
|
108
114
|
signing_key:
|
109
115
|
specification_version: 4
|
110
116
|
summary: Breezy Templates for React props
|
111
117
|
test_files:
|
112
|
-
- test/breezy_template_test.rb
|
113
118
|
- test/dependency_tracker_test.rb
|
119
|
+
- test/extensions_test.rb
|
120
|
+
- test/template_test.rb
|
114
121
|
- test/test_helper.rb
|
115
|
-
has_rdoc:
|