nifty-utils 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4df7f41b8faa6b1ae2488fb3cbf5ea7001c2ce79
4
- data.tar.gz: da7b0cb4236bf439d6af24687108ba4d09523174
3
+ metadata.gz: 949a5348ccca0521b44ae3113799185f7be7c9e9
4
+ data.tar.gz: b9535c88e4899f4602c2098b82768d362529cb98
5
5
  SHA512:
6
- metadata.gz: 5b2c4e9ac34a1f994dda6056ff628be7736fe0bae500ec812d02d0cbd5c764f017981b5f3e466b62788a4433628dd5f626badf259c1a1ea0dd7aa8502019d1b2
7
- data.tar.gz: 225c89be6607a4c64ffb589b2df72ae052c2121880b559802f662e8bde2e368c235340c1b65fb981bbbb41994f8f81ac79ef30532fc72691813552ac585857e4
6
+ metadata.gz: c1badcc5f2c3aba56d2bd727b12ee7b391c32c186e81853acdb186a9df0caef27aae9237393aee52a79ff3755e1b41bcc4a40b169ea6cefc7ce5648fb1784bf1
7
+ data.tar.gz: 6096f7a2d95eb588b5c48368051c9235d9c41e7f1b23e06914a3248415eace3e7cfd2fdaf39057bbd4c18210a255ba3fee1a8798af3e848c803397b0a20643d1
@@ -27,7 +27,7 @@ module Nifty
27
27
  false
28
28
  end
29
29
 
30
- def random(field, options = {})
30
+ def random_string(field, options = {})
31
31
  self.send :include, ModelExtensions unless self.has_random_strings?
32
32
  self.random_string_fields[field] = options
33
33
  end
@@ -1,5 +1,5 @@
1
1
  module Nifty
2
2
  module Utils
3
- VERSION = '1.0.6'
3
+ VERSION = '1.0.7'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nifty-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cooke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-12 00:00:00.000000000 Z
11
+ date: 2014-11-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A set of useful utilties for Rails applications
14
14
  email: