fat_core 7.1.3 → 7.3.0

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
2
  SHA256:
3
- metadata.gz: 85d8ffad1ed87418cf2d6f2d05e2c08017b76a096d7c7fda5640cdb65f8aebcc
4
- data.tar.gz: 44349fdd2663ada616693253dd9e382779cf4dcdeb8381ce1fe25bd021b02773
3
+ metadata.gz: 3aced327c9c27abf23f852ce1db5e3347cb1b26558d9c4c337937db9773d1dde
4
+ data.tar.gz: 4cb7f01cae67351e9865476ab40f87ddf37375b1dec7a14e725633288c3b78eb
5
5
  SHA512:
6
- metadata.gz: db95df80a950888e53d2709c69529d30519604547232be544aec12da212459cd4a505dbc77221e4bd55760ce30ecc5665cac2301e317b7541b0714269c1ae092
7
- data.tar.gz: da9bc4df559ff88f20e34b057a1bd9888193fdc5b316e01414139368f8f3b18816ff0296e335baf0655ece83c6f64a93841f540c1f2ffea2edecfa4ece6e4092
6
+ metadata.gz: d90173d7c849ca52ab67e1ccb14af60e7171c16c39b5b482d3df08d6f080e8b2ebdf1f18b89122c3554186cc35d6ae572b84d06d584f3a9a01f674ef9a2f5b8a
7
+ data.tar.gz: 895eeef8c783f150bb1cb28283c1ff4e4ffdec5ab94cb6889ad1fcbe60e4475ac7326d2c45b3cd5b50b76bb518a52c1866ed70c42c525c1c8d76facab7780e32
data/.gitignore CHANGED
@@ -22,5 +22,5 @@ tmp
22
22
  /gtags.files
23
23
  /.ruby-version
24
24
  /.idea/
25
- /README.md
26
25
  /TAGS
26
+ /.tangle-stamp
data/.yardopts CHANGED
@@ -1,5 +1,4 @@
1
- --no-private
2
- --embed-mixins
1
+ --markup markdown
2
+ --output-dir doc
3
3
  --readme README.md
4
- --markup-provider=redcarpet
5
- --markup=markdown
4
+ lib/**/*.rb
data/CHANGELOG.md ADDED
@@ -0,0 +1,97 @@
1
+ - [Version 7.3.0](#org5f61e5a)
2
+ - [String](#org633deb6)
3
+ - [Version 7.1.1](#org003674c)
4
+ - [String](#org5df7dd5)
5
+ - [Version 7.0.0 from Version 6.0.0](#org3aecf27)
6
+ - [Enumerable](#orgff23338)
7
+ - [Hash](#org408609b)
8
+ - [Numeric](#org138cd73)
9
+ - [Range](#orgdebd7ac)
10
+ - [String](#org075bb7e)
11
+ - [Kernel](#org545d137)
12
+
13
+
14
+ <a id="org5f61e5a"></a>
15
+
16
+ # Version 7.3.0
17
+
18
+
19
+ <a id="org633deb6"></a>
20
+
21
+ ## String
22
+
23
+ Another visit to String#fuzzy\_match to ensure that a subject string is matched by its own matcher. This bug got tickled when 'Amazon.com' failed to match 'Amazon.com', which just isn't right.
24
+
25
+
26
+ <a id="org003674c"></a>
27
+
28
+ # Version 7.1.1
29
+
30
+
31
+ <a id="org5df7dd5"></a>
32
+
33
+ ## String
34
+
35
+ - `String#fuzzy_match` make period, comma, asterisk, and apostrophes optional in matcher instead of just deleting them and in the subject string replace periods and commas with spaces so they still act as word separators.
36
+
37
+ Before `'WWW.WOLFRAM.COM'.fuzzy_match('www:wolfram')` would not match because the periods were just eliminated so the matcher was looking for a word starting with 'wolfram' but the subject string was converted to 'WWWWOLFRAMCOM' so no match. Now it is converted to 'WWW WOLFRAM COM' so the match succeeds.
38
+
39
+
40
+ <a id="org3aecf27"></a>
41
+
42
+ # Version 7.0.0 from Version 6.0.0
43
+
44
+
45
+ <a id="orgff23338"></a>
46
+
47
+ ## Enumerable
48
+
49
+ - Remove `#groups_of` as duplicative of `each_slice`
50
+
51
+
52
+ <a id="org408609b"></a>
53
+
54
+ ## Hash
55
+
56
+ - Rename `delete_with_value` to `delete_with_values!` to make it clear that the Hash is modified in place,
57
+ - Add `delete_with_value` as a non-mutating variant
58
+ - Change arg to `keys_with_value(vals)` to allow variable arguments for multiple values instead of requiring an Array,
59
+ - Allow `<<` operator to merge any `Enumerable` as well as a `Hash`
60
+
61
+
62
+ <a id="org138cd73"></a>
63
+
64
+ ## Numeric
65
+
66
+ - Enhance `#tex_quote` to put special numbers such as `Math::PI`, `Math::E`, and `Float::INFINITY` in TeX notation, so, e.g., Complex(Math::E, Math:PI).tex\_quote will render to "$\\pi+e i$", Rationals will be rendered as fractions, etc.
67
+
68
+
69
+ <a id="orgdebd7ac"></a>
70
+
71
+ ## Range
72
+
73
+ - `Range#gaps` now better handles Ranges with countable endpoints that need `:succ` and `:pred` methods,
74
+ - `tex_quote` applies `#tex_quote` to endpoints if they respond to a `#tex_quote` method,
75
+ - Check argument Ranges to `#gaps`, `#spanned_by?`, and `#overlaps` for compatibility with the subject Range,
76
+
77
+
78
+ <a id="org075bb7e"></a>
79
+
80
+ ## String
81
+
82
+ - `String#fuzzy_match` changes the semantics of the string matcher argument:
83
+ 1. an internal ':' preceded and followed by non-whitespace now only applies to the word following it to indicate that the word must be a word boundary, so 'hel:wor' matches 'Shell worms' as well as 'Hello, world'.
84
+ 2. an internal ':' preceded by whitespace but followed by non-whitespace is also treated as requiring a word boundary for the following word but not the preceding word, as in 1, so 'hel :wor'
85
+ 3. but an internal ':' preceded by non-whitespace but followed by whitespace requires a word boundary after the preceding word, so 'hel: wor'
86
+ 4. a lone matcher now allows a match anywhere in the subject text regardless of boundaries; the prior version added a word boundary restriction to the bare matcher, so before 'zz' would not match "Pizza" since 'zz' did not occur at the end of word, but now 'zz' will match "Pizza". Rule 3 above allows putting a boundary restriction on the matcher with 'zz: ' as before.
87
+ 5. Leading and trailing ':' continue to require the text to occur at the beginning or end, respectively, of the subject string, so ':hel' and 'ld:' match "Hello, world" but ':wor' and 'wor:' do not.
88
+ - `String#number` no longer considers a hex number with a decimal point to be in the form of a number
89
+ - provide a :pred method in a refinement accesses with 'using StringPred
90
+ - `String#entitle` no longer tries to detect general acronyms for upper case handling since it was unreliable. Thus, `"ibm corporation".enetitle` becomers "Ibm Corporation" rather than "IBM corporation."
91
+
92
+
93
+ <a id="org545d137"></a>
94
+
95
+ ## Kernel
96
+
97
+ - removed the `Kernel.time_it` method since Benchmark already does this better.
data/CHANGELOG.org CHANGED
@@ -1,3 +1,8 @@
1
+ * Version 7.3.0
2
+ ** String
3
+ Another visit to String#fuzzy_match to ensure that a subject string is matched
4
+ by its own matcher. This bug got tickled when 'Amazon.com' failed to match
5
+ 'Amazon.com', which just isn't right.
1
6
  * Version 7.1.1
2
7
  ** String
3
8
  - =String#fuzzy_match= make period, comma, asterisk, and apostrophes optional
data/Gemfile CHANGED
@@ -17,4 +17,5 @@ group :development do
17
17
  gem 'rake'
18
18
  gem 'rspec'
19
19
  gem 'simplecov'
20
+ gem 'gem_docs', '>=0.2.0'
20
21
  end