fnordmetric 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/fnordmetric.gemspec CHANGED
@@ -18,14 +18,14 @@ Gem::Specification.new do |s|
18
18
  s.add_dependency "redis", ">= 2.2.2"
19
19
  s.add_dependency "eventmachine"
20
20
  s.add_dependency "websocket-rack", "0.4.0"
21
- s.add_dependency "em-hiredis", "0.1.1"
21
+ s.add_dependency "em-hiredis", ">= 0.1.1"
22
22
  s.add_dependency "json"
23
23
  s.add_dependency "i18n"
24
24
  s.add_dependency "haml"
25
25
  s.add_dependency "rack"
26
26
  s.add_dependency "rack-test"
27
27
  s.add_dependency "yajl-ruby"
28
- s.add_dependency "thin", "~> 1.3.0"
28
+ s.add_dependency "thin", ">= 1.3.0"
29
29
  s.add_dependency "activesupport"
30
30
 
31
31
  s.add_development_dependency "delorean"
@@ -1,3 +1,3 @@
1
1
  module FnordMetric
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
data/run_specs.sh ADDED
@@ -0,0 +1,11 @@
1
+ #!/bin/bash
2
+
3
+ (cd $(dirname $0)/../fnordmetric-ui && \
4
+ ./build.sh)
5
+
6
+ (cd $(dirname $0)/web && \
7
+ ./build.sh)
8
+
9
+ (cd $(dirname $0) && \
10
+ bundle install && \
11
+ bundle exec rspec)
@@ -7,7 +7,7 @@ describe FnordMetric do
7
7
  opts = FnordMetric.default_options
8
8
  opts[:redis_url].should eq("redis://localhost:6379")
9
9
  opts[:redis_prefix].should eq("fnordmetric")
10
- opts[:inbound_stream].should eq(["0.0.0.0", "1337"])
10
+ opts[:inbound_stream].should eq(nil)
11
11
  opts[:web_interface].should eq(["0.0.0.0", "4242"])
12
12
  opts[:web_interface_server].should eq("thin")
13
13
  opts[:start_worker].should be_true
@@ -53,4 +53,4 @@ describe FnordMetric do
53
53
  end
54
54
 
55
55
 
56
- end
56
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fnordmetric
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-12 00:00:00.000000000 Z
12
+ date: 2013-02-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra
16
- requirement: &12630080 !ruby/object:Gem::Requirement
16
+ requirement: &14744120 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.2.6
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *12630080
24
+ version_requirements: *14744120
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: redis
27
- requirement: &12629360 !ruby/object:Gem::Requirement
27
+ requirement: &14743180 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 2.2.2
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *12629360
35
+ version_requirements: *14743180
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: eventmachine
38
- requirement: &12628500 !ruby/object:Gem::Requirement
38
+ requirement: &14742540 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *12628500
46
+ version_requirements: *14742540
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: websocket-rack
49
- requirement: &12642320 !ruby/object:Gem::Requirement
49
+ requirement: &14856940 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - =
@@ -54,21 +54,21 @@ dependencies:
54
54
  version: 0.4.0
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *12642320
57
+ version_requirements: *14856940
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: em-hiredis
60
- requirement: &12636300 !ruby/object:Gem::Requirement
60
+ requirement: &14856440 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
- - - =
63
+ - - ! '>='
64
64
  - !ruby/object:Gem::Version
65
65
  version: 0.1.1
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *12636300
68
+ version_requirements: *14856440
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: json
71
- requirement: &12635380 !ruby/object:Gem::Requirement
71
+ requirement: &14856060 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *12635380
79
+ version_requirements: *14856060
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: i18n
82
- requirement: &12744500 !ruby/object:Gem::Requirement
82
+ requirement: &14855560 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *12744500
90
+ version_requirements: *14855560
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: haml
93
- requirement: &12744080 !ruby/object:Gem::Requirement
93
+ requirement: &14855080 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *12744080
101
+ version_requirements: *14855080
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: rack
104
- requirement: &12743660 !ruby/object:Gem::Requirement
104
+ requirement: &14854660 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '0'
110
110
  type: :runtime
111
111
  prerelease: false
112
- version_requirements: *12743660
112
+ version_requirements: *14854660
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: rack-test
115
- requirement: &12743200 !ruby/object:Gem::Requirement
115
+ requirement: &14854240 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: '0'
121
121
  type: :runtime
122
122
  prerelease: false
123
- version_requirements: *12743200
123
+ version_requirements: *14854240
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: yajl-ruby
126
- requirement: &12742760 !ruby/object:Gem::Requirement
126
+ requirement: &14853820 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ! '>='
@@ -131,21 +131,21 @@ dependencies:
131
131
  version: '0'
132
132
  type: :runtime
133
133
  prerelease: false
134
- version_requirements: *12742760
134
+ version_requirements: *14853820
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: thin
137
- requirement: &12742260 !ruby/object:Gem::Requirement
137
+ requirement: &14853280 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
- - - ~>
140
+ - - ! '>='
141
141
  - !ruby/object:Gem::Version
142
142
  version: 1.3.0
143
143
  type: :runtime
144
144
  prerelease: false
145
- version_requirements: *12742260
145
+ version_requirements: *14853280
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: activesupport
148
- requirement: &12741840 !ruby/object:Gem::Requirement
148
+ requirement: &14852780 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,10 +153,10 @@ dependencies:
153
153
  version: '0'
154
154
  type: :runtime
155
155
  prerelease: false
156
- version_requirements: *12741840
156
+ version_requirements: *14852780
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: delorean
159
- requirement: &12741380 !ruby/object:Gem::Requirement
159
+ requirement: &14852240 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - ! '>='
@@ -164,10 +164,10 @@ dependencies:
164
164
  version: '0'
165
165
  type: :development
166
166
  prerelease: false
167
- version_requirements: *12741380
167
+ version_requirements: *14852240
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: rspec
170
- requirement: &12740880 !ruby/object:Gem::Requirement
170
+ requirement: &14851500 !ruby/object:Gem::Requirement
171
171
  none: false
172
172
  requirements:
173
173
  - - ~>
@@ -175,10 +175,10 @@ dependencies:
175
175
  version: 2.8.0
176
176
  type: :development
177
177
  prerelease: false
178
- version_requirements: *12740880
178
+ version_requirements: *14851500
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: shoulda
181
- requirement: &12740440 !ruby/object:Gem::Requirement
181
+ requirement: &14849980 !ruby/object:Gem::Requirement
182
182
  none: false
183
183
  requirements:
184
184
  - - ! '>='
@@ -186,7 +186,7 @@ dependencies:
186
186
  version: '0'
187
187
  type: :development
188
188
  prerelease: false
189
- version_requirements: *12740440
189
+ version_requirements: *14849980
190
190
  description: FnordMetric is a Ruby Event-Tracking gem on steroids
191
191
  email:
192
192
  - paul@paulasmuth.com
@@ -244,6 +244,7 @@ files:
244
244
  - lib/fnordmetric/widgets/toplist_widget.rb
245
245
  - lib/fnordmetric/worker.rb
246
246
  - lib/fnordmetric/zero_config_gauge.rb
247
+ - run_specs.sh
247
248
  - spec/api_spec.rb
248
249
  - spec/context_spec.rb
249
250
  - spec/dashboard_spec.rb