faker 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,11 @@
1
+ == 0.9.5 2011-01-27
2
+ * 1 minor bug fix:
3
+ * Fixed YAML [Aaron Patterson]
4
+ * 3 minor enhancements:
5
+ * Added default rake task to run all tests [Aaron Patterson]
6
+ * Removed shuffle method [Aaron Patterson]
7
+ * Use psych if present [Aaron Patterson]
8
+
1
9
  == 0.9.4 2010-12-29
2
10
  * 1 minor bug fix:
3
11
  * Stopped getting in the way of Rails' late locale loading
@@ -2,8 +2,4 @@ class Array
2
2
  def rand
3
3
  self[Kernel.rand(length)]
4
4
  end
5
-
6
- def shuffle
7
- self.sort_by{Kernel.rand}
8
- end
9
- end
5
+ end
@@ -1,4 +1,9 @@
1
- $:.unshift mydir = File.dirname(__FILE__)
1
+ mydir = File.dirname(__FILE__)
2
+
3
+ begin
4
+ require 'psych'
5
+ rescue LoadError
6
+ end
2
7
 
3
8
  require 'i18n'
4
9
  I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)
@@ -1,3 +1,3 @@
1
1
  module Faker #:nodoc:
2
- VERSION = "0.9.4"
2
+ VERSION = "0.9.5"
3
3
  end
@@ -4,7 +4,7 @@ de-ch:
4
4
  country_code: [CH, CH, CH, DE, AT, US, LI, US, HK, VN]
5
5
  postcode: ['1###', '2###', '3###', '4###', '5###', '6###', '7###', '8###', '9###']
6
6
  company:
7
- suffix: [AG, GmbH, und Söhne, und Partner, & Co., Gruppe, LLC, Inc.]
7
+ suffix: [AG, GmbH, und Söhne, und Partner, "& Co.", Gruppe, LLC, Inc.]
8
8
  internet:
9
9
  domain_suffix: [com, net, biz, ch, de, li, at, ch, ch]
10
10
  phone_number:
@@ -24,11 +24,25 @@ en:
24
24
  prefix: [Mr., Mrs., Ms., Miss, Dr.]
25
25
  suffix: [Jr., Sr., I, II, III, IV, V, MD, DDS, PhD, DVM]
26
26
  formats:
27
- - [:prefix, :first_name, :last_name]
28
- - [:first_name, :last_name, :suffix]
29
- - [:first_name, :last_name]
30
- - [:first_name, :last_name]
31
- - [:first_name, :last_name]
32
- - [:first_name, :last_name]
27
+ -
28
+ - :prefix
29
+ - :first_name
30
+ - :last_name
31
+ -
32
+ - :first_name
33
+ - :last_name
34
+ - :suffix
35
+ -
36
+ - :first_name
37
+ - :last_name
38
+ -
39
+ - :first_name
40
+ - :last_name
41
+ -
42
+ - :first_name
43
+ - :last_name
44
+ -
45
+ - :first_name
46
+ - :last_name
33
47
  phone_number:
34
48
  formats: ['###-###-####', '(###)###-####', '1-###-###-####', '###.###.####', '###-###-####', '(###)###-####', '1-###-###-####', '###.###.####', '###-###-#### x###', '(###)###-#### x###', '1-###-###-#### x###', '###.###.#### x###', '###-###-#### x####', '(###)###-#### x####', '1-###-###-#### x####', '###.###.#### x####', '###-###-#### x#####', '(###)###-#### x#####', '1-###-###-#### x#####', '###.###.#### x#####']
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faker
3
3
  version: !ruby/object:Gem::Version
4
- hash: 51
4
+ hash: 49
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 4
10
- version: 0.9.4
9
+ - 5
10
+ version: 0.9.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Benjamin Curtis
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-29 00:00:00 -08:00
18
+ date: 2011-01-27 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency