mangrove 0.16.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 617875ba6ae95633c64ead5888103f6eefe1ae4075311f3d0ac8e8388b6e83b7
4
- data.tar.gz: 5ba2a9cf035c045a4508a5cedf4fefeb3d60305ea3ac0ce7cfb2c8b793e077ca
3
+ metadata.gz: 1cfc3160fc21f4d4a647ffa2626d32fd547e5dd16e85da36614d2aee7705a2f4
4
+ data.tar.gz: 8f51c89c685e1d9bb33c803237af0de5dfc280812d7312d03cd95483219c3a47
5
5
  SHA512:
6
- metadata.gz: 984034dc5a95309b01351c22287762162ddf2f946507246871c7feb66eeda328f6f43549fc80bcee6998c81675ecd8ab4fe6e05334102d8124992eb07e15d788
7
- data.tar.gz: '094bc86b4591e76f10076794bf198f3eaf85fec096dcf27dd35d33299f06bed9132a23379e30e0150764087e6b28ff4ae71d9efeff0624f008f90c4808002b91'
6
+ metadata.gz: 77016fe8709eea630aa24af790d175af9105339724c7145c982a47aa4ceb4f7d84a5fe15f39f56c4a23aaf7e93a8e020d4b5843ca844fc5ddfdbe48200604e45
7
+ data.tar.gz: 75aae8968e35d34c7c2c69a16d822d0a65b0b79e0587623ad3520188e66c423a0aa7dad24b42060c37901c5b0d1e714806c5b78737249c781e77266f84a1806c
data/.rubocop.yml CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  AllCops:
4
4
  TargetRubyVersion: 3.1
5
+ NewCops: enable
5
6
 
6
7
  Layout/FirstArrayElementIndentation:
7
8
  EnforcedStyle: consistent
@@ -27,6 +28,9 @@ Metrics/MethodLength:
27
28
  Metrics/ModuleLength:
28
29
  Enabled: false
29
30
 
31
+ Naming/BlockForwarding:
32
+ EnforcedStyle: explicit
33
+
30
34
  Naming/VariableNumber:
31
35
  EnforcedStyle: snake_case
32
36
 
data/README.md CHANGED
@@ -145,9 +145,10 @@ my_none = Option::None.new
145
145
  ## Commands for Development
146
146
  ```
147
147
  git config core.hooksPath hooks
148
+ bundle install
148
149
  bundle exec tapioca init
149
- bundle exec tapioca gems
150
- bundle exec tapioca dsl
150
+ bundle exec tapioca gems -w `nproc`
151
+ bundle exec tapioca dsl -w `nproc`
151
152
  bundle exec tapioca check-shims
152
153
  bundle exec tapioca init
153
154
  bundle exec rspec -f d
@@ -213,9 +213,9 @@
213
213
  </div>
214
214
 
215
215
  <div id="footer">
216
- Generated on Wed Nov 1 14:25:08 2023 by
216
+ Generated on Wed Nov 15 22:12:58 2023 by
217
217
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
218
- 0.9.34 (ruby-3.2.2).
218
+ 0.9.34 (ruby-3.1.2).
219
219
  </div>
220
220
 
221
221
  </div>
@@ -105,9 +105,9 @@
105
105
  </div>
106
106
 
107
107
  <div id="footer">
108
- Generated on Wed Nov 1 14:25:08 2023 by
108
+ Generated on Wed Nov 15 22:12:58 2023 by
109
109
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
- 0.9.34 (ruby-3.2.2).
110
+ 0.9.34 (ruby-3.1.2).
111
111
  </div>
112
112
 
113
113
  </div>
@@ -424,9 +424,9 @@
424
424
  </div>
425
425
 
426
426
  <div id="footer">
427
- Generated on Wed Nov 1 14:25:09 2023 by
427
+ Generated on Wed Nov 15 22:13:01 2023 by
428
428
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
429
- 0.9.34 (ruby-3.2.2).
429
+ 0.9.34 (ruby-3.1.2).
430
430
  </div>
431
431
 
432
432
  </div>
@@ -471,10 +471,10 @@
471
471
  <span class='kw'>false</span>
472
472
  <span class='kw'>when</span> <span class='const'><span class='object_link'><a href="../Option.html" title="Mangrove::Option (module)">Option</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="" title="Mangrove::Option::None (class)">None</a></span></span>
473
473
  <span class='kw'>true</span>
474
- <span class='kw'>else</span>
475
- <span class='kw'>false</span>
476
- <span class='comment'># T.absurd(other)
477
- </span> <span class='kw'>end</span>
474
+ <span class='kw'>else</span> <span class='comment'># rubocop:disable Lint/DuplicateBranch
475
+ </span> <span class='comment'># Because == is defined on BasicObject, we can&#39;t be sure that `other` is an Option
476
+ </span> <span class='kw'>false</span>
477
+ <span class='kw'>end</span>
478
478
  <span class='kw'>end</span></pre>
479
479
  </td>
480
480
  </tr>
@@ -1075,9 +1075,9 @@
1075
1075
  </div>
1076
1076
 
1077
1077
  <div id="footer">
1078
- Generated on Wed Nov 1 14:25:08 2023 by
1078
+ Generated on Wed Nov 15 22:12:59 2023 by
1079
1079
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1080
- 0.9.34 (ruby-3.2.2).
1080
+ 0.9.34 (ruby-3.1.2).
1081
1081
  </div>
1082
1082
 
1083
1083
  </div>
@@ -575,8 +575,8 @@
575
575
  <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_instance_variable_get'>instance_variable_get</span><span class='lparen'>(</span><span class='symbol'>:@inner</span><span class='rparen'>)</span> <span class='op'>==</span> <span class='ivar'>@inner</span>
576
576
  <span class='kw'>when</span> <span class='const'><span class='object_link'><a href="../Option.html" title="Mangrove::Option (module)">Option</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="None.html" title="Mangrove::Option::None (class)">None</a></span></span>
577
577
  <span class='kw'>false</span>
578
- <span class='kw'>else</span>
579
- <span class='comment'># T.absurd(other)
578
+ <span class='kw'>else</span> <span class='comment'># rubocop:disable Lint/DuplicateBranch
579
+ </span> <span class='comment'># Because == is defined on BasicObject, we can&#39;t be sure that `other` is an Option
580
580
  </span> <span class='kw'>false</span>
581
581
  <span class='kw'>end</span>
582
582
  <span class='kw'>end</span></pre>
@@ -1192,9 +1192,9 @@
1192
1192
  </div>
1193
1193
 
1194
1194
  <div id="footer">
1195
- Generated on Wed Nov 1 14:25:08 2023 by
1195
+ Generated on Wed Nov 15 22:12:59 2023 by
1196
1196
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1197
- 0.9.34 (ruby-3.2.2).
1197
+ 0.9.34 (ruby-3.1.2).
1198
1198
  </div>
1199
1199
 
1200
1200
  </div>
@@ -1135,9 +1135,9 @@
1135
1135
  </div>
1136
1136
 
1137
1137
  <div id="footer">
1138
- Generated on Wed Nov 1 14:25:08 2023 by
1138
+ Generated on Wed Nov 15 22:12:58 2023 by
1139
1139
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1140
- 0.9.34 (ruby-3.2.2).
1140
+ 0.9.34 (ruby-3.1.2).
1141
1141
  </div>
1142
1142
 
1143
1143
  </div>
@@ -424,9 +424,9 @@
424
424
  </div>
425
425
 
426
426
  <div id="footer">
427
- Generated on Wed Nov 1 14:25:09 2023 by
427
+ Generated on Wed Nov 15 22:13:01 2023 by
428
428
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
429
- 0.9.34 (ruby-3.2.2).
429
+ 0.9.34 (ruby-3.1.2).
430
430
  </div>
431
431
 
432
432
  </div>