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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: efe930bd053ee6d42aee276b42d4921954684768
4
- data.tar.gz: 275ca94f9a64b1f60179dec80518a5cceb0d611b
3
+ metadata.gz: 3cd7d44727aa4675c2721f0c237e4f501496301e
4
+ data.tar.gz: eccad46199451f156d4dc16e425a69fe86990b29
5
5
  SHA512:
6
- metadata.gz: 532c2799062916428f2ee20526372feaf04ec3c258d5e8dde7d370cbfa7c8d709964d4a1066aa935515605ccf248ec9bf19d57402f8ceea9c386109da0dda4dd
7
- data.tar.gz: da355096a18ae92a4dc2a118df8bdbc679b68a0e0561faeb8075ebdb766a8f2aa2183fe5887a053b99b09f067fdc148c522aa94f23b5092a5ea8bdf9d6e8ba2f
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">&times;</span><span class="sr-only">Close</span></button></div>') if msg
Binary file
@@ -0,0 +1,20 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDWDCCAkCgAwIBAgIBATANBgkqhkiG9w0BAQUFADA5MQ0wCwYDVQQDDARqb3No
3
+ MRQwEgYKCZImiZPyLGQBGRYEam9zaDESM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
19
+ qpOVymZXu9naTEL4CD6ipBI+h58kD0iE/BLdEl93pDr/8ZvT/ePgSbqX6Dc=
20
+ -----END CERTIFICATE-----
@@ -1,5 +1,6 @@
1
- require_relative "flasherella/version"
2
- require_relative "flasherella/application_controller"
1
+ require "flasherella/version"
2
+ require 'flasherella/engine'
3
+ require "flasherella/application_controller"
3
4
 
4
5
  module Flasherella
5
6
  end
@@ -2,7 +2,6 @@ module Flasherella
2
2
  module ApplicationController
3
3
 
4
4
  def self.included(base)
5
- #base.send(:before_filter, :some_method)
6
5
  base.send(:after_filter, :flash_into_headers)
7
6
  end
8
7
 
@@ -0,0 +1,4 @@
1
+ module Flasherella
2
+ class Engine < Rails::Engine
3
+ end
4
+ end
@@ -1,3 +1,3 @@
1
1
  module Flasherella
2
- VERSION = "0.1.alpha"
2
+ VERSION = "0.2.alpha"
3
3
  end
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.1.alpha
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: