ffaker 2.8.0 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 86b7a0252444f3059ce00ad026f1e4887e9527aa
4
- data.tar.gz: 3f1b5cf9b50bcd4c345e2632efbd3e0c6005e1b4
2
+ SHA256:
3
+ metadata.gz: fedaf619b699e6fae5b80eb7bf7d7bf7cfe9ca358d670c7f8e5f4d842d49f02d
4
+ data.tar.gz: 17fe2da9020e6002038950b8962faef55caa3d470c664ea208bfe0cf91f552e2
5
5
  SHA512:
6
- metadata.gz: 344e8a00a1ea9a8a6e3d4a837d0c1bb243a5d0ed279189c4ac6e5b6831df7a2511f27ae02438b2a339be2c1d5f411e2e085933bcf306e96101c85ba8f8eabeec
7
- data.tar.gz: 16dac4fd1e34cb09fe41d4382a3b62139eea1562e609ddf437b4f413013053f5fa41788237bd5439b2daf8438e33e6b05711daab81d635cfd819e6229d549b6a
6
+ metadata.gz: d2badb8a9bc89494749254378fbaeb77a180c668f55e4844c7f94f0d45cd5f4d9d74bc14ee1c8c668d7f4b01b61edd5fcfef30dafc949746f73103f16f468f26
7
+ data.tar.gz: 0c49c665096f9a5c2f90327a16040ad4e7b0613771f89e3831f29b63475b483e68b8f2dbcecee4ea8448d991c5770314ac45b0a4951635fc355070cfb5f80e38
@@ -1,3 +1,6 @@
1
+ ## 2.8.1
2
+ - Updated password generation [@makketagg]
3
+
1
4
  ## 2.8.0
2
5
  - Fixes `Uncaught exception: invalid byte sequence in US-ASCII` [@thilonel]
3
6
  - Add international numbers on PhoneNumberFR and test it [@nicolas-brousse]
@@ -1152,7 +1152,7 @@
1152
1152
  | `http_url` | http://bruen.ca, http://hodkiewicznolan.name, http://bailey.us |
1153
1153
  | `ip_v4_address` | 207.181.113.110, 79.217.87.253, 105.199.37.154 |
1154
1154
  | `mac` | 2a:a6:12:81:fd:b5, bb:68:c2:6b:ba:87, b5:7c:7d:0c:4d:6a |
1155
- | `password` | iiiiiiiiiii, nnnnnnnnnnnnnn, uuuuuuuuuuuuu |
1155
+ | `password` | dHrAEqmF_w3Qdiw, Gczh921Vvs, 1dF9A6YS |
1156
1156
  | `safe_email` | towanda@example.net, lashanda.mohr@example.com, dori_stamm@example.net |
1157
1157
  | `slug` | numquam.unde, corrupti-in, qui_harum |
1158
1158
  | `uri`(...) | |
@@ -1174,7 +1174,7 @@
1174
1174
  | `join_to_user_name`(...) | |
1175
1175
  | `login_user_name` | florencio, scot, gerardbreitenberg |
1176
1176
  | `mac` | b1:d7:39:ce:c6:a9, 88:9b:2b:9c:c6:1d, 27:05:b6:83:9a:5f |
1177
- | `password` | zzzzzzzzzzzzzzz, ooooooooooooooo, eeeeeeee |
1177
+ | `password` | 5SpbF4WkKi56s, I_IVVowRKR1, 9Iha_R24Yc6 |
1178
1178
  | `safe_email` | mitchell@example.net, nolan_brown@example.com, dorla@example.org |
1179
1179
  | `slug` | consequatur.reprehenderit, neque.vero, vel-sint |
1180
1180
  | `uri`(...) | |
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
 
6
6
  s.name = 'ffaker'
7
- s.version = '2.8.0'
7
+ s.version = '2.8.1'
8
8
  s.date = '2018-01-04'
9
9
  s.rubyforge_project = 'ffaker'
10
10
  s.required_ruby_version = '>= 2.0'
@@ -1,5 +1,5 @@
1
1
  module FFaker
2
- VERSION = '2.8.0'.freeze
2
+ VERSION = '2.8.1'.freeze
3
3
 
4
4
  require 'ffaker/utils/array_utils'
5
5
  require 'ffaker/utils/module_utils'
@@ -81,7 +81,7 @@ module FFaker
81
81
  def password(min_length = 8, max_length = 16)
82
82
  length =
83
83
  min_length > max_length ? min_length : fetch_sample([*min_length..max_length])
84
- String.from_regexp(/[a-z]{#{length}}/)
84
+ String.from_regexp(/\w{#{length}}/)
85
85
  end
86
86
 
87
87
  def mac(delimiter = ':')
@@ -89,7 +89,7 @@ class TestFakerInternet < Test::Unit::TestCase
89
89
  end
90
90
 
91
91
  def test_password
92
- assert_match(/\A[a-z]+\z/, @tester.password)
92
+ assert_match(/\A\w+\z/, @tester.password)
93
93
  end
94
94
 
95
95
  def test_password_min_length
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0
4
+ version: 2.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - https://github.com/ffaker/ffaker/graphs/contributors
@@ -628,7 +628,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
628
628
  version: '0'
629
629
  requirements: []
630
630
  rubyforge_project: ffaker
631
- rubygems_version: 2.6.13
631
+ rubygems_version: 2.7.4
632
632
  signing_key:
633
633
  specification_version: 2
634
634
  summary: Ffaker generates dummy data.