rails_toastify 1.2.0 → 1.2.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
  SHA256:
3
- metadata.gz: 14c283b448fbee19664a9885917462b190bd9d10e8bd45d309bdcb08272cdbf6
4
- data.tar.gz: ce0155c49d419c38ea9f56e6b14d510bc4aeca9ed85a0b4d6150211c482ac144
3
+ metadata.gz: 0fca6e66a1b85a3f5cd57d51355f21342bca3f64b2ddc265c5e6231992c6aaa7
4
+ data.tar.gz: a789a98299bce7cd3cc6ae983f1589dc3e0e0f983c7e7d500a191f088f82770a
5
5
  SHA512:
6
- metadata.gz: 4ae720760510b4a59fd7c4d2af584ad914717db9c3274732d1c884dd4c3f55683cb525b9068d5b05768938b619d18e04728ac6a80c34b09fe58a64a5a4a00341
7
- data.tar.gz: 49a0a1a84fbf79cb791c5dc1c505956f1d7eedda26b62fb8ac416ee0e3c0e6b7f079bda4fb335e50a901bad7afb8832963b14fff9893db60444c5815ea5b3ac2
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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsToastify
4
- VERSION = "1.2.0"
4
+ VERSION = "1.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_toastify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elton Santos