flasherella 0.1.alpha → 0.2.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/flasherella.coffee +5 -0
- data/flasherella-0.1.alpha.gem +0 -0
- data/gem-public_cert.pem +20 -0
- data/lib/flasherella.rb +3 -2
- data/lib/flasherella/application_controller.rb +0 -1
- data/lib/flasherella/engine.rb +4 -0
- data/lib/flasherella/version.rb +1 -1
- metadata +5 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cd7d44727aa4675c2721f0c237e4f501496301e
|
4
|
+
data.tar.gz: eccad46199451f156d4dc16e425a69fe86990b29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dba0d1a5cef0ccbbe1ea80d84edec35282731cbe866f76d08906d5c18fd460ab0cf4f98580670e66be90ec4638df92fd5560cb251e284e1c113734faaaefdd8
|
7
|
+
data.tar.gz: 007734e23aa9e402ac8dc7c43ed8882b586801e6f24c68780f108280df59e3ee5d2b5695afe9dfd04f5611229caf237f24d08f10a9ceffc8c1be3b25c127437a
|
@@ -0,0 +1,5 @@
|
|
1
|
+
$(document).ajaxComplete (event, request) ->
|
2
|
+
msg = request.getResponseHeader("X-Flash-Message")
|
3
|
+
alert_class = request.getResponseHeader("X-Flash-Type")
|
4
|
+
klass = { success: "alert-success", error: "alert-danger", alert: "alert-warning", notice: "alert-info" }[alert_class]
|
5
|
+
$("#flashes").html('<div class="flash alert ' + klass + ' ">' + msg + '<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button></div>') if msg
|
Binary file
|
data/gem-public_cert.pem
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIDWDCCAkCgAwIBAgIBATANBgkqhkiG9w0BA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J9gzUTp4IxQpTK7I0+qH6HRXdcgalnJ8SKF5DS2MHsjkaZk2WbI
|
18
|
+
TlFJ5yr0r6NVziIufKbLrAGsXHvPM8l8KPyQXKHCW5LDwbbHx8Y7kA97xIBKFOIV
|
19
|
+
qpOVymZXu9naTEL4CD6ipBI+h58kD0iE/BLdEl93pDr/8ZvT/ePgSbqX6Dc=
|
20
|
+
-----END CERTIFICATE-----
|
data/lib/flasherella.rb
CHANGED
data/lib/flasherella/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flasherella
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.alpha
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Brody
|
@@ -50,11 +50,15 @@ files:
|
|
50
50
|
- LICENSE.txt
|
51
51
|
- README.md
|
52
52
|
- Rakefile
|
53
|
+
- app/assets/javascripts/flasherella.coffee
|
54
|
+
- flasherella-0.1.alpha.gem
|
53
55
|
- flasherella.gemspec
|
56
|
+
- gem-public_cert.pem
|
54
57
|
- lib/.DS_Store
|
55
58
|
- lib/flasherella.rb
|
56
59
|
- lib/flasherella/.DS_Store
|
57
60
|
- lib/flasherella/application_controller.rb
|
61
|
+
- lib/flasherella/engine.rb
|
58
62
|
- lib/flasherella/version.rb
|
59
63
|
homepage: ''
|
60
64
|
licenses:
|