model_grinder 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -63,7 +63,6 @@ module ModelGrinder
63
63
  extend ActiveSupport::Concern if const_defined?(:ActiveSupport)
64
64
 
65
65
  # List of supported ORMs
66
- # TODO: get Mongoid working!
67
66
  ORMS = {
68
67
  datamapper: lambda { |obj| DataMapper::Model.append_extensions obj },
69
68
  activerecord: lambda { |obj| ActiveRecord::Base.extend obj },
@@ -1,6 +1,6 @@
1
1
  unless Array.respond_to?(:sample)
2
- class Array
3
- def sample(num = 1)
2
+ class Array #:nodoc: all
3
+ def sample(num = 1) #:
4
4
  ret = []
5
5
  already_picked = []
6
6
  (1..num).each { |i|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: model_grinder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: