fnordmetric 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +1 -3
  2. data/Gemfile.lock +3 -20
  3. data/VERSION +1 -1
  4. data/doc/ulm_stats.rb +3 -3
  5. data/fnordmetric.gemspec +8 -14
  6. metadata +140 -170
data/Gemfile CHANGED
@@ -1,7 +1,5 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem "mongoid", ">= 2.2.0"
4
- gem "mongo", ">= 1.4.0"
5
3
  gem "bson_ext", ">= 1.4.0"
6
4
  gem "sinatra", ">= 1.2.6"
7
5
  gem "redis", ">= 2.2.2"
@@ -13,7 +11,7 @@ gem "rack"
13
11
  gem "rack-test"
14
12
  gem "yajl-ruby", :git => "git://github.com/brianmario/yajl-ruby.git"
15
13
  gem "thin"
16
-
14
+ gem "activesupport"
17
15
 
18
16
  group :development do
19
17
  gem "delorean", ">= 0"
data/Gemfile.lock CHANGED
@@ -7,17 +7,9 @@ GIT
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- activemodel (3.1.0)
11
- activesupport (= 3.1.0)
12
- bcrypt-ruby (~> 3.0.0)
13
- builder (~> 3.0.0)
14
- i18n (~> 0.6)
15
- activesupport (3.1.0)
10
+ activesupport (3.1.1)
16
11
  multi_json (~> 1.0)
17
- bcrypt-ruby (3.0.1)
18
- bson (1.4.0)
19
12
  bson_ext (1.4.0)
20
- builder (3.0.0)
21
13
  chronic (0.6.4)
22
14
  daemons (1.1.4)
23
15
  delorean (1.1.0)
@@ -29,19 +21,12 @@ GEM
29
21
  git (1.2.5)
30
22
  haml (3.1.2)
31
23
  hiredis (0.3.2)
32
- i18n (0.6.0)
33
24
  jeweler (1.5.2)
34
25
  bundler (~> 1.0.0)
35
26
  git (>= 1.2.5)
36
27
  rake
37
28
  json (1.6.1)
38
- mongo (1.4.0)
39
- bson (= 1.4.0)
40
- mongoid (2.2.0)
41
- activemodel (~> 3.0)
42
- mongo (~> 1.3)
43
- tzinfo (~> 0.3.22)
44
- multi_json (1.0.3)
29
+ multi_json (1.0.4)
45
30
  rack (1.3.0)
46
31
  rack-test (0.6.0)
47
32
  rack (>= 1.0)
@@ -64,12 +49,12 @@ GEM
64
49
  eventmachine (>= 0.12.6)
65
50
  rack (>= 1.0.0)
66
51
  tilt (1.3.2)
67
- tzinfo (0.3.29)
68
52
 
69
53
  PLATFORMS
70
54
  ruby
71
55
 
72
56
  DEPENDENCIES
57
+ activesupport
73
58
  bson_ext (>= 1.4.0)
74
59
  bundler (~> 1.0.0)
75
60
  delorean
@@ -78,8 +63,6 @@ DEPENDENCIES
78
63
  haml
79
64
  jeweler (~> 1.5.2)
80
65
  json
81
- mongo (>= 1.4.0)
82
- mongoid (>= 2.2.0)
83
66
  rack
84
67
  rack-test
85
68
  redis (>= 2.2.2)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.2
1
+ 0.5.3
data/doc/ulm_stats.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  $: << ::File.expand_path("../../../fnordmetric/lib/", __FILE__)
2
2
  require "fnordmetric"
3
3
 
4
- FnordMetric.namespace :ulikeme do
4
+ FnordMetric.namespace :ulm do
5
5
 
6
6
  gauge :skip_votes, :tick => 1.day.to_i, :title => "Skip-Votes"
7
7
  gauge :yes_votes, :tick => 1.day.to_i, :title => "Yes-Votes"
@@ -91,7 +91,7 @@ FnordMetric.namespace :ulikeme do
91
91
  }
92
92
 
93
93
  widget 'Overview', {
94
- :title => "uLikeMe Key Metrics",
94
+ :title => "ULM Key Metrics",
95
95
  :type => :numbers,
96
96
  :width => 100,
97
97
  :autoupdate => 30,
@@ -119,7 +119,7 @@ FnordMetric.namespace :ulikeme do
119
119
 
120
120
 
121
121
  widget 'Overview', {
122
- :title => "uLikeMe User Metrics",
122
+ :title => "ULM User Metrics",
123
123
  :type => :numbers,
124
124
  :width => 67,
125
125
  :autoupdate => 30,
data/fnordmetric.gemspec CHANGED
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{fnordmetric}
8
- s.version = "0.5.2"
7
+ s.name = "fnordmetric"
8
+ s.version = "0.5.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Paul Asmuth"]
12
- s.date = %q{2011-12-26}
13
- s.description = %q{FnordMetric is a Ruby Event-Tracking gem on steroids}
14
- s.email = %q{paul@paulasmuth.com}
12
+ s.date = "2011-12-27"
13
+ s.description = "FnordMetric is a Ruby Event-Tracking gem on steroids"
14
+ s.email = "paul@paulasmuth.com"
15
15
  s.files = [
16
16
  ".travis.yml",
17
17
  "Gemfile",
@@ -73,11 +73,11 @@ Gem::Specification.new do |s|
73
73
  "spec/widget_spec.rb",
74
74
  "spec/worker_spec.rb"
75
75
  ]
76
- s.homepage = %q{http://github.com/paulasmuth/fnordmetric}
76
+ s.homepage = "http://github.com/paulasmuth/fnordmetric"
77
77
  s.licenses = ["MIT"]
78
78
  s.require_paths = ["lib"]
79
- s.rubygems_version = %q{1.6.2}
80
- s.summary = %q{FnordMetric is a Ruby Event-Tracking gem on steroids}
79
+ s.rubygems_version = "1.8.10"
80
+ s.summary = "FnordMetric is a Ruby Event-Tracking gem on steroids"
81
81
  s.test_files = [
82
82
  "spec/app_spec.rb",
83
83
  "spec/context_spec.rb",
@@ -96,8 +96,6 @@ Gem::Specification.new do |s|
96
96
  s.specification_version = 3
97
97
 
98
98
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
99
- s.add_runtime_dependency(%q<mongoid>, [">= 2.2.0"])
100
- s.add_runtime_dependency(%q<mongo>, [">= 1.4.0"])
101
99
  s.add_runtime_dependency(%q<bson_ext>, [">= 1.4.0"])
102
100
  s.add_runtime_dependency(%q<sinatra>, [">= 1.2.6"])
103
101
  s.add_runtime_dependency(%q<redis>, [">= 2.2.2"])
@@ -115,8 +113,6 @@ Gem::Specification.new do |s|
115
113
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
116
114
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
117
115
  else
118
- s.add_dependency(%q<mongoid>, [">= 2.2.0"])
119
- s.add_dependency(%q<mongo>, [">= 1.4.0"])
120
116
  s.add_dependency(%q<bson_ext>, [">= 1.4.0"])
121
117
  s.add_dependency(%q<sinatra>, [">= 1.2.6"])
122
118
  s.add_dependency(%q<redis>, [">= 2.2.2"])
@@ -135,8 +131,6 @@ Gem::Specification.new do |s|
135
131
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
136
132
  end
137
133
  else
138
- s.add_dependency(%q<mongoid>, [">= 2.2.0"])
139
- s.add_dependency(%q<mongo>, [">= 1.4.0"])
140
134
  s.add_dependency(%q<bson_ext>, [">= 1.4.0"])
141
135
  s.add_dependency(%q<sinatra>, [">= 1.2.6"])
142
136
  s.add_dependency(%q<redis>, [">= 2.2.2"])
metadata CHANGED
@@ -1,225 +1,198 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: fnordmetric
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.3
4
5
  prerelease:
5
- version: 0.5.2
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Paul Asmuth
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-12-26 00:00:00 +01:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: mongoid
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
20
- none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
24
- version: 2.2.0
25
- type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: mongo
29
- prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
31
- none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- version: 1.4.0
36
- type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
12
+ date: 2011-12-27 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
39
15
  name: bson_ext
40
- prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
16
+ requirement: &77629750 !ruby/object:Gem::Requirement
42
17
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
46
21
  version: 1.4.0
47
22
  type: :runtime
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: sinatra
51
23
  prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
24
+ version_requirements: *77629750
25
+ - !ruby/object:Gem::Dependency
26
+ name: sinatra
27
+ requirement: &77629330 !ruby/object:Gem::Requirement
53
28
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
57
32
  version: 1.2.6
58
33
  type: :runtime
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: redis
62
34
  prerelease: false
63
- requirement: &id005 !ruby/object:Gem::Requirement
35
+ version_requirements: *77629330
36
+ - !ruby/object:Gem::Dependency
37
+ name: redis
38
+ requirement: &77628980 !ruby/object:Gem::Requirement
64
39
  none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
68
43
  version: 2.2.2
69
44
  type: :runtime
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
72
- name: eventmachine
73
45
  prerelease: false
74
- requirement: &id006 !ruby/object:Gem::Requirement
46
+ version_requirements: *77628980
47
+ - !ruby/object:Gem::Dependency
48
+ name: eventmachine
49
+ requirement: &77628420 !ruby/object:Gem::Requirement
75
50
  none: false
76
- requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- version: "0"
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
80
55
  type: :runtime
81
- version_requirements: *id006
82
- - !ruby/object:Gem::Dependency
83
- name: em-hiredis
84
56
  prerelease: false
85
- requirement: &id007 !ruby/object:Gem::Requirement
57
+ version_requirements: *77628420
58
+ - !ruby/object:Gem::Dependency
59
+ name: em-hiredis
60
+ requirement: &77627910 !ruby/object:Gem::Requirement
86
61
  none: false
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: "0"
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
91
66
  type: :runtime
92
- version_requirements: *id007
93
- - !ruby/object:Gem::Dependency
94
- name: json
95
67
  prerelease: false
96
- requirement: &id008 !ruby/object:Gem::Requirement
68
+ version_requirements: *77627910
69
+ - !ruby/object:Gem::Dependency
70
+ name: json
71
+ requirement: &77627330 !ruby/object:Gem::Requirement
97
72
  none: false
98
- requirements:
99
- - - ">="
100
- - !ruby/object:Gem::Version
101
- version: "0"
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
102
77
  type: :runtime
103
- version_requirements: *id008
104
- - !ruby/object:Gem::Dependency
105
- name: haml
106
78
  prerelease: false
107
- requirement: &id009 !ruby/object:Gem::Requirement
79
+ version_requirements: *77627330
80
+ - !ruby/object:Gem::Dependency
81
+ name: haml
82
+ requirement: &77626950 !ruby/object:Gem::Requirement
108
83
  none: false
109
- requirements:
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- version: "0"
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
113
88
  type: :runtime
114
- version_requirements: *id009
115
- - !ruby/object:Gem::Dependency
116
- name: rack
117
89
  prerelease: false
118
- requirement: &id010 !ruby/object:Gem::Requirement
90
+ version_requirements: *77626950
91
+ - !ruby/object:Gem::Dependency
92
+ name: rack
93
+ requirement: &77626550 !ruby/object:Gem::Requirement
119
94
  none: false
120
- requirements:
121
- - - ">="
122
- - !ruby/object:Gem::Version
123
- version: "0"
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
124
99
  type: :runtime
125
- version_requirements: *id010
126
- - !ruby/object:Gem::Dependency
127
- name: rack-test
128
100
  prerelease: false
129
- requirement: &id011 !ruby/object:Gem::Requirement
101
+ version_requirements: *77626550
102
+ - !ruby/object:Gem::Dependency
103
+ name: rack-test
104
+ requirement: &77626120 !ruby/object:Gem::Requirement
130
105
  none: false
131
- requirements:
132
- - - ">="
133
- - !ruby/object:Gem::Version
134
- version: "0"
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
135
110
  type: :runtime
136
- version_requirements: *id011
137
- - !ruby/object:Gem::Dependency
138
- name: yajl-ruby
139
111
  prerelease: false
140
- requirement: &id012 !ruby/object:Gem::Requirement
112
+ version_requirements: *77626120
113
+ - !ruby/object:Gem::Dependency
114
+ name: yajl-ruby
115
+ requirement: &77621120 !ruby/object:Gem::Requirement
141
116
  none: false
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: "0"
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
146
121
  type: :runtime
147
- version_requirements: *id012
148
- - !ruby/object:Gem::Dependency
149
- name: thin
150
122
  prerelease: false
151
- requirement: &id013 !ruby/object:Gem::Requirement
123
+ version_requirements: *77621120
124
+ - !ruby/object:Gem::Dependency
125
+ name: thin
126
+ requirement: &77620790 !ruby/object:Gem::Requirement
152
127
  none: false
153
- requirements:
154
- - - ">="
155
- - !ruby/object:Gem::Version
156
- version: "0"
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
157
132
  type: :runtime
158
- version_requirements: *id013
159
- - !ruby/object:Gem::Dependency
160
- name: delorean
161
133
  prerelease: false
162
- requirement: &id014 !ruby/object:Gem::Requirement
134
+ version_requirements: *77620790
135
+ - !ruby/object:Gem::Dependency
136
+ name: delorean
137
+ requirement: &77620440 !ruby/object:Gem::Requirement
163
138
  none: false
164
- requirements:
165
- - - ">="
166
- - !ruby/object:Gem::Version
167
- version: "0"
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
168
143
  type: :development
169
- version_requirements: *id014
170
- - !ruby/object:Gem::Dependency
171
- name: rspec
172
144
  prerelease: false
173
- requirement: &id015 !ruby/object:Gem::Requirement
145
+ version_requirements: *77620440
146
+ - !ruby/object:Gem::Dependency
147
+ name: rspec
148
+ requirement: &77620110 !ruby/object:Gem::Requirement
174
149
  none: false
175
- requirements:
150
+ requirements:
176
151
  - - ~>
177
- - !ruby/object:Gem::Version
152
+ - !ruby/object:Gem::Version
178
153
  version: 2.6.0
179
154
  type: :development
180
- version_requirements: *id015
181
- - !ruby/object:Gem::Dependency
182
- name: shoulda
183
155
  prerelease: false
184
- requirement: &id016 !ruby/object:Gem::Requirement
156
+ version_requirements: *77620110
157
+ - !ruby/object:Gem::Dependency
158
+ name: shoulda
159
+ requirement: &77619770 !ruby/object:Gem::Requirement
185
160
  none: false
186
- requirements:
187
- - - ">="
188
- - !ruby/object:Gem::Version
189
- version: "0"
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
190
165
  type: :development
191
- version_requirements: *id016
192
- - !ruby/object:Gem::Dependency
193
- name: bundler
194
166
  prerelease: false
195
- requirement: &id017 !ruby/object:Gem::Requirement
167
+ version_requirements: *77619770
168
+ - !ruby/object:Gem::Dependency
169
+ name: bundler
170
+ requirement: &77619460 !ruby/object:Gem::Requirement
196
171
  none: false
197
- requirements:
172
+ requirements:
198
173
  - - ~>
199
- - !ruby/object:Gem::Version
174
+ - !ruby/object:Gem::Version
200
175
  version: 1.0.0
201
176
  type: :development
202
- version_requirements: *id017
203
- - !ruby/object:Gem::Dependency
204
- name: jeweler
205
177
  prerelease: false
206
- requirement: &id018 !ruby/object:Gem::Requirement
178
+ version_requirements: *77619460
179
+ - !ruby/object:Gem::Dependency
180
+ name: jeweler
181
+ requirement: &77619150 !ruby/object:Gem::Requirement
207
182
  none: false
208
- requirements:
183
+ requirements:
209
184
  - - ~>
210
- - !ruby/object:Gem::Version
185
+ - !ruby/object:Gem::Version
211
186
  version: 1.5.2
212
187
  type: :development
213
- version_requirements: *id018
188
+ prerelease: false
189
+ version_requirements: *77619150
214
190
  description: FnordMetric is a Ruby Event-Tracking gem on steroids
215
191
  email: paul@paulasmuth.com
216
192
  executables: []
217
-
218
193
  extensions: []
219
-
220
194
  extra_rdoc_files: []
221
-
222
- files:
195
+ files:
223
196
  - .travis.yml
224
197
  - Gemfile
225
198
  - Gemfile.lock
@@ -279,35 +252,32 @@ files:
279
252
  - spec/spec_helper.rb
280
253
  - spec/widget_spec.rb
281
254
  - spec/worker_spec.rb
282
- has_rdoc: true
283
255
  homepage: http://github.com/paulasmuth/fnordmetric
284
- licenses:
256
+ licenses:
285
257
  - MIT
286
258
  post_install_message:
287
259
  rdoc_options: []
288
-
289
- require_paths:
260
+ require_paths:
290
261
  - lib
291
- required_ruby_version: !ruby/object:Gem::Requirement
262
+ required_ruby_version: !ruby/object:Gem::Requirement
292
263
  none: false
293
- requirements:
294
- - - ">="
295
- - !ruby/object:Gem::Version
296
- version: "0"
297
- required_rubygems_version: !ruby/object:Gem::Requirement
264
+ requirements:
265
+ - - ! '>='
266
+ - !ruby/object:Gem::Version
267
+ version: '0'
268
+ required_rubygems_version: !ruby/object:Gem::Requirement
298
269
  none: false
299
- requirements:
300
- - - ">="
301
- - !ruby/object:Gem::Version
302
- version: "0"
270
+ requirements:
271
+ - - ! '>='
272
+ - !ruby/object:Gem::Version
273
+ version: '0'
303
274
  requirements: []
304
-
305
275
  rubyforge_project:
306
- rubygems_version: 1.6.2
276
+ rubygems_version: 1.8.10
307
277
  signing_key:
308
278
  specification_version: 3
309
279
  summary: FnordMetric is a Ruby Event-Tracking gem on steroids
310
- test_files:
280
+ test_files:
311
281
  - spec/app_spec.rb
312
282
  - spec/context_spec.rb
313
283
  - spec/dashboard_spec.rb