bodhi 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,7 +46,7 @@ module Bodhi
46
46
  end
47
47
 
48
48
  def for_period (start_date, end_date = Time.now)
49
- MetricValue.where("start between ? and ?", start_date, end_date)
49
+ MetricValue.where(:metric => @name).where("start between ? and ?", start_date, end_date)
50
50
  end
51
51
 
52
52
  def generate
@@ -1,3 +1,3 @@
1
1
  module Bodhi
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 0
8
7
  - 1
9
- version: 0.0.1
8
+ - 0
9
+ version: 0.1.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ryan Brunner
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-04-18 00:00:00 -04:00
17
+ date: 2011-05-27 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency