rack-tracker 1.11.0 → 1.11.1

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: 43c9e6c847d6027e64187d444e7072ad4a403cf57d51f5463e2212321aa6b966
4
- data.tar.gz: ab96439cd23a92e064741494d7bac62ee71ade68cce37085d9a5618f980fc11a
3
+ metadata.gz: 4f58fd678ef800ce1fb874899514a49c8e5c50ab58297cb5fffddb4da8e6eea4
4
+ data.tar.gz: 02304e75ff11256123303d2dd393f0dcd393a918cb04f1d65ae5220cd6510083
5
5
  SHA512:
6
- metadata.gz: 5baa0bb87f39e551f983ce8c0637c8bb90dbfb70a0f3f9bfd8c011eb6564b5ebf69eefe6d648a1cad54978b267ef2140e0e268ca7e52977e4d782ceb51b737a0
7
- data.tar.gz: adb6cad395e5d8a4aa3dc81e95314ee415a1d1a6cf82eb8f9477ab75e5f9b04454f5736eab287fa78a8a6c6356db302c89f98a1a42ec91101fcf78182fe7bfec
6
+ metadata.gz: ee39c4be171e10aec3e319b55bea51663a479263c13aeb2274c630d560511f27ee3c4533e911c305728b0399a99a118388b184af9f79383d00a4342a6e774f8a
7
+ data.tar.gz: db3ab55fead72f230b48f1e9785853f3dae007561ba5bd311d1d6a41d0aa9d7978313993dbdf96519f357bc82b9300c0f953fb5f28e39296d40972d3d4677189
@@ -1,3 +1,7 @@
1
+ # 1.11.1
2
+
3
+ * [BUGFIX] Uncaught ReferenceError Fix: wrap Drift account ID in quotes #140 (thx @sassela)
4
+
1
5
  # 1.11.0
2
6
 
3
7
  * [ENHANCEMENT] Add support for Drift #139 (thx @sassela)
@@ -22,5 +22,5 @@
22
22
  }
23
23
  }();
24
24
  drift.SNIPPET_VERSION = '0.3.1';
25
- drift.load(<%= options[:account_id] %>);
25
+ drift.load('<%= options[:account_id] %>');
26
26
  </script>
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  class Tracker
3
- VERSION = '1.11.0'
3
+ VERSION = '1.11.1'
4
4
  end
5
5
  end
@@ -13,6 +13,6 @@ RSpec.describe 'Drift Integration' do
13
13
 
14
14
  it 'embeds the script with account_id' do
15
15
  expect(page.find('script')).to have_content('js.driftt.com')
16
- expect(page.find('script')).to have_content('DRIFT_ID')
16
+ expect(page.find('script')).to have_content('drift.load(\'DRIFT_ID\')')
17
17
  end
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-tracker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Brillert
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-07-31 00:00:00.000000000 Z
12
+ date: 2019-08-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack