ffaker 1.32.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. checksums.yaml +4 -4
  2. data/Changelog.md +35 -23
  3. data/README.md +3 -3
  4. data/Rakefile +20 -0
  5. data/ffaker.gemspec +2 -2
  6. data/lib/ffaker.rb +2 -2
  7. data/lib/ffaker/address.rb +9 -9
  8. data/lib/ffaker/address_au.rb +3 -3
  9. data/lib/ffaker/address_br.rb +3 -3
  10. data/lib/ffaker/address_ca.rb +3 -3
  11. data/lib/ffaker/address_da.rb +3 -3
  12. data/lib/ffaker/address_de.rb +3 -3
  13. data/lib/ffaker/address_fi.rb +4 -4
  14. data/lib/ffaker/address_fr.rb +5 -5
  15. data/lib/ffaker/address_mx.rb +3 -3
  16. data/lib/ffaker/address_nl.rb +3 -3
  17. data/lib/ffaker/address_se.rb +4 -4
  18. data/lib/ffaker/address_sn.rb +2 -2
  19. data/lib/ffaker/address_uk.rb +3 -3
  20. data/lib/ffaker/address_us.rb +3 -3
  21. data/lib/ffaker/bacon_ipsum.rb +1 -1
  22. data/lib/ffaker/boolean.rb +1 -1
  23. data/lib/ffaker/color.rb +1 -1
  24. data/lib/ffaker/company.rb +1 -1
  25. data/lib/ffaker/company_it.rb +1 -1
  26. data/lib/ffaker/company_se.rb +1 -1
  27. data/lib/ffaker/conference.rb +1 -1
  28. data/lib/ffaker/courses.rb +1 -1
  29. data/lib/ffaker/currency.rb +1 -1
  30. data/lib/ffaker/dizzle_ipsum.rb +1 -1
  31. data/lib/ffaker/education.rb +1 -1
  32. data/lib/ffaker/food.rb +1 -1
  33. data/lib/ffaker/gender.rb +1 -1
  34. data/lib/ffaker/gender_cn.rb +1 -1
  35. data/lib/ffaker/gender_kr.rb +1 -1
  36. data/lib/ffaker/geolocation.rb +1 -1
  37. data/lib/ffaker/guid.rb +2 -2
  38. data/lib/ffaker/healthcare_ipsum.rb +1 -1
  39. data/lib/ffaker/hipster_ipsum.rb +1 -1
  40. data/lib/ffaker/html_ipsum.rb +9 -9
  41. data/lib/ffaker/identification.rb +3 -3
  42. data/lib/ffaker/identification_es.rb +1 -1
  43. data/lib/ffaker/identification_es_cl.rb +1 -1
  44. data/lib/ffaker/identification_es_co.rb +2 -2
  45. data/lib/ffaker/identification_mx.rb +1 -1
  46. data/lib/ffaker/internet.rb +2 -2
  47. data/lib/ffaker/internet_se.rb +2 -2
  48. data/lib/ffaker/job.rb +1 -1
  49. data/lib/ffaker/job_fr.rb +1 -1
  50. data/lib/ffaker/job_ja.rb +1 -1
  51. data/lib/ffaker/job_kr.rb +1 -1
  52. data/lib/ffaker/locale.rb +1 -1
  53. data/lib/ffaker/lorem.rb +1 -1
  54. data/lib/ffaker/lorem_ar.rb +1 -1
  55. data/lib/ffaker/lorem_cn.rb +1 -1
  56. data/lib/ffaker/lorem_fr.rb +1 -1
  57. data/lib/ffaker/lorem_kr.rb +1 -1
  58. data/lib/ffaker/movie.rb +7 -7
  59. data/lib/ffaker/name.rb +1 -1
  60. data/lib/ffaker/name_br.rb +1 -1
  61. data/lib/ffaker/name_cn.rb +1 -1
  62. data/lib/ffaker/name_cs.rb +6 -6
  63. data/lib/ffaker/name_da.rb +2 -2
  64. data/lib/ffaker/name_de.rb +2 -2
  65. data/lib/ffaker/name_fr.rb +1 -1
  66. data/lib/ffaker/name_ga.rb +1 -1
  67. data/lib/ffaker/name_it.rb +1 -1
  68. data/lib/ffaker/name_ja.rb +1 -1
  69. data/lib/ffaker/name_kr.rb +1 -1
  70. data/lib/ffaker/name_mx.rb +2 -2
  71. data/lib/ffaker/name_nb.rb +2 -2
  72. data/lib/ffaker/name_nl.rb +2 -2
  73. data/lib/ffaker/name_ph.rb +2 -2
  74. data/lib/ffaker/name_ru.rb +7 -7
  75. data/lib/ffaker/name_se.rb +2 -2
  76. data/lib/ffaker/name_sn.rb +1 -1
  77. data/lib/ffaker/name_th.rb +1 -1
  78. data/lib/ffaker/name_vn.rb +1 -1
  79. data/lib/ffaker/nato_alphabet.rb +1 -1
  80. data/lib/ffaker/phone_number.rb +3 -3
  81. data/lib/ffaker/phone_number_au.rb +7 -7
  82. data/lib/ffaker/phone_number_cu.rb +12 -14
  83. data/lib/ffaker/phone_number_da.rb +3 -3
  84. data/lib/ffaker/phone_number_de.rb +4 -4
  85. data/lib/ffaker/phone_number_fr.rb +3 -3
  86. data/lib/ffaker/phone_number_it.rb +2 -2
  87. data/lib/ffaker/phone_number_kr.rb +3 -3
  88. data/lib/ffaker/phone_number_mx.rb +7 -7
  89. data/lib/ffaker/phone_number_nl.rb +5 -5
  90. data/lib/ffaker/phone_number_se.rb +5 -5
  91. data/lib/ffaker/phone_number_sg.rb +9 -9
  92. data/lib/ffaker/phone_number_sn.rb +5 -5
  93. data/lib/ffaker/product.rb +1 -1
  94. data/lib/ffaker/skill.rb +1 -1
  95. data/lib/ffaker/ssn.rb +2 -2
  96. data/lib/ffaker/ssn_mx.rb +7 -7
  97. data/lib/ffaker/ssn_se.rb +1 -1
  98. data/lib/ffaker/string.rb +1 -1
  99. data/lib/ffaker/time.rb +1 -1
  100. data/lib/ffaker/unit.rb +1 -1
  101. data/lib/ffaker/unit_english.rb +2 -2
  102. data/lib/ffaker/unit_metric.rb +2 -2
  103. data/lib/ffaker/utils/array_utils.rb +1 -1
  104. data/lib/ffaker/utils/module_utils.rb +3 -3
  105. data/lib/ffaker/vehicle.rb +3 -3
  106. data/lib/ffaker/venue.rb +1 -1
  107. data/scripts/benchmark.rb +2 -2
  108. data/scripts/profiling.rb +1 -1
  109. data/test/test_address.rb +21 -21
  110. data/test/test_address_au.rb +17 -17
  111. data/test/test_address_br.rb +7 -7
  112. data/test/test_address_ca.rb +4 -4
  113. data/test/test_address_da.rb +9 -9
  114. data/test/test_address_de.rb +5 -5
  115. data/test/test_address_fi.rb +6 -6
  116. data/test/test_address_mx.rb +5 -5
  117. data/test/test_address_nl.rb +1 -1
  118. data/test/test_address_se.rb +6 -6
  119. data/test/test_address_sn.rb +4 -4
  120. data/test/test_address_uk.rb +3 -3
  121. data/test/test_address_us.rb +7 -7
  122. data/test/test_array_utils.rb +1 -1
  123. data/test/test_bacon_ipsum.rb +6 -6
  124. data/test/test_boolean.rb +1 -1
  125. data/test/test_color.rb +1 -1
  126. data/test/test_company.rb +6 -6
  127. data/test/test_company_it.rb +4 -4
  128. data/test/test_company_se.rb +2 -2
  129. data/test/test_conference.rb +1 -1
  130. data/test/test_course_mathematiques.rb +1 -1
  131. data/test/test_course_philosophie.rb +1 -1
  132. data/test/test_dizzle_ipsum.rb +6 -6
  133. data/test/test_education.rb +1 -1
  134. data/test/test_faker.rb +6 -6
  135. data/test/test_food.rb +4 -4
  136. data/test/test_gender.rb +1 -1
  137. data/test/test_gender_cn.rb +1 -1
  138. data/test/test_gender_kr.rb +1 -1
  139. data/test/test_geolocation.rb +3 -3
  140. data/test/test_guid.rb +1 -1
  141. data/test/test_healthcare_ipsum.rb +6 -6
  142. data/test/test_hipster_ipsum.rb +6 -6
  143. data/test/test_html_ipsum.rb +19 -19
  144. data/test/test_identification.rb +1 -1
  145. data/test/test_identification_co.rb +1 -1
  146. data/test/test_identification_es.rb +1 -1
  147. data/test/test_identification_es_cl.rb +1 -1
  148. data/test/test_identification_es_mx.rb +7 -7
  149. data/test/test_internet.rb +1 -1
  150. data/test/test_internet_se.rb +1 -1
  151. data/test/test_job.rb +1 -1
  152. data/test/test_job_fr.rb +1 -1
  153. data/test/test_job_ja.rb +1 -1
  154. data/test/test_job_kr.rb +1 -1
  155. data/test/test_lorem.rb +13 -13
  156. data/test/test_lorem_ar.rb +8 -8
  157. data/test/test_lorem_cn.rb +10 -10
  158. data/test/test_lorem_fr.rb +8 -8
  159. data/test/test_lorem_kr.rb +2 -2
  160. data/test/test_module_utils.rb +1 -1
  161. data/test/test_movie.rb +1 -1
  162. data/test/test_name.rb +1 -1
  163. data/test/test_name_br.rb +1 -1
  164. data/test/test_name_cn.rb +1 -1
  165. data/test/test_name_cs.rb +6 -6
  166. data/test/test_name_de.rb +1 -1
  167. data/test/test_name_fr.rb +10 -10
  168. data/test/test_name_ga.rb +12 -12
  169. data/test/test_name_it.rb +10 -10
  170. data/test/test_name_ja.rb +2 -2
  171. data/test/test_name_kr.rb +1 -1
  172. data/test/test_name_mx.rb +58 -58
  173. data/test/test_name_nb.rb +5 -5
  174. data/test/test_name_nl.rb +1 -1
  175. data/test/test_name_ph.rb +1 -1
  176. data/test/test_name_ru.rb +5 -5
  177. data/test/test_name_se.rb +5 -5
  178. data/test/test_name_sn.rb +21 -21
  179. data/test/test_name_th.rb +6 -6
  180. data/test/test_nato_alphabet.rb +5 -5
  181. data/test/test_phone_number.rb +2 -2
  182. data/test/test_phone_number_au.rb +10 -10
  183. data/test/test_phone_number_cu.rb +13 -13
  184. data/test/test_phone_number_de.rb +10 -10
  185. data/test/test_phone_number_kr.rb +1 -1
  186. data/test/test_phone_number_mx.rb +1 -1
  187. data/test/test_phone_number_nl.rb +1 -1
  188. data/test/test_phone_number_se.rb +15 -15
  189. data/test/test_phone_number_sg.rb +1 -1
  190. data/test/test_phone_number_sn.rb +7 -7
  191. data/test/test_skill.rb +4 -4
  192. data/test/test_ssn.rb +1 -1
  193. data/test/test_ssn_mx.rb +10 -10
  194. data/test/test_ssn_se.rb +5 -5
  195. data/test/test_string.rb +1 -1
  196. data/test/test_time.rb +1 -1
  197. data/test/test_units.rb +5 -5
  198. data/test/test_units_english.rb +11 -11
  199. data/test/test_units_metric.rb +11 -11
  200. data/test/test_vehicle.rb +9 -9
  201. data/test/test_venue.rb +1 -1
  202. metadata +3 -3
@@ -2,9 +2,9 @@
2
2
 
3
3
  require 'ffaker/address'
4
4
 
5
- module Faker
5
+ module FFaker
6
6
  module AddressNL
7
- include Faker::Address
7
+ include FFaker::Address
8
8
 
9
9
  extend ModuleUtils
10
10
  extend self
@@ -12,7 +12,7 @@ module Faker
12
12
  POSTAL_CODE_FORMAT = ['#### ??']
13
13
 
14
14
  def postal_code
15
- Faker.bothify POSTAL_CODE_FORMAT
15
+ FFaker.bothify POSTAL_CODE_FORMAT
16
16
  end
17
17
 
18
18
  def zip_code
@@ -2,13 +2,13 @@
2
2
 
3
3
  require 'ffaker/address'
4
4
 
5
- module Faker
5
+ module FFaker
6
6
 
7
7
  # List of countries from http://sv.wikipedia.org/wiki/V%C3%A4rldens_l%C3%A4nder#Lista_.C3.B6ver_l.C3.A4nder
8
8
  # The streetnames are all the roads in Stockholm that contains "väg" or "gata"
9
9
  # List of cities are from http://sv.wikipedia.org/wiki/Sveriges_kommuner
10
10
  module AddressSE
11
- include Faker::Address
11
+ include FFaker::Address
12
12
 
13
13
  extend ModuleUtils
14
14
  extend self
@@ -17,7 +17,7 @@ module Faker
17
17
  STREET_NBR_FORMATS = ['##', '#', '#a', '#b', '###']
18
18
 
19
19
  def zip_code
20
- Faker.numerify ZIP_FORMATS.sample
20
+ FFaker.numerify ZIP_FORMATS.sample
21
21
  end
22
22
 
23
23
  def city
@@ -33,7 +33,7 @@ module Faker
33
33
  end
34
34
 
35
35
  def street_nbr
36
- Faker.numerify STREET_NBR_FORMATS.sample
36
+ FFaker.numerify STREET_NBR_FORMATS.sample
37
37
  end
38
38
 
39
39
  def full_address
@@ -2,10 +2,10 @@
2
2
 
3
3
  require 'ffaker/address'
4
4
 
5
- module Faker
5
+ module FFaker
6
6
  # Author PapePathe<pathe.sene@gmail.com> github.com/PapePathe
7
7
  module AddressSN
8
- include Faker::Address
8
+ include FFaker::Address
9
9
 
10
10
  extend ModuleUtils
11
11
  extend self
@@ -2,9 +2,9 @@
2
2
 
3
3
  require 'ffaker/address'
4
4
 
5
- module Faker
5
+ module FFaker
6
6
  module AddressUK
7
- include Faker::Address
7
+ include FFaker::Address
8
8
 
9
9
  extend ModuleUtils
10
10
  extend self
@@ -21,7 +21,7 @@ module Faker
21
21
  end
22
22
 
23
23
  def postcode
24
- Faker.bothify(POSTCODE.sample).upcase
24
+ FFaker.bothify(POSTCODE.sample).upcase
25
25
  end
26
26
  end
27
27
  end
@@ -2,9 +2,9 @@
2
2
 
3
3
  require 'ffaker/address'
4
4
 
5
- module Faker
5
+ module FFaker
6
6
  module AddressUS
7
- include Faker::Address
7
+ include FFaker::Address
8
8
 
9
9
  extend ModuleUtils
10
10
  extend self
@@ -14,7 +14,7 @@ module Faker
14
14
  CONTINENTAL_STATE_ABBR = (STATE_ABBR - ['HI', 'AK'])
15
15
 
16
16
  def zip_code
17
- Faker.numerify ZIP_FORMATS.sample
17
+ FFaker.numerify ZIP_FORMATS.sample
18
18
  end
19
19
 
20
20
  def state
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'ffaker/lorem'
4
4
 
5
- module Faker
5
+ module FFaker
6
6
  # Thanks to http://baconipsum.com/
7
7
  module BaconIpsum
8
8
  include Lorem
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module Boolean
5
5
  extend ModuleUtils
6
6
  extend self
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module Color
5
5
  extend ModuleUtils
6
6
  extend self
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module Company
5
5
  extend ModuleUtils
6
6
  extend self
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module CompanyIT
5
5
  extend ModuleUtils
6
6
  extend self
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module CompanySE
5
5
  extend ModuleUtils
6
6
  extend self
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module Conference
5
5
  extend ModuleUtils
6
6
  extend self
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module CoursesFR
5
5
 
6
6
  module Mathematiques
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module Currency
5
5
  extend ModuleUtils
6
6
  extend self
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'ffaker/lorem'
4
4
 
5
- module Faker
5
+ module FFaker
6
6
  # Thanks to Snoop Dogg
7
7
  module DizzleIpsum
8
8
  extend Lorem
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module Education
5
5
  extend ModuleUtils
6
6
  extend self
@@ -1,4 +1,4 @@
1
- module Faker
1
+ module FFaker
2
2
  module Food
3
3
  extend ModuleUtils
4
4
  extend self
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module Gender
5
5
  extend ModuleUtils
6
6
  extend self
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module GenderCN
5
5
  extend ModuleUtils
6
6
  extend self
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module GenderKR
5
5
  extend ModuleUtils
6
6
  extend self
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module Geolocation
5
5
  extend ModuleUtils
6
6
  extend self
@@ -1,12 +1,12 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module Guid
5
5
  extend ModuleUtils
6
6
  extend self
7
7
 
8
8
  def guid
9
- Faker.hexify('########-####-####-####-############')
9
+ FFaker.hexify('########-####-####-####-############')
10
10
  end
11
11
  end
12
12
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'ffaker/lorem'
4
4
 
5
- module Faker
5
+ module FFaker
6
6
  module HealthcareIpsum
7
7
  include Lorem
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'ffaker/lorem'
4
4
 
5
- module Faker
5
+ module FFaker
6
6
  # thanks to http://hipsteripsum.me
7
7
  module HipsterIpsum
8
8
  include Lorem
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  # Loosely based on http://html-ipsum.com/
5
- # Requires Faker::Lorem module
5
+ # Requires FFaker::Lorem module
6
6
  module HTMLIpsum
7
7
  extend ModuleUtils
8
8
  extend self
@@ -128,33 +128,33 @@ module Faker
128
128
  "<em>#{paragraph}</em>",
129
129
  "<code>#{words 2}</code>",
130
130
  "#{a 2}"
131
- ] + Faker::Lorem::paragraphs(count))
131
+ ] + FFaker::Lorem::paragraphs(count))
132
132
  a.random_pick(count).join(sep)
133
133
  end
134
134
 
135
135
  private
136
136
  def word
137
- Faker::Lorem::word
137
+ FFaker::Lorem::word
138
138
  end
139
139
 
140
140
  def words(word_count = 3)
141
- Faker::Lorem::words(word_count).join(' ')
141
+ FFaker::Lorem::words(word_count).join(' ')
142
142
  end
143
143
 
144
144
  def sentence(word_count = 3)
145
- Faker::Lorem::sentence(word_count)
145
+ FFaker::Lorem::sentence(word_count)
146
146
  end
147
147
 
148
148
  def sentences(sentence_count = 3)
149
- Faker::Lorem::sentences(sentence_count).join(' ')
149
+ FFaker::Lorem::sentences(sentence_count).join(' ')
150
150
  end
151
151
 
152
152
  def paragraph(sentence_count = 3)
153
- Faker::Lorem::paragraph(sentence_count)
153
+ FFaker::Lorem::paragraph(sentence_count)
154
154
  end
155
155
 
156
156
  def paragraphs(paragraph_count = 3)
157
- Faker::Lorem::paragraphs(paragraph_count).join('<br>')
157
+ FFaker::Lorem::paragraphs(paragraph_count).join('<br>')
158
158
  end
159
159
  end
160
160
  end
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module Identification
5
5
  extend ModuleUtils
6
6
  extend self
@@ -9,11 +9,11 @@ module Faker
9
9
  GENDERS = %w(Male Female)
10
10
 
11
11
  def drivers_license
12
- Faker.bothify('?###-###-##-###-#').upcase
12
+ FFaker.bothify('?###-###-##-###-#').upcase
13
13
  end
14
14
 
15
15
  def ssn
16
- Faker.numerify('###-##-####')
16
+ FFaker.numerify('###-##-####')
17
17
  end
18
18
 
19
19
  def ethnicity
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module IdentificationES
5
5
  extend ModuleUtils
6
6
  extend self
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'ffaker/identification_es'
4
4
 
5
- module Faker
5
+ module FFaker
6
6
  module IdentificationESCL
7
7
  extend IdentificationES
8
8
  extend self
@@ -3,7 +3,7 @@
3
3
  require 'ffaker/identification_es'
4
4
  require "date"
5
5
 
6
- module Faker
6
+ module FFaker
7
7
  module IdentificationESCO
8
8
  include IdentificationES
9
9
 
@@ -15,7 +15,7 @@ module Faker
15
15
 
16
16
  def drivers_license
17
17
  how_many_numbers = 6 + rand(8)
18
- Faker.numerify("#" * how_many_numbers)
18
+ FFaker.numerify("#" * how_many_numbers)
19
19
  end
20
20
 
21
21
  alias_method :id, :drivers_license
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'ffaker/identification_es'
4
4
 
5
- module Faker
5
+ module FFaker
6
6
  module IdentificationMX
7
7
  # Author Guapolo <github.com/guapolo>
8
8
  extend ModuleUtils
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module Internet
5
5
  extend ModuleUtils
6
6
  extend self
@@ -75,7 +75,7 @@ module Faker
75
75
  def slug(words = nil, glue = nil)
76
76
  glue ||= SLUG_DELIMITERS.sample
77
77
 
78
- (words || Faker::Lorem::words(2).join(glue)).downcase
78
+ (words || FFaker::Lorem::words(2).join(glue)).downcase
79
79
  end
80
80
 
81
81
  def password(min_length = 8, max_length = 16)
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'ffaker/internet'
4
4
 
5
- module Faker
5
+ module FFaker
6
6
  module InternetSE
7
7
  include Internet
8
8
 
@@ -106,7 +106,7 @@ module Faker
106
106
  def slug(words = nil, glue = nil)
107
107
  glue ||= SLUG_DELIMITERS.sample
108
108
 
109
- (words || Faker::Lorem::words(2).join(' ')).gsub(' ', glue).downcase
109
+ (words || FFaker::Lorem::words(2).join(' ')).gsub(' ', glue).downcase
110
110
  end
111
111
  end
112
112
  end
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- module Faker
3
+ module FFaker
4
4
  module Job
5
5
  extend ModuleUtils
6
6
  extend self