abraham 2.0.2 → 2.1.0

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
  SHA256:
3
- metadata.gz: 6766542fe76a7eefa7280d3c34fff106a258774241e3bbc1884c56d666f71bdc
4
- data.tar.gz: ec139d435f64bc6313f4f74d81390fbe857fff402061f70ded06187fc2f7515d
3
+ metadata.gz: 00042f82494a0aa926288b967e661ea55f2b7ec387cc340498053832903b10ad
4
+ data.tar.gz: fa48c68bccf0895dab390454ba5122c054411ef915bb626611de7494e9754c0f
5
5
  SHA512:
6
- metadata.gz: '069acca6d49c6c01019d99d074d7257559ecbbba8adf03420052b8064188d8569465f941c79548c0611ae9bcc3900a0239328e2b849d2a0ce179a4c58059d588'
7
- data.tar.gz: 9d4e61ad24f316461e75e3fa9800bd4c16bf68e2a8e2dbec3a7c8c292d2e83e175b0c610f63613005250005e289ee190ecc56e067a769329abf065dd84bc99d6
6
+ metadata.gz: e4ebf498a8e81fa3f3d0391babf5b8cc17adcd9bb3fdf49d26f7e029ae63ee5cb527c09633ca7350aad3f7c177fca25b680e485052047c2508048ba305118153
7
+ data.tar.gz: b1b8ea8b8a375b51809fb0436f1b8a96908a3fc8476a061cf1b0b5af2db7b64c5983e34aa00c192a01b5756e4d2e3c05f0327c03dc2bd06fc7b232e7e8c795d5
@@ -51,8 +51,14 @@
51
51
  });
52
52
  <% end %>
53
53
 
54
- // Don't start the tour if the user dismissed it once this session
55
- if (!Cookies.get('<%= abraham_cookie_prefix %>-<%= tour_name %>', { domain: '<%= abraham_domain %>' })) {
56
- tour.start();
57
- }
54
+ tour.start = function (start) {
55
+ return function () {
56
+ // Don't start the tour if the user dismissed it once this session
57
+ if (!Cookies.get('<%= abraham_cookie_prefix %>-<%= tour_name %>', {domain: '<%= abraham_domain %>'})) {
58
+ start();
59
+ }
60
+ }
61
+ }(tour.start)
62
+
63
+ tour.start()
58
64
  </script>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Abraham
4
- VERSION = "2.0.2"
4
+ VERSION = "2.1.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abraham
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Abbett
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-18 00:00:00.000000000 Z
11
+ date: 2020-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sassc-rails