aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlmazN <[email protected]>2017-02-27 10:56:41 +0300
committerAlmazN <[email protected]>2017-02-27 10:56:41 +0300
commit2d73a747abd3ae1ffa8f7eb8c5c441c31fc9d90a (patch)
tree0ba7425622751a0e924323881abf45a80ed31a9c
parentbc1b4a4e51aa3607d6af58674ce6590c37f13dfd (diff)
downloadfaker-2d73a747abd3ae1ffa8f7eb8c5c441c31fc9d90a.tar.xz
faker-2d73a747abd3ae1ffa8f7eb8c5c441c31fc9d90a.zip
ru index.js ru.hacker field added
-rw-r--r--lib/locales/ru/index.js1
-rw-r--r--test-almaz.js4
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/locales/ru/index.js b/lib/locales/ru/index.js
index 9c2d7660..a9a36bc5 100644
--- a/lib/locales/ru/index.js
+++ b/lib/locales/ru/index.js
@@ -9,3 +9,4 @@ ru.phone_number = require("./phone_number");
ru.commerce = require("./commerce");
ru.company = require("./company");
ru.date = require("./date");
+ru.hacker = require("./hacker"); \ No newline at end of file
diff --git a/test-almaz.js b/test-almaz.js
new file mode 100644
index 00000000..29a70f3e
--- /dev/null
+++ b/test-almaz.js
@@ -0,0 +1,4 @@
+let faker = require('./build/build/faker');
+faker.locale = 'ru';
+
+console.log(faker.random.words(10)); \ No newline at end of file