flash-messenger 0.2.1 → 0.2.2

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: 3322aa3844977effb648a83b8d05757580efe8d3
4
- data.tar.gz: c7628d4fcbff0884934fc16056a74cd04e420957
3
+ metadata.gz: cb8c0e60167ccb8e3f95b94f4f9f1a400ce9889c
4
+ data.tar.gz: b8252d703f84445373c753d9dab4d8ffcffedd7f
5
5
  SHA512:
6
- metadata.gz: db99bdafc581f45428098ec2e1bb782bbaa985662bd748f9d4d221fd0e3bb82a5c8d45044d78d693c43ce78b0f3a29a0195471c1b53c68d7052d6d3964a03967
7
- data.tar.gz: a0fc2f4cf57d123f12466b9fa6dda19ab910cfe7c66dd442cad62d7fff5838bfb8382e2157c77637f94fc62aff0ab4009bb4803275c007e0521e278bd54eb5da
6
+ metadata.gz: 28f1ff16e7f531dd99e1284b07cdbd86632a3d18713f9da035f435a1e9cfc54a0dfed30b8335dc33abe978681facdcd7ce97a21a71b1458fd91797f870f0a418
7
+ data.tar.gz: d2a951c0c0b9e33d865985d76dacc41262718b95dc5a57b6b995aff552d79ca57a549593338141ebe145921d83438726092f2c46af2b77afb9cfcb6f82987567
@@ -11,8 +11,9 @@
11
11
  method = method && flash[method] ? flash[method] : flash;
12
12
  method(message, options);
13
13
  });
14
- $(document).off('ready page:load', show);
14
+ jobs = [];
15
+ $(document).off('page:load turbolinks:load', show);
15
16
  };
16
- $(document).on('ready page:load', show);
17
+ $(document).ready(show).on('page:load turbolinks:load', show);
17
18
  };
18
19
  })(jQuery);
@@ -1,3 +1,3 @@
1
1
  module FlashMessenger
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flash-messenger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chen, Yi-Cyuan