simple_flash_helper 0.5.0 → 1.0.0

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 ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZWZkZDk4YjBhZjE1N2RmMzY2ZmYzYjZlNzQwZTM5NWMxNzQxMGQ1Yw==
5
+ data.tar.gz: !binary |-
6
+ ODgwOTg4Nzk4Y2M0YzM1MTBlMTgzMGZmZGJkNThhYjZlMzY0OGY3Yg==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ NDAyNGNjMjQzNzAxMjQxMDkzMDhkYzRiM2E1NDhiYjcyZjJhNjg5NDRkN2Nh
10
+ YzAwZjBhNzUwZjc3NTFlYWQ5MDYwMjAwMmIzZTdhMDQ4MWMyZWJhNDI2YjBk
11
+ NzAxMjIxYzQyODI2MzY0NTczNDQ4ODcyM2RhNmI3NmY1N2Y0YjA=
12
+ data.tar.gz: !binary |-
13
+ MTY0NDJjYjJmMGNjOTVlNTUxOTJlMmFmN2NiNTJmNTcwZGNhMGVhYjQ4NGYy
14
+ NDMyNzU0ODhmMGFhNTU4ZWUxZGNjOWFlZGIzMjA4ZDgzNWYzNGMxOGU0NDQy
15
+ Zjc0MjdkNjRlMDFiODZiYThkMzVhNzJjMWY1OGViOTQwMTcxOGU=
@@ -4,7 +4,7 @@ var speed = 4500;
4
4
  $(document).ready(function() {
5
5
 
6
6
  // Remove the flash notice on click
7
- $('#flash_helper > div').live('click', function(e) {
7
+ $('#flash_helper').on('click', 'div', function(e) {
8
8
  $(this).hide();
9
9
  });
10
10
 
@@ -12,7 +12,7 @@ module FlashHelper
12
12
  classes = {
13
13
  notice: "alert-success",
14
14
  alert: "alert-notice",
15
- error: "alert-error"
15
+ error: "alert-danger"
16
16
  }
17
17
 
18
18
  # html from each message
@@ -1,3 +1,3 @@
1
1
  module SimpleFlashHelper
2
- VERSION = "0.5.0"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_flash_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
5
- prerelease:
4
+ version: 1.0.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - John Koht
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-09-05 00:00:00.000000000 Z
11
+ date: 2014-01-16 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ! '>='
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ! '>='
44
39
  - !ruby/object:Gem::Version
@@ -66,26 +61,26 @@ files:
66
61
  homepage: http://www.github.com/johnkoht/simple_flash_helper
67
62
  licenses:
68
63
  - MIT
64
+ metadata: {}
69
65
  post_install_message:
70
66
  rdoc_options: []
71
67
  require_paths:
72
68
  - lib
73
69
  required_ruby_version: !ruby/object:Gem::Requirement
74
- none: false
75
70
  requirements:
76
71
  - - ! '>='
77
72
  - !ruby/object:Gem::Version
78
73
  version: '0'
79
74
  required_rubygems_version: !ruby/object:Gem::Requirement
80
- none: false
81
75
  requirements:
82
76
  - - ! '>='
83
77
  - !ruby/object:Gem::Version
84
78
  version: '0'
85
79
  requirements: []
86
80
  rubyforge_project:
87
- rubygems_version: 1.8.23
81
+ rubygems_version: 2.0.7
88
82
  signing_key:
89
- specification_version: 3
83
+ specification_version: 4
90
84
  summary: Simple Flash Helper and Front-end Utilities
91
85
  test_files: []
86
+ has_rdoc: