saucy-kiss 0.2.5 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ 0.3.0
2
+
3
+ Add saucy:kiss:testing generator.
4
+
5
+ Running `rails generate saucy:kiss:testing` installs fake\_kissmetrics.rb in
6
+ spec/support. The fake KM file is a ShamRack app that soaks up hits to KM's API
7
+ so that running tests on saucy apps doesn't print annoying SSL verification
8
+ warnings. Just require "spec/support/fake\_kissmetrics.rb" and you're set.
9
+
1
10
  0.2.5
2
11
 
3
12
  Dependency changes:
data/Gemfile CHANGED
@@ -1,7 +1,3 @@
1
1
  source "http://rubygems.org"
2
2
 
3
3
  gemspec
4
-
5
- group :development, :test do
6
- gem "rspec", "~> 2.3.0"
7
- end
@@ -0,0 +1,7 @@
1
+ require 'sham_rack'
2
+
3
+ ShamRack.at('trk.kissmetrics.com', 443).sinatra do
4
+ get '/e' do
5
+ status 200
6
+ end
7
+ end
@@ -0,0 +1,15 @@
1
+ require 'rails/generators'
2
+
3
+ module Saucy
4
+ module Kiss
5
+ class TestingGenerator < Rails::Generators::Base
6
+ source_root File.expand_path("../templates", __FILE__)
7
+ desc "Install a fake Kissmetrics ShamRack app into spec/support to avoid SSL verification errors."
8
+
9
+ def install_fake_kissmetrics
10
+ empty_directory 'spec/support'
11
+ copy_file 'support/fake_kissmetrics.rb', 'spec/support/fake_kissmetrics.rb'
12
+ end
13
+ end
14
+ end
15
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saucy-kiss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -15,18 +15,18 @@ date: 2011-06-27 00:00:00.000000000Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rspec
18
- requirement: &2151816920 !ruby/object:Gem::Requirement
18
+ requirement: &2151815540 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: 2.3.0
23
+ version: 2.6.0
24
24
  type: :development
25
25
  prerelease: false
26
- version_requirements: *2151816920
26
+ version_requirements: *2151815540
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: yard
29
- requirement: &2151814500 !ruby/object:Gem::Requirement
29
+ requirement: &2151813100 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ~>
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 0.6.0
35
35
  type: :development
36
36
  prerelease: false
37
- version_requirements: *2151814500
37
+ version_requirements: *2151813100
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: bundler
40
- requirement: &2151811380 !ruby/object:Gem::Requirement
40
+ requirement: &2151807920 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: 1.0.0
46
46
  type: :development
47
47
  prerelease: false
48
- version_requirements: *2151811380
48
+ version_requirements: *2151807920
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: jeweler
51
- requirement: &2151806200 !ruby/object:Gem::Requirement
51
+ requirement: &2151801280 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ~>
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: 1.6.2
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *2151806200
59
+ version_requirements: *2151801280
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: rcov
62
- requirement: &2151800240 !ruby/object:Gem::Requirement
62
+ requirement: &2151833240 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,10 +67,10 @@ dependencies:
67
67
  version: '0'
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *2151800240
70
+ version_requirements: *2151833240
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: activesupport
73
- requirement: &2151828200 !ruby/object:Gem::Requirement
73
+ requirement: &2151901520 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ~>
@@ -78,10 +78,32 @@ dependencies:
78
78
  version: '3.0'
79
79
  type: :development
80
80
  prerelease: false
81
- version_requirements: *2151828200
81
+ version_requirements: *2151901520
82
+ - !ruby/object:Gem::Dependency
83
+ name: cucumber
84
+ requirement: &2152134560 !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: 1.0.2
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: *2152134560
93
+ - !ruby/object:Gem::Dependency
94
+ name: aruba
95
+ requirement: &2152186340 !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
98
+ - - ~>
99
+ - !ruby/object:Gem::Version
100
+ version: 0.4.6
101
+ type: :development
102
+ prerelease: false
103
+ version_requirements: *2152186340
82
104
  - !ruby/object:Gem::Dependency
83
105
  name: kissmetrics
84
- requirement: &2151889680 !ruby/object:Gem::Requirement
106
+ requirement: &2152327200 !ruby/object:Gem::Requirement
85
107
  none: false
86
108
  requirements:
87
109
  - - ~>
@@ -89,10 +111,10 @@ dependencies:
89
111
  version: 1.0.2
90
112
  type: :runtime
91
113
  prerelease: false
92
- version_requirements: *2151889680
114
+ version_requirements: *2152327200
93
115
  - !ruby/object:Gem::Dependency
94
116
  name: snogmetrics
95
- requirement: &2155966440 !ruby/object:Gem::Requirement
117
+ requirement: &2152401940 !ruby/object:Gem::Requirement
96
118
  none: false
97
119
  requirements:
98
120
  - - ~>
@@ -100,10 +122,10 @@ dependencies:
100
122
  version: 0.1.9
101
123
  type: :runtime
102
124
  prerelease: false
103
- version_requirements: *2155966440
125
+ version_requirements: *2152401940
104
126
  - !ruby/object:Gem::Dependency
105
127
  name: saucy
106
- requirement: &2156037280 !ruby/object:Gem::Requirement
128
+ requirement: &2152500380 !ruby/object:Gem::Requirement
107
129
  none: false
108
130
  requirements:
109
131
  - - ~>
@@ -111,7 +133,7 @@ dependencies:
111
133
  version: 0.10.7
112
134
  type: :runtime
113
135
  prerelease: false
114
- version_requirements: *2156037280
136
+ version_requirements: *2152500380
115
137
  description: Record Saucy SaaS events to KISSmetrics
116
138
  email: jason.p.morrison@gmail.com
117
139
  executables: []
@@ -120,6 +142,8 @@ extra_rdoc_files:
120
142
  - LICENSE.txt
121
143
  - README.md
122
144
  files:
145
+ - lib/generators/saucy/kiss/testing/templates/support/fake_kissmetrics.rb
146
+ - lib/generators/saucy/kiss/testing/testing_generator.rb
123
147
  - lib/saucy/kiss/controller_filters.rb
124
148
  - lib/saucy/kiss/observer.rb
125
149
  - lib/saucy-kiss.rb