handlebarsjs 0.5.3 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '09543cdd93c4a2e1b3e5fd6133bebecdbfb4613cf7a9f7690b9d00f47065f6a5'
4
- data.tar.gz: 90cf3559a41f21fc2cee943e8de76846fe13044a9bcca9917cbf5286db1a53ee
3
+ metadata.gz: 1ae80a08fb0257c2b9f0ad6f48cd7c907bc15388b8a68d02ddd1b05ac69bff96
4
+ data.tar.gz: 84a1eb1d565250f52346f7454e3122759e795d7801a0c1d4cd106af71b7dae8b
5
5
  SHA512:
6
- metadata.gz: 9c1ffbb3d4651661bed9271df5cdb879848e1569ab974086ccf802a7b81743128570b976b235d6c597e8b343dfa748e6c22abfcfc54caf87cbd9cf1ca5f3c574
7
- data.tar.gz: 41199fb8108776482009c948b9be8dcb834df02affa351cf338b936f9c59b99545c8b326fd87edacc4bc7effa7255eeb42831b258f2c66ab0c81f769f9cfd977
6
+ metadata.gz: f308dce020f6a57b9d6c2b21997abb5add4b9ad040b8217ab033b7f1ac990a94ca2c74e2ad1ebde394a16ffce031dc40341333d50705d83b91fc62ac570cdf47
7
+ data.tar.gz: 2a6253654fcbd9c3ca30a2b4c071667bfe16814d72fa1a465edc2845fc658b88d23482b3521e9520d0585301d6a757ee4c69a8088deb49454cb869e12ef3c8e9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [0.5.3](https://github.com/klueless-io/handlebarsjs/compare/v0.5.2...v0.5.3) (2022-07-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add inflection: pluralize_number and pluralize_number_word ([2f5d6e1](https://github.com/klueless-io/handlebarsjs/commit/2f5d6e11b8cc6cd052496ec3f648423fbacececf))
7
+ * add inflection: pluralize_number and pluralize_number_word ([6590859](https://github.com/klueless-io/handlebarsjs/commit/6590859ddfb3d3402677939d887e70e611d18a97))
8
+
1
9
  ## [0.5.2](https://github.com/klueless-io/handlebarsjs/compare/v0.5.1...v0.5.2) (2022-07-12)
2
10
 
3
11
 
data/lib/_.rb CHANGED
@@ -28,7 +28,6 @@ require_relative 'handlebarsjs/helpers/comparison/or'
28
28
  require_relative 'handlebarsjs/helpers/inflection/ordinal'
29
29
  require_relative 'handlebarsjs/helpers/inflection/ordinalize'
30
30
  require_relative 'handlebarsjs/helpers/inflection/pluralize'
31
- require_relative 'handlebarsjs/helpers/inflection/pluralize_by_number'
32
31
  require_relative 'handlebarsjs/helpers/inflection/pluralize_number'
33
32
  require_relative 'handlebarsjs/helpers/inflection/pluralize_number_word'
34
33
  require_relative 'handlebarsjs/helpers/inflection/singularize'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Handlebarsjs
4
- VERSION = '0.5.3'
4
+ VERSION = '0.5.4'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "handlebarsjs",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "handlebarsjs",
9
- "version": "0.5.3",
9
+ "version": "0.5.4",
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.5.3",
3
+ "version": "0.5.4",
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: handlebarsjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
@@ -123,7 +123,6 @@ files:
123
123
  - lib/handlebarsjs/helpers/inflection/ordinal.rb
124
124
  - lib/handlebarsjs/helpers/inflection/ordinalize.rb
125
125
  - lib/handlebarsjs/helpers/inflection/pluralize.rb
126
- - lib/handlebarsjs/helpers/inflection/pluralize_by_number.rb
127
126
  - lib/handlebarsjs/helpers/inflection/pluralize_number.rb
128
127
  - lib/handlebarsjs/helpers/inflection/pluralize_number_word.rb
129
128
  - lib/handlebarsjs/helpers/inflection/singularize.rb
@@ -1,17 +0,0 @@
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