faker 2.2.0 → 2.2.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 +4 -4
- data/CHANGELOG.md +25 -15
- data/lib/faker/default/number.rb +1 -1
- data/lib/faker/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b5587b3da998c6565466a5886c285dc46218d0c6be32bbc9d1578b2493ccca0a
|
|
4
|
+
data.tar.gz: da07c93a781ccaf2f57b79a220f05905913b11261d6c324ab54e63f7c4f757d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e5e2770457c5eabde0476cbb1a6cd320c633ceb0dbb734636569dbd84471df2d85f47f1664f597a65ccfedda1af67340904b2cf64e3798edfa83481d11015a39
|
|
7
|
+
data.tar.gz: 16721c3cd11278e59c6df91b5a99f507c938e705d1eb9e20bd2fb26811819b5c781abf639d7ac8ab79b11ee3d7fea56c7d7ef876054c177e597116a967c41375
|
data/CHANGELOG.md
CHANGED
|
@@ -1,40 +1,50 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## [v2.2.
|
|
3
|
+
## [v2.2.1](https://github.com/faker-ruby/faker/tree/v2.2.1) (2019-30-08)
|
|
4
|
+
|
|
5
|
+
## Bug/Fixes
|
|
6
|
+
|
|
7
|
+
- [PR #1712](https://github.com/faker-ruby/faker/pull/1712) Fix number(digits: 1) always returns 0 [@ianlet](https://github.com/ianlet)
|
|
8
|
+
|
|
9
|
+
`Faker::Number.number(digits: 1)` was always returning `0`.
|
|
10
|
+
|
|
11
|
+
Fixing number with one digit caused the test_insignificant_zero to fail. As it seemed that the behavior tested by test_insignificant_zero was already covered by test_number and test_decimal, we removed it to prevent duplication.
|
|
12
|
+
|
|
13
|
+
## [v2.2.0](https://github.com/faker-ruby/faker/tree/v2.2.0) (2019-25-08)
|
|
4
14
|
|
|
5
15
|
## Deprecate
|
|
6
16
|
|
|
7
|
-
- [PR #1698](https://github.com/
|
|
17
|
+
- [PR #1698](https://github.com/faker-ruby/faker/pull/1698) Add warn for positional arguments when using Faker 2.0 [@koic](https://github.com/koic)
|
|
8
18
|
|
|
9
19
|
Add deprecation warning for positional arguments to notify users that are coming from Faker version < 2.0. Its main goal is to make upgrades easier.
|
|
10
20
|
|
|
11
21
|
## Documentation
|
|
12
22
|
|
|
13
|
-
- [PR #1688](https://github.com/
|
|
14
|
-
- [PR #1689](https://github.com/
|
|
15
|
-
- [PR #1690](https://github.com/
|
|
16
|
-
- [PR #1703](https://github.com/
|
|
23
|
+
- [PR #1688](https://github.com/faker-ruby/faker/pull/1688) Update README install instructions [@EduardoGHdez](https://github.com/EduardoGHdez)
|
|
24
|
+
- [PR #1689](https://github.com/faker-ruby/faker/pull/1689) Update README.md [@Zeragamba](https://github.com/Zeragamba)
|
|
25
|
+
- [PR #1690](https://github.com/faker-ruby/faker/pull/1690) Update issue url in PULL_REQUEST_TEMPLATE [@bugtender](https://github.com/bugtender)
|
|
26
|
+
- [PR #1703](https://github.com/faker-ruby/faker/pull/1703) Return HTTPS URLs from Lorem Flickr [@connorshea](https://github.com/connorshea)
|
|
17
27
|
|
|
18
28
|
## Feature Request
|
|
19
|
-
- [PR #1686](https://github.com/
|
|
29
|
+
- [PR #1686](https://github.com/faker-ruby/faker/pull/1686) Update test-unit gem to 3.3.3 [@connorshea](https://github.com/connorshea)
|
|
20
30
|
|
|
21
31
|
## Bug/Fixes
|
|
22
|
-
- [PR #1702](https://github.com/
|
|
32
|
+
- [PR #1702](https://github.com/faker-ruby/faker/pull/1702) Fix an argument for test_faker_stripe.rb [@koic](https://github.com/koic)
|
|
23
33
|
- [PR #1694](https://github.com/faker-ruby/faker/pull/1694) Ensure mix_case returns at least one lower and one upper case letter [@bpleslie](https://github.com/bpleslie)
|
|
24
34
|
|
|
25
35
|
------------------------------------------------------------------------------
|
|
26
36
|
|
|
27
|
-
## [v2.1.2](https://github.com/
|
|
37
|
+
## [v2.1.2](https://github.com/faker-ruby/faker/tree/v2.1.2) (2019-10-08)
|
|
28
38
|
|
|
29
39
|
## Enhancements
|
|
30
40
|
|
|
31
|
-
- [PR #1495](https://github.com/
|
|
41
|
+
- [PR #1495](https://github.com/faker-ruby/faker/pull/1495) Add Brazilian documents generation and documentation [@lucasqueiroz](https://github.com/lucasqueiroz)
|
|
32
42
|
|
|
33
43
|
## Issues
|
|
34
44
|
|
|
35
45
|
We had to use `bundled with 1.7.3` to avoid some issues.
|
|
36
46
|
|
|
37
|
-
## [v2.1.1](https://github.com/
|
|
47
|
+
## [v2.1.1](https://github.com/faker-ruby/faker/tree/2.1.1) (2019-10-08)
|
|
38
48
|
|
|
39
49
|
## Bug/Fixes
|
|
40
50
|
|
|
@@ -48,20 +58,20 @@ Rollback Faker::Time changes because we should expect the date format from activ
|
|
|
48
58
|
|
|
49
59
|
## Documentation
|
|
50
60
|
|
|
51
|
-
- [PR #1677](https://github.com/
|
|
61
|
+
- [PR #1677](https://github.com/faker-ruby/faker/pull/1677) Fix docs for Internet#password generator [@ur5us](https://github.com/ur5us)
|
|
52
62
|
|
|
53
63
|
------------------------------------------------------------------------------
|
|
54
64
|
|
|
55
|
-
## [v2.1.0](https://github.com/
|
|
65
|
+
## [v2.1.0](https://github.com/faker-ruby/faker/tree/v2.1.0) (2019-31-07)
|
|
56
66
|
|
|
57
67
|
## Bug/Fixes
|
|
58
|
-
- [PR #1675](https://github.com/
|
|
68
|
+
- [PR #1675](https://github.com/faker-ruby/faker/pull/1675) Fix off-by-one error when formatting month names [@jutonz](https://github.com/jutonz)
|
|
59
69
|
|
|
60
70
|
This change required a quick release because it's a breaking issue. Every place where I18n.l() was used began to display the wrong date, causing test suite to fail.
|
|
61
71
|
|
|
62
72
|
------------------------------------------------------------------------------
|
|
63
73
|
|
|
64
|
-
## [v2.0](https://github.com/
|
|
74
|
+
## [v2.0](https://github.com/faker-ruby/faker/tree/v2.0) (2019-31-07)
|
|
65
75
|
|
|
66
76
|
## Important Note:
|
|
67
77
|
|
data/lib/faker/default/number.rb
CHANGED
data/lib/faker/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: faker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Benjamin Curtis
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-08-
|
|
12
|
+
date: 2019-08-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: i18n
|
|
@@ -536,7 +536,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
536
536
|
- !ruby/object:Gem::Version
|
|
537
537
|
version: '0'
|
|
538
538
|
requirements: []
|
|
539
|
-
rubygems_version: 3.0.
|
|
539
|
+
rubygems_version: 3.0.3
|
|
540
540
|
signing_key:
|
|
541
541
|
specification_version: 4
|
|
542
542
|
summary: Easily generate fake data
|