modlr 0.0.4.3.1 → 0.0.4.3.2

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  class Modlr
3
- require "modlr/fnames"
3
+ require File.join(File.expand_path(File.dirname(__FILE__)), "modlr", "fnames")
4
4
 
5
5
  ##
6
6
  # modlr :class, number_of_records, {:field => :type, :field => type}
@@ -26,7 +26,7 @@ class Modlr
26
26
 
27
27
 
28
28
  def self.rand_first_name
29
- self.fnames[rand(self.fnames.count)]
29
+ Name.fnames[rand(Name.fnames.count)]
30
30
  end
31
31
 
32
32
 
@@ -1,5 +1,5 @@
1
1
  module Modlr
2
- module Fname
2
+ module Name
3
3
  FNAMES = ["JAMES", "JOHN", "ROBERT", "MICHAEL", "WILLIAM",
4
4
  "DAVID", "RICHARD", "CHARLES", "JOSEPH", "THOMAS",
5
5
  "CHRISTOPHER", "DANIEL", "PAUL", "MARK", "DONALD",
@@ -1,3 +1,3 @@
1
1
  module Modlr
2
- VERSION = "0.0.4.3.1"
2
+ VERSION = "0.0.4.3.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: modlr
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.4.3.1
5
+ version: 0.0.4.3.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nick Radford