faker 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -2
- data/lib/faker.rb +1 -1
- data/lib/faker/version.rb +1 -1
- metadata +3 -3
data/History.txt
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
-
== 0.9.
|
1
|
+
== 0.9.2 2010-12-22
|
2
|
+
* 1 bug fix:
|
3
|
+
* Stopped stomping on I18n load path
|
4
|
+
|
5
|
+
== 0.9.1 2010-12-22
|
2
6
|
* 1 bug fix:
|
3
7
|
* Stopped setting I18n default locale
|
4
8
|
* 1 major enhancement:
|
@@ -6,7 +10,7 @@
|
|
6
10
|
* 1 minor enhancement:
|
7
11
|
* Added Swiss locale [Lukas Westermann]
|
8
12
|
|
9
|
-
== 0.9.0 2010-12-
|
13
|
+
== 0.9.0 2010-12-21
|
10
14
|
* 1 major enhancement:
|
11
15
|
* Moved strings and some formats to locale files
|
12
16
|
|
data/lib/faker.rb
CHANGED
@@ -2,7 +2,7 @@ $:.unshift mydir = File.dirname(__FILE__)
|
|
2
2
|
|
3
3
|
require 'i18n'
|
4
4
|
I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)
|
5
|
-
I18n.load_path
|
5
|
+
I18n.load_path += Dir[File.join(mydir, 'locales', '*.yml')]
|
6
6
|
|
7
7
|
require 'faker/address'
|
8
8
|
require 'faker/company'
|
data/lib/faker/version.rb
CHANGED
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:
|
4
|
+
hash: 63
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 2
|
10
|
+
version: 0.9.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Benjamin Curtis
|