jquery-toastmessage-rails 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -15
- data/VERSIONS.md +1 -0
- data/lib/jquery/toastmessage/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95b0b8df763b4dc3282879a38bd8e2a99ebfe8a0
|
4
|
+
data.tar.gz: 39db6a30e05ad757240d824410351261b223daac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c70f8151170c37f62a32b19a251b336464e11c84c3a100659678f887e65ad4dd3cfaeef6cdd87e349f4df1378216f6bb800b38231dd20a00b18f7c152de884d1
|
7
|
+
data.tar.gz: 8156271e174d52193f4f2f888ecd9bedf01155c4c7888f8fa551e8ae77ce02981fb56765bd9ad090a8a94283b651b5e9cbcd2590eaac9ac160f089ce7841a84a
|
data/README.md
CHANGED
@@ -20,6 +20,8 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
+
If your gem version < 1.1.0, Please reference [1.0.2's README.md](https://github.com/reyesyang/jquery-toastmessage-rails/blob/v1.0.2/README.md)
|
24
|
+
|
23
25
|
Require jquery-toastmessage-plugin in our application.js:
|
24
26
|
|
25
27
|
```javascript
|
@@ -33,21 +35,6 @@ Also require jquery-toastmessage-plugin stylesheets in out application.css:
|
|
33
35
|
*= require jquery.toastmessage
|
34
36
|
*/
|
35
37
|
```
|
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
|
-
|
51
38
|
## Release
|
52
39
|
|
53
40
|
See [VERSIONS.md](VERSIONS.md) for details.
|
data/VERSIONS.md
CHANGED