rails_toastify 0.1.8 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6d828b6b26290af46ef2beb27cbd662e963f2b8b9969e55a782ce34a5a4bf4d
4
- data.tar.gz: 768fa851fdcb5d66f8e692346f0d13fa3d99e75bfc69683a6d2f022b09b78139
3
+ metadata.gz: cfc517981d8a050d33fffb5adb0a1b570991332062839d0f68bc28795c2a36b8
4
+ data.tar.gz: 291c73972c9f7d278676f95f42153bc2fcddf6bfb78ecb007712abf0c71b49b0
5
5
  SHA512:
6
- metadata.gz: 845a520486d658392542d67daf6e70b5b72fb4854c04e05b497f4b2d89f421040bcedf5a08b871c9827745420d2d3ea7e8a1523c09ecf9bf56d429fc04e5ec5a
7
- data.tar.gz: '00893d8c3e0237247046bdea15d9a01a418f684037c398a707bac9f91a033012667ccac26620de2cc0123f623681cea0c0e28ae0a3337d3a6e8c1d400fb28107'
6
+ metadata.gz: 1e04322f2c8a0c85f4436e3de91ebbe782d23e31965b1ad101cd1ab4c64ebfdfd8a41b05e078ad1cf0e2e0ca68867d538344979b13c88d6f3b6907c41f9d178a
7
+ data.tar.gz: 23a755965aaa27fb5aa8f33683cbbf701919806310074414faa8831167423237ab0659f30936891c9a7ed079bb24c5f49607b3e033050d16d7fd4cd658b97469
data/CHANGELOG.md CHANGED
@@ -1,23 +1,29 @@
1
- # 0.1.8
1
+ ## 1.0.0
2
+
3
+ - Version stable tested and approved
4
+ - Change Changelog
5
+ - Change Readme
6
+
7
+ ## 0.1.8
2
8
 
3
9
  - Fix progressbar
4
10
 
5
- # 0.1.7
11
+ ## 0.1.7
6
12
 
7
13
  - Fix problem with toast disappear when mouseover
8
14
  - Change README
9
15
 
10
- # 0.1.6
16
+ ## 0.1.6
11
17
 
12
18
  - Fix css and js
13
19
  - Close toast on progress bar finish
14
20
  - Toast appear on top right
15
21
 
16
- # 0.1.5
22
+ ## 0.1.5
17
23
 
18
24
  - Adjustments CSS progress bar and shadow
19
25
 
20
- # 0.1.4
26
+ ## 0.1.4
21
27
 
22
28
  - Change CSS
23
29
  - Change JS
data/README.md CHANGED
@@ -1,12 +1,13 @@
1
1
  # RailsToastify
2
2
 
3
- **Rails Toastify** allows you to easily add notifications to your app. Please note: this gem is still under development. Please CONTRIBUTE.
3
+ **Rails Toastify** allows you to easily add notifications to your app. Please CONTRIBUTE.
4
4
 
5
5
  The **Rails Toastify** gem is completely inspired by the [React Toastify](https://fkhadra.github.io/react-toastify/introduction/) lib and is specially made for those React developers who are migrating to Rails thanks to Hotwire or for any other reason, and who love using Toasts and wanted a gem that makes it as easy as it is in React. 🎉
6
6
 
7
7
  ## Installation
8
8
 
9
9
  Add gem in your Gemfile:
10
+
10
11
  ```ruby
11
12
  gem 'rails_toastify'
12
13
  ```
@@ -28,17 +29,18 @@ end
28
29
 
29
30
  ## Usage
30
31
 
31
- In your *application.html.erb* add:
32
+ In your *application.html.erb* add in your header:
32
33
 
33
34
  ```ruby
34
35
  <%= stylesheet_link_tag 'rails_toastify', media: 'all' %>
35
36
  <%= javascript_include_tag 'rails_toastify' %>
36
37
  ```
37
- And:
38
+ And in your body:
38
39
 
39
40
  ```html
40
41
  <div id="toast-container" class="toast-container"></div>
41
42
  ```
43
+ *
42
44
 
43
45
  In your *config/manifest.js* add:
44
46
 
@@ -47,7 +49,7 @@ In your *config/manifest.js* add:
47
49
  //= link rails_toastify.js
48
50
  ```
49
51
 
50
- And call function `RailsToastify.showToast` any javascript:
52
+ And call function `RailsToastify.showToast` any javascript or console:
51
53
 
52
54
  ```ruby
53
55
  RailsToastify.showToast('This is a success message!', 'success');
@@ -73,7 +75,7 @@ To see notice in a toast add:
73
75
 
74
76
  Fork, fix, then send a pull request. Bug reports and pull requests are welcome on GitHub at **https://github.com/eltonsantos/rails_toastify**.
75
77
 
76
- ## Licence
78
+ ## License
77
79
 
78
80
  This gem is available as open-source under the terms of The MIT License (MIT).
79
81
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsToastify
4
- VERSION = "0.1.8"
4
+ VERSION = "1.0.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_toastify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elton Santos
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-27 00:00:00.000000000 Z
11
+ date: 2024-07-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: "\U0001F389 Rails Toastify allows you to add notifications to your app
14
14
  with ease. Pay Attention: this gem still is in development. Please CONTRIBUTE"