fnm-statistics 0.1.3 → 0.1.4

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.
Files changed (3) hide show
  1. data/lib/statistics.rb +0 -2
  2. data/statistics.gemspec +2 -2
  3. metadata +4 -4
data/lib/statistics.rb CHANGED
@@ -54,8 +54,6 @@ module Statistics
54
54
  options = { :column_name => :id }.merge(options)
55
55
 
56
56
  calculation = options.keys.find {|opt| Statistics::supported_calculations.include?(opt)}
57
- # replace :average with :avg to work with mysql
58
- calculation = :avg if calculation == :average
59
57
  calculation ||= :count
60
58
 
61
59
  # We must use the metaclass here to metaprogrammatically define a class method
data/statistics.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fnm-statistics}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Alexandru Catighera"]
12
- s.date = %q{2010-05-27}
12
+ s.date = %q{2009-12-16}
13
13
  s.email = %q{acatighera@gmail.com}
14
14
  s.extra_rdoc_files = [
15
15
  "README.markdown"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fnm-statistics
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alexandru Catighera
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-05-27 00:00:00 +01:00
18
+ date: 2009-12-16 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies: []
21
21