handlebarsjs 0.5.0 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.builders/.templates/helper.rb +31 -0
- data/.builders/.templates/helper_spec.rb +38 -0
- data/.builders/_.rb +3 -1
- data/.builders/boot.rb +2 -2
- data/.builders/director/handlebars_helper_builder.rb +67 -0
- data/.builders/director/handlebars_helper_child.rb +67 -0
- data/.builders/director/handlebars_helper_director.rb +24 -0
- data/.builders/generators/helpers/comparison_helpers.rb +44 -0
- data/CHANGELOG.md +22 -0
- data/Gemfile +8 -0
- data/docs/domain_model.drawio +32 -32
- data/docs/domain_model.json +57 -57
- data/docs/project-plan/project.drawio +16 -16
- data/lib/_.rb +34 -0
- data/lib/handlebarsjs/base_helper.rb +21 -8
- data/lib/handlebarsjs/handlebars_snapshot.rb +4 -6
- data/lib/handlebarsjs/helpers/array/join.rb +17 -0
- data/lib/handlebarsjs/helpers/array/join_post.rb +17 -0
- data/lib/handlebarsjs/helpers/array/join_pre.rb +17 -0
- data/lib/handlebarsjs/helpers/case/back_slash.rb +17 -0
- data/lib/handlebarsjs/helpers/case/camel.rb +17 -0
- data/lib/handlebarsjs/helpers/case/constant.rb +17 -0
- data/lib/handlebarsjs/helpers/case/dash.rb +17 -0
- data/lib/handlebarsjs/helpers/case/dot.rb +17 -0
- data/lib/handlebarsjs/helpers/case/double_colon.rb +17 -0
- data/lib/handlebarsjs/helpers/case/human.rb +17 -0
- data/lib/handlebarsjs/helpers/case/lamel.rb +17 -0
- data/lib/handlebarsjs/helpers/case/lower.rb +17 -0
- data/lib/handlebarsjs/helpers/case/slash.rb +17 -0
- data/lib/handlebarsjs/helpers/case/snake.rb +17 -0
- data/lib/handlebarsjs/helpers/case/title.rb +17 -0
- data/lib/handlebarsjs/helpers/case/upper.rb +17 -0
- data/lib/handlebarsjs/helpers/comparison/and.rb +17 -0
- data/lib/handlebarsjs/helpers/comparison/default.rb +17 -0
- data/lib/handlebarsjs/helpers/comparison/eq.rb +17 -0
- data/lib/handlebarsjs/helpers/comparison/gt.rb +17 -0
- data/lib/handlebarsjs/helpers/comparison/gte.rb +17 -0
- data/lib/handlebarsjs/helpers/comparison/lt.rb +17 -0
- data/lib/handlebarsjs/helpers/comparison/lte.rb +17 -0
- data/lib/handlebarsjs/helpers/comparison/ne.rb +17 -0
- data/lib/handlebarsjs/helpers/comparison/or.rb +17 -0
- data/lib/handlebarsjs/helpers/inflection/ordinal.rb +17 -0
- data/lib/handlebarsjs/helpers/inflection/ordinalize.rb +17 -0
- data/lib/handlebarsjs/helpers/inflection/pluralize.rb +17 -0
- data/lib/handlebarsjs/helpers/inflection/pluralize_by_number.rb +17 -0
- data/lib/handlebarsjs/helpers/inflection/pluralize_number.rb +17 -0
- data/lib/handlebarsjs/helpers/inflection/pluralize_number_word.rb +17 -0
- data/lib/handlebarsjs/helpers/inflection/singularize.rb +17 -0
- data/lib/handlebarsjs/version.rb +1 -1
- data/lib/handlebarsjs.rb +2 -0
- data/package-lock.json +2 -2
- data/package.json +1 -1
- metadata +58 -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 'string'
|
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 'string'
|
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 'string'
|
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 'string'
|
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 'string'
|
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 'string'
|
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 'string'
|
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
|
@@ -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
|
+
# And: Return true if **all of** the given values are truthy.
|
8
|
+
class And < Handlebarsjs::BaseHelper
|
9
|
+
register_cmdlet(Cmdlet::Comparison::And)
|
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
|
+
# 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
|
+
# PluralizeNumber: Returns the plural form of the word based on a count in the format "categories"
|
8
|
+
class PluralizeNumber < Handlebarsjs::BaseHelper
|
9
|
+
register_cmdlet(Cmdlet::Inflection::PluralizeNumber)
|
10
|
+
|
11
|
+
def to_proc
|
12
|
+
->(value, count, _opts) { wrapper(cmdlet.call(value, count)) }
|
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
|
+
# PluralizeNumberWord: Returns the plural form of the word based on a count with the count prefixed in the format "3 categories"
|
8
|
+
class PluralizeNumberWord < Handlebarsjs::BaseHelper
|
9
|
+
register_cmdlet(Cmdlet::Inflection::PluralizeNumberWord)
|
10
|
+
|
11
|
+
def to_proc
|
12
|
+
->(value, count, _opts) { wrapper(cmdlet.call(value, count)) }
|
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
|
data/lib/handlebarsjs/version.rb
CHANGED
data/lib/handlebarsjs.rb
CHANGED
@@ -1,11 +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'
|
8
9
|
require_relative 'handlebarsjs/base_helper'
|
10
|
+
require_relative '_'
|
9
11
|
|
10
12
|
module Handlebarsjs
|
11
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.5.
|
3
|
+
"version": "0.5.3",
|
4
4
|
"lockfileVersion": 2,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
7
7
|
"": {
|
8
8
|
"name": "handlebarsjs",
|
9
|
-
"version": "0.5.
|
9
|
+
"version": "0.5.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,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: handlebarsjs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.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-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,44 @@ 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
|
74
95
|
- lib/handlebarsjs/base_helper.rb
|
75
96
|
- lib/handlebarsjs/handlebars.rb
|
76
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
|
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/pluralize_number.rb
|
128
|
+
- lib/handlebarsjs/helpers/inflection/pluralize_number_word.rb
|
129
|
+
- lib/handlebarsjs/helpers/inflection/singularize.rb
|
77
130
|
- lib/handlebarsjs/javascript.rb
|
78
131
|
- lib/handlebarsjs/javascript/handlebars-4.7.7.js
|
79
132
|
- lib/handlebarsjs/javascript/handlebars-api.js
|
@@ -86,6 +139,9 @@ homepage: http://appydave.com/gems/handlebarsjs
|
|
86
139
|
licenses:
|
87
140
|
- MIT
|
88
141
|
metadata:
|
142
|
+
homepage_uri: http://appydave.com/gems/handlebarsjs
|
143
|
+
source_code_uri: https://github.com/klueless-io/handlebarsjs
|
144
|
+
changelog_uri: https://github.com/klueless-io/handlebarsjs/blob/main/CHANGELOG.md
|
89
145
|
rubygems_mfa_required: 'true'
|
90
146
|
post_install_message:
|
91
147
|
rdoc_options: []
|