faker 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 1.1.2 2012-09-18
2
+ * 1 minor change:
3
+ * Fixed Ruby 1.8 compatibility
4
+
1
5
  == 1.1.1 2012-09-17
2
6
  * 1 minor change:
3
7
  * Removed ja locale because of parse errors
@@ -0,0 +1,9 @@
1
+ # For Ruby 1.8
2
+ unless Symbol.respond_to?(:downcase)
3
+ Symbol.class_eval do
4
+ def downcase
5
+ to_s.downcase.intern
6
+ end
7
+ end
8
+ end
9
+
@@ -152,3 +152,4 @@ require 'faker/phone_number'
152
152
  require 'faker/version'
153
153
 
154
154
  require 'extensions/array'
155
+ require 'extensions/symbol'
@@ -1,3 +1,3 @@
1
1
  module Faker #:nodoc:
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
2
  require 'rubygems'
3
3
  require 'yaml'
4
- YAML::ENGINE.yamler = 'syck'
4
+ YAML::ENGINE.yamler = 'syck' if defined? YAML::ENGINE
5
5
  require File.expand_path(File.dirname(__FILE__) + '/../lib/faker')
metadata CHANGED
@@ -1,36 +1,49 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: faker
3
- version: !ruby/object:Gem::Version
4
- version: 1.1.1
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 1
9
+ - 2
10
+ version: 1.1.2
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Benjamin Curtis
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-09-17 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-09-18 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: i18n
16
- requirement: &70096697555200 !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
17
24
  none: false
18
- requirements:
25
+ requirements:
19
26
  - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '0.5'
27
+ - !ruby/object:Gem::Version
28
+ hash: 1
29
+ segments:
30
+ - 0
31
+ - 5
32
+ version: "0.5"
22
33
  type: :runtime
23
- prerelease: false
24
- version_requirements: *70096697555200
25
- description: ! 'Faker, a port of Data::Faker from Perl, is used to easily generate
26
- fake data: names, addresses, phone numbers, etc.'
27
- email:
34
+ version_requirements: *id001
35
+ description: "Faker, a port of Data::Faker from Perl, is used to easily generate fake data: names, addresses, phone numbers, etc."
36
+ email:
28
37
  - benjamin.curtis@gmail.com
29
38
  executables: []
39
+
30
40
  extensions: []
41
+
31
42
  extra_rdoc_files: []
32
- files:
43
+
44
+ files:
33
45
  - lib/extensions/array.rb
46
+ - lib/extensions/symbol.rb
34
47
  - lib/faker.rb
35
48
  - lib/faker/address.rb
36
49
  - lib/faker/company.rb
@@ -68,35 +81,38 @@ files:
68
81
  - test/test_locale.rb
69
82
  homepage: http://faker.rubyforge.org
70
83
  licenses: []
84
+
71
85
  post_install_message:
72
86
  rdoc_options: []
73
- require_paths:
87
+
88
+ require_paths:
74
89
  - lib
75
- required_ruby_version: !ruby/object:Gem::Requirement
90
+ required_ruby_version: !ruby/object:Gem::Requirement
76
91
  none: false
77
- requirements:
78
- - - ! '>='
79
- - !ruby/object:Gem::Version
80
- version: '0'
81
- segments:
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ hash: 3
96
+ segments:
82
97
  - 0
83
- hash: -2555408944595470007
84
- required_rubygems_version: !ruby/object:Gem::Requirement
98
+ version: "0"
99
+ required_rubygems_version: !ruby/object:Gem::Requirement
85
100
  none: false
86
- requirements:
87
- - - ! '>='
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- segments:
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ hash: 3
105
+ segments:
91
106
  - 0
92
- hash: -2555408944595470007
107
+ version: "0"
93
108
  requirements: []
109
+
94
110
  rubyforge_project: faker
95
111
  rubygems_version: 1.8.10
96
112
  signing_key:
97
113
  specification_version: 3
98
114
  summary: Easily generate fake data
99
- test_files:
115
+ test_files:
100
116
  - test/test_faker.rb
101
117
  - test/test_faker_city.rb
102
118
  - test/test_faker_internet.rb