ofmcore 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ofmcore/person.rb +2 -2
  2. metadata +3 -3
@@ -1,7 +1,7 @@
1
1
  class OfmCore::Person < Sequel::Model
2
2
  def self.rand
3
- count = Person.count
4
- Person.limit(1, Kernel.rand(count) ).first if (count > 0)
3
+ count = OfmCore::Person.count
4
+ OfmCore::Person.limit(1, Kernel.rand(count) ).first if (count > 0)
5
5
  end
6
6
 
7
7
  def validate
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ofmcore
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ben Colon