fancynotifications 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/fancynotifications.gemspec +2 -2
- data/lib/fancynotifications/version.rb +1 -1
- metadata +3 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cda7e13742ad6d46ee558cf7086f939aabbeabf8
|
4
|
+
data.tar.gz: 9233b70dcecc5899c9d70e0531c24b13920c39f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7582ff416141c247ece51c6cd61a40f07400eb045315b984ba58acdadd8252df2c22dbcdb21b3162d3f2dbe340e93e0998d228214963de628f73d227724fbf7c
|
7
|
+
data.tar.gz: d7459bab184ec8bee57fe60f7e0ad14a3cc15056228533521f52d01eaa940964386318d8d8465a1346177dcd9de1737e09318eb3cf2161bc7b0b541863648b5e
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Fancy Notifications
|
2
2
|
|
3
|
-
This gem was created to make better flash notifications in my Ruby on Rails applications. To use it follow the installation instructions below. Big thanks to [Mackenzie Child of Unicasts](http://unicasts.com) for
|
3
|
+
This gem was created to make better flash notifications in my Ruby on Rails applications. To use it follow the installation instructions below. Big thanks to [Mackenzie Child of Unicasts](http://unicasts.com) for inspiring and much of the CSS work he showed in his screencasts. He did the majority of the brains, I just turned it into a gem and plan to add some additional features.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -49,7 +49,7 @@ The important thing to keep in mind is the Javascript looks for the notice_wrapp
|
|
49
49
|
The key allows us to style specific types of Flash notices in Rails. Such as "error", "notice", or "success".
|
50
50
|
|
51
51
|
### Override Options
|
52
|
-
To override the text color or background of the notifications add
|
52
|
+
To override the text color or background of the notifications add these variables above your SCSS import statement (before Fancy Notifications is imported).
|
53
53
|
|
54
54
|
```scss
|
55
55
|
$notification_text: #FFFFFF;
|
data/fancynotifications.gemspec
CHANGED
@@ -10,11 +10,11 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["andrew@zerlex.net"]
|
11
11
|
|
12
12
|
spec.summary = "Fancy Notifications for your Flash Messages"
|
13
|
-
spec.description = "Fancy Notifications adds nice flash
|
13
|
+
spec.description = "Fancy Notifications adds nice CSS and JS effects to flash notices, so you don't have to."
|
14
14
|
spec.homepage = "https://github.com/king601/fancynotifications"
|
15
15
|
|
16
16
|
spec.add_runtime_dependency 'sass', '>= 3.3.0'
|
17
|
-
|
17
|
+
|
18
18
|
# Dev Dependencies
|
19
19
|
spec.add_development_dependency "bundler", "~> 1.9"
|
20
20
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fancynotifications
|
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
|
- Andrew Fomera
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.3.0
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: font-awesome-rails
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: bundler
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,7 +52,8 @@ dependencies:
|
|
66
52
|
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
54
|
version: '10.0'
|
69
|
-
description: Fancy Notifications adds nice
|
55
|
+
description: Fancy Notifications adds nice CSS and JS effects to flash notices, so
|
56
|
+
you don't have to.
|
70
57
|
email:
|
71
58
|
- andrew@zerlex.net
|
72
59
|
executables: []
|