Sha256: 40bed6be64594b1f04b00ea406f78d7a9c3ed4b9c1ad7e8618a7d2cfcd4883c4
Contents?: true
Size: 684 Bytes
Versions: 3
Compression:
Stored size: 684 Bytes
Contents
# ActionView::RevManifest Let Rails load rev-manifest.json generated by [gulp-rev](https://github.com/sindresorhus/gulp-rev). ## Usage Add to your Gemfile: ```rb gem "actionview-rev_manifest" ``` Run: ``` bundle install ``` ## Setup ```rb #config/initializers/actionview-rev_manifest.rb RevManifest.enabled = Rails.env.production? ``` ## Sample gulpfile.coffee ```coffee gulp = require "gulp" rev = require "gulp-rev" gulp.task "precompile", -> gulp.src([ "public/assets/javascripts/*.js", "public/assets/stylesheets/*.css" ], base: "public") .pipe(rev()) .pipe(gulp.dest("public")) .pipe(rev.manifest()) .pipe(gulp.dest("public/assets")) ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
actionview-rev_manifest-0.1.1 | README.md |
actionview-rev_manifest-0.1.0 | README.md |
actionview-rev_manifest-0.0.1 | README.md |