Repository is archived
No release in over 3 years
Low commit activity in last 3 years
WebpackerToppings provides helpers for Webpacker
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 5.0
>= 6.0.3
 Project Readme

WebpackerToppings

This gem provides helpers for Webpacker

Installation

Add this line to your application's Gemfile:

gem 'webpacker_toppings'

And then execute:

$ bundle

Or install it yourself as:

$ gem install webpacker_toppings

Usage

Include the helpers you need in your app/helpers/application_helper.rb :

module ApplicationHelper
  include WebpackerToppings::Helpers::Packs
end

Helpers

Development and testing

  git clone git@github.com:codeur/webpacker_toppings.git
  cd webpacker_toppings
  bundle install
  cd test/dummy && bundle install && yarn install && cd ../..
  bin/test

Release

Before all, configure your credentials for RubyGems :

  1. Login to RubyGems
  2. Create a token which have rights to push gems (https://rubygems.org/profile/api_keys)
  3. Add it to your config:
echo ":rubygems_api_key: YOUR_API_KEY" >> ~/.gem/credentials

You just have to run default command:

rake release

Else, to publish a new version of this gem, you'll need to build it with gem build webpacker_toppings.gemspec and then push it manually:

gem push webpacker_toppings-X.X.X.gem

License

The gem is available as open source under the terms of the MIT License. Copyright 2021 Codeur SARL.