factory_girl_sequences 4.3.0 → 4.3.1

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: 059bbeca0ec19cdc18bd6967a0a2b154b3a2375a
4
- data.tar.gz: 50e798c2f855ba160d7cd926116e1de536845256
3
+ metadata.gz: 7a2fe9d2210c6fd16304ed08cd0fcf61bdfee603
4
+ data.tar.gz: 926fddfa26b556792403780d6976a6db674ad99e
5
5
  SHA512:
6
- metadata.gz: cf6fbd270a200f9d505ac5b4e60c531918e21b8755a0c879f4d4befc52475b751fbeb4d4a47808d1e28347b44d36ec75ba40f135bc8c884d08e05bb14b4b4014
7
- data.tar.gz: 50ec61b1e5a489e89962179c7ac82b73bd539370e41e020497e6753b6a322d0d97ee074f382bae908481716d63499499d2867c56c466b98f0ef15791247b3569
6
+ metadata.gz: cf12b8c733e07a30ff133be109f7f5ab1dcb5d65e66a11b31e4a29cfde87de02728e8471ae71200017651114e346a3620c6cb846507fe25a61b36dd345eebef4
7
+ data.tar.gz: 4596de2c9f599c9b14747f9291ae4dd2d80f66eed58d422e78cd63787e86177db226ba18a7ed96deb1586fc20b574a266098d6b03a7be6d1023081f4154e5825
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- ## 4.2.0 / 2014-07-31
1
+ ## 4.3.1 / 2014-08-08
2
+
3
+ * added few aliases [Kirill Platonov]
4
+
5
+ ## 4.3.0 / 2014-07-31
2
6
 
3
7
  * added uuid sequence [Kirill Platonov]
4
8
 
data/README.md CHANGED
@@ -29,7 +29,7 @@ Or install it yourself as:
29
29
  </tr>
30
30
  <tr>
31
31
  <td>integer</td>
32
- <td>checksum</td>
32
+ <td>checksum, int</td>
33
33
  <td>Integer</td>
34
34
  <td>1</td>
35
35
  </tr>
@@ -57,6 +57,12 @@ Or install it yourself as:
57
57
  <td>Boolean</td>
58
58
  <td>true</td>
59
59
  </tr>
60
+ <tr>
61
+ <td>uuid</td>
62
+ <td>guid</td>
63
+ <td>String</td>
64
+ <td>0a4ea40d-e7ed-4fc1-890c-7af86c9c3a07</td>
65
+ </tr>
60
66
  <tr>
61
67
  <td>name</td>
62
68
  <td>login, username, first_name, last_name</td>
@@ -2,14 +2,14 @@ module FactoryGirl
2
2
 
3
3
  def self.register_default_sequences
4
4
  # basic types
5
- register_sequence(Sequence.new(:integer, :aliases => [:checksum]) { |n| n })
5
+ register_sequence(Sequence.new(:integer, :aliases => [:checksum, :int]) { |n| n })
6
6
  register_sequence(Sequence.new(:string) { |n| "string-#{n}" })
7
7
  register_sequence(Sequence.new(:date) { Date.current })
8
8
  register_sequence(Sequence.new(:datetime) { Time.current })
9
9
  register_sequence(Sequence.new(:boolean) { |n| [false, true][n%2] })
10
10
 
11
11
  # personal
12
- register_sequence(Sequence.new(:uuid) { SecureRandom.uuid })
12
+ register_sequence(Sequence.new(:uuid, :aliases => [:guid]) { SecureRandom.uuid })
13
13
  register_sequence(Sequence.new(:name, :aliases => [:login, :username, :first_name, :last_name]) { |n| "name-#{n}" })
14
14
  register_sequence(Sequence.new(:password) { |n| "password-#{n}" })
15
15
  register_sequence(Sequence.new(:email) { |n| "person#{n}@example.com" })
@@ -1,3 +1,3 @@
1
1
  module FactoryGirlSequences
2
- VERSION = "4.3.0"
2
+ VERSION = "4.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factory_girl_sequences
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Kalyaev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-31 00:00:00.000000000 Z
11
+ date: 2014-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: factory_girl