flashee 0.1.1 → 0.1.2
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/README.md +8 -5
- data/lib/flashee/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3c8c79bf0577f8fe7b0a1b5a5f4d69bdfc8cb004dc5c26ff507e66f54dbd0c4
|
|
4
|
+
data.tar.gz: b2d121f36d4169e174d56e9c96543cc6cef3b96775756680ac715ac9b623c0e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8445681727e10f035987e5d3835add562521ba0549432902eb0f7d885e0655010559fbe325d0e91856d1281a666b2e16739df07fd199dd1181d26b73f2ab3f3e
|
|
7
|
+
data.tar.gz: c8a4bde707ca3c4beb27f0644f396057cccbda71049d34a099f608113264af8a9d358051b11b7e67e18fc8d64a32ac4b49eb4a97563ba92848e39b9b4f7b57f1
|
data/README.md
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
# Flashee
|
|
2
2
|
|
|
3
|
-
[](https://badge.fury.io/rb/flashee)
|
|
4
|
-
|
|
5
3
|
Rails helper to add CSS classes to flash messages
|
|
6
4
|
|
|
7
|
-
## Usage
|
|
8
|
-
How to use my plugin.
|
|
9
|
-
|
|
10
5
|
## Installation
|
|
11
6
|
Add this line to your application's Gemfile:
|
|
12
7
|
|
|
@@ -32,5 +27,13 @@ After flashee is installed add this line to your application layout:
|
|
|
32
27
|
```erb
|
|
33
28
|
<%= render partial: "partials/flash_messages", flash: flash %>
|
|
34
29
|
```
|
|
30
|
+
|
|
31
|
+
## Usage
|
|
32
|
+
Once flashee is installed, open up `app/helpers/flashee_helper.rb`
|
|
33
|
+
and you can add what CSS classes get rendered for each flash type.
|
|
34
|
+
you can also append for flash types as you see fit. The aim of flashee
|
|
35
|
+
is to be front-end-framework agnostic and completely up to you on how it
|
|
36
|
+
functions.
|
|
37
|
+
|
|
35
38
|
## License
|
|
36
39
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/lib/flashee/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flashee
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josh Burns
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-04-
|
|
11
|
+
date: 2018-04-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 4.0.0
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - "
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: 4.0.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: sqlite3
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
73
73
|
version: '0'
|
|
74
74
|
requirements: []
|
|
75
75
|
rubyforge_project:
|
|
76
|
-
rubygems_version: 2.7.
|
|
76
|
+
rubygems_version: 2.7.6
|
|
77
77
|
signing_key:
|
|
78
78
|
specification_version: 4
|
|
79
79
|
summary: Rails helper to style flash messages
|