rails-assets

The solution to assets management in Rails

  • 所有者: tenex/rails-assets
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Rails Assets Build Status

Bundler to Bower proxy

This README concerns the development aspect of the project. Visit the site to learn how to use Rails Assets in your application.

Development

Setup

git clone git@github.com:tenex/rails-assets.git && cd rails-assets
bundle install && npm install
cp config/database{.sample,}.yml
cp config/application{.sample,}.yml
# edit config/database.yml and config/application.yml if necessary.
bin/rake db:setup
foreman start

Convert Bower package into Ruby gem using CLI

bin/rake 'component:convert[jquery,2.0.3]'

This will create rails-assets-NAME-VERSION.gem file.

You can remove this component by:

bin/rake 'component:destroy[jquery,2.0.3]'

Gems with a .js in their name

For packages from bower that have a .js in their name like typeahead.js which can generate a gem with the name rails-assets-typehead.js if You want to use this gem with Rails 4.2 or higher in order for your gem to work in your application.js you have to require it as follow

//= require typeahead.js.js

instead of

//= require typeahead.js

Credits

Maintained by Tenex Developers @tenex.

Originally created by @teamon, @porada and @sheerun, with the help of contributors. :heart:

Please don’t tweet bugs to us—report an issue instead. :v:

主要指標

概覽
名稱與所有者tenex/rails-assets
主編程語言Ruby
編程語言Ruby (語言數: 8)
平台
許可證MIT License
所有者活动
創建於2013-07-06 17:09:37
推送於2022-07-29 22:03:34
最后一次提交2022-07-29 18:04:11
發布數33
最新版本名稱production-deploy-20220720173313 (發布於 2022-07-20 17:33:27)
第一版名稱production-deploy-20160522210529 (發布於 2016-05-22 17:06:01)
用户参与
星數1.6k
關注者數28
派生數65
提交數1.6k
已啟用問題?
問題數435
打開的問題數25
拉請求數44
打開的拉請求數1
關閉的拉請求數16
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?