rails_toastify 1.2.0 → 1.2.1
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 +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +11 -2
- data/lib/rails_toastify/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fca6e66a1b85a3f5cd57d51355f21342bca3f64b2ddc265c5e6231992c6aaa7
|
4
|
+
data.tar.gz: a789a98299bce7cd3cc6ae983f1589dc3e0e0f983c7e7d500a191f088f82770a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91597bde294f1bd803f3aa6c4f989cb639564cb15d3835d25f70a2fbc4d4af5645c5c5c6f029331588f6c0a205c974fdf84fc69093dc22b7a1ec34ab9bb21c8d
|
7
|
+
data.tar.gz: 9b6610626c2baef2458f2153a4fb33c37e402b8cbbc380e8cef37793adf1463699b55a99412b367cd32084cb9cc0ec31d7a33cc0dfd244b95c5d0af15fe8112b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
## 1.2.1
|
2
|
+
|
3
|
+
- Version stable tested and approved
|
4
|
+
- Change Changelog
|
5
|
+
- Change Readme
|
6
|
+
|
7
|
+
## 1.2.0
|
8
|
+
|
9
|
+
- Add configuration to notice type and alert type
|
10
|
+
- Fix helper and methods
|
11
|
+
|
12
|
+
## 1.1.1
|
13
|
+
|
14
|
+
- Create helper and methods
|
15
|
+
- Fix javascript
|
16
|
+
|
1
17
|
## 1.1.0
|
2
18
|
|
3
19
|
- Add others configurations (position, animation, duration, theme and type)
|
data/README.md
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
**Rails Toastify** allows you to easily add notifications to your app. Please CONTRIBUTE.
|
4
4
|
|
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. 🎉
|
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
|
+
|
7
|
+
To see the pure html, css and javascript that originated this gem, just access this **[codepen](https://codepen.io/eltin182/pen/QWXLaWj)** link.
|
6
8
|
|
7
9
|
## Installation
|
8
10
|
|
@@ -82,6 +84,13 @@ To see notice or alert in a toast add this in application.html.erb:
|
|
82
84
|
```
|
83
85
|
** Note that toast can be configured for either notice type or alert type. Both types or just one of the types can be used.
|
84
86
|
|
87
|
+
## Next steps
|
88
|
+
|
89
|
+
- Add tests
|
90
|
+
- Add others positions (left, center, bottom)
|
91
|
+
- Add fade in and fade out animation
|
92
|
+
- In addition to the colors, allow the user to choose any color for the progress bar
|
93
|
+
|
85
94
|
## Requirements
|
86
95
|
|
87
96
|
- Ruby >= 2.6.0 (recommended 2.7+)
|
@@ -95,4 +104,4 @@ Fork, fix, then send a pull request. Bug reports and pull requests are welcome o
|
|
95
104
|
|
96
105
|
This gem is available as open-source under the terms of The MIT License (MIT).
|
97
106
|
|
98
|
-
Copyright (c) 2024 **Elton Santos**. See **MIT-LICENSE** for further details.
|
107
|
+
Copyright (c) 2024 **[Elton Santos](https://eltonmelosantos.com.br)**. See **MIT-LICENSE** for further details and see **CHANGELOG** to see what was changed.
|