jquery-toastmessage-rails 1.0.1 → 1.0.2

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: 8a413b835da878ccd2937a27a8206d0f82992fb7
4
- data.tar.gz: 7570bf8d55fc1605f771e24f64d7f45a862ec728
3
+ metadata.gz: 4c2b128fa96da9460f53fc89efb3e8b42715eb5a
4
+ data.tar.gz: f33b790eb116a88ba08eb765cf00b91a7878dacd
5
5
  SHA512:
6
- metadata.gz: 0e46cf03c0c75553b805e07cfee1d02033b43d4e2552ddafdbcf16b7843b691c62a66f6cb43631068c964cb41aeca161e0adbf6944d97cf48d4f0f43aa06e56e
7
- data.tar.gz: 2fdbf9e40b6405e6eb9580cb4a14bd775979f11a5c2ad6523887df9969acf233fdf4f6778122c96c1d1d3bca4c1b6e9edeed2d8ba6b717040ce681fdb11aa699
6
+ metadata.gz: 5355f0d847e517eb1f8bf38c005610b01063c356e1a641c6c9cfaaca86b7725baa22bb5d6045ef0514af20693380cac666981bcf202a142e4410d8e414e6f7c1
7
+ data.tar.gz: 3d8930c3264cbf9306594eddc7e0ff919fb170e7291d2b7fdf717f549d4f577c756c260c78b69b9b0c09ed79f0090d1fa10f6e09a8a31dda6ac3e20fca452869
data/README.md CHANGED
@@ -34,6 +34,20 @@ Also require jquery-toastmessage-plugin stylesheets in out application.css:
34
34
  */
35
35
  ```
36
36
 
37
+ Add images to Rails assets precompile configuration.
38
+
39
+ For Rails 4.1+, add the following line to update config/assets.rb:
40
+
41
+ ```ruby
42
+ Rails.application.config.assets.precompile += /jquery\-toastmessage\/.+\.(?:gif|png)$/
43
+ ```
44
+
45
+ For Rails 3.1+, add the following line to config/application.rb:
46
+
47
+ ```ruby
48
+ config.assets.precompile += /jquery\-toastmessage\/.+\.(?:gif|png)$/
49
+ ```
50
+
37
51
  ## Release
38
52
 
39
53
  See [VERSIONS.md](VERSIONS.md) for details.
@@ -2,5 +2,6 @@
2
2
 
3
3
  | Date | Gem | jQuery Toastmessage Plugin |
4
4
  |------------|--------|----------------------------|
5
+ | 2015-03-31 | 1.0.2 | 0.2.0 |
5
6
  | 2015-03-26 | 1.0.1 | 0.2.0 |
6
7
  | 2015-03-24 | 1.0.0 | 0.2.0 |
@@ -2,6 +2,9 @@ module Jquery
2
2
  module Toastmessage
3
3
  module Rails
4
4
  class Engine < ::Rails::Engine
5
+ initializer 'jquery-toastmessage-rails.assets.precompile' do |app|
6
+ app.config.assets.precompile << /jquery\-toastmessage\/.+\.(?:gif|png)$/
7
+ end
5
8
  end
6
9
  end
7
10
  end
@@ -1,7 +1,7 @@
1
1
  module Jquery
2
2
  module Toastmessage
3
3
  module Rails
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  JQUERY_TOASTMESSAGE_PLUGIN_VERSION = "0.2.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-toastmessage-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reyes Yang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-26 00:00:00.000000000 Z
11
+ date: 2015-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails