aipp 2.0.1 → 2.0.2

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: 95bc27987486f7d35d5f31109d6186de455061960d55086067d340136f4156ed
4
- data.tar.gz: 0d029bbe0a9205dbae86782ceb674d6a6bc3ba1f51a412fa5e121962d7e69e36
3
+ metadata.gz: aae45b128912df9df9109e73ba42eaa08491b28811f2aa4cd0d9ce0a703407a3
4
+ data.tar.gz: ff736ac780721e9829bfdcbaa4dd55fb303adef8832a8a0a48aeba14f6ee94af
5
5
  SHA512:
6
- metadata.gz: 1f40f1d6c1daf97dba669366e9047ea677eab26a7568e893f93fb9da6445cca88853c8ba2c4d900c6362b9d8402fd58f4162a8380776a63cd4003562e8df97d9
7
- data.tar.gz: 5a6e5a5a34b2d6550fcc5f1953c6f6707d253f2e9de16d41505cc57f3a0e797c7faa1bddcb2e1657a6266bc971b2564cd55210725aae219796deffdccf7cb360
6
+ metadata.gz: c9dfd3da655aa728bd3794b2c66ae9bfda2a62ebf13a03c2e88e82c329245532e00e3204ff3fa8f16a800f6531b0717a0eb026318e96a92537594c349ecf0e23
7
+ data.tar.gz: d51724f671e855b6ff396fe3e2dcc84440db2685092c28a8d8d9e08e2cf3ee5f4faf61a2720abccf45d5e8b5944cbaed9d1aa41944b7777d6cee9dacdbd6aece
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -2,10 +2,19 @@
2
2
 
3
3
  Nothing so far
4
4
 
5
+ ## 2.0.2
6
+
7
+ #### Additions
8
+ * Support for Ruby 3.2
9
+
10
+ #### Fixes
11
+ * Improve hack to fix braindead years on D-items
12
+
5
13
  ## 2.0.1
6
14
 
7
15
  #### Fixes
8
16
  * Fix ineffective rescue when parsing a NOTAM fails in force mode
17
+ * Hack to fix braindead years on D-items
9
18
 
10
19
  ## 2.0.0
11
20
 
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [![Version](https://img.shields.io/gem/v/aipp.svg?style=flat)](https://rubygems.org/gems/aipp)
2
- [![Tests](https://img.shields.io/github/workflow/status/svoop/aipp/Test.svg?style=flat&label=tests)](https://github.com/svoop/aipp/actions?workflow=Test)
2
+ [![Tests](https://img.shields.io/github/actions/workflow/status/svoop/aipp/test.yml?style=flat&label=tests)](https://github.com/svoop/aipp/actions?workflow=Test)
3
3
  [![Donorbox](https://img.shields.io/badge/donate-on_donorbox-yellow.svg)](https://donorbox.org/bitcetera)
4
4
 
5
5
  # AIPP
@@ -23,8 +23,8 @@ end
23
23
 
24
24
  # HACK: remove braindead years from D-item of W-series NOTAM
25
25
  if row['notamRaw'].match? /\AW/
26
- year = Time.now.year + 1
27
- if row['notamRaw'].gsub!(/\s*#{year}\s*(#{NOTAM::Schedule::MONTH_RE})/, ' \1')
26
+ year = Time.now.year
27
+ if row['notamRaw'].gsub!(/\s*(?:#{year}|#{year+1})\s*(#{NOTAM::Schedule::MONTH_RE})/, ' \1')
28
28
  warn("HACK: removed braindead years from D item")
29
29
  end
30
30
  end
data/lib/aipp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module AIPP
2
- VERSION = "2.0.1".freeze
2
+ VERSION = "2.0.2".freeze
3
3
  end
data/lib/aipp.rb CHANGED
@@ -60,10 +60,3 @@ require_relative 'aipp/aip/parser'
60
60
  require_relative 'aipp/notam/executable'
61
61
  require_relative 'aipp/notam/runner'
62
62
  require_relative 'aipp/notam/parser'
63
-
64
- # Disable "did you mean?" suggestions
65
- #
66
- # @!visibility private
67
- module DidYouMean::Correctable
68
- remove_method :to_s
69
- end
data.tar.gz.sig CHANGED
@@ -1,3 +1,3 @@
1
- P�`��Q�������*�v�X�4�hf>Y��� ����t>��ݦ?3��%(�[�6���\�ٿ�����c�.`�.�x7�]e- �̧��:�PH���m�p�ד��%l�׋j����|M}��%�EO��mrƙP�qZc����' [�>1�b�龃�`3ץ� ���e�� >
2
- �a�Lq���(��HK�`�?CaZ���O/��G}�5��jc��� 4JBX]V0
3
- ` Wmh��5���o�J�!j�̌���
1
+ !�Ұ@�Lԑ��9u�-�bK>M,�b]ܢDŽ�hL�)�!�~� ��%����@_���o}Їe����:Q��5������BSp�6|GS73���|K�P;Y��!���c��7L������gLv��RYޡ�'0|��� �� pt��bp��>D9uѐ֤�6
2
+ Z3���c}�oM��jy�s܂�X�;��~E2�v+�0�Ҿ��3�\^>c���,�<���?
3
+ {h?�)`+���3�+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aipp
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Schwyn
@@ -29,7 +29,7 @@ cert_chain:
29
29
  kAyiRqgxF4dJviwtqI7mZIomWL63+kXLgjOjMe1SHxfIPo/0ji6+r1p4KYa7o41v
30
30
  fwIwU1MKlFBdsjkd
31
31
  -----END CERTIFICATE-----
32
- date: 2022-12-21 00:00:00.000000000 Z
32
+ date: 2023-01-02 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: airac
@@ -441,7 +441,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
441
441
  - !ruby/object:Gem::Version
442
442
  version: '0'
443
443
  requirements: []
444
- rubygems_version: 3.3.26
444
+ rubygems_version: 3.4.2
445
445
  signing_key:
446
446
  specification_version: 4
447
447
  summary: Parser for aeronautical information publications
metadata.gz.sig CHANGED
Binary file