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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da7d6a66b78d59642bb2921f13da3553de5c243db72a73e23a08a94d5368d1d5
4
- data.tar.gz: e3b07b2f9a72fe5f9f8176e53d40a910bbe0d3410a68132205d6394672c0b601
3
+ metadata.gz: 83ccfdd308c499bfbbb4127a52fa9af19aa1f1cc8d7326b371c16da0f0e45400
4
+ data.tar.gz: 60eea0159f3065bf24798a096298706a13d568fe5417690c1edb46ecedaa4ee5
5
5
  SHA512:
6
- metadata.gz: a685ca3d7d3a37da9d67920af181b073287f39b95e24d4b583e95569d9b89fb404950ad0bfe6abab7baf5f23004b7f21bad429a9c6d01cdfd37721835b4daa2e
7
- data.tar.gz: 03a18b7a98a9284fb0e82cf005520234003c200e814c66054d78e4ffedd05e74eb4620309d410ee67b26660e8aa38ac9dcee4eadb2f433d8736e51c216dc5625
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Handlebarsjs
4
- VERSION = '0.6.2'
4
+ VERSION = '0.6.3'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "handlebarsjs",
3
- "version": "0.6.2",
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.2",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "handlebarsjs",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "handlebarsjs GEM wraps the handlebars.js library and provides ruby/javascript interoperability",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
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.2
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-13 00:00:00.000000000 Z
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