ruboty-fop 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ruboty-fop/version.rb +1 -1
- data/lib/ruboty/handlers/fop.rb +1 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 212794e3bd6576267d491e38b97bb94c39cb8066e711a2a3ca441f34bdfc1297
|
4
|
+
data.tar.gz: c7cdf07a5c44abcfcb71605b552ecfd10c56a2389038fa868ec2f8cf0983f47f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ec6dc54f568315dce5bbf54adb3b2663bfd393ecc867a07a37d2d41aa329270a17ee104db4ee67073ed940bb113f545b67770496f6ffefada81cf93d668bbe6
|
7
|
+
data.tar.gz: 23756a9ba67258cc7fb07ac7efae9b89b22efc86834a7dc9f38b1e5bcbfbcf88e08d853e99028126c2b8ca9169c4097af2ee7dd6b1dc87646a5db5d0651b2232
|
data/Gemfile.lock
CHANGED
data/lib/ruboty-fop/version.rb
CHANGED
data/lib/ruboty/handlers/fop.rb
CHANGED
@@ -14,9 +14,6 @@ module Ruboty
|
|
14
14
|
'KIX' => 'OSA',
|
15
15
|
}
|
16
16
|
|
17
|
-
on(/imascg(?:\s+?(?<mode>.+?))?(?:\s+?me)?\s+(?<query>.+)$/, name: 'imascg', description: 'find imascg cards')
|
18
|
-
on(/imascg flush cache/, name: 'imascg_flush', description: 'flush imascg query cache')
|
19
|
-
|
20
17
|
on(/fop\s+help$/, name: 'fop_help', description: 'JAL calculator help')
|
21
18
|
on(/fop\s+list(?:(?:\s+airports?)?(?:\s+(?<filter>.+))?)?$/, name: 'fop_airports', description: 'JAL calculator: List airports')
|
22
19
|
on(/fop\s+(?:I\s+)?prefer(?<options>(?:\s+-(?:class|(?:dom|intl)-fare|card|status)\s+[^\s]+)*)\s*$/i, name: 'fop_prefer', description: 'JAL calculator: Set preference')
|
@@ -155,7 +152,7 @@ FOP:
|
|
155
152
|
else
|
156
153
|
options.each do |k, v|
|
157
154
|
case k
|
158
|
-
when :class;
|
155
|
+
when :class; find_dom_class(v)
|
159
156
|
when :'dom-fare'; find_dom_fare(v)
|
160
157
|
when :'intl-fare'; find_intl_fare(v)
|
161
158
|
when :card; find_card(v)
|