ngmin-rails 0.3.8 → 0.3.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ee3f4af81682c497f3c5453e862ce80015943e7
4
- data.tar.gz: 0e092f6227d7a6b5566203d6a3b58d1c564dad7b
3
+ metadata.gz: 1cd5e0bf3ec10f68f5836db26375819f04226a63
4
+ data.tar.gz: 832ba355efca94a0d3940639788cf07fb2cef193
5
5
  SHA512:
6
- metadata.gz: 092380b00be257fed6f85fe14da31e92ad7e101c7e674b2edae5af88301ade9fb000b0fb743e0b8d114423a4f186eb1c9d5dfc78cfe3327f98f286d06f7d676b
7
- data.tar.gz: f6cb10e02217d87b55bf7d66fcaf80edc26aa1b73c0db615ee21b5e78ba8c8fed398eecd9b487f5cb0c0829efb18d312d318939c81bcc5db356e4b9f31b4428b
6
+ metadata.gz: 29a7b94ba32e769ddc4e200a8bee32124570e6914b0575dbe6cba5e4124559eee83b3b7e191ca3b0ee46c197a39ca2ffc40fdca201fc02c9aa8552c40c07515d
7
+ data.tar.gz: e28f548110296eeb88e86cf0f9e8db063b643aeaaf4a8b3088cb079fc0f24dfb9f03112a1e9a0411c4d75892bd1d928222d927dbebe8cfb966cfc9894057eeea
data/README.md CHANGED
@@ -1,8 +1,10 @@
1
- # Ngmin::Rails
1
+ ngmin-rails
2
+ ===========
2
3
 
3
4
  Use <https://github.com/btford/ngmin> in the Rails asset pipeline.
4
5
 
5
- ## Installation
6
+ Installation
7
+ ------------
6
8
 
7
9
  Add this line to your application's Gemfile:
8
10
 
@@ -12,18 +14,22 @@ And then execute:
12
14
 
13
15
  $ bundle
14
16
 
15
- Or install it yourself as:
17
+ That's it! ngmin-rails integrates seamlessly into the Rails asset pipeline; your JavaScript or CoffeeScript assets will automatically be run through the ngmin pre-minifier.
16
18
 
17
- $ gem install ngmin-rails
19
+ Versioning
20
+ ----------
18
21
 
19
- ## Usage
22
+ The ngmin-rails version number mirrors the version number for the version of ngmin that is bundled with it.
20
23
 
21
- That's it.
24
+ Hacking
25
+ -------
22
26
 
23
- ## Contributing
27
+ ### Upgrading ngmin
24
28
 
25
- 1. Fork it
26
- 2. Create your feature branch (`git checkout -b my-new-feature`)
27
- 3. Commit your changes (`git commit -am 'Add some feature'`)
28
- 4. Push to the branch (`git push origin my-new-feature`)
29
- 5. Create new Pull Request
29
+ The actual ngmin project is bundled into this gem via [Browserify](https://github.com/substack/node-browserify). You can update to the latest version of ngmin via Rake:
30
+
31
+ rake ngmin:build
32
+
33
+ ### Test Application
34
+
35
+ There is a Rails 3 application bundled in `example/` that you can use to test the asset pipeline integration. Don't forget to remove `tmp/cache/assets` after upgrading to the latest version of ngmin.
@@ -3,7 +3,7 @@ require 'ngmin/processor'
3
3
  module Ngmin
4
4
  module Rails
5
5
  class Railtie < ::Rails::Railtie
6
- initializer "ngmin-rails.add_ngmin_postprocessor" do |app|
6
+ initializer "ngmin-rails.add_ngmin_postprocessor", :group => :all do |app|
7
7
  app.assets.register_postprocessor 'application/javascript', Ngmin::Processor
8
8
  end
9
9
  end
@@ -1,5 +1,5 @@
1
1
  module Ngmin
2
2
  module Rails
3
- VERSION = "0.3.8"
3
+ VERSION = "0.3.8.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ngmin-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Morrison
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-21 00:00:00.000000000 Z
12
+ date: 2013-06-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails