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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b408edfc947e91da2648c7c24d3aef8fcdd050f56ebcb01e2b367c813efc77d8
4
- data.tar.gz: 0a77cc6379b6c0e4a6a415cbb340f3dc7a9061972b684ec2dbcd9d4d4dde1c1e
3
+ metadata.gz: 212794e3bd6576267d491e38b97bb94c39cb8066e711a2a3ca441f34bdfc1297
4
+ data.tar.gz: c7cdf07a5c44abcfcb71605b552ecfd10c56a2389038fa868ec2f8cf0983f47f
5
5
  SHA512:
6
- metadata.gz: b3ff9c5f8ab37f866cf7e61d65a62304ab07556806e5fa7c31b56a70c92dd4ee5e8bef2839fdaa6aa2c6eb1500d1bbca462e9bde52ec1105835a29b82b0765ae
7
- data.tar.gz: d03a4a7373ddb4fe3b958f6ced3e244897b4055b08c1dc1e411c29d54983e3c104b22dac14fee76d609b4b6033909afd7a6c0ede03b21626e1d91cdf85b35c07
6
+ metadata.gz: 2ec6dc54f568315dce5bbf54adb3b2663bfd393ecc867a07a37d2d41aa329270a17ee104db4ee67073ed940bb113f545b67770496f6ffefada81cf93d668bbe6
7
+ data.tar.gz: 23756a9ba67258cc7fb07ac7efae9b89b22efc86834a7dc9f38b1e5bcbfbcf88e08d853e99028126c2b8ca9169c4097af2ee7dd6b1dc87646a5db5d0651b2232
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruboty-fop (0.0.1)
4
+ ruboty-fop (0.0.2)
5
5
  fop
6
6
  ruboty
7
7
 
@@ -1,3 +1,3 @@
1
1
  module RubotyFop
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -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; find_class(v)
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-fop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sorah Fukumori