cohortly 0.0.2 → 0.0.3

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.
@@ -7,7 +7,7 @@ module Cohortly
7
7
  end
8
8
 
9
9
  def data
10
- @data ||= (MongoMapper.database[self.collection].find().collect {|x| x}).sort_by {|x| x['_id'] }
10
+ @data ||= (Cohortly::Metric.database[self.collection].find().collect {|x| x}).sort_by {|x| x['_id'] }
11
11
  end
12
12
 
13
13
  def start_month
@@ -1,3 +1,3 @@
1
1
  module Cohortly
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -6332,3 +6332,11 @@ Started GET "/cohortly/reports?utf8=%E2%9C%93&commit=Get+Report" for 127.0.0.1 a
6332
6332
  Rendered /Users/bhauman/workspace/cohortly/app/views/cohortly/metrics/_tags.html.erb (5.8ms)
6333
6333
  Rendered /Users/bhauman/workspace/cohortly/app/views/cohortly/reports/index.html.erb within layouts/cohortly/application (133.3ms)
6334
6334
  Completed 200 OK in 1631ms (Views: 137.9ms)
6335
+
6336
+
6337
+ Started GET "/cohortly/reports?utf8=%E2%9C%93&cohortly_metric%5Btags%5D%5B%5D=hey&commit=Get+Report" for 127.0.0.1 at 2011-10-04 23:16:21 -0700
6338
+ Processing by Cohortly::ReportsController#index as HTML
6339
+ Parameters: {"utf8"=>"✓", "cohortly_metric"=>{"tags"=>["hey"]}, "commit"=>"Get Report"}
6340
+ Rendered /Users/bhauman/workspace/cohortly/app/views/cohortly/metrics/_tags.html.erb (5.8ms)
6341
+ Rendered /Users/bhauman/workspace/cohortly/app/views/cohortly/reports/index.html.erb within layouts/cohortly/application (24.9ms)
6342
+ Completed 200 OK in 74ms (Views: 31.0ms)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cohortly
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Bruce Hauman
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-10-04 00:00:00 -07:00
13
+ date: 2011-10-05 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
@@ -91,7 +91,6 @@ files:
91
91
  - test/dummy/public/javascripts/rails.js
92
92
  - test/dummy/Rakefile
93
93
  - test/dummy/script/rails
94
- - test/dummy/tmp/pids/server.pid
95
94
  - test/integration/navigation_test.rb
96
95
  - test/support/integration_case.rb
97
96
  - test/support/test_tag_config.rb
@@ -167,7 +166,6 @@ test_files:
167
166
  - test/dummy/public/javascripts/rails.js
168
167
  - test/dummy/Rakefile
169
168
  - test/dummy/script/rails
170
- - test/dummy/tmp/pids/server.pid
171
169
  - test/integration/navigation_test.rb
172
170
  - test/support/integration_case.rb
173
171
  - test/support/test_tag_config.rb
@@ -1 +0,0 @@
1
- 22244