staccato 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a674a0fa88901074b28c03b98647b7751322412
4
- data.tar.gz: d6db8298721e606f0855c54959eb42537e0d496c
3
+ metadata.gz: 3066ef529fc406e50edba8ba89871adcc483f4b4
4
+ data.tar.gz: 272829dbd81ecf88bb10b132ef0b7cb0140bd0b9
5
5
  SHA512:
6
- metadata.gz: 323fdd8c54466b98790b5f446c1d20464bb3ce8271a2785881d49d4edf3257602367e05cdfdc38db84d21d5fc5164684c1b25f87d422ee35933c5da7a840b0d5
7
- data.tar.gz: 5b290b2d0602444e10562619feef4763161e546aea5dedad33ad0c3eb680633a22566cc37da718674a2587515fd4921e6b86c044a02c61f4a5fb9d273feaef3b
6
+ metadata.gz: 249bc6e61dcdea68d60cfb3dd01cc7852343667dd657bf56018d6ecb3c8fb3859bfedcae4cc589d0b9b8aed9ff1077e2e5fb54988f980e631cf30cdadaacbefc
7
+ data.tar.gz: 78db6246efd0e2d0b3e1cc4a81300db05a1089e0a4a1ca489e0299d0df92f8e917fb14f80af7b1ba4cf5bff19a29435b2cf3142935854c053105080488ed30d6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## Staccato 0.2.1 ##
2
+
3
+ * Fix product impression prefix
4
+
5
+ *Ricky Hanna <@rickyhanna>*
6
+
1
7
  ## Staccato 0.2.0 ##
2
8
 
3
9
  * Enhanced Ecommerce Measurements
data/README.md CHANGED
@@ -144,7 +144,7 @@ Boolean options like `anonymize_ip` will be converted from `true`/`false` into `
144
144
  #### Custom Dimensions and Metrics ####
145
145
 
146
146
  ```ruby
147
- hit = Staccato::Pageview.new(tracker, '/sports-page-5')
147
+ hit = Staccato::Pageview.new(tracker, hostname: 'mysite.com', path: '/sports-page-5', title: 'Sports Page #5')
148
148
  hit.add_custom_dimension(19, 'Sports')
149
149
  hit.add_custom_metric(2, 5)
150
150
  hit.track!
@@ -11,7 +11,7 @@ module Staccato
11
11
  # product impress prefix
12
12
  # @return [String]
13
13
  def prefix
14
- 'il' + list_index.to_s + 'pr' + index.to_s
14
+ 'il' + list_index.to_s + 'pi' + index.to_s
15
15
  end
16
16
 
17
17
  # Product impression measurement options fields
@@ -1,4 +1,4 @@
1
1
  module Staccato
2
2
  # The current Staccato VERSION
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
@@ -48,13 +48,13 @@ describe Staccato::Measurement::ProductImpression do
48
48
  'dp' => '/home',
49
49
  'dt' => 'Home Page',
50
50
  'il1nm' => 'Search Results',
51
- 'il1pr1id' => 'P12345',
52
- 'il1pr1nm' => 'T-Shirt',
53
- 'il1pr1br' => 'Your Brand',
54
- 'il1pr1ca' => 'Apparel',
55
- 'il1pr1va' => 'Purple',
56
- 'il1pr1pr' => 14.60,
57
- 'il1pr1ps' => 1
51
+ 'il1pi1id' => 'P12345',
52
+ 'il1pi1nm' => 'T-Shirt',
53
+ 'il1pi1br' => 'Your Brand',
54
+ 'il1pi1ca' => 'Apparel',
55
+ 'il1pi1va' => 'Purple',
56
+ 'il1pi1pr' => 14.60,
57
+ 'il1pi1ps' => 1
58
58
  })
59
59
  end
60
60
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: staccato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Pitale
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-08 00:00:00.000000000 Z
11
+ date: 2015-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -191,4 +191,3 @@ test_files:
191
191
  - spec/lib/staccato/pageview_spec.rb
192
192
  - spec/lib/staccato/tracker_spec.rb
193
193
  - spec/spec_helper.rb
194
- has_rdoc: