minimum_viable_product 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/assets/js/application.js +1 -20
- data/minimum_viable_product.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 545531bbbeb6acc5d0fec88cf0ec9fe89bea4212
|
4
|
+
data.tar.gz: 95c8c862184ef80d4766a015ff0aab5de7aee924
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6de5a1c34f94da6561e681f871752bb908ed6344b58198fb17af08b470b76ae972c13772e9f0ce6fe84cbc8bc73030cf84a1c326cf9d9cc7ae272310d8538b1
|
7
|
+
data.tar.gz: 2831aeb8d3d232144052d600f772326aa6a5daa806ebba02133eb9621c5338e1bb7477db39793f7800fe258e1ff04663453d0ef00e28a1185e50f1ca690e2298
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.7
|
data/assets/js/application.js
CHANGED
@@ -7,7 +7,7 @@ var is = require('is')
|
|
7
7
|
require('./init/controllers')
|
8
8
|
require('./init/forms')
|
9
9
|
|
10
|
-
track = function(event, attributes, fn){
|
10
|
+
window.track = function(event, attributes, fn){
|
11
11
|
console.log("Track: " + event + " " + JSON.stringify(attributes))
|
12
12
|
|
13
13
|
if (is.fn(attributes)) fn = attributes, attributes = null;
|
@@ -27,22 +27,3 @@ track = function(event, attributes, fn){
|
|
27
27
|
|
28
28
|
analytics.track(event, attrs, fn)
|
29
29
|
}
|
30
|
-
|
31
|
-
setupAutomaticTracing = function(){
|
32
|
-
_.each(arguments, function(e){
|
33
|
-
switch (e.toLowerCase()) {
|
34
|
-
case 'buttons':
|
35
|
-
$('.btn').on('click', function(){
|
36
|
-
window.track("Button Clicked", { name: $(this).text() || $(this).attr('value') })
|
37
|
-
})
|
38
|
-
break;
|
39
|
-
case 'links':
|
40
|
-
$('a:not(.btn)').on('click', function(){
|
41
|
-
window.track("Link Clicked", { name: ($(this).text() || $(this).attr('value')) })
|
42
|
-
})
|
43
|
-
break;
|
44
|
-
}
|
45
|
-
})
|
46
|
-
}
|
47
|
-
|
48
|
-
window.track = track;
|
@@ -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: minimum_viable_product 0.6.
|
5
|
+
# stub: minimum_viable_product 0.6.7 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "minimum_viable_product"
|
9
|
-
s.version = "0.6.
|
9
|
+
s.version = "0.6.7"
|
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 = ["Ian Hunter"]
|
14
|
-
s.date = "2016-12-
|
14
|
+
s.date = "2016-12-17"
|
15
15
|
s.description = "Built for Developers. Ideal for MVPs, product ideation and validation."
|
16
16
|
s.email = "ianhunter@gmail.com"
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minimum_viable_product
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Hunter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: analytics-ruby
|