handlebarsjs 0.4.0 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/.builders/.templates/helper.rb +31 -0
  3. data/.builders/.templates/helper_spec.rb +38 -0
  4. data/.builders/_.rb +3 -1
  5. data/.builders/boot.rb +2 -2
  6. data/.builders/director/handlebars_helper_builder.rb +67 -0
  7. data/.builders/director/handlebars_helper_child.rb +67 -0
  8. data/.builders/director/handlebars_helper_director.rb +24 -0
  9. data/.builders/generators/helpers/comparison_helpers.rb +44 -0
  10. data/CHANGELOG.md +22 -0
  11. data/Gemfile +8 -0
  12. data/docs/domain_model.drawio +32 -32
  13. data/docs/domain_model.json +57 -57
  14. data/docs/project-plan/project.drawio +16 -16
  15. data/lib/_.rb +32 -0
  16. data/lib/handlebarsjs/base_helper.rb +37 -0
  17. data/lib/handlebarsjs/handlebars_snapshot.rb +13 -5
  18. data/lib/handlebarsjs/helpers/array/join.rb +17 -0
  19. data/lib/handlebarsjs/helpers/array/join_post.rb +17 -0
  20. data/lib/handlebarsjs/helpers/array/join_pre.rb +17 -0
  21. data/lib/handlebarsjs/helpers/case/back_slash.rb +17 -0
  22. data/lib/handlebarsjs/helpers/case/camel.rb +17 -0
  23. data/lib/handlebarsjs/helpers/case/constant.rb +17 -0
  24. data/lib/handlebarsjs/helpers/case/dash.rb +17 -0
  25. data/lib/handlebarsjs/helpers/case/dot.rb +17 -0
  26. data/lib/handlebarsjs/helpers/case/double_colon.rb +17 -0
  27. data/lib/handlebarsjs/helpers/case/human.rb +17 -0
  28. data/lib/handlebarsjs/helpers/case/lamel.rb +17 -0
  29. data/lib/handlebarsjs/helpers/case/lower.rb +17 -0
  30. data/lib/handlebarsjs/helpers/case/slash.rb +17 -0
  31. data/lib/handlebarsjs/helpers/case/snake.rb +17 -0
  32. data/lib/handlebarsjs/helpers/case/title.rb +17 -0
  33. data/lib/handlebarsjs/helpers/case/upper.rb +17 -0
  34. data/lib/handlebarsjs/helpers/comparison/and.rb +5 -33
  35. data/lib/handlebarsjs/helpers/comparison/default.rb +17 -0
  36. data/lib/handlebarsjs/helpers/comparison/eq.rb +17 -0
  37. data/lib/handlebarsjs/helpers/comparison/gt.rb +17 -0
  38. data/lib/handlebarsjs/helpers/comparison/gte.rb +17 -0
  39. data/lib/handlebarsjs/helpers/comparison/lt.rb +17 -0
  40. data/lib/handlebarsjs/helpers/comparison/lte.rb +17 -0
  41. data/lib/handlebarsjs/helpers/comparison/ne.rb +17 -0
  42. data/lib/handlebarsjs/helpers/comparison/or.rb +17 -0
  43. data/lib/handlebarsjs/helpers/inflection/ordinal.rb +17 -0
  44. data/lib/handlebarsjs/helpers/inflection/ordinalize.rb +17 -0
  45. data/lib/handlebarsjs/helpers/inflection/pluralize.rb +17 -0
  46. data/lib/handlebarsjs/helpers/inflection/pluralize_by_number.rb +17 -0
  47. data/lib/handlebarsjs/helpers/inflection/singularize.rb +17 -0
  48. data/lib/handlebarsjs/version.rb +1 -1
  49. data/lib/handlebarsjs.rb +3 -0
  50. data/package-lock.json +2 -2
  51. data/package.json +1 -1
  52. metadata +56 -2
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Tokenize and apply case and/or separator
6
+ module Case
7
+ # DoubleColon: Double colon case the characters in the given 'string'
8
+ class DoubleColon < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Case::DoubleColon)
10
+
11
+ def to_proc
12
+ ->(value, _opts) { wrapper(cmdlet.call(value)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Tokenize and apply case and/or separator
6
+ module Case
7
+ # Human: Human case the characters in the given &#x27;string&#x27;
8
+ class Human < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Case::Human)
10
+
11
+ def to_proc
12
+ ->(value, _opts) { wrapper(cmdlet.call(value)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Tokenize and apply case and/or separator
6
+ module Case
7
+ # Lamel: Lower camel case the characters in the given &#x27;string&#x27;
8
+ class Lamel < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Case::Lamel)
10
+
11
+ def to_proc
12
+ ->(value, _opts) { wrapper(cmdlet.call(value)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Tokenize and apply case and/or separator
6
+ module Case
7
+ # Lower: Lower case the characters in the given &#x27;string&#x27;
8
+ class Lower < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Case::Lower)
10
+
11
+ def to_proc
12
+ ->(value, _opts) { wrapper(cmdlet.call(value)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Tokenize and apply case and/or separator
6
+ module Case
7
+ # Slash: Slash case the characters in the given &#x27;string&#x27;
8
+ class Slash < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Case::Slash)
10
+
11
+ def to_proc
12
+ ->(value, _opts) { wrapper(cmdlet.call(value)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Tokenize and apply case and/or separator
6
+ module Case
7
+ # Snake: Snake case the characters in the given &#x27;string&#x27;
8
+ class Snake < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Case::Snake)
10
+
11
+ def to_proc
12
+ ->(value, _opts) { wrapper(cmdlet.call(value)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Tokenize and apply case and/or separator
6
+ module Case
7
+ # Title: Title case the characters in the given &#x27;string&#x27;
8
+ class Title < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Case::Title)
10
+
11
+ def to_proc
12
+ ->(value, _opts) { wrapper(cmdlet.call(value)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Tokenize and apply case and/or separator
6
+ module Case
7
+ # Upper: Upper case the characters in the given &#x27;string&#x27;
8
+ class Upper < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Case::Upper)
10
+
11
+ def to_proc
12
+ ->(value, _opts) { wrapper(cmdlet.call(value)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -1,43 +1,15 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # reference: https://github.com/rails/rails/blob/master/activesupport/lib/active_support/inflector/methods.rb
4
- # require 'active_support/core_ext/string'
5
-
6
- # require 'handlebars/helpers/base_helper'
7
-
8
3
  module Handlebarsjs
9
4
  module Helpers
10
5
  # Comparison helpers, eg. or, and, equal, not equal, less than, greater than etc.
11
6
  module Comparison
12
- # And: Block helper that renders a block if **all of** the given values are truthy. If an inverse block is specified it will be rendered when falsy.
13
- # < Handlebars::Helpers::BaseHelper
14
- class And
15
- # Parse will And: Block helper that renders a block if **all of** the given values are truthy. If an inverse block is specified it will be rendered when falsy.
16
- #
17
- # @example
18
- #
19
- # {{#if (and p1 p2 p3 p4 p5)}}
20
- # found
21
- # {{/if}}
22
- #
23
- # @example
24
- #
25
- # @example
26
- # {{#if (and name age)}}
27
- # {{name}}-{{age}}
28
- # {{else}}
29
- # no name or age
30
- # {{/if}}
31
- #
32
- # @param values list of values (via *splat) to be checked via AND condition
33
- # @return [String] return block when every value is truthy
34
- def parse(values)
35
- values.all? { |value| value }
36
- end
7
+ # And: Return true if **all of** the given values are truthy.
8
+ class And < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Comparison::And)
37
10
 
38
- def handlebars_helper
39
- # Exclude last paramater which is the context V8::Object
40
- proc { |_context, *values| wrapper(parse(values[0..-2])) }
11
+ def to_proc
12
+ ->(*values, _opts) { wrapper(cmdlet.call(*values)) }
41
13
  end
42
14
  end
43
15
  end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Comparison helpers, eg. or, and, equal, not equal, less than, greater than etc.
6
+ module Comparison
7
+ # Default: Return true if **all of** the given values are truthy.
8
+ class Default < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Comparison::Default)
10
+
11
+ def to_proc
12
+ ->(*values, _opts) { wrapper(cmdlet.call(*values)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Comparison helpers, eg. or, and, equal, not equal, less than, greater than etc.
6
+ module Comparison
7
+ # Eq: Return true if two values are equal
8
+ class Eq < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Comparison::Eq)
10
+
11
+ def to_proc
12
+ ->(lhs, rhs, _opts) { wrapper(cmdlet.call(lhs, rhs)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Comparison helpers, eg. or, and, equal, not equal, less than, greater than etc.
6
+ module Comparison
7
+ # Gt: Return true if left hand side GREATER THAN right hand side
8
+ class Gt < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Comparison::Gt)
10
+
11
+ def to_proc
12
+ ->(lhs, rhs, _opts) { wrapper(cmdlet.call(lhs, rhs)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Comparison helpers, eg. or, and, equal, not equal, less than, greater than etc.
6
+ module Comparison
7
+ # Gte: Return true if left hand side GREATER THAN or EQUAL TO right hand side
8
+ class Gte < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Comparison::Gte)
10
+
11
+ def to_proc
12
+ ->(lhs, rhs, _opts) { wrapper(cmdlet.call(lhs, rhs)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Comparison helpers, eg. or, and, equal, not equal, less than, greater than etc.
6
+ module Comparison
7
+ # Lt: Return true if left hand side LESS THAN right hand side
8
+ class Lt < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Comparison::Lt)
10
+
11
+ def to_proc
12
+ ->(lhs, rhs, _opts) { wrapper(cmdlet.call(lhs, rhs)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Comparison helpers, eg. or, and, equal, not equal, less than, greater than etc.
6
+ module Comparison
7
+ # Lte: Return true if left hand side LESS THAN or EQUAL TO right hand side
8
+ class Lte < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Comparison::Lte)
10
+
11
+ def to_proc
12
+ ->(lhs, rhs, _opts) { wrapper(cmdlet.call(lhs, rhs)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Comparison helpers, eg. or, and, equal, not equal, less than, greater than etc.
6
+ module Comparison
7
+ # Ne: Return true if left hand side is NOT equal to right hand side
8
+ class Ne < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Comparison::Ne)
10
+
11
+ def to_proc
12
+ ->(lhs, rhs, _opts) { wrapper(cmdlet.call(lhs, rhs)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Comparison helpers, eg. or, and, equal, not equal, less than, greater than etc.
6
+ module Comparison
7
+ # Or: Return true if any value is truthy.
8
+ class Or < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Comparison::Or)
10
+
11
+ def to_proc
12
+ ->(*values, _opts) { wrapper(cmdlet.call(*values)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Inflection handling routines, eg. pluralize, singular, ordinalize
6
+ module Inflection
7
+ # Ordinal: The suffix that should be added to a number to denote the position in an ordered sequence such as 1st, 2nd, 3rd, 4th
8
+ class Ordinal < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Inflection::Ordinal)
10
+
11
+ def to_proc
12
+ ->(value, _opts) { wrapper(cmdlet.call(value)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Inflection handling routines, eg. pluralize, singular, ordinalize
6
+ module Inflection
7
+ # Ordinalize: Turns a number into an ordinal string used to denote the position in an ordered sequence such as 1st, 2nd, 3rd, 4th.
8
+ class Ordinalize < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Inflection::Ordinalize)
10
+
11
+ def to_proc
12
+ ->(value, _opts) { wrapper(cmdlet.call(value)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Inflection handling routines, eg. pluralize, singular, ordinalize
6
+ module Inflection
7
+ # Pluralize: Returns the plural form of the word in the string
8
+ class Pluralize < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Inflection::Pluralize)
10
+
11
+ def to_proc
12
+ ->(value, _opts) { wrapper(cmdlet.call(value)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Inflection handling routines, eg. pluralize, singular, ordinalize
6
+ module Inflection
7
+ # PluralizeByNumber: Returns the plural form of the word based on a count
8
+ class PluralizeByNumber < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Inflection::PluralizeByNumber)
10
+
11
+ def to_proc
12
+ ->(value, count, format, _opts) { wrapper(cmdlet.call(value, count, format)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Handlebarsjs
4
+ module Helpers
5
+ # Inflection handling routines, eg. pluralize, singular, ordinalize
6
+ module Inflection
7
+ # Singularize: The reverse of #pluralize, returns the singular form of a word in a string
8
+ class Singularize < Handlebarsjs::BaseHelper
9
+ register_cmdlet(Cmdlet::Inflection::Singularize)
10
+
11
+ def to_proc
12
+ ->(value, _opts) { wrapper(cmdlet.call(value)) }
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Handlebarsjs
4
- VERSION = '0.4.0'
4
+ VERSION = '0.5.2'
5
5
  end
data/lib/handlebarsjs.rb CHANGED
@@ -1,10 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'mini_racer'
4
+ require 'cmdlet'
4
5
  require_relative 'handlebarsjs/version'
5
6
  require_relative 'handlebarsjs/javascript'
6
7
  require_relative 'handlebarsjs/handlebars_snapshot'
7
8
  require_relative 'handlebarsjs/handlebars'
9
+ require_relative 'handlebarsjs/base_helper'
10
+ require_relative '_'
8
11
 
9
12
  module Handlebarsjs
10
13
  HANDLEBARS_LIBRARY_PATH = 'lib/handlebarsjs/javascript/handlebars-4.7.7.js'
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "handlebarsjs",
3
- "version": "0.4.0",
3
+ "version": "0.5.2",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "handlebarsjs",
9
- "version": "0.4.0",
9
+ "version": "0.5.2",
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.4.0",
3
+ "version": "0.5.2",
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,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: handlebarsjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.2
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-06 00:00:00.000000000 Z
11
+ date: 2022-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: cmdlet
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: k_log
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -46,10 +60,16 @@ executables: []
46
60
  extensions: []
47
61
  extra_rdoc_files: []
48
62
  files:
63
+ - ".builders/.templates/helper.rb"
64
+ - ".builders/.templates/helper_spec.rb"
49
65
  - ".builders/_.rb"
50
66
  - ".builders/boot.rb"
67
+ - ".builders/director/handlebars_helper_builder.rb"
68
+ - ".builders/director/handlebars_helper_child.rb"
69
+ - ".builders/director/handlebars_helper_director.rb"
51
70
  - ".builders/generators/01-bootstrap.rb"
52
71
  - ".builders/generators/domain_model.rb"
72
+ - ".builders/generators/helpers/comparison_helpers.rb"
53
73
  - ".builders/generators/project-plan.rb"
54
74
  - ".releaserc.json"
55
75
  - ".rspec"
@@ -69,11 +89,42 @@ files:
69
89
  - docs/domain_model_custom.drawio
70
90
  - docs/project-plan/project.drawio
71
91
  - docs/project-plan/project_in_progress.svg
92
+ - lib/_.rb
72
93
  - lib/handlebarsjs.rb
73
94
  - lib/handlebarsjs/api.rb
95
+ - lib/handlebarsjs/base_helper.rb
74
96
  - lib/handlebarsjs/handlebars.rb
75
97
  - lib/handlebarsjs/handlebars_snapshot.rb
98
+ - lib/handlebarsjs/helpers/array/join.rb
99
+ - lib/handlebarsjs/helpers/array/join_post.rb
100
+ - lib/handlebarsjs/helpers/array/join_pre.rb
101
+ - lib/handlebarsjs/helpers/case/back_slash.rb
102
+ - lib/handlebarsjs/helpers/case/camel.rb
103
+ - lib/handlebarsjs/helpers/case/constant.rb
104
+ - lib/handlebarsjs/helpers/case/dash.rb
105
+ - lib/handlebarsjs/helpers/case/dot.rb
106
+ - lib/handlebarsjs/helpers/case/double_colon.rb
107
+ - lib/handlebarsjs/helpers/case/human.rb
108
+ - lib/handlebarsjs/helpers/case/lamel.rb
109
+ - lib/handlebarsjs/helpers/case/lower.rb
110
+ - lib/handlebarsjs/helpers/case/slash.rb
111
+ - lib/handlebarsjs/helpers/case/snake.rb
112
+ - lib/handlebarsjs/helpers/case/title.rb
113
+ - lib/handlebarsjs/helpers/case/upper.rb
76
114
  - lib/handlebarsjs/helpers/comparison/and.rb
115
+ - lib/handlebarsjs/helpers/comparison/default.rb
116
+ - lib/handlebarsjs/helpers/comparison/eq.rb
117
+ - lib/handlebarsjs/helpers/comparison/gt.rb
118
+ - lib/handlebarsjs/helpers/comparison/gte.rb
119
+ - lib/handlebarsjs/helpers/comparison/lt.rb
120
+ - lib/handlebarsjs/helpers/comparison/lte.rb
121
+ - lib/handlebarsjs/helpers/comparison/ne.rb
122
+ - lib/handlebarsjs/helpers/comparison/or.rb
123
+ - lib/handlebarsjs/helpers/inflection/ordinal.rb
124
+ - lib/handlebarsjs/helpers/inflection/ordinalize.rb
125
+ - lib/handlebarsjs/helpers/inflection/pluralize.rb
126
+ - lib/handlebarsjs/helpers/inflection/pluralize_by_number.rb
127
+ - lib/handlebarsjs/helpers/inflection/singularize.rb
77
128
  - lib/handlebarsjs/javascript.rb
78
129
  - lib/handlebarsjs/javascript/handlebars-4.7.7.js
79
130
  - lib/handlebarsjs/javascript/handlebars-api.js
@@ -86,6 +137,9 @@ homepage: http://appydave.com/gems/handlebarsjs
86
137
  licenses:
87
138
  - MIT
88
139
  metadata:
140
+ homepage_uri: http://appydave.com/gems/handlebarsjs
141
+ source_code_uri: https://github.com/klueless-io/handlebarsjs
142
+ changelog_uri: https://github.com/klueless-io/handlebarsjs/blob/main/CHANGELOG.md
89
143
  rubygems_mfa_required: 'true'
90
144
  post_install_message:
91
145
  rdoc_options: []