notam 0.1.2 → 0.1.3

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: 92a3fd49f8ffbc96bcb45d19f890837af01c255d69d4c083a883c8f446e1758d
4
- data.tar.gz: 5fa45d97e28d3bed19a20ec3e841e815b93cb94f3b686172fb9abc5c50cc7118
3
+ metadata.gz: b793dbd67af43de50525171950c176860cb7095b865e2362d1aaf31c4a4e737c
4
+ data.tar.gz: e3915a6680b06eb3a43270012dfb552b84443605a21dafd44f7c72597973a3de
5
5
  SHA512:
6
- metadata.gz: 42503973261da835cab991b6272b1b12ac17adac8f8a670de29d7b55f5650b35cb4e38d5eddc145c78ba03f81f4247f398cb0aec82d2366205b90a6fb6c96842
7
- data.tar.gz: 9f84f55bc3b42c40e7670e72683c05b32d71a8d401a197b38481eeaa56b173d16e62e3279a40134bf48cadb0e227fb30ba68ff5766a9c96ece9d66fe8e1f3a71
6
+ metadata.gz: cccba536bce34a893bdc717ba2b4983bf09e66d499acc33cec4ec949a52bb4685319c36fe99c30ee73ba82e91d33a8c5446a96f7ba18abf468c5fd6dc147daa1
7
+ data.tar.gz: 1acee0ea83919ed99d2825d81ea34d1e0fba3464a31c68706e870baa8e72c8e2e05c5ac282410bf09cde59be5a01b809c8fe780771c12197bee7331b13d9318b
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  Nothing so far
4
4
 
5
+ ## 0.1.3
6
+
7
+ #### Fixes
8
+ * Reverse accidentally flipped F and G item.
9
+
5
10
  ## 0.1.2
6
11
 
7
12
  #### Changes
data/lib/notam/item/f.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  module NOTAM
4
4
 
5
- # The F item defines the upper limit for this NOTAM.
5
+ # The F item defines the lower limit for this NOTAM.
6
6
  class F < Item
7
7
 
8
8
  RE = %r(
@@ -17,7 +17,7 @@ module NOTAM
17
17
  )x.freeze
18
18
 
19
19
  # @return [AIXM::Z]
20
- def upper_limit
20
+ def lower_limit
21
21
  case captures['all']
22
22
  when 'UNL' then AIXM::UNLIMITED
23
23
  when 'SFC', 'GND' then AIXM::GROUND
@@ -27,7 +27,7 @@ module NOTAM
27
27
 
28
28
  # @see NOTAM::Item#merge
29
29
  def merge
30
- super(:upper_limit)
30
+ super(:lower_limit)
31
31
  end
32
32
 
33
33
  end
data/lib/notam/item/g.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  module NOTAM
4
4
 
5
- # The G item defines the lower limit for this NOTAM.
5
+ # The G item defines the upper limit for this NOTAM.
6
6
  class G < Item
7
7
 
8
8
  RE = %r(
@@ -17,7 +17,7 @@ module NOTAM
17
17
  )x.freeze
18
18
 
19
19
  # @return [AIXM::Z]
20
- def lower_limit
20
+ def upper_limit
21
21
  case captures['all']
22
22
  when 'UNL' then AIXM::UNLIMITED
23
23
  when 'SFC', 'GND' then AIXM::GROUND
@@ -27,7 +27,7 @@ module NOTAM
27
27
 
28
28
  # @see NOTAM::Item#merge
29
29
  def merge
30
- super(:lower_limit)
30
+ super(:upper_limit)
31
31
  end
32
32
 
33
33
  end
data/lib/notam/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NOTAM
4
- VERSION = "0.1.2".freeze
4
+ VERSION = "0.1.3".freeze
5
5
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notam
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Schwyn
@@ -30,7 +30,7 @@ cert_chain:
30
30
  1+2Y1+i+4jd1B7qxIgOLxQTNIJiwE0sqU1itFfuesfgUACS7M0IV9u9Bp4hBGNEw
31
31
  5JcY2h7owdMxXIvgk1oakgldFJc=
32
32
  -----END CERTIFICATE-----
33
- date: 2022-05-19 00:00:00.000000000 Z
33
+ date: 2022-05-24 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: aixm
@@ -41,7 +41,7 @@ dependencies:
41
41
  version: '1'
42
42
  - - ">="
43
43
  - !ruby/object:Gem::Version
44
- version: 1.2.1
44
+ version: 1.3.0
45
45
  type: :runtime
46
46
  prerelease: false
47
47
  version_requirements: !ruby/object:Gem::Requirement
@@ -51,7 +51,7 @@ dependencies:
51
51
  version: '1'
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 1.2.1
54
+ version: 1.3.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: i18n
57
57
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file