heap 0.1.1 → 0.1.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: 070bf405e11c4552cf66cc1a8db56a2247b66821
4
- data.tar.gz: 65a78587c78ef38578592eb6f79354fc57821c28
3
+ metadata.gz: 2e9fdf92b004132f3144d5857da192de33406ea0
4
+ data.tar.gz: 28f04ac8ff6429e69fba13e2c96872fe163d3877
5
5
  SHA512:
6
- metadata.gz: 8893e252f1617b838ba4e99828fc279fff1dd082aa23dce41f83f8d8c5483c868c0dda536e22a9f5b6cdbf008d69a23ca37553efc46d572f4360f9b7f09d7971
7
- data.tar.gz: f6022d6fb17fc101ab0fed4443d80660c8406e5d81fe9336731a77b5878ac1eb7b60310636658c3d6adedac861f215283828e97231eaf37456872bcfdfac7b87
6
+ metadata.gz: 813ef58541ba692495cd6ac38b6b935773814a9baa642409d50abd6a01eea2c38b55e0d53797ea997eebaf3efdee701019b1e7835cb579bda1f77f6896177700
7
+ data.tar.gz: b7a7fa2b9422dd62434c0570726397e8e900b51f8b44883b505bb57bbd837008db6b40588f4ce195abcaf54aeddd16c476e5ad90ff61220f02c203ef37264e0d
data/README.mdown CHANGED
@@ -1,5 +1,7 @@
1
1
  # Heap
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/heap.svg)](http://badge.fury.io/rb/heap)
4
+
3
5
  Heap is a simple rubygem that makes is simple to integrate your application with [heap analytics](heapanalytics.com). It provides:
4
6
 
5
7
  * Helpers to easily integrate heap into your Rails application
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/heap.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: heap 0.1.1 ruby lib
5
+ # stub: heap 0.1.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "heap"
9
- s.version = "0.1.1"
9
+ s.version = "0.1.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Dennis de Reus"]
14
- s.date = "2014-11-29"
14
+ s.date = "2014-12-21"
15
15
  s.description = "Easy integration of heapanalytics into your ruby app"
16
16
  s.email = "dennisdereus@gmail.com"
17
17
  s.extra_rdoc_files = [
@@ -3,7 +3,7 @@ class Heap
3
3
  def heap_analytics
4
4
  javascript_tag :type => "text/javascript" do
5
5
  raw %Q{
6
- window.heap=window.heap||[],heap.load=function(t,e){window.heap.appid=t,window.heap.config=e;var a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=("https:"===document.location.protocol?"https:":"http:") + "/" + "/cdn.heapanalytics.com/js/heap.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n);for(var o=function(t){return function(){heap.push([t].concat(Array.prototype.slice.call(arguments,0)))}},p=["clearEventProperties","identify","setEventProperties","track","unsetEventProperty"],c=0;c<p.length;c++)heap[p[c]]=o(p[c])};
6
+ window.heap=window.heap||[],heap.load=function(t,e){window.heap.appid=t,window.heap.config=e;var a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=("https:"===document.location.protocol?"https:":"http:")+"//cdn.heapanalytics.com/js/heap.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n);for(var o=function(t){return function(){heap.push([t].concat(Array.prototype.slice.call(arguments,0)))}},p=["clearEventProperties","identify","setEventProperties","track","unsetEventProperty"],c=0;c<p.length;c++)heap[p[c]]=o(p[c])};
7
7
  heap.load("#{Heap.app_id}");
8
8
  }.html_safe
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis de Reus
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-29 00:00:00.000000000 Z
11
+ date: 2014-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty