handlebarsjs 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/handlebarsjs/handlebars_configuration_defaults.rb +7 -0
- data/lib/handlebarsjs/version.rb +1 -1
- data/package-lock.json +2 -2
- data/package.json +1 -1
- metadata +2 -6
- data/lib/handlebarsjs/helpers/array/default_configuration.rb +0 -7
- data/lib/handlebarsjs/helpers/case/default_configuration.rb +0 -17
- data/lib/handlebarsjs/helpers/comparison/default_configuration.rb +0 -13
- data/lib/handlebarsjs/helpers/inflection/default_configuration.rb +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83ccfdd308c499bfbbb4127a52fa9af19aa1f1cc8d7326b371c16da0f0e45400
|
4
|
+
data.tar.gz: 60eea0159f3065bf24798a096298706a13d568fe5417690c1edb46ecedaa4ee5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcee4752350cb7d5e2ee11c8ef0a7ca373589b60d9252497e125a815d234582585e0b94be3868505a6aca7bf60c25de6c1b8e98ff0a371c0cd744772c39edaa5
|
7
|
+
data.tar.gz: 17ffdd8d6c166a37fcd714c72eec08ca181a76aa2c8e7151d97a07b5feec9c3ef749632a3817b889dfd3366ad65a0156c44fcc178ff8193fc5afd78048aa9521
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## [0.6.2](https://github.com/klueless-io/handlebarsjs/compare/v0.6.1...v0.6.2) (2022-07-13)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* update rubocop.yml ([2188ecd](https://github.com/klueless-io/handlebarsjs/commit/2188ecdf7cd1201dbf60087a21467bc598c55c70))
|
7
|
+
* update rubocop.yml ([006b69a](https://github.com/klueless-io/handlebarsjs/commit/006b69a061f5acd2d15e302c321730621cf5a212))
|
8
|
+
|
1
9
|
## [0.6.1](https://github.com/klueless-io/handlebarsjs/compare/v0.6.0...v0.6.1) (2022-07-13)
|
2
10
|
|
3
11
|
|
@@ -3,6 +3,13 @@
|
|
3
3
|
module Handlebarsjs
|
4
4
|
# Pre-configure default helpers for each category
|
5
5
|
class HandlebarsConfigurationDefaults
|
6
|
+
def add_all_defaults
|
7
|
+
add_array_defaults
|
8
|
+
add_case_defaults
|
9
|
+
add_comparison_defaults
|
10
|
+
add_inflection_defaults
|
11
|
+
end
|
12
|
+
|
6
13
|
def add_array_defaults
|
7
14
|
KConfig.configure do |config|
|
8
15
|
config.handlebars.helper(:join, Handlebarsjs::Helpers::Array::Join.new)
|
data/lib/handlebarsjs/version.rb
CHANGED
data/package-lock.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "handlebarsjs",
|
3
|
-
"version": "0.6.
|
3
|
+
"version": "0.6.3",
|
4
4
|
"lockfileVersion": 2,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
7
7
|
"": {
|
8
8
|
"name": "handlebarsjs",
|
9
|
-
"version": "0.6.
|
9
|
+
"version": "0.6.3",
|
10
10
|
"devDependencies": {
|
11
11
|
"@klueless-js/semantic-release-rubygem": "github:klueless-js/semantic-release-rubygem",
|
12
12
|
"@semantic-release/changelog": "^6.0.1",
|
data/package.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: handlebarsjs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Cruwys
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cmdlet
|
@@ -97,7 +97,6 @@ files:
|
|
97
97
|
- lib/handlebarsjs/handlebars_configuration_defaults.rb
|
98
98
|
- lib/handlebarsjs/handlebars_configuration_extension.rb
|
99
99
|
- lib/handlebarsjs/handlebars_snapshot.rb
|
100
|
-
- lib/handlebarsjs/helpers/array/default_configuration.rb
|
101
100
|
- lib/handlebarsjs/helpers/array/join.rb
|
102
101
|
- lib/handlebarsjs/helpers/array/join_post.rb
|
103
102
|
- lib/handlebarsjs/helpers/array/join_pre.rb
|
@@ -105,7 +104,6 @@ files:
|
|
105
104
|
- lib/handlebarsjs/helpers/case/camel.rb
|
106
105
|
- lib/handlebarsjs/helpers/case/constant.rb
|
107
106
|
- lib/handlebarsjs/helpers/case/dash.rb
|
108
|
-
- lib/handlebarsjs/helpers/case/default_configuration.rb
|
109
107
|
- lib/handlebarsjs/helpers/case/dot.rb
|
110
108
|
- lib/handlebarsjs/helpers/case/double_colon.rb
|
111
109
|
- lib/handlebarsjs/helpers/case/human.rb
|
@@ -117,7 +115,6 @@ files:
|
|
117
115
|
- lib/handlebarsjs/helpers/case/upper.rb
|
118
116
|
- lib/handlebarsjs/helpers/comparison/and.rb
|
119
117
|
- lib/handlebarsjs/helpers/comparison/default.rb
|
120
|
-
- lib/handlebarsjs/helpers/comparison/default_configuration.rb
|
121
118
|
- lib/handlebarsjs/helpers/comparison/eq.rb
|
122
119
|
- lib/handlebarsjs/helpers/comparison/gt.rb
|
123
120
|
- lib/handlebarsjs/helpers/comparison/gte.rb
|
@@ -125,7 +122,6 @@ files:
|
|
125
122
|
- lib/handlebarsjs/helpers/comparison/lte.rb
|
126
123
|
- lib/handlebarsjs/helpers/comparison/ne.rb
|
127
124
|
- lib/handlebarsjs/helpers/comparison/or.rb
|
128
|
-
- lib/handlebarsjs/helpers/inflection/default_configuration.rb
|
129
125
|
- lib/handlebarsjs/helpers/inflection/ordinal.rb
|
130
126
|
- lib/handlebarsjs/helpers/inflection/ordinalize.rb
|
131
127
|
- lib/handlebarsjs/helpers/inflection/pluralize.rb
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
KConfig.configure do |config|
|
4
|
-
config.handlebars.helper(:join, Handlebarsjs::Helpers::Array::Join.new)
|
5
|
-
config.handlebars.helper(:join_pre, Handlebarsjs::Helpers::Array::JoinPre.new)
|
6
|
-
config.handlebars.helper(:join_post, Handlebarsjs::Helpers::Array::JoinPost.new)
|
7
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
KConfig.configure do |config|
|
4
|
-
config.handlebars.helper(:back_slash, Handlebarsjs::Helpers::Case::BackSlash.new)
|
5
|
-
config.handlebars.helper(:camel, Handlebarsjs::Helpers::Case::Camel.new)
|
6
|
-
config.handlebars.helper(:constant, Handlebarsjs::Helpers::Case::Constant.new)
|
7
|
-
config.handlebars.helper(:dash, Handlebarsjs::Helpers::Case::Dash.new)
|
8
|
-
config.handlebars.helper(:dot, Handlebarsjs::Helpers::Case::Dot.new)
|
9
|
-
config.handlebars.helper(:double_colon, Handlebarsjs::Helpers::Case::DoubleColon.new)
|
10
|
-
config.handlebars.helper(:human, Handlebarsjs::Helpers::Case::Human.new)
|
11
|
-
config.handlebars.helper(:lamel, Handlebarsjs::Helpers::Case::Lamel.new)
|
12
|
-
config.handlebars.helper(:lower, Handlebarsjs::Helpers::Case::Lower.new)
|
13
|
-
config.handlebars.helper(:slash, Handlebarsjs::Helpers::Case::Slash.new)
|
14
|
-
config.handlebars.helper(:snake, Handlebarsjs::Helpers::Case::Snake.new)
|
15
|
-
config.handlebars.helper(:title, Handlebarsjs::Helpers::Case::Title.new)
|
16
|
-
config.handlebars.helper(:upper, Handlebarsjs::Helpers::Case::Upper.new)
|
17
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
KConfig.configure do |config|
|
4
|
-
config.handlebars.helper(:and, Handlebarsjs::Helpers::Comparison::And.new)
|
5
|
-
config.handlebars.helper(:default, Handlebarsjs::Helpers::Comparison::Default.new)
|
6
|
-
config.handlebars.helper(:eq, Handlebarsjs::Helpers::Comparison::Eq.new)
|
7
|
-
config.handlebars.helper(:gt, Handlebarsjs::Helpers::Comparison::Gt.new)
|
8
|
-
config.handlebars.helper(:gte, Handlebarsjs::Helpers::Comparison::Gte.new)
|
9
|
-
config.handlebars.helper(:lt, Handlebarsjs::Helpers::Comparison::Lt.new)
|
10
|
-
config.handlebars.helper(:lte, Handlebarsjs::Helpers::Comparison::Lte.new)
|
11
|
-
config.handlebars.helper(:ne, Handlebarsjs::Helpers::Comparison::Ne.new)
|
12
|
-
config.handlebars.helper(:or, Handlebarsjs::Helpers::Comparison::Or.new)
|
13
|
-
end
|
@@ -1,10 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
KConfig.configure do |config|
|
4
|
-
config.handlebars.helper(:ordinal, Handlebarsjs::Helpers::Inflection::Ordinal.new)
|
5
|
-
config.handlebars.helper(:ordinalize, Handlebarsjs::Helpers::Inflection::Ordinalize.new)
|
6
|
-
config.handlebars.helper(:pluralize, Handlebarsjs::Helpers::Inflection::Pluralize.new)
|
7
|
-
config.handlebars.helper(:pluralize_number, Handlebarsjs::Helpers::Inflection::PluralizeNumber.new)
|
8
|
-
config.handlebars.helper(:pluralize_number_word, Handlebarsjs::Helpers::Inflection::PluralizeNumberWord.new)
|
9
|
-
config.handlebars.helper(:singularize, Handlebarsjs::Helpers::Inflection::Singularize.new)
|
10
|
-
end
|