File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 - main
1212
1313jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v2
19+ - name : Install
20+ uses : ruby/setup-ruby@v1
21+ with :
22+ ruby-version : ruby-3
23+ bundler-cache : true
24+ - name : Build
25+ run : bin/build
26+
1427 coverage :
1528 runs-on : ubuntu-latest
1629 steps :
4154 ruby-version : ruby-3
4255 bundler-cache : true
4356 - name : Lint
44- run : bundle exec rubocop
57+ run : bin/lint
4558
4659 test :
4760 strategy :
6679 ruby-version : ${{ matrix.ruby }}
6780 bundler-cache : true
6881 - name : Test
69- run : bundle exec rake
82+ run : bin/ rake
Original file line number Diff line number Diff line change @@ -138,6 +138,10 @@ Metrics/ModuleLength:
138138Metrics/ParameterLists :
139139 Max : 10
140140
141+ Naming/FileName :
142+ Exclude :
143+ - lib/handlebars-engine.rb
144+
141145RSpec/ExampleLength :
142146 CountAsOne :
143147 - array
Original file line number Diff line number Diff line change @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ### Added
11+ - ` initialize ` : add path parameter ([ #5 ] ( https://github.com/gi/handlebars-ruby/pull/5 ) )
12+ - ` register_helper ` : accept multiple helpers as keyword parameters ([ #6 ] ( https://github.com/gi/handlebars-ruby/pull/6 ) )
13+ - ` register_helper ` : accept javascript function as string ([ #7 ] ( https://github.com/gi/handlebars-ruby/pull/7 ) )
14+ - ` ci ` : verify gem builds ([ #8 ] ( https://github.com/gi/handlebars-ruby/pull/8 ) )
15+ - ` require ` : allow loading from ` handlebars-engine ` and ` handlebars/engine ` ([ #8 ] ( https://github.com/gi/handlebars-ruby/pull/8 ) )
16+
17+ ### Changed
18+
1019## [ 0.2.0] - 2022-01-27
1120
1221This is the initial implementation, wrapping the JavaScript Handlebars.
Original file line number Diff line number Diff line change 44#
55# This file was generated by Bundler.
66#
7- # The application 'handlebars-engine ' is installed as part of a gem, and
7+ # The application 'handlebars' is installed as part of a gem, and
88# this file is here to facilitate running it.
99#
1010
2626require "rubygems"
2727require "bundler/setup"
2828
29- load Gem . bin_path ( "handlebars-engine" , "handlebars-engine " )
29+ load Gem . bin_path ( "handlebars-engine" , "handlebars" )
Original file line number Diff line number Diff line change 1+ # frozen_string_literal: true
2+
3+ require "handlebars/engine"
You can’t perform that action at this time.
0 commit comments