saucy-kiss 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ 0.1.1
2
+
3
+ Fixed a bug.
4
+
1
5
  0.1.0
2
6
 
3
7
  Instead of:
@@ -2,7 +2,7 @@ module Saucy
2
2
  module Kiss
3
3
  module ControllerFilters
4
4
  def identify_to_kissmetrics
5
- if current_account
5
+ if current_account?
6
6
  km.identify("account-#{current_account.id}")
7
7
  else
8
8
  km.identify(nil)
@@ -43,13 +43,14 @@ describe Saucy::Kiss::ControllerFilters do
43
43
  end
44
44
 
45
45
  it "sets identity based on the account if there is a current_account when there is a current_account" do
46
- controller.stub(:current_account => account)
46
+ controller.stub(:current_account? => true,
47
+ :current_account => account)
47
48
  km.should_receive(:identify).with("account-12345")
48
49
  controller.identify_to_kissmetrics
49
50
  end
50
51
 
51
52
  it "clears identity when there is not a current_account" do
52
- controller.stub(:current_account => nil)
53
+ controller.stub(:current_account? => false)
53
54
  km.should_receive(:identify).with(nil)
54
55
  controller.identify_to_kissmetrics
55
56
  end
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saucy-kiss
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 25
4
5
  prerelease:
5
- version: 0.1.0
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 1
10
+ version: 0.1.1
6
11
  platform: ruby
7
12
  authors:
8
13
  - Jason Morrison
@@ -22,6 +27,11 @@ dependencies:
22
27
  requirements:
23
28
  - - ~>
24
29
  - !ruby/object:Gem::Version
30
+ hash: 3
31
+ segments:
32
+ - 2
33
+ - 3
34
+ - 0
25
35
  version: 2.3.0
26
36
  type: :development
27
37
  version_requirements: *id001
@@ -33,6 +43,11 @@ dependencies:
33
43
  requirements:
34
44
  - - ~>
35
45
  - !ruby/object:Gem::Version
46
+ hash: 7
47
+ segments:
48
+ - 0
49
+ - 6
50
+ - 0
36
51
  version: 0.6.0
37
52
  type: :development
38
53
  version_requirements: *id002
@@ -44,6 +59,11 @@ dependencies:
44
59
  requirements:
45
60
  - - ">="
46
61
  - !ruby/object:Gem::Version
62
+ hash: 23
63
+ segments:
64
+ - 1
65
+ - 0
66
+ - 0
47
67
  version: 1.0.0
48
68
  type: :development
49
69
  version_requirements: *id003
@@ -55,6 +75,11 @@ dependencies:
55
75
  requirements:
56
76
  - - ~>
57
77
  - !ruby/object:Gem::Version
78
+ hash: 11
79
+ segments:
80
+ - 1
81
+ - 6
82
+ - 2
58
83
  version: 1.6.2
59
84
  type: :development
60
85
  version_requirements: *id004
@@ -66,6 +91,9 @@ dependencies:
66
91
  requirements:
67
92
  - - ">="
68
93
  - !ruby/object:Gem::Version
94
+ hash: 3
95
+ segments:
96
+ - 0
69
97
  version: "0"
70
98
  type: :development
71
99
  version_requirements: *id005
@@ -77,6 +105,10 @@ dependencies:
77
105
  requirements:
78
106
  - - ~>
79
107
  - !ruby/object:Gem::Version
108
+ hash: 7
109
+ segments:
110
+ - 3
111
+ - 0
80
112
  version: "3.0"
81
113
  type: :development
82
114
  version_requirements: *id006
@@ -88,6 +120,11 @@ dependencies:
88
120
  requirements:
89
121
  - - ~>
90
122
  - !ruby/object:Gem::Version
123
+ hash: 21
124
+ segments:
125
+ - 1
126
+ - 0
127
+ - 1
91
128
  version: 1.0.1
92
129
  type: :runtime
93
130
  version_requirements: *id007
@@ -99,6 +136,11 @@ dependencies:
99
136
  requirements:
100
137
  - - ~>
101
138
  - !ruby/object:Gem::Version
139
+ hash: 21
140
+ segments:
141
+ - 0
142
+ - 1
143
+ - 7
102
144
  version: 0.1.7
103
145
  type: :runtime
104
146
  version_requirements: *id008
@@ -110,6 +152,11 @@ dependencies:
110
152
  requirements:
111
153
  - - ~>
112
154
  - !ruby/object:Gem::Version
155
+ hash: 59
156
+ segments:
157
+ - 0
158
+ - 9
159
+ - 0
113
160
  version: 0.9.0
114
161
  type: :runtime
115
162
  version_requirements: *id009
@@ -149,12 +196,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
149
196
  requirements:
150
197
  - - ">="
151
198
  - !ruby/object:Gem::Version
199
+ hash: 3
200
+ segments:
201
+ - 0
152
202
  version: "0"
153
203
  required_rubygems_version: !ruby/object:Gem::Requirement
154
204
  none: false
155
205
  requirements:
156
206
  - - ">="
157
207
  - !ruby/object:Gem::Version
208
+ hash: 3
209
+ segments:
210
+ - 0
158
211
  version: "0"
159
212
  requirements: []
160
213