analytics-ruby-mock 0.0.5 → 0.0.6

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.
Files changed (2) hide show
  1. data/lib/analytics_ruby_mock.rb +1 -1
  2. metadata +2 -2
@@ -13,7 +13,7 @@ module AnalyticsRuby
13
13
  end
14
14
 
15
15
  def track_events
16
- @track_calls.collect { |t| t[:event] }
16
+ (@track_calls || []).collect { |t| t[:event] }
17
17
  end
18
18
 
19
19
  #############################################################
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: analytics-ruby-mock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-28 00:00:00.000000000 Z
12
+ date: 2013-11-07 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Capture all calls to segment.io and prevent them from being sent.
15
15
  email: gavin@petrofeed.com