flash_notifier 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +1 -7
- data/flash_notifier.gemspec +3 -2
- data/lib/flash_notifier/railtie.rb +0 -3
- data/lib/flash_notifier/version.rb +1 -1
- data/vendor/assets/javascripts/noty_flash.coffee +0 -1
- data/vendor/assets/javascripts/toastr_flash.coffee +0 -1
- metadata +3 -4
- data/bin/console +0 -14
- data/bin/setup +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d871eaf5f5450cbd1bd7621e60076ae0372fdc9136179c5e56da12522219e8ae
|
4
|
+
data.tar.gz: 1a19d918a2a90fe5b06d674de5debb170dd12b11401468c952228a4de0bdf133
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e3dede9a1c444126c02b8a266604c9c0f1b56a6501191712c8c8afad75164ba0427bd238fee2e54d50337ee9cbc5768d43524a1b2d182f52fcdb6f7880e071e
|
7
|
+
data.tar.gz: e01ad19f7721b16a6f68a07e17cea6ec3978c5e680c866f3f5bcac9c2d0b3b6029484f56ee707dbd5918ccbd1fb77c80e00dbf77e04489e186c65b21dbc1a194
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -22,7 +22,7 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
### For Bootstrap Flash Messages
|
24
24
|
|
25
|
-
Add this helper method in your layout and
|
25
|
+
Add this helper method in your layout and make sure you have bootstrap installed!
|
26
26
|
|
27
27
|
<%= build_bootstrap_flash %>
|
28
28
|
|
@@ -76,12 +76,6 @@ To set default theme pass param (Note this param works only for Noty JS)
|
|
76
76
|
|
77
77
|
##### Values for these params can be found here [Noty JS](https://ned.im/noty/#/options), [Toastr JS](https://codeseven.github.io/toastr/demo.html)
|
78
78
|
|
79
|
-
## Development
|
80
|
-
|
81
|
-
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
82
|
-
|
83
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
84
|
-
|
85
79
|
## Contributing
|
86
80
|
|
87
81
|
Bug reports and pull requests are welcome on GitHub at [https://github.com/fakhir-shad/flash_notifier](https://github.com/fakhir-shad/flash_notifier). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
data/flash_notifier.gemspec
CHANGED
@@ -7,7 +7,8 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "flash_notifier"
|
8
8
|
spec.version = FlashNotifier::VERSION
|
9
9
|
spec.authors = ["fakhir-shad"]
|
10
|
-
spec.email = ["fakhir.shad@virtual-force.com"]
|
10
|
+
spec.email = ["fakhir.shad@virtual-force.com","muaazrafi@gmail.com"]
|
11
|
+
spec.platform = Gem::Platform::RUBY
|
11
12
|
|
12
13
|
spec.summary = %q{Integrate Flash Messages with ease using Noty JS, Toastr JS or Bootstrap}
|
13
14
|
spec.description = %q{A simple Gem that allows you to integrate flash messages using Noty JS, Toastr JS or Bootstrap }
|
@@ -16,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
16
17
|
|
17
18
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
19
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
-
|
20
|
+
spec.required_ruby_version = '>= 2.0.0'
|
20
21
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
21
22
|
f.match(%r{^(test|spec|features)/})
|
22
23
|
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.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fakhir-shad
|
@@ -42,6 +42,7 @@ description: 'A simple Gem that allows you to integrate flash messages using Not
|
|
42
42
|
JS, Toastr JS or Bootstrap '
|
43
43
|
email:
|
44
44
|
- fakhir.shad@virtual-force.com
|
45
|
+
- muaazrafi@gmail.com
|
45
46
|
executables: []
|
46
47
|
extensions: []
|
47
48
|
extra_rdoc_files: []
|
@@ -52,8 +53,6 @@ files:
|
|
52
53
|
- LICENSE.txt
|
53
54
|
- README.md
|
54
55
|
- Rakefile
|
55
|
-
- bin/console
|
56
|
-
- bin/setup
|
57
56
|
- flash_notifier.gemspec
|
58
57
|
- lib/flash_notifier.rb
|
59
58
|
- lib/flash_notifier/flash_helper.rb
|
@@ -80,7 +79,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
79
|
requirements:
|
81
80
|
- - ">="
|
82
81
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
82
|
+
version: 2.0.0
|
84
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
84
|
requirements:
|
86
85
|
- - ">="
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "flash_notifier"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|