flash_notifier 1.2.0 → 1.2.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
  SHA256:
3
- metadata.gz: a3256228195c8f57bfca429d0abb7a1eee5fae34930f28b0e252909b1a1c1be7
4
- data.tar.gz: ab80d59b266672f2971426e57a62cc825bada57e1dd5b0de95e2b1871c3c4432
3
+ metadata.gz: 5df24c99623f6b41374ecf01abd3a8aae9d8ff5332ddf97b34b385ecf2dcf9c5
4
+ data.tar.gz: 85fae0573da955e63085fe951a20a3544818c2b34b95833703c7b6f558f60844
5
5
  SHA512:
6
- metadata.gz: 2251e75db6ee7ec1aabbcefc71347a23a60c22b1f9277d4df9656fe041347367a4a70cad0ef6d8cbe417e0ac50969fe89307ce1f5152e63a1672b32986e7a1c5
7
- data.tar.gz: 9ffe5429f0a4dd0f1e4cd860119d2130ffba857b64c5a4e4370a979b640186dffffda1afa80e6f60bfd9eea469cba6c1a68d3717b891fb48a3d3893534207e67
6
+ metadata.gz: 8e7b5f088f1614a638417f70d5850517adef725eef9233d9bbbdcf0719be6416f213e3ea378d51f5db0a04ed740641449fc4a2cfee686d8e18c0754574a62924
7
+ data.tar.gz: c1f3686b134b7ca36993a6f1a79207b18ee16579444326b1f95224e048d30def94874ca3625d6cba75bd63b832f9dfa283caaf3f0e11b7615679b39a9e30f6aa
data/README.md CHANGED
@@ -67,10 +67,14 @@ In your layout add this helper method
67
67
  <%= build_flash %>
68
68
 
69
69
  ### Optional Step 3: Pass options to helper method
70
+
71
+ For Onscreen positioning of flash message pass param
72
+
73
+ <%= build_flash placement: 'topRight' %>
70
74
 
71
75
  To manage progress bar pass param
72
76
 
73
- <%= build_flash progressBar: true %>
77
+ <%= build_flash progress_bar: true %>
74
78
 
75
79
  To set auto hide timeout pass param
76
80
 
@@ -80,7 +84,7 @@ To set default theme pass param (Note this param works only for Noty JS)
80
84
 
81
85
  <%= build_flash theme: 'mint' %>
82
86
 
83
- ##### Values for these params and additional config options can be found here [Noty JS](https://ned.im/noty/#/options), [Toastr JS](https://codeseven.github.io/toastr/demo.html)
87
+ ##### Values for these params can be found here [Noty JS](https://ned.im/noty/#/options), [Toastr JS](https://codeseven.github.io/toastr/demo.html)
84
88
 
85
89
  ## Contributing
86
90
 
@@ -1,3 +1,3 @@
1
1
  module FlashNotifier
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flash_notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fakhir Shad