tokyo_metro 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.DS_Store +0 -0
- data/.current_version +1 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +3 -0
- data/Capfile +34 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +39 -0
- data/Rakefile +16 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/config/deploy.rb +38 -0
- data/config/deploy/production.rb +61 -0
- data/config/deploy/staging.rb +61 -0
- data/exe/tokyo_metro +3 -0
- data/lib/tokyo_metro.rb +320 -0
- data/lib/tokyo_metro/api.rb +163 -0
- data/lib/tokyo_metro/api/fare.rb +94 -0
- data/lib/tokyo_metro/api/fare/info.rb +200 -0
- data/lib/tokyo_metro/api/fare/list.rb +25 -0
- data/lib/tokyo_metro/api/meta_class.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/data_search.rb +8 -0
- data/lib/tokyo_metro/api/meta_class/fundamental.rb +18 -0
- data/lib/tokyo_metro/api/meta_class/fundamental/info.rb +15 -0
- data/lib/tokyo_metro/api/meta_class/fundamental/list.rb +32 -0
- data/lib/tokyo_metro/api/meta_class/geo.rb +4 -0
- data/lib/tokyo_metro/api/meta_class/geo/info.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/geo/list.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/hybrid.rb +10 -0
- data/lib/tokyo_metro/api/meta_class/hybrid/info.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/hybrid/list.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/not_real_time.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/not_real_time/info.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/not_real_time/list.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/real_time.rb +7 -0
- data/lib/tokyo_metro/api/meta_class/real_time/info.rb +7 -0
- data/lib/tokyo_metro/api/meta_class/real_time/list.rb +21 -0
- data/lib/tokyo_metro/api/mlit_railway_line.rb +35 -0
- data/lib/tokyo_metro/api/mlit_railway_line/info.rb +88 -0
- data/lib/tokyo_metro/api/mlit_railway_line/list.rb +11 -0
- data/lib/tokyo_metro/api/mlit_station.rb +22 -0
- data/lib/tokyo_metro/api/mlit_station/info.rb +32 -0
- data/lib/tokyo_metro/api/mlit_station/list.rb +17 -0
- data/lib/tokyo_metro/api/passenger_survey.rb +74 -0
- data/lib/tokyo_metro/api/passenger_survey/info.rb +68 -0
- data/lib/tokyo_metro/api/passenger_survey/list.rb +40 -0
- data/lib/tokyo_metro/api/point.rb +98 -0
- data/lib/tokyo_metro/api/point/info.rb +154 -0
- data/lib/tokyo_metro/api/point/info/title.rb +50 -0
- data/lib/tokyo_metro/api/point/info/title/code.rb +83 -0
- data/lib/tokyo_metro/api/point/list.rb +20 -0
- data/lib/tokyo_metro/api/railway_line.rb +123 -0
- data/lib/tokyo_metro/api/railway_line/info.rb +154 -0
- data/lib/tokyo_metro/api/railway_line/info/meta_class.rb +2 -0
- data/lib/tokyo_metro/api/railway_line/info/meta_class/info.rb +12 -0
- data/lib/tokyo_metro/api/railway_line/info/meta_class/list.rb +17 -0
- data/lib/tokyo_metro/api/railway_line/info/station_order.rb +3 -0
- data/lib/tokyo_metro/api/railway_line/info/station_order/info.rb +47 -0
- data/lib/tokyo_metro/api/railway_line/info/station_order/list.rb +4 -0
- data/lib/tokyo_metro/api/railway_line/info/travel_time.rb +3 -0
- data/lib/tokyo_metro/api/railway_line/info/travel_time/info.rb +63 -0
- data/lib/tokyo_metro/api/railway_line/info/travel_time/list.rb +8 -0
- data/lib/tokyo_metro/api/railway_line/info/women_only_car.rb +3 -0
- data/lib/tokyo_metro/api/railway_line/info/women_only_car/info.rb +76 -0
- data/lib/tokyo_metro/api/railway_line/info/women_only_car/list.rb +8 -0
- data/lib/tokyo_metro/api/railway_line/list.rb +36 -0
- data/lib/tokyo_metro/api/station.rb +95 -0
- data/lib/tokyo_metro/api/station/info.rb +192 -0
- data/lib/tokyo_metro/api/station/info/common.rb +2 -0
- data/lib/tokyo_metro/api/station/info/common/info.rb +7 -0
- data/lib/tokyo_metro/api/station/info/common/list.rb +17 -0
- data/lib/tokyo_metro/api/station/info/connecting_railway_line.rb +3 -0
- data/lib/tokyo_metro/api/station/info/connecting_railway_line/info.rb +17 -0
- data/lib/tokyo_metro/api/station/info/connecting_railway_line/list.rb +23 -0
- data/lib/tokyo_metro/api/station/info/exit.rb +3 -0
- data/lib/tokyo_metro/api/station/info/exit/info.rb +17 -0
- data/lib/tokyo_metro/api/station/info/exit/list.rb +12 -0
- data/lib/tokyo_metro/api/station/info/link_to_passenger_survey.rb +3 -0
- data/lib/tokyo_metro/api/station/info/link_to_passenger_survey/info.rb +17 -0
- data/lib/tokyo_metro/api/station/info/link_to_passenger_survey/list.rb +8 -0
- data/lib/tokyo_metro/api/station/list.rb +94 -0
- data/lib/tokyo_metro/api/station_facility.rb +69 -0
- data/lib/tokyo_metro/api/station_facility/info.rb +76 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free.rb +41 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility.rb +3 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/elevator.rb +6 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/elevator/info.rb +10 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator.rb +6 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/info.rb +34 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/service_detail.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/service_detail/direction.rb +31 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/service_detail/info.rb +40 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/service_detail/list.rb +3 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/link_for_mobility_scooter.rb +6 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/link_for_mobility_scooter/info.rb +10 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/meta_class.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/meta_class/link_for_mobility_scooters_and_stairlift.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/meta_class/link_for_mobility_scooters_and_stairlift/info.rb +11 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/stairlift.rb +6 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/stairlift/info.rb +10 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/toilet.rb +6 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/toilet/assistant.rb +47 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/toilet/info.rb +36 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/info.rb +96 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/list.rb +22 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail/info.rb +117 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail/list.rb +26 -0
- data/lib/tokyo_metro/api/station_facility/info/platform.rb +3 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info.rb +95 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/barrier_free/info.rb +18 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/barrier_free/list.rb +7 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/common.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/common/info.rb +7 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/common/list.rb +10 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/surrounding_area.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/surrounding_area/info.rb +17 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/surrounding_area/list.rb +7 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/transfer.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/transfer/info.rb +32 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/transfer/list.rb +8 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/list.rb +22 -0
- data/lib/tokyo_metro/api/station_facility/list.rb +38 -0
- data/lib/tokyo_metro/api/station_timetable.rb +162 -0
- data/lib/tokyo_metro/api/station_timetable/info.rb +405 -0
- data/lib/tokyo_metro/api/station_timetable/info/fundamental.rb +2 -0
- data/lib/tokyo_metro/api/station_timetable/info/fundamental/info.rb +58 -0
- data/lib/tokyo_metro/api/station_timetable/info/fundamental/info/separated.rb +2 -0
- data/lib/tokyo_metro/api/station_timetable/info/fundamental/info/separated/info.rb +24 -0
- data/lib/tokyo_metro/api/station_timetable/info/fundamental/info/separated/list.rb +14 -0
- data/lib/tokyo_metro/api/station_timetable/info/fundamental/list.rb +28 -0
- data/lib/tokyo_metro/api/station_timetable/info/hash.rb +35 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time.rb +2 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info.rb +254 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note.rb +56 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/arrive_at.rb +82 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/connection_info.rb +24 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/list.rb +23 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/platform_number.rb +44 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/shirokane_takanawa.rb +3 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/shirokane_takanawa/no_connection.rb +23 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/shirokane_takanawa/toei_mita_line_connected_to_namboku_line.rb +29 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/start_from_this_station.rb +16 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/starting_station.rb +19 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/starting_station/ayase.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/starting_station/fundamental.rb +28 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/starting_station/wakoshi.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin.rb +3 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/kotake_mukaihara.rb +3 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/kotake_mukaihara/connected_for_wakoshi.rb +22 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type.rb +3 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/fundamental.rb +36 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro.rb +23 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro/fundamental.rb +19 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro/local.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro/rapid.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro/rapid_express.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro/semi_express.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tobu_tojo.rb +17 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tobu_tojo/fundamental.rb +17 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tobu_tojo/local.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko.rb +22 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko/commuter_limited_express.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko/express.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko/fundamental.rb +17 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko/limited_express.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko/local.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/list.rb +122 -0
- data/lib/tokyo_metro/api/station_timetable/list.rb +27 -0
- data/lib/tokyo_metro/api/station_train_time.rb +106 -0
- data/lib/tokyo_metro/api/train_location.rb +124 -0
- data/lib/tokyo_metro/api/train_location/info.rb +229 -0
- data/lib/tokyo_metro/api/train_location/info/delay.rb +104 -0
- data/lib/tokyo_metro/api/train_location/list.rb +35 -0
- data/lib/tokyo_metro/api/train_operation.rb +81 -0
- data/lib/tokyo_metro/api/train_operation/info.rb +150 -0
- data/lib/tokyo_metro/api/train_operation/info/basic_error.rb +13 -0
- data/lib/tokyo_metro/api/train_operation/info/json_parser_error.rb +11 -0
- data/lib/tokyo_metro/api/train_operation/info/network_error.rb +11 -0
- data/lib/tokyo_metro/api/train_operation/list.rb +22 -0
- data/lib/tokyo_metro/api/train_timetable.rb +70 -0
- data/lib/tokyo_metro/api/train_timetable/info.rb +231 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time.rb +2 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info.rb +104 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation.rb +2 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/following.rb +2 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/following/info.rb +11 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/following/list.rb +11 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/meta_class.rb +2 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/meta_class/info.rb +21 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/meta_class/list.rb +29 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/previous.rb +2 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/previous/info.rb +11 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/previous/list.rb +11 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/list.rb +47 -0
- data/lib/tokyo_metro/api/train_timetable/list.rb +53 -0
- data/lib/tokyo_metro/api_processor.rb +2 -0
- data/lib/tokyo_metro/api_processor/real_time_infos.rb +185 -0
- data/lib/tokyo_metro/api_processor/real_time_infos/info.rb +28 -0
- data/lib/tokyo_metro/api_processor/real_time_infos/list.rb +39 -0
- data/lib/tokyo_metro/api_processor/real_time_infos/provision_status.rb +31 -0
- data/lib/tokyo_metro/app.rb +2 -0
- data/lib/tokyo_metro/app/renderer.rb +2 -0
- data/lib/tokyo_metro/app/renderer/color_box.rb +41 -0
- data/lib/tokyo_metro/app/renderer/concerns.rb +2 -0
- data/lib/tokyo_metro/app/renderer/concerns/header.rb +2 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/content.rb +119 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/content/size_changing_button_type.rb +14 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/meta_class.rb +30 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/selection.rb +58 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/title.rb +52 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/title/base.rb +29 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/title/document_content.rb +11 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/title/meta_class.rb +15 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/title/sub_content.rb +14 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/title/top.rb +16 -0
- data/lib/tokyo_metro/app/renderer/concerns/link.rb +2 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/normal.rb +2 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/normal/meta_class.rb +162 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line/from_platform_info.rb +103 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line/from_railway_line_page.rb +57 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line/from_station_facility_page.rb +9 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line/meta_class.rb +66 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/fare.rb +49 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/from_station_facility_page.rb +22 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/meta_class.rb +124 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/meta_class/group.rb +32 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/passenger_survey.rb +68 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/real_time_infos.rb +40 -0
- data/lib/tokyo_metro/app/renderer/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/app/renderer/connecting_railway_line/link_to_railway_line_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/document.rb +2 -0
- data/lib/tokyo_metro/app/renderer/document/link.rb +33 -0
- data/lib/tokyo_metro/app/renderer/document/size_changing_button.rb +25 -0
- data/lib/tokyo_metro/app/renderer/fare_table.rb +2 -0
- data/lib/tokyo_metro/app/renderer/fare_table/group.rb +50 -0
- data/lib/tokyo_metro/app/renderer/fare_table/link_to_railway_line_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/fare_table/link_to_railway_line_page/header.rb +26 -0
- data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line.rb +162 -0
- data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/rows.rb +41 -0
- data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos.rb +7 -0
- data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos/group_info.rb +72 -0
- data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos/group_list.rb +10 -0
- data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos/group_list/factory.rb +64 -0
- data/lib/tokyo_metro/app/renderer/icon.rb +32 -0
- data/lib/tokyo_metro/app/renderer/icon/font_awesome.rb +44 -0
- data/lib/tokyo_metro/app/renderer/icon/font_awesome/stacked.rb +30 -0
- data/lib/tokyo_metro/app/renderer/icon/image.rb +27 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey.rb +2 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu.rb +2 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/index.rb +2 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/link_to_railway_line_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/meta_class.rb +100 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/meta_class/each_year.rb +83 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/railway_line.rb +2 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/station.rb +51 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/year.rb +16 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table.rb +2 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/meta_class.rb +54 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/meta_class/header.rb +55 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/meta_class/row.rb +66 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/railway_line.rb +35 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/railway_line/header.rb +30 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/railway_line/row.rb +58 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/station.rb +25 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/station/header.rb +13 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/station/row.rb +29 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/year.rb +23 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/year/header.rb +12 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/year/row.rb +24 -0
- data/lib/tokyo_metro/app/renderer/railway_line.rb +2 -0
- data/lib/tokyo_metro/app/renderer/railway_line/link_to_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/railway_line/links.rb +2 -0
- data/lib/tokyo_metro/app/renderer/railway_line/links/header.rb +14 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos.rb +199 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/each_railway_line.rb +146 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum.rb +2 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/meta_class.rb +114 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/train_location_infos.rb +81 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/train_operation_infos.rb +21 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/whole.rb +46 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/whole/header.rb +23 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/side_menu.rb +2 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/side_menu/link_to_railway_line_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/side_menu/link_to_railway_line_page/each_controller.rb +54 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/side_menu/links_to_railway_line_pages.rb +46 -0
- data/lib/tokyo_metro/app/renderer/rss.rb +20 -0
- data/lib/tokyo_metro/app/renderer/side_menu.rb +29 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link.rb +2 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link/list.rb +96 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link/meta_class.rb +17 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link/to_document.rb +78 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link/to_main_content.rb +2 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link/to_main_content/index.rb +141 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link/to_main_content/of_station.rb +95 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link/to_other_website.rb +48 -0
- data/lib/tokyo_metro/app/renderer/side_menu/now_developing.rb +35 -0
- data/lib/tokyo_metro/app/renderer/side_menu/now_developing/header.rb +19 -0
- data/lib/tokyo_metro/app/renderer/side_menu/problems.rb +54 -0
- data/lib/tokyo_metro/app/renderer/side_menu/problems/header.rb +19 -0
- data/lib/tokyo_metro/app/renderer/station_code.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_code/normal.rb +37 -0
- data/lib/tokyo_metro/app/renderer/station_facility.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/header.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/header/barrier_free_info.rb +14 -0
- data/lib/tokyo_metro/app/renderer/station_facility/header/platform_info.rb +14 -0
- data/lib/tokyo_metro/app/renderer/station_facility/header/railway_lines.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/header/railway_lines/other_operators.rb +14 -0
- data/lib/tokyo_metro/app/renderer/station_facility/header/railway_lines/the_same_operator.rb +14 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform.rb +155 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_meguro_and_shirokane_takanawa.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_meguro_and_shirokane_takanawa/common.rb +15 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_meguro_and_shirokane_takanawa/of_special_direction.rb +7 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_hikawadai.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_hikawadai/each_direction.rb +22 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_hikawadai/whole.rb +5 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_kotake_mukaihara.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_kotake_mukaihara/common.rb +15 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_kotake_mukaihara/of_special_direction.rb +7 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/kotake_mukaihara.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/kotake_mukaihara/each_direction.rb +22 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/kotake_mukaihara/whole.rb +5 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meguro_and_shirokanedai.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meguro_and_shirokanedai/each_direction.rb +22 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meguro_and_shirokanedai/whole.rb +5 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/common.rb +83 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/each_direction.rb +116 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/barrier_free_facility_infos.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/barrier_free_facility_infos/inside.rb +13 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/barrier_free_facility_infos/meta_class.rb +13 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/barrier_free_facility_infos/outside.rb +13 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/meta_class.rb +98 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/surrounding_area_infos.rb +13 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/transfer_infos.rb +24 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/transfer_infos/link_to_railway_line_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/whole.rb +56 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/multiple_railway_lines.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/multiple_railway_lines/common.rb +15 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/multiple_railway_lines/each_direction.rb +42 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/multiple_railway_lines/whole.rb +24 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/normal.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/normal/common.rb +21 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/normal/each_direction.rb +11 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/normal/whole.rb +22 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/shirokane_takanawa.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/shirokane_takanawa/each_direction.rb +21 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/shirokane_takanawa/whole.rb +5 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/list.rb +29 -0
- data/lib/tokyo_metro/app/renderer/station_link_list.rb +27 -0
- data/lib/tokyo_metro/app/renderer/station_link_list/english.rb +41 -0
- data/lib/tokyo_metro/app/renderer/station_link_list/japanese.rb +42 -0
- data/lib/tokyo_metro/app/renderer/station_link_list/meta_class.rb +68 -0
- data/lib/tokyo_metro/app/renderer/station_matrix.rb +32 -0
- data/lib/tokyo_metro/app/renderer/station_timetable.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_timetable/group.rb +52 -0
- data/lib/tokyo_metro/app/renderer/station_timetable/group/each_railway_line.rb +55 -0
- data/lib/tokyo_metro/app/renderer/station_timetable/group/each_railway_line/each_direction.rb +72 -0
- data/lib/tokyo_metro/app/renderer/station_timetable/group/each_railway_line/each_direction/each_operation_day.rb +69 -0
- data/lib/tokyo_metro/app/renderer/station_timetable/group/each_railway_line/each_direction/each_operation_day/station_train_times.rb +163 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info.rb +2 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/header.rb +14 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class.rb +2 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/columns.rb +7 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/common.rb +138 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/multiple_railway_lines.rb +33 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/one_railway_line.rb +22 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/row.rb +2 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/row/section.rb +71 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/row/station.rb +72 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/row/station/link_to_railway_line_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/through_operation.rb +83 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/through_operation/each_type.rb +74 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/through_operation/each_type/railway_line_and_terminal_station.rb +31 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line.rb +57 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line.rb +34 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/bottom.rb +50 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/bottom/chiyoda_branch_line.rb +29 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/bottom/to_jr_joban_line.rb +21 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/top.rb +16 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/top/to_odakyu_romance_car.rb +26 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/top/to_odakyu_semi_express.rb +21 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/top/to_odakyu_tama_express.rb +19 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/fukutoshin_line.rb +29 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/fukutoshin_line/bottom.rb +10 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/fukutoshin_line/bottom/to_tokyu_toyoko_and_minatomirai_line.rb +20 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/fukutoshin_line/top.rb +22 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/ginza_line.rb +31 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hanzomon_line.rb +17 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hanzomon_line/bottom.rb +10 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hanzomon_line/bottom/to_tobu_line.rb +27 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hanzomon_line/top.rb +10 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hanzomon_line/top/to_tokyu_den_en_toshi_line.rb +17 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hibiya_line.rb +11 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hibiya_line/bottom.rb +10 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hibiya_line/bottom/to_tobu_line.rb +19 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/marunouchi_line.rb +18 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/namboku_line.rb +21 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/namboku_line/bottom.rb +10 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/namboku_line/bottom/to_saitama_railway_line.rb +17 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/namboku_line/top.rb +10 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/namboku_line/top/to_tokyu_meguro_line.rb +17 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line.rb +25 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/bottom.rb +37 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/bottom/to_jr_sobu_line.rb +14 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/bottom/to_toyo_rapid_railway_line.rb +13 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/top.rb +10 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/top/to_jr_chuo_line.rb +13 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_and_fukutoshin_line.rb +2 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_and_fukutoshin_line/top.rb +17 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_and_fukutoshin_line/top/to_seibu_ikebukuro_line.rb +21 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_and_fukutoshin_line/top/to_tobu_tojo_line.rb +21 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_line.rb +19 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_line/top.rb +22 -0
- data/lib/tokyo_metro/app/renderer/twitter.rb +68 -0
- data/lib/tokyo_metro/app/renderer/twitter/header.rb +22 -0
- data/lib/tokyo_metro/app/renderer/women_only_car_info.rb +43 -0
- data/lib/tokyo_metro/app/renderer/women_only_car_info/each_railway.rb +52 -0
- data/lib/tokyo_metro/app/renderer/women_only_car_info/header.rb +14 -0
- data/lib/tokyo_metro/class_name_library.rb +3 -0
- data/lib/tokyo_metro/class_name_library/api.rb +3 -0
- data/lib/tokyo_metro/class_name_library/api/fare.rb +125 -0
- data/lib/tokyo_metro/class_name_library/api/mlit_railway_line.rb +112 -0
- data/lib/tokyo_metro/class_name_library/api/mlit_station.rb +113 -0
- data/lib/tokyo_metro/class_name_library/api/passenger_survey.rb +124 -0
- data/lib/tokyo_metro/class_name_library/api/point.rb +150 -0
- data/lib/tokyo_metro/class_name_library/api/railway_line.rb +186 -0
- data/lib/tokyo_metro/class_name_library/api/station.rb +218 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility.rb +389 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free.rb +3 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/elevator.rb +30 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/escalator.rb +36 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/link_for_mobility_scooter.rb +36 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/meta_class.rb +39 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/stairlift.rb +30 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/toilet.rb +30 -0
- data/lib/tokyo_metro/class_name_library/api/station_timetable.rb +197 -0
- data/lib/tokyo_metro/class_name_library/api/station_train_time.rb +17 -0
- data/lib/tokyo_metro/class_name_library/api/station_train_time/db.rb +33 -0
- data/lib/tokyo_metro/class_name_library/api/train_location.rb +112 -0
- data/lib/tokyo_metro/class_name_library/api/train_operation.rb +112 -0
- data/lib/tokyo_metro/class_name_library/api/train_timetable.rb +178 -0
- data/lib/tokyo_metro/class_name_library/static.rb +3 -0
- data/lib/tokyo_metro/class_name_library/static/color.rb +17 -0
- data/lib/tokyo_metro/class_name_library/static/fare.rb +52 -0
- data/lib/tokyo_metro/class_name_library/static/operation_day.rb +48 -0
- data/lib/tokyo_metro/class_name_library/static/operator.rb +55 -0
- data/lib/tokyo_metro/class_name_library/static/railway_direction.rb +52 -0
- data/lib/tokyo_metro/class_name_library/static/railway_line.rb +67 -0
- data/lib/tokyo_metro/class_name_library/static/station.rb +142 -0
- data/lib/tokyo_metro/class_name_library/static/stations_in_tokyo_metro.rb +48 -0
- data/lib/tokyo_metro/class_name_library/static/train_operation_status.rb +48 -0
- data/lib/tokyo_metro/class_name_library/static/train_owner.rb +48 -0
- data/lib/tokyo_metro/class_name_library/static/train_type.rb +3 -0
- data/lib/tokyo_metro/class_name_library/static/train_type/color.rb +36 -0
- data/lib/tokyo_metro/class_name_library/static/train_type/custom.rb +3 -0
- data/lib/tokyo_metro/class_name_library/static/train_type/custom/default_setting.rb +36 -0
- data/lib/tokyo_metro/class_name_library/static/train_type/custom/main.rb +139 -0
- data/lib/tokyo_metro/class_name_library/static/train_type/custom/other_operator.rb +43 -0
- data/lib/tokyo_metro/class_name_library/static/train_type/in_api.rb +48 -0
- data/lib/tokyo_metro/dictionary.rb +9 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/ignored_railway_lines.yaml +7 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/index_in_stations.yaml +660 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/new_and_old_railway_lines.yaml +29 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/optional_railway_lines.yaml +41 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/replacing_railway_lines.yaml +19 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/transfer_additional_infos.yaml +440 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station_facility/transfer_info/replacing_railway_lines.yaml +82 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station_timetable/ignored_station_timetables.yaml +15 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station_timetable/replacing_infos.yaml +435 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/train_timetable/marunouchi_branch_line/starting_and_terminal_stations.yaml +37 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/train_timetable/marunouchi_branch_line/train_relations.yaml +20 -0
- data/lib/tokyo_metro/dictionary/additional_infos/patches/station/connecting_railway_line/ignored_railway_lines.yaml +67 -0
- data/lib/tokyo_metro/dictionary/additional_infos/patches/station_facility/surrounding_areas.yaml +1 -0
- data/lib/tokyo_metro/dictionary/additional_infos/patches/train_timetable/yurakucho_and_fukutoshin_line/invalid_trains_on_yurakucho_line.yaml +44 -0
- data/lib/tokyo_metro/dictionary/english.yaml +7 -0
- data/lib/tokyo_metro/dictionary/fare/20140401_normal.yaml +25 -0
- data/lib/tokyo_metro/dictionary/models.yaml +97 -0
- data/lib/tokyo_metro/dictionary/operation_day.yaml +44 -0
- data/lib/tokyo_metro/dictionary/operator.yaml +292 -0
- data/lib/tokyo_metro/dictionary/railway_direction.yaml +288 -0
- data/lib/tokyo_metro/dictionary/railway_line.yaml +881 -0
- data/lib/tokyo_metro/dictionary/railway_line/tokyo_metro_lines_in_system.yaml +11 -0
- data/lib/tokyo_metro/dictionary/station/appeared_in_connecting_railway_line_info/jr/chuo_kaisoku.yaml +12 -0
- data/lib/tokyo_metro/dictionary/station/appeared_in_connecting_railway_line_info/jr/chuo_sobu.yaml +8 -0
- data/lib/tokyo_metro/dictionary/station/appeared_in_connecting_railway_line_info/jr/keihin_tohoku.yaml +18 -0
- data/lib/tokyo_metro/dictionary/station/appeared_in_connecting_railway_line_info/jr/sobu.yaml +8 -0
- data/lib/tokyo_metro/dictionary/station/appeared_in_connecting_railway_line_info/jr/yamanote.yaml +26 -0
- data/lib/tokyo_metro/dictionary/station/file_list.yaml +241 -0
- data/lib/tokyo_metro/dictionary/station/frequently_appeared.yaml +45 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/jr/chuo_tozai.yaml +64 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/jr/joban_local.yaml +148 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/jr/sobu_tozai.yaml +41 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/odakyu/enoshima.yaml +192 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/odakyu/hakone_tozan.yaml +62 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/odakyu/odawara.yaml +629 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/odakyu/tama.yaml +110 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/saitama_railway/saitama_railway.yaml +74 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/seibu/ikebukuro.yaml +448 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/seibu/sayama.yaml +30 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/seibu/seibu_chichibu.yaml +65 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/seibu/seibu_yurakucho.yaml +37 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/seibu/toshima.yaml +22 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tobu/isesaki.yaml +305 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tobu/kinugawa.yaml +80 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tobu/nikko.yaml +315 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tobu/skytree.yaml +365 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tobu/skytree_oshiage.yaml +25 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tobu_tojo/tojo.yaml +486 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/toei/asakusa.yaml +219 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/toei/mita.yaml +282 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/toei/oedo.yaml +386 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/toei/shinjuku.yaml +233 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/toei/toden_arakawa.yaml +271 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tokyu_and_mm/den_en_toshi.yaml +309 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tokyu_and_mm/meguro.yaml +148 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tokyu_and_mm/minatomirai.yaml +70 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tokyu_and_mm/toyoko.yaml +246 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/toyo_rapid/toyo_rapid.yaml +99 -0
- data/lib/tokyo_metro/dictionary/station/same_as_in_db.yaml +8 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro.yaml +146 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/chiyoda.yaml +210 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/chiyoda_branch.yaml +26 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/fukutoshin.yaml +214 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/ginza.yaml +191 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/hanzomon.yaml +159 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/hibiya.yaml +219 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/marunouchi.yaml +249 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/marunouchi_branch.yaml +39 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/namboku.yaml +215 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/tozai.yaml +281 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/yurakucho.yaml +277 -0
- data/lib/tokyo_metro/dictionary/stations_in_tokyo_metro.yaml +928 -0
- data/lib/tokyo_metro/dictionary/stopping_pattern.yaml +6 -0
- data/lib/tokyo_metro/dictionary/train_operation_status.yaml +120 -0
- data/lib/tokyo_metro/dictionary/train_owner.yaml +35 -0
- data/lib/tokyo_metro/dictionary/train_type/color.yaml +33 -0
- data/lib/tokyo_metro/dictionary/train_type/default_settings.yaml +64 -0
- data/lib/tokyo_metro/dictionary/train_type/in_api.yaml +98 -0
- data/lib/tokyo_metro/dictionary/train_type/other_operator/odakyu.yaml +54 -0
- data/lib/tokyo_metro/dictionary/train_type/other_operator/seibu.yaml +48 -0
- data/lib/tokyo_metro/dictionary/train_type/other_operator/tobu.yaml +24 -0
- data/lib/tokyo_metro/dictionary/train_type/other_operator/tobu_tojo.yaml +9 -0
- data/lib/tokyo_metro/dictionary/train_type/other_operator/tokyu.yaml +98 -0
- data/lib/tokyo_metro/dictionary/train_type/other_operator/toyo_rapid_railway.yaml +13 -0
- data/lib/tokyo_metro/dictionary/train_type/romance_car_train_names.yaml +12 -0
- data/lib/tokyo_metro/dictionary/train_type/toei/asakusa.yaml +28 -0
- data/lib/tokyo_metro/dictionary/train_type/toei/mita.yaml +40 -0
- data/lib/tokyo_metro/dictionary/train_type/toei/oedo.yaml +15 -0
- data/lib/tokyo_metro/dictionary/train_type/toei/shinjuku.yaml +25 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/chiyoda.yaml +74 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/chiyoda_romance_car.yaml +125 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/ginza.yaml +9 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/hanzomon.yaml +83 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/hibiya.yaml +13 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/marunouchi.yaml +21 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/namboku.yaml +36 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/tozai.yaml +190 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/yurakucho_fukutoshin.yaml +194 -0
- data/lib/tokyo_metro/dictionary/train_type_basename_in_api.yaml +14 -0
- data/lib/tokyo_metro/dictionary/view/icon/font_awesome_icon.yaml +228 -0
- data/lib/tokyo_metro/dictionary/view/icon/image.yaml +1 -0
- data/lib/tokyo_metro/dictionary/view/rss.yaml +12 -0
- data/lib/tokyo_metro/dictionary/view/train_operation_status_for_test.yaml +30 -0
- data/lib/tokyo_metro/document.rb +53 -0
- data/lib/tokyo_metro/document/gviz.rb +9 -0
- data/lib/tokyo_metro/document/gviz/convert_to_image.rb +23 -0
- data/lib/tokyo_metro/document/gviz/dir_graph.rb +68 -0
- data/lib/tokyo_metro/document/gviz/ruby_graph.rb +30 -0
- data/lib/tokyo_metro/document/make_examples.rb +2 -0
- data/lib/tokyo_metro/document/make_examples/static.rb +19 -0
- data/lib/tokyo_metro/document/make_examples/static/each_file.rb +27 -0
- data/lib/tokyo_metro/document/make_examples/static/each_file/each_method.rb +73 -0
- data/lib/tokyo_metro/factory.rb +3 -0
- data/lib/tokyo_metro/factory/before_decorate.rb +2 -0
- data/lib/tokyo_metro/factory/before_decorate/api.rb +2 -0
- data/lib/tokyo_metro/factory/before_decorate/api/train_location.rb +2 -0
- data/lib/tokyo_metro/factory/before_decorate/api/train_location/info.rb +89 -0
- data/lib/tokyo_metro/factory/before_decorate/api/train_location/list.rb +13 -0
- data/lib/tokyo_metro/factory/before_seed.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type.rb +192 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type/pattern.rb +35 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/convert_railway_line.rb +13 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/current_station.rb +11 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/operation_day.rb +13 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/process_patterns.rb +39 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/railway_line.rb +13 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/regexp_library.rb +83 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/starting_station.rb +14 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/terminal_station.rb +14 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/train_type.rb +16 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/yurakucho_and_fukutoshin_line.rb +62 -0
- data/lib/tokyo_metro/factory/before_seed/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/station_timetable/info.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time/info.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time/info/train_type.rb +88 -0
- data/lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time/info/train_type/pattern.rb +18 -0
- data/lib/tokyo_metro/factory/before_seed/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/train_timetable/info.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/train_timetable/info/train_type.rb +71 -0
- data/lib/tokyo_metro/factory/before_seed/api/train_timetable/info/train_type/pattern.rb +18 -0
- data/lib/tokyo_metro/factory/common.rb +2 -0
- data/lib/tokyo_metro/factory/convert.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/converter.rb +29 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/converter/info_for_conversion.rb +52 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/fundamental.rb +9 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/fundamental/normal.rb +8 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/fundamental/updated.rb +12 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/station_infos.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/station_infos/railway_line.rb +65 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/chiyoda_branch_line/info.rb +19 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/customize_starting_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/customize_starting_station/info.rb +15 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/customize_terminal_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/customize_terminal_station/info.rb +15 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/marunouchi_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/marunouchi_branch_line/info.rb +19 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/starting_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/starting_station/info.rb +7 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/station_name.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/station_name/info.rb +33 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/terminal_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/terminal_station/info.rb +7 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/namboku_line_from_musashi_kosugi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/namboku_line_from_musashi_kosugi/info.rb +13 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/namboku_line_to_musashi_kosugi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/namboku_line_to_musashi_kosugi/info.rb +13 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/romance_car.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/romance_car/info.rb +32 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/toei_mita_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/toei_mita_line/info.rb +41 -0
- data/lib/tokyo_metro/factory/convert/common/api/station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station/connecting_railway_line/info.rb +36 -0
- data/lib/tokyo_metro/factory/convert/common/api/station/connecting_railway_line/info/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station/connecting_railway_line/info/connecting_railway_line/info.rb +20 -0
- data/lib/tokyo_metro/factory/convert/common/api/station/station_code.rb +15 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_facility/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_facility/barrier_free/facility.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_facility/barrier_free/facility/escalator.rb +50 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_facility/platform.rb +21 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_facility/platform/transfer.rb +21 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_timetable/convert_terminal_stations.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_timetable/convert_terminal_stations/info.rb +24 -0
- data/lib/tokyo_metro/factory/convert/customize.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/ayase.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/ayase/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/ayase/generate/list.rb +21 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/ayase/generate/list/each_condition.rb +41 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/kita_ayase.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/kita_ayase/info.rb +34 -0
- data/lib/tokyo_metro/factory/convert/customize/api/railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/railway_line/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/railway_line/chiyoda_branch_line/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/railway_line/chiyoda_branch_line/generate/list.rb +118 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station/chiyoda_branch_line/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station/chiyoda_branch_line/generate/list.rb +72 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station/connecting_railway_line/info.rb +210 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/chiyoda_branch_line/info.rb +48 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/marunouchi_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/marunouchi_branch_line/info.rb +28 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/platform_transfer_info_at_nakano_sakaue.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/platform_transfer_info_at_nakano_sakaue/info.rb +41 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/railway_line_name_in_platform_transfer_infos.rb +9 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/railway_line_name_in_platform_transfer_infos/info.rb +25 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/railway_line_name_in_platform_transfer_infos/info/each_transfer_info.rb +20 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/additional_infos.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/additional_infos/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/additional_infos/generate/list.rb +48 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/chiyoda_branch_line/info.rb +35 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/marunouchi_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/marunouchi_branch_line/info.rb +16 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/terminal_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/terminal_station/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/terminal_station/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/terminal_station/info/train_time/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/chiyoda_branch_line/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/marunouchi_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/marunouchi_branch_line/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/romance_car.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/romance_car/info.rb +45 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/starting_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/starting_station/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/terminal_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/terminal_station/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/toei_mita_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/toei_mita_line/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/chiyoda_branch_line/info.rb +20 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/marunouchi_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/marunouchi_branch_line/info.rb +22 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/replace_station_name.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/replace_station_name/info.rb +25 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/romance_car.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/romance_car/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/starting_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/starting_station/info.rb +16 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/terminal_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/terminal_station/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/toei_mita_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/toei_mita_line/info.rb +23 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/train_relations_on_marunouchi_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/train_relations_on_marunouchi_branch_line/info.rb +108 -0
- data/lib/tokyo_metro/factory/convert/dictionary.rb +2 -0
- data/lib/tokyo_metro/factory/convert/dictionary/regexp_for_replace.rb +10 -0
- data/lib/tokyo_metro/factory/convert/patch.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station/connecting_railway_line/info.rb +11 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area.rb +18 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area/info/barrier_free/info.rb +22 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area/info/platform.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area/info/platform/info.rb +36 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility/escalator.rb +24 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility/escalator/service_detail.rb +4 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility/escalator/service_detail/chiyoda_otemachi_outside_escalator_1.rb +14 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free/facility.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free/facility/escalator.rb +42 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free/facility/escalator/service_detail.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free/facility/escalator/service_detail/chiyoda_kasumigaseki_outside_escalators.rb +12 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free/facility/escalator/service_detail/ginza_akasaka_mitsuke_outside_escalator.rb +12 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/platform_transfer_info_at_kudanshita.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/platform_transfer_info_at_kudanshita/info.rb +37 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area.rb +7 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area/generate/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area/generate/info/platform.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area/generate/info/platform/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area/generate/info/platform/info/surrounding_area.rb +16 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/fukutoshin_line_for_wakoshi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/fukutoshin_line_for_wakoshi/info.rb +13 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/fukutoshin_line_for_wakoshi/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/fukutoshin_line_for_wakoshi/info/train_time/info.rb +18 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/marunouchi_branch_line_for_nakano_sakaue.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/marunouchi_branch_line_for_nakano_sakaue/info.rb +13 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/marunouchi_branch_line_for_nakano_sakaue/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/marunouchi_branch_line_for_nakano_sakaue/info/train_time/info.rb +18 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/nakano_sakaue_on_marunouchi_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/nakano_sakaue_on_marunouchi_branch_line/info.rb +24 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/namboku_line_to_musashi_kosugi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/namboku_line_to_musashi_kosugi/info.rb +13 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/namboku_line_to_musashi_kosugi/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/namboku_line_to_musashi_kosugi/info/train_time/info.rb +7 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/origin.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/origin/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/origin/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/origin/info/train_time/info.rb +28 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_location.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_location/chiyoda_main_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_location/chiyoda_main_line/info.rb +49 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_location/namboku_line_from_musashi_kosugi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_location/namboku_line_from_musashi_kosugi/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_location/namboku_line_to_musashi_kosugi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_location/namboku_line_to_musashi_kosugi/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/namboku_line_from_musashi_kosugi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/namboku_line_from_musashi_kosugi/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/namboku_line_to_musashi_kosugi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/namboku_line_to_musashi_kosugi/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line.rb +7 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/generate/list.rb +40 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/info.rb +31 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/convert_station_name.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/convert_station_name/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/convert_station_name/info/station_time.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/convert_station_name/info/station_time/info.rb +29 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/convert_station_name/info/station_time/list.rb +15 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/valid_station_times_on_weekdays.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/valid_station_times_on_weekdays/info.rb +83 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/refinement.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/refinement/info.rb +37 -0
- data/lib/tokyo_metro/factory/convert/patch/for_string.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/for_string/barrier_free_facility.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/for_string/barrier_free_facility/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/for_string/barrier_free_facility/info/remark.rb +45 -0
- data/lib/tokyo_metro/factory/convert/patch/for_string/barrier_free_facility/place_name.rb +12 -0
- data/lib/tokyo_metro/factory/decorate.rb +2 -0
- data/lib/tokyo_metro/factory/decorate/api.rb +2 -0
- data/lib/tokyo_metro/factory/decorate/api/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/decorate/api/meta_class/real_time.rb +2 -0
- data/lib/tokyo_metro/factory/decorate/api/meta_class/real_time/info.rb +10 -0
- data/lib/tokyo_metro/factory/decorate/api/train_location.rb +2 -0
- data/lib/tokyo_metro/factory/decorate/api/train_location/info.rb +170 -0
- data/lib/tokyo_metro/factory/decorate/api/train_location/info/delay.rb +80 -0
- data/lib/tokyo_metro/factory/decorate/api/train_location/info/train_type.rb +107 -0
- data/lib/tokyo_metro/factory/decorate/api/train_location/list.rb +33 -0
- data/lib/tokyo_metro/factory/decorate/api/train_location/list/each_direction.rb +34 -0
- data/lib/tokyo_metro/factory/decorate/api/train_operation.rb +2 -0
- data/lib/tokyo_metro/factory/decorate/api/train_operation/common.rb +36 -0
- data/lib/tokyo_metro/factory/decorate/api/train_operation/info.rb +238 -0
- data/lib/tokyo_metro/factory/decorate/api/train_operation/info/basic_error.rb +38 -0
- data/lib/tokyo_metro/factory/decorate/api/train_operation/info/json_parser_error.rb +14 -0
- data/lib/tokyo_metro/factory/decorate/api/train_operation/info/network_error.rb +14 -0
- data/lib/tokyo_metro/factory/decorate/app_sub_decorator.rb +23 -0
- data/lib/tokyo_metro/factory/decorate/app_sub_decorator/in_document.rb +72 -0
- data/lib/tokyo_metro/factory/decorate/app_sub_decorator/in_document/color_info.rb +19 -0
- data/lib/tokyo_metro/factory/decorate/meta_class.rb +19 -0
- data/lib/tokyo_metro/factory/generate.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api.rb +3 -0
- data/lib/tokyo_metro/factory/generate/api/fare.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/fare/info.rb +22 -0
- data/lib/tokyo_metro/factory/generate/api/fare/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class.rb +3 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info.rb +3 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/convert_and_set_array_data.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/convert_and_set_array_data/factory_class.rb +74 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/convert_and_set_array_data/module_for_method.rb +16 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/fundamental.rb +63 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/fundamental/validity_checker.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/fundamental/validity_checker/barrier_free.rb +15 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/fundamental/validity_checker/meta_class.rb +73 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/fundamental/validity_checker/normal.rb +14 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/not_on_the_top_layer.rb +7 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/list.rb +3 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/list/date.rb +60 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/list/normal.rb +116 -0
- data/lib/tokyo_metro/factory/generate/api/mlit_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/mlit_railway_line/info.rb +27 -0
- data/lib/tokyo_metro/factory/generate/api/mlit_railway_line/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/mlit_station.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/mlit_station/info.rb +12 -0
- data/lib/tokyo_metro/factory/generate/api/mlit_station/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/passenger_survey.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/passenger_survey/info.rb +16 -0
- data/lib/tokyo_metro/factory/generate/api/passenger_survey/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/point.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/point/info.rb +37 -0
- data/lib/tokyo_metro/factory/generate/api/point/info/title.rb +59 -0
- data/lib/tokyo_metro/factory/generate/api/point/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/info.rb +39 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/info/station_order.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/info/station_order/info.rb +12 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/info/travel_time.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/info/travel_time/info.rb +12 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/info/women_only_car.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/info/women_only_car/info.rb +31 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/station.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station/info.rb +56 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/common.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/common/info.rb +14 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/connecting_railway_line/info.rb +10 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/exit.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/exit/info.rb +10 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/link_to_passenger_survey.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/link_to_passenger_survey/info.rb +10 -0
- data/lib/tokyo_metro/factory/generate/api/station/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info.rb +43 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info.rb +59 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility.rb +3 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/elevator.rb +9 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/escalator.rb +42 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/escalator/service_detail.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/escalator/service_detail/direction.rb +29 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/escalator/service_detail/info.rb +20 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/link_for_mobility_scooter.rb +9 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/stairlift.rb +9 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/toilet.rb +24 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/toilet/assistant.rb +25 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/service_detail.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/service_detail/info.rb +29 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info.rb +32 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/barrier_free/info.rb +8 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/barrier_free_and_surrounding_area.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/barrier_free_and_surrounding_area/info.rb +13 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/info.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/surrounding_area.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/surrounding_area/info.rb +8 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/transfer.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/transfer/info.rb +14 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_timetable/info.rb +45 -0
- data/lib/tokyo_metro/factory/generate/api/station_timetable/info/fundamental.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_timetable/info/fundamental/info.rb +18 -0
- data/lib/tokyo_metro/factory/generate/api/station_timetable/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_timetable/info/train_time/info.rb +30 -0
- data/lib/tokyo_metro/factory/generate/api/station_timetable/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/train_location.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/train_location/info.rb +35 -0
- data/lib/tokyo_metro/factory/generate/api/train_location/list.rb +64 -0
- data/lib/tokyo_metro/factory/generate/api/train_operation.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/train_operation/info.rb +24 -0
- data/lib/tokyo_metro/factory/generate/api/train_operation/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/train_timetable/info.rb +69 -0
- data/lib/tokyo_metro/factory/generate/api/train_timetable/info/station_time.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/train_timetable/info/station_time/info.rb +29 -0
- data/lib/tokyo_metro/factory/generate/api/train_timetable/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static.rb +3 -0
- data/lib/tokyo_metro/factory/generate/static/color.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/color/info.rb +111 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class.rb +3 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group/fundamental.rb +73 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group/fundamental/from_hash.rb +28 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group/fundamental/from_list.rb +26 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group/hash_in_hash.rb +21 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group/hash_in_hash/each_file.rb +20 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group/multiple_yamls.rb +56 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group/multiple_yamls/each_file.rb +15 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/info.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/info/fundamental.rb +66 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/info/normal.rb +33 -0
- data/lib/tokyo_metro/factory/generate/static/operation_day.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/operation_day/info.rb +13 -0
- data/lib/tokyo_metro/factory/generate/static/operation_day/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/operator.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/operator/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/operator/info.rb +53 -0
- data/lib/tokyo_metro/factory/generate/static/railway_direction.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/railway_direction/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/railway_direction/info.rb +9 -0
- data/lib/tokyo_metro/factory/generate/static/railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/railway_line/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/railway_line/info.rb +47 -0
- data/lib/tokyo_metro/factory/generate/static/station.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/station/in_each_railway_line.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/station/in_each_railway_line/info.rb +25 -0
- data/lib/tokyo_metro/factory/generate/static/station/railway_lines.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/stations_in_tokyo_metro.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/stations_in_tokyo_metro/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/stations_in_tokyo_metro/info.rb +13 -0
- data/lib/tokyo_metro/factory/generate/static/train_operation_status.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/train_operation_status/info.rb +13 -0
- data/lib/tokyo_metro/factory/generate/static/train_operation_status/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_owner.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/train_owner/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_owner/info.rb +34 -0
- data/lib/tokyo_metro/factory/generate/static/train_type.rb +3 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/color.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/color/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/color/info.rb +27 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom.rb +3 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/default_setting.rb +3 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/default_setting/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/default_setting/info.rb +80 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/main.rb +3 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/main/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/main/hash/each_file.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/main/info.rb +48 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/other_operator.rb +3 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/other_operator/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/other_operator/hash/each_file.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/other_operator/info.rb +93 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/in_api.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/in_api/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/in_api/info.rb +9 -0
- data/lib/tokyo_metro/factory/get.rb +2 -0
- data/lib/tokyo_metro/factory/get/api.rb +3 -0
- data/lib/tokyo_metro/factory/get/api/data_search.rb +10 -0
- data/lib/tokyo_metro/factory/get/api/data_search/fare.rb +64 -0
- data/lib/tokyo_metro/factory/get/api/data_search/passenger_survey.rb +43 -0
- data/lib/tokyo_metro/factory/get/api/data_search/point.rb +39 -0
- data/lib/tokyo_metro/factory/get/api/data_search/railway_line.rb +45 -0
- data/lib/tokyo_metro/factory/get/api/data_search/station.rb +48 -0
- data/lib/tokyo_metro/factory/get/api/data_search/station_facility.rb +50 -0
- data/lib/tokyo_metro/factory/get/api/data_search/station_timetable.rb +45 -0
- data/lib/tokyo_metro/factory/get/api/data_search/train_location.rb +67 -0
- data/lib/tokyo_metro/factory/get/api/data_search/train_operation.rb +47 -0
- data/lib/tokyo_metro/factory/get/api/data_search/train_timetable.rb +63 -0
- data/lib/tokyo_metro/factory/get/api/geo.rb +10 -0
- data/lib/tokyo_metro/factory/get/api/geo/mlit_railway_line.rb +4 -0
- data/lib/tokyo_metro/factory/get/api/geo/mlit_station.rb +4 -0
- data/lib/tokyo_metro/factory/get/api/geo/point.rb +4 -0
- data/lib/tokyo_metro/factory/get/api/geo/railway_line.rb +4 -0
- data/lib/tokyo_metro/factory/get/api/geo/station.rb +4 -0
- data/lib/tokyo_metro/factory/get/api/meta_class.rb +3 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/find.rb +19 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/fundamental.rb +123 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator.rb +2 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator/new_array.rb +2 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator/new_array/common.rb +24 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator/new_array/find.rb +53 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator/new_array/search.rb +13 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/search.rb +25 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/search/data_search.rb +29 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/search/geo.rb +48 -0
- data/lib/tokyo_metro/factory/save.rb +2 -0
- data/lib/tokyo_metro/factory/save/api.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/fare.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/fare/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/fare/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/fare/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/fare/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/meta_class.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/each_file.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/each_file/data_search.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/each_file/fundamental.rb +122 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group.rb +133 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info.rb +48 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info/alphabet.rb +17 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info/date.rb +37 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info/normal.rb +9 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info/station_timetable.rb +9 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info/train_timetable.rb +29 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group/list.rb +78 -0
- data/lib/tokyo_metro/factory/save/api/mlit_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/mlit_railway_line/each_file.rb +6 -0
- data/lib/tokyo_metro/factory/save/api/mlit_railway_line/group.rb +7 -0
- data/lib/tokyo_metro/factory/save/api/mlit_railway_line/group/file_info.rb +6 -0
- data/lib/tokyo_metro/factory/save/api/mlit_railway_line/group/list.rb +6 -0
- data/lib/tokyo_metro/factory/save/api/mlit_station.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/mlit_station/each_file.rb +6 -0
- data/lib/tokyo_metro/factory/save/api/mlit_station/group.rb +7 -0
- data/lib/tokyo_metro/factory/save/api/mlit_station/group/file_info.rb +6 -0
- data/lib/tokyo_metro/factory/save/api/mlit_station/group/list.rb +6 -0
- data/lib/tokyo_metro/factory/save/api/passenger_survey.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/passenger_survey/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/passenger_survey/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/passenger_survey/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/passenger_survey/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/point.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/point/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/point/group.rb +55 -0
- data/lib/tokyo_metro/factory/save/api/point/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/point/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/railway_line/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/railway_line/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/railway_line/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/railway_line/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/real_time_infos.rb +36 -0
- data/lib/tokyo_metro/factory/save/api/station.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/station/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/station/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/station_facility/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station_facility/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/station_facility/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station_facility/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/station_timetable/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station_timetable/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/station_timetable/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station_timetable/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_location.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/train_location/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_location/group.rb +18 -0
- data/lib/tokyo_metro/factory/save/api/train_location/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_location/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_operation.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/train_operation/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_operation/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/train_operation/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_operation/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/train_timetable/each_file.rb +5 -0
- data/lib/tokyo_metro/factory/save/api/train_timetable/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/train_timetable/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_timetable/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/scss.rb +2 -0
- data/lib/tokyo_metro/factory/scss/train_type.rb +125 -0
- data/lib/tokyo_metro/factory/seed.rb +368 -0
- data/lib/tokyo_metro/factory/seed/api.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/fare.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/fare/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/fare/info.rb +36 -0
- data/lib/tokyo_metro/factory/seed/api/fare/list.rb +7 -0
- data/lib/tokyo_metro/factory/seed/api/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/meta_class/info.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/meta_class/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/passenger_survey.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/passenger_survey/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/passenger_survey/info.rb +18 -0
- data/lib/tokyo_metro/factory/seed/api/passenger_survey/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/point.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/point/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/point/info.rb +86 -0
- data/lib/tokyo_metro/factory/seed/api/point/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/meta_class/common.rb +12 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/meta_class/info.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/meta_class/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/travel_time.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/travel_time/info.rb +20 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/travel_time/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/women_only_car.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/women_only_car/info.rb +37 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/women_only_car/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/list/travel_time.rb +11 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/list/women_only_car.rb +11 -0
- data/lib/tokyo_metro/factory/seed/api/station.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station/info.rb +39 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/common.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/common/info.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/common/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/common/optional_variables.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/connecting_railway_line/info.rb +19 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/connecting_railway_line/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/exit.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/exit/info.rb +18 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/exit/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/link_to_passenger_survey.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/link_to_passenger_survey/info.rb +18 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/link_to_passenger_survey/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/list.rb +12 -0
- data/lib/tokyo_metro/factory/seed/api/station/list/common.rb +15 -0
- data/lib/tokyo_metro/factory/seed/api/station/list/connecting_railway_line.rb +9 -0
- data/lib/tokyo_metro/factory/seed/api/station/list/exit.rb +9 -0
- data/lib/tokyo_metro/factory/seed/api/station/list/link_to_passenger_survey.rb +9 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info.rb +16 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/escalator.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/escalator/info.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/escalator/service_detail.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/escalator/service_detail/direction.rb +31 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/escalator/service_detail/info.rb +13 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/toilet.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/toilet/assistant.rb +31 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/toilet/info.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/info.rb +79 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/service_detail.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/service_detail/common.rb +17 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/service_detail/info.rb +47 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/service_detail/list.rb +5 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/common.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/common/info.rb +20 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/common/list.rb +16 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info.rb +29 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/barrier_free/info.rb +18 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/barrier_free/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/common.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/common/info.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/common/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/common/set_optional_variables.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/surrounding_area.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/surrounding_area/info.rb +18 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/surrounding_area/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/transfer.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/transfer/info.rb +30 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/transfer/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/list.rb +5 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/list/barrier_free.rb +9 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/list/common.rb +11 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/list/platform.rb +9 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info.rb +29 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/info.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/info/separated.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/info/separated/info.rb +29 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/info/separated/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/train_time/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/train_time/info.rb +175 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/train_time/info/update_train_timetable.rb +81 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/train_time/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/list.rb +4 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/list/train_times.rb +20 -0
- data/lib/tokyo_metro/factory/seed/api/station_train_time.rb +169 -0
- data/lib/tokyo_metro/factory/seed/api/station_train_time/checker.rb +188 -0
- data/lib/tokyo_metro/factory/seed/api/station_train_time/train_in_station_timetable.rb +105 -0
- data/lib/tokyo_metro/factory/seed/api/station_train_time/train_in_station_timetable/station_timetable_info.rb +65 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info.rb +102 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/arrival_times.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/arrival_times/common.rb +49 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/arrival_times/last_station_in_tokyo_metro.rb +69 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/arrival_times/romance_car.rb +105 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/following.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/following/info.rb +16 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/following/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/meta_class/info.rb +31 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/meta_class/list.rb +8 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/meta_class/optional_infos.rb +12 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/previous.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/previous/info.rb +16 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/previous/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/list/arrival_times.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/list/arrival_times/last_station_in_tokyo_metro.rb +11 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/list/arrival_times/romance_car.rb +11 -0
- data/lib/tokyo_metro/factory/seed/common.rb +2 -0
- data/lib/tokyo_metro/factory/seed/common/group.rb +106 -0
- data/lib/tokyo_metro/factory/seed/common/hash.rb +29 -0
- data/lib/tokyo_metro/factory/seed/common/info.rb +46 -0
- data/lib/tokyo_metro/factory/seed/common/interruption.rb +39 -0
- data/lib/tokyo_metro/factory/seed/common/list.rb +48 -0
- data/lib/tokyo_metro/factory/seed/common/polymorphic.rb +2 -0
- data/lib/tokyo_metro/factory/seed/common/polymorphic/twitter_account.rb +20 -0
- data/lib/tokyo_metro/factory/seed/common/set_optional_variables.rb +17 -0
- data/lib/tokyo_metro/factory/seed/reference.rb +2 -0
- data/lib/tokyo_metro/factory/seed/reference/barrier_free_facility.rb +2 -0
- data/lib/tokyo_metro/factory/seed/reference/barrier_free_facility/info.rb +13 -0
- data/lib/tokyo_metro/factory/seed/reference/barrier_free_facility/service_detail_pattern.rb +22 -0
- data/lib/tokyo_metro/factory/seed/reference/dc_date.rb +9 -0
- data/lib/tokyo_metro/factory/seed/reference/dictionary.rb +2 -0
- data/lib/tokyo_metro/factory/seed/reference/dictionary/train_type.rb +25 -0
- data/lib/tokyo_metro/factory/seed/reference/from_and_to_station.rb +29 -0
- data/lib/tokyo_metro/factory/seed/reference/normal_fare_group.rb +25 -0
- data/lib/tokyo_metro/factory/seed/reference/operation_day.rb +13 -0
- data/lib/tokyo_metro/factory/seed/reference/operator.rb +19 -0
- data/lib/tokyo_metro/factory/seed/reference/passenger_survey.rb +19 -0
- data/lib/tokyo_metro/factory/seed/reference/point.rb +26 -0
- data/lib/tokyo_metro/factory/seed/reference/railway_direction.rb +22 -0
- data/lib/tokyo_metro/factory/seed/reference/railway_line.rb +19 -0
- data/lib/tokyo_metro/factory/seed/reference/station.rb +20 -0
- data/lib/tokyo_metro/factory/seed/reference/station_facility.rb +19 -0
- data/lib/tokyo_metro/factory/seed/reference/surrounding_area.rb +13 -0
- data/lib/tokyo_metro/factory/seed/reference/train_name.rb +26 -0
- data/lib/tokyo_metro/factory/seed/reference/train_owner.rb +19 -0
- data/lib/tokyo_metro/factory/seed/reference/train_type.rb +23 -0
- data/lib/tokyo_metro/factory/seed/reference/train_type_in_api.rb +19 -0
- data/lib/tokyo_metro/factory/seed/static.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/fare.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/fare/normal.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/fare/normal/table.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/fare/normal/table/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/static/fare/normal/table/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/static/fare/normal/table/pattern.rb +25 -0
- data/lib/tokyo_metro/factory/seed/static/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/meta_class/hash.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/meta_class/info.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/meta_class/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/operation_day.rb +21 -0
- data/lib/tokyo_metro/factory/seed/static/operation_day/info.rb +11 -0
- data/lib/tokyo_metro/factory/seed/static/operation_day/list.rb +5 -0
- data/lib/tokyo_metro/factory/seed/static/operator.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/operator/hash.rb +19 -0
- data/lib/tokyo_metro/factory/seed/static/operator/info.rb +33 -0
- data/lib/tokyo_metro/factory/seed/static/railway_direction.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/railway_direction/hash.rb +5 -0
- data/lib/tokyo_metro/factory/seed/static/railway_direction/info.rb +44 -0
- data/lib/tokyo_metro/factory/seed/static/railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/railway_line/hash.rb +16 -0
- data/lib/tokyo_metro/factory/seed/static/railway_line/info.rb +87 -0
- data/lib/tokyo_metro/factory/seed/static/station.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/station/in_each_railway_line.rb +27 -0
- data/lib/tokyo_metro/factory/seed/static/station/info.rb +180 -0
- data/lib/tokyo_metro/factory/seed/static/station/optional_variables.rb +10 -0
- data/lib/tokyo_metro/factory/seed/static/station/railway_lines.rb +30 -0
- data/lib/tokyo_metro/factory/seed/static/train_operation_status.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/train_operation_status/info.rb +11 -0
- data/lib/tokyo_metro/factory/seed/static/train_operation_status/list.rb +5 -0
- data/lib/tokyo_metro/factory/seed/static/train_owner.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/train_owner/hash.rb +3 -0
- data/lib/tokyo_metro/factory/seed/static/train_owner/info.rb +23 -0
- data/lib/tokyo_metro/factory/seed/static/train_type.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/train_type/custom.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/train_type/custom/main.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/train_type/custom/main/hash.rb +17 -0
- data/lib/tokyo_metro/factory/seed/static/train_type/custom/main/info.rb +36 -0
- data/lib/tokyo_metro/factory/seed/static/train_type/in_api.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/train_type/in_api/hash.rb +5 -0
- data/lib/tokyo_metro/factory/seed/static/train_type/in_api/info.rb +21 -0
- data/lib/tokyo_metro/factory/yaml_station_list.rb +83 -0
- data/lib/tokyo_metro/factory/yaml_station_list/each_station.rb +117 -0
- data/lib/tokyo_metro/initializer.rb +2 -0
- data/lib/tokyo_metro/initializer/modules.rb +126 -0
- data/lib/tokyo_metro/initializer/rails.rb +38 -0
- data/lib/tokyo_metro/modules.rb +2 -0
- data/lib/tokyo_metro/modules/api.rb +3 -0
- data/lib/tokyo_metro/modules/api/common.rb +3 -0
- data/lib/tokyo_metro/modules/api/common/db_dirname.rb +21 -0
- data/lib/tokyo_metro/modules/api/common/not_real_time.rb +18 -0
- data/lib/tokyo_metro/modules/api/common/real_time.rb +22 -0
- data/lib/tokyo_metro/modules/api/info.rb +3 -0
- data/lib/tokyo_metro/modules/api/info/decision.rb +2 -0
- data/lib/tokyo_metro/modules/api/info/decision/actual_starting_station.rb +17 -0
- data/lib/tokyo_metro/modules/api/info/decision/actual_terminal_station.rb +18 -0
- data/lib/tokyo_metro/modules/api/info/decision/arrival_station.rb +15 -0
- data/lib/tokyo_metro/modules/api/info/decision/current_station.rb +12 -0
- data/lib/tokyo_metro/modules/api/info/decision/operated_section.rb +55 -0
- data/lib/tokyo_metro/modules/api/info/decision/railway_line.rb +14 -0
- data/lib/tokyo_metro/modules/api/info/decision/starting_station.rb +14 -0
- data/lib/tokyo_metro/modules/api/info/decision/terminal_station.rb +21 -0
- data/lib/tokyo_metro/modules/api/info/decision/train_direction.rb +24 -0
- data/lib/tokyo_metro/modules/api/info/decision/train_operation_day.rb +21 -0
- data/lib/tokyo_metro/modules/api/info/decision/train_type.rb +19 -0
- data/lib/tokyo_metro/modules/api/info/seed_completed.rb +22 -0
- data/lib/tokyo_metro/modules/api/info/set_data_to_hash.rb +19 -0
- data/lib/tokyo_metro/modules/api/info/to_json.rb +11 -0
- data/lib/tokyo_metro/modules/api/info/to_string_general.rb +14 -0
- data/lib/tokyo_metro/modules/api/info/to_string_with_array.rb +36 -0
- data/lib/tokyo_metro/modules/api/info/validity.rb +19 -0
- data/lib/tokyo_metro/modules/api/list.rb +5 -0
- data/lib/tokyo_metro/modules/api/list/selection.rb +2 -0
- data/lib/tokyo_metro/modules/api/list/selection/railway_lines.rb +65 -0
- data/lib/tokyo_metro/modules/api/to_factory.rb +3 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line.rb +12 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line/ayase.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line/ayase/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line/ayase/generate/list.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line/kita_ayase.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line/kita_ayase/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/railway_line.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/railway_line/chiyoda_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/railway_line/chiyoda_branch_line/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/railway_line/chiyoda_branch_line/generate/list.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/chiyoda_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/chiyoda_branch_line/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/chiyoda_branch_line/generate/list.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line.rb +29 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/factory.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/factory/seed.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/factory/seed/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/factory/seed/info/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/factory/seed/info/connecting_railway_line/info.rb +72 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/info/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/info/connecting_railway_line/info.rb +86 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/station_code_of_nakano_sakaue_on_marunouchi_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/station_code_of_nakano_sakaue_on_marunouchi_branch_line/info.rb +12 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/chiyoda_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/chiyoda_branch_line/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/marunouchi_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/marunouchi_branch_line/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/platfrom_transfer_info_at_nakano_sakaue.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/platfrom_transfer_info_at_nakano_sakaue/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/railway_line_name_in_platform_transfer_info.rb +13 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/railway_line_name_in_platform_transfer_info/info.rb +13 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/additional_infos.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/additional_infos/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/additional_infos/generate/list.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/chiyoda_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/chiyoda_branch_line/info.rb +11 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/marunouchi_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/marunouchi_branch_line/info.rb +11 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/terminal_station.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/terminal_station/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/terminal_station/info/train_time.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/terminal_station/info/train_time/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/chiyoda_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/chiyoda_branch_line/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/marunouchi_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/marunouchi_branch_line/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/romance_car.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/romance_car/info.rb +10 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/starting_station.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/starting_station/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/terminal_station.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/terminal_station/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/toei_mita_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/toei_mita_line/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/chiyoda_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/chiyoda_branch_line/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/marunouchi_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/marunouchi_branch_line/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/romance_car.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/romance_car/info.rb +10 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/starting_station.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/starting_station/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/terminal_station.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/terminal_station/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/toei_mita_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/toei_mita_line/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line.rb +39 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/dictionary.rb +27 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/info.rb +75 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/info/station_time.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/info/station_time/info.rb +79 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/info/station_time/list.rb +50 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch.rb +3 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station/connecting_railway_line.rb +14 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station/connecting_railway_line/info.rb +13 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/barrier_free_facility_located_area_at_nakano_shimbashi.rb +16 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/barrier_free_facility_located_area_at_nakano_shimbashi/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/barrier_free_facility_located_area_at_nakano_shimbashi/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/barrier_free_facility_located_area_at_nakano_shimbashi/info/barrier_free/info.rb +12 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/barrier_free_facility_located_area_at_nakano_shimbashi/info/platform.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/barrier_free_facility_located_area_at_nakano_shimbashi/info/platform/info.rb +12 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi.rb +11 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi/generate/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility/escalator.rb +13 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day.rb +11 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day/generate/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day/generate/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day/generate/info/barrier_free/facility.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day/generate/info/barrier_free/facility/escalator.rb +11 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/platfrom_transfer_info_at_kudanshita.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/platfrom_transfer_info_at_kudanshita/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area.rb +11 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area/generate/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area/generate/info/platform.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area/generate/info/platform/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area/generate/info/platform/info/surrounding_area.rb +14 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/fukutoshin_line_for_wakoshi.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/fukutoshin_line_for_wakoshi/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/marunouchi_branch_line_for_nakano_sakaue.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/marunouchi_branch_line_for_nakano_sakaue/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/musashi_kosugi_in_namboku_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/musashi_kosugi_in_namboku_line/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/nakano_sakaue_on_marunouchi_branch_line.rb +14 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/nakano_sakaue_on_marunouchi_branch_line/info.rb +11 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/origin.rb +14 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/origin/info.rb +5 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/origin/info/train_time.rb +5 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/origin/info/train_time/info.rb +13 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_location.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_location/chiyoda_main_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_location/chiyoda_main_line/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_location/musashi_kosugi_in_namboku_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_location/musashi_kosugi_in_namboku_line/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable/musashi_kosugi_in_namboku_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable/musashi_kosugi_in_namboku_line/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable/yurakucho_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable/yurakucho_line/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable/yurakucho_line/generate/list.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/generate/group.rb +3 -0
- data/lib/tokyo_metro/modules/api/to_factory/generate/group/date.rb +51 -0
- data/lib/tokyo_metro/modules/api/to_factory/generate/group/normal.rb +51 -0
- data/lib/tokyo_metro/modules/api/to_factory/generate/group/train_location.rb +58 -0
- data/lib/tokyo_metro/modules/api/to_factory/get.rb +3 -0
- data/lib/tokyo_metro/modules/api/to_factory/get/geo.rb +32 -0
- data/lib/tokyo_metro/modules/api/to_factory/save.rb +3 -0
- data/lib/tokyo_metro/modules/api/to_factory/save/group.rb +3 -0
- data/lib/tokyo_metro/modules/api/to_factory/save/group/normal.rb +21 -0
- data/lib/tokyo_metro/modules/api/to_factory/save/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/save/info/data_search.rb +28 -0
- data/lib/tokyo_metro/modules/common.rb +2 -0
- data/lib/tokyo_metro/modules/common/convert_constant_to_class_method.rb +35 -0
- data/lib/tokyo_metro/modules/common/dictionary.rb +2 -0
- data/lib/tokyo_metro/modules/common/dictionary/barrier_free_facility.rb +7 -0
- data/lib/tokyo_metro/modules/common/dictionary/operation_day.rb +30 -0
- data/lib/tokyo_metro/modules/common/dictionary/railway_line.rb +2 -0
- data/lib/tokyo_metro/modules/common/dictionary/railway_line/regexp_info.rb +74 -0
- data/lib/tokyo_metro/modules/common/dictionary/railway_line/string_info.rb +62 -0
- data/lib/tokyo_metro/modules/common/dictionary/railway_line/string_list.rb +105 -0
- data/lib/tokyo_metro/modules/common/dictionary/romance_car.rb +26 -0
- data/lib/tokyo_metro/modules/common/dictionary/station.rb +71 -0
- data/lib/tokyo_metro/modules/common/dictionary/station/regexp_info.rb +52 -0
- data/lib/tokyo_metro/modules/common/dictionary/station/string_info.rb +45 -0
- data/lib/tokyo_metro/modules/common/dictionary/station/string_list.rb +505 -0
- data/lib/tokyo_metro/modules/common/info.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/decision.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/decision/actual_starting_station.rb +97 -0
- data/lib/tokyo_metro/modules/common/info/decision/actual_terminal_station.rb +104 -0
- data/lib/tokyo_metro/modules/common/info/decision/arrival_station.rb +41 -0
- data/lib/tokyo_metro/modules/common/info/decision/compare_base.rb +30 -0
- data/lib/tokyo_metro/modules/common/info/decision/current_station.rb +132 -0
- data/lib/tokyo_metro/modules/common/info/decision/operator.rb +19 -0
- data/lib/tokyo_metro/modules/common/info/decision/railway_line.rb +54 -0
- data/lib/tokyo_metro/modules/common/info/decision/romance_car.rb +28 -0
- data/lib/tokyo_metro/modules/common/info/decision/same_as.rb +7 -0
- data/lib/tokyo_metro/modules/common/info/decision/starting_station.rb +106 -0
- data/lib/tokyo_metro/modules/common/info/decision/terminal_station.rb +109 -0
- data/lib/tokyo_metro/modules/common/info/decision/toei_mita_line.rb +60 -0
- data/lib/tokyo_metro/modules/common/info/decision/train_operation_day.rb +40 -0
- data/lib/tokyo_metro/modules/common/info/decision/train_type.rb +112 -0
- data/lib/tokyo_metro/modules/common/info/new_and_old_railway_line.rb +45 -0
- data/lib/tokyo_metro/modules/common/info/new_and_old_railway_line/set_time.rb +23 -0
- data/lib/tokyo_metro/modules/common/info/operator.rb +11 -0
- data/lib/tokyo_metro/modules/common/info/railway_line.rb +21 -0
- data/lib/tokyo_metro/modules/common/info/railway_line/branch_line.rb +12 -0
- data/lib/tokyo_metro/modules/common/info/station.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station/connecting_railway_line.rb +31 -0
- data/lib/tokyo_metro/modules/common/info/station_facility.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free.rb +15 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/escalator.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/escalator/service_detail.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/escalator/service_detail/direction.rb +82 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/located_area.rb +11 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/accessibility.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/accessibility/alias_towards_availability.rb +7 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/accessibility/all.rb +10 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/availability.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/availability/alias_towards_accessibility.rb +7 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/availability/none.rb +11 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/method_missing.rb +30 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/toilet_assistant.rb +110 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/accessibility.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/accessibility/alias_towards_availability.rb +7 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/accessibility/all.rb +14 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/availability.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/availability/alias_towards_accessibility.rb +7 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/availability/escalator.rb +31 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/method_missing.rb +30 -0
- data/lib/tokyo_metro/modules/common/to_factory.rb +2 -0
- data/lib/tokyo_metro/modules/common/to_factory/generate.rb +2 -0
- data/lib/tokyo_metro/modules/common/to_factory/generate/info.rb +24 -0
- data/lib/tokyo_metro/modules/common/to_factory/seed.rb +2 -0
- data/lib/tokyo_metro/modules/common/to_factory/seed/group.rb +48 -0
- data/lib/tokyo_metro/modules/common/to_factory/seed/hash.rb +14 -0
- data/lib/tokyo_metro/modules/common/to_factory/seed/info.rb +22 -0
- data/lib/tokyo_metro/modules/common/to_factory/seed/list.rb +14 -0
- data/lib/tokyo_metro/modules/db.rb +2 -0
- data/lib/tokyo_metro/modules/db/decision.rb +2 -0
- data/lib/tokyo_metro/modules/db/decision/current_station.rb +9 -0
- data/lib/tokyo_metro/modules/db/decision/operator.rb +9 -0
- data/lib/tokyo_metro/modules/db/decision/railway_line.rb +13 -0
- data/lib/tokyo_metro/modules/db/decision/train_type.rb +19 -0
- data/lib/tokyo_metro/modules/db/model.rb +37 -0
- data/lib/tokyo_metro/modules/db/select.rb +2 -0
- data/lib/tokyo_metro/modules/db/select/operation_day.rb +28 -0
- data/lib/tokyo_metro/modules/static.rb +3 -0
- data/lib/tokyo_metro/modules/static/get_background_color_info.rb +3 -0
- data/lib/tokyo_metro/modules/static/get_background_color_info/base.rb +16 -0
- data/lib/tokyo_metro/modules/static/get_background_color_info/each_rgb_element.rb +22 -0
- data/lib/tokyo_metro/modules/static/get_color_info.rb +3 -0
- data/lib/tokyo_metro/modules/static/get_color_info/base.rb +16 -0
- data/lib/tokyo_metro/modules/static/get_color_info/each_rgb_element.rb +22 -0
- data/lib/tokyo_metro/modules/static/get_name.rb +73 -0
- data/lib/tokyo_metro/modules/static/hash.rb +3 -0
- data/lib/tokyo_metro/modules/static/hash/define_test.rb +28 -0
- data/lib/tokyo_metro/modules/static/hash/make_scss.rb +35 -0
- data/lib/tokyo_metro/modules/static/hash/process_haml.rb +28 -0
- data/lib/tokyo_metro/modules/static/to_factory.rb +3 -0
- data/lib/tokyo_metro/modules/static/to_factory/generate.rb +2 -0
- data/lib/tokyo_metro/modules/static/to_factory/generate/group.rb +2 -0
- data/lib/tokyo_metro/modules/static/to_factory/generate/group/multiple_yamls.rb +27 -0
- data/lib/tokyo_metro/modules/static/to_factory/generate/group/one_yaml.rb +27 -0
- data/lib/tokyo_metro/rake.rb +17 -0
- data/lib/tokyo_metro/rake/assets.rb +2 -0
- data/lib/tokyo_metro/rake/assets/image.rb +2 -0
- data/lib/tokyo_metro/rake/assets/image/svg_files.rb +19 -0
- data/lib/tokyo_metro/rake/assets/image/svg_files/each_file.rb +72 -0
- data/lib/tokyo_metro/rake/assets/sass.rb +2 -0
- data/lib/tokyo_metro/rake/assets/sass/make.rb +49 -0
- data/lib/tokyo_metro/rake/bug_fix.rb +2 -0
- data/lib/tokyo_metro/rake/bug_fix/barrier_free_facility.rb +2 -0
- data/lib/tokyo_metro/rake/bug_fix/barrier_free_facility/service_detail.rb +2 -0
- data/lib/tokyo_metro/rake/bug_fix/barrier_free_facility/service_detail/service_detail.rb +2 -0
- data/lib/tokyo_metro/rake/bug_fix/barrier_free_facility/service_detail/service_detail/pattern.rb +104 -0
- data/lib/tokyo_metro/rake/check_namespace.rb +2 -0
- data/lib/tokyo_metro/rake/check_namespace/rename_table.rb +17 -0
- data/lib/tokyo_metro/rake/check_namespace/rename_table/namespace.rb +92 -0
- data/lib/tokyo_metro/rake/check_namespace/rename_table/namespace/match_group.rb +22 -0
- data/lib/tokyo_metro/rake/check_namespace/rename_table/namespace/matched_row.rb +30 -0
- data/lib/tokyo_metro/rake/debug.rb +2 -0
- data/lib/tokyo_metro/rake/debug/station_facility.rb +88 -0
- data/lib/tokyo_metro/rake/log.rb +2 -0
- data/lib/tokyo_metro/rake/log/finder.rb +17 -0
- data/lib/tokyo_metro/rake/rails.rb +2 -0
- data/lib/tokyo_metro/rake/rails/deploy.rb +2 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku.rb +61 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/csv.rb +29 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command.rb +15 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command/export_from_sqlite.rb +34 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command/import_to_postgresql.rb +22 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command/import_to_sqlite.rb +29 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command/meta_class.rb +67 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command/meta_class/table.rb +19 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/file_info.rb +8 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/migration_file.rb +26 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/schema_file.rb +17 -0
- data/lib/tokyo_metro/rake/update.rb +2 -0
- data/lib/tokyo_metro/rake/update/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/rake/update/connecting_railway_line/nakano_sakaue.rb +111 -0
- data/lib/tokyo_metro/refinement.rb +2 -0
- data/lib/tokyo_metro/refinement/api.rb +2 -0
- data/lib/tokyo_metro/refinement/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info.rb +2 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info/fundamental.rb +2 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info/fundamental/info.rb +19 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info/fundamental/list.rb +25 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info/train.rb +2 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info/train/info.rb +2 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info/train/info/optional_info_id.rb +36 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info/train/info/terminal_stations_same_as.rb +15 -0
- data/lib/tokyo_metro/refinement/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/refinement/api/train_timetable/info.rb +2 -0
- data/lib/tokyo_metro/refinement/api/train_timetable/info/match.rb +18 -0
- data/lib/tokyo_metro/required.rb +16 -0
- data/lib/tokyo_metro/required/all.rb +82 -0
- data/lib/tokyo_metro/required/all/api.rb +48 -0
- data/lib/tokyo_metro/required/all/api/meta_class.rb +19 -0
- data/lib/tokyo_metro/required/all/api/point.rb +14 -0
- data/lib/tokyo_metro/required/all/api/railway_line.rb +2 -0
- data/lib/tokyo_metro/required/all/api/station.rb +2 -0
- data/lib/tokyo_metro/required/all/api/station_facility.rb +11 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info.rb +15 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/barrier_free.rb +12 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/barrier_free/facility.rb +7 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/barrier_free/facility/meta_class.rb +7 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/barrier_free/facility/meta_class/link_for_mobility_scooters_and_stairlift.rb +13 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/barrier_free/service_detail.rb +2 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/platform.rb +7 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/platform/info.rb +7 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/platform/info/common.rb +2 -0
- data/lib/tokyo_metro/required/all/api/station_timetable.rb +7 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info.rb +14 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time.rb +14 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info.rb +11 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note.rb +16 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note/shirokane_takanawa.rb +2 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note/starting_station.rb +13 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin.rb +15 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/kotake_mukaihara.rb +2 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type.rb +30 -0
- data/lib/tokyo_metro/required/all/api/station_train_time.rb +2 -0
- data/lib/tokyo_metro/required/all/api/train_location.rb +2 -0
- data/lib/tokyo_metro/required/all/api/train_operation.rb +2 -0
- data/lib/tokyo_metro/required/all/api/train_timetable.rb +7 -0
- data/lib/tokyo_metro/required/all/api/train_timetable/info.rb +11 -0
- data/lib/tokyo_metro/required/all/api/train_timetable/info/station_time.rb +11 -0
- data/lib/tokyo_metro/required/all/api/train_timetable/info/station_time/info.rb +11 -0
- data/lib/tokyo_metro/required/all/api/train_timetable/info/station_time/info/train_relation.rb +11 -0
- data/lib/tokyo_metro/required/all/api/train_timetable/info/station_time/info/train_relation/meta_class.rb +13 -0
- data/lib/tokyo_metro/required/all/app.rb +11 -0
- data/lib/tokyo_metro/required/all/app/renderer.rb +16 -0
- data/lib/tokyo_metro/required/all/app/renderer/concern.rb +10 -0
- data/lib/tokyo_metro/required/all/app/renderer/concerns/header.rb +11 -0
- data/lib/tokyo_metro/required/all/app/renderer/concerns/header/title.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/concerns/link.rb +10 -0
- data/lib/tokyo_metro/required/all/app/renderer/concerns/link/normal.rb +2 -0
- data/lib/tokyo_metro/required/all/app/renderer/concerns/link/to_railway_line_page.rb +11 -0
- data/lib/tokyo_metro/required/all/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line.rb +10 -0
- data/lib/tokyo_metro/required/all/app/renderer/document.rb +2 -0
- data/lib/tokyo_metro/required/all/app/renderer/passenger_survey.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/passenger_survey/side_menu.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/passenger_survey/table.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/passenger_survey/table/meta_class.rb +2 -0
- data/lib/tokyo_metro/required/all/app/renderer/side_menu.rb +10 -0
- data/lib/tokyo_metro/required/all/app/renderer/side_menu/link.rb +10 -0
- data/lib/tokyo_metro/required/all/app/renderer/side_menu/link/to_main_content.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/side_menu/now_developing.rb +2 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info.rb +19 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/between_meguro_and_shirokane_takanawa.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/between_wakoshi_and_hikawadai.rb +9 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/between_wakoshi_and_kotake_mukaihara.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/kotake_mukaihara.rb +9 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/meguro_and_shirokanedai.rb +10 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/meta_class.rb +9 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/meta_class/table_row.rb +10 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/meta_class/table_row/barrier_free_facility_infos.rb +8 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/multiple_railway_lines.rb +9 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/normal.rb +9 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/shirokane_takanawa.rb +9 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_link_list.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/travel_time_info.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/travel_time_info/meta_class.rb +9 -0
- data/lib/tokyo_metro/required/all/app/renderer/travel_time_info/railway_line.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/travel_time_info/railway_line/yurakucho_and_fukutoshin_line.rb +2 -0
- data/lib/tokyo_metro/required/all/app/renderer/twitter.rb +2 -0
- data/lib/tokyo_metro/required/all/class_name_library.rb +7 -0
- data/lib/tokyo_metro/required/all/class_name_library/api.rb +7 -0
- data/lib/tokyo_metro/required/all/class_name_library/api/station_train_time.rb +2 -0
- data/lib/tokyo_metro/required/all/document.rb +2 -0
- data/lib/tokyo_metro/required/all/factory.rb +26 -0
- data/lib/tokyo_metro/required/all/factory/before_decorate.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/before_seed.rb +6 -0
- data/lib/tokyo_metro/required/all/factory/before_seed/api.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/before_seed/api/meta_class.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/before_seed/api/meta_class/timetables.rb +10 -0
- data/lib/tokyo_metro/required/all/factory/common.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert.rb +16 -0
- data/lib/tokyo_metro/required/all/factory/convert/common.rb +13 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api.rb +17 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/meta_class.rb +10 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/meta_class/fundamental.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/meta_class/train_infos.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/meta_class/train_infos/meta_class.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/meta_class/train_infos/meta_class/station_name.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/station.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/station_infos.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize.rb +13 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api.rb +19 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api/fare.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api/railway_line.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api/station.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api/train_location.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/dictionary.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch.rb +14 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch/api.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch/api/train_timetable.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch/api/train_timetable/yurakucho_line.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch/api/train_timetable/yurakucho_line/refinement.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch/api/train_timetable/yurakucho_line/refinement/info.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch/api/train_timetable/yurakucho_line/refinement/info/station_time.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch/for_string.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/decorate.rb +10 -0
- data/lib/tokyo_metro/required/all/factory/decorate/api.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/decorate/api/meta_class.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/generate.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/meta_class.rb +10 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/meta_class/info.rb +10 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/meta_class/info/fundamental.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/meta_class/info/fundamental/validity_checker.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/meta_class/list.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/barrier_free.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/barrier_free/info.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/barrier_free/info/service_detail.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/platform.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/platform/info.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/platform/info/barrier_free_and_surrounding_area.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/list.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/generate/static.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/static/color.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/generate/static/meta_class.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/generate/static/meta_class/group.rb +9 -0
- data/lib/tokyo_metro/required/all/factory/generate/static/train_type.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/get.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/get/api.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/get/api/meta_class.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/get/api/meta_class/fundamental.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/get/api/meta_class/fundamental/generator.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/get/api/meta_class/fundamental/generator/new_array.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/save.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/save/api.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/save/api/meta_class.rb +16 -0
- data/lib/tokyo_metro/required/all/factory/scss.rb +16 -0
- data/lib/tokyo_metro/required/all/factory/seed.rb +12 -0
- data/lib/tokyo_metro/required/all/factory/seed/api.rb +13 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/meta_class.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station.rb +14 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/barrier_free.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/barrier_free/service_detail.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/common.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/platform.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/platform/info.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/platform/info/common.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/list.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_timetable.rb +15 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/train_timetable.rb +19 -0
- data/lib/tokyo_metro/required/all/factory/seed/common.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/reference.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/static.rb +12 -0
- data/lib/tokyo_metro/required/all/factory/seed/static/meta_class.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/seed/static/operator.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/seed/static/railway_line.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/seed/static/station.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/yaml_station_list.rb +2 -0
- data/lib/tokyo_metro/required/all/initializer.rb +2 -0
- data/lib/tokyo_metro/required/all/modules.rb +16 -0
- data/lib/tokyo_metro/required/all/modules/api.rb +2 -0
- data/lib/tokyo_metro/required/all/modules/common.rb +20 -0
- data/lib/tokyo_metro/required/all/others.rb +29 -0
- data/lib/tokyo_metro/required/all/rake.rb +7 -0
- data/lib/tokyo_metro/required/all/rake/rails.rb +7 -0
- data/lib/tokyo_metro/required/all/rake/rails/deploy.rb +7 -0
- data/lib/tokyo_metro/required/all/rake/rails/deploy/heroku.rb +7 -0
- data/lib/tokyo_metro/required/all/rake/rails/deploy/heroku/csv.rb +7 -0
- data/lib/tokyo_metro/required/all/rake/rails/deploy/heroku/csv/command.rb +7 -0
- data/lib/tokyo_metro/required/all/refinement.rb +7 -0
- data/lib/tokyo_metro/required/all/refinement/api.rb +7 -0
- data/lib/tokyo_metro/required/all/refinement/api/station_timetable.rb +14 -0
- data/lib/tokyo_metro/required/all/search.rb +2 -0
- data/lib/tokyo_metro/required/all/static.rb +14 -0
- data/lib/tokyo_metro/required/all/static/except_for_train_type.rb +34 -0
- data/lib/tokyo_metro/required/all/static/train_type.rb +26 -0
- data/lib/tokyo_metro/required/all/temp_lib.rb +2 -0
- data/lib/tokyo_metro/required/all/test.rb +2 -0
- data/lib/tokyo_metro/search.rb +3 -0
- data/lib/tokyo_metro/search/railway_line.rb +84 -0
- data/lib/tokyo_metro/static.rb +65 -0
- data/lib/tokyo_metro/static/color.rb +71 -0
- data/lib/tokyo_metro/static/fare.rb +21 -0
- data/lib/tokyo_metro/static/fare/normal.rb +70 -0
- data/lib/tokyo_metro/static/fare/normal/table.rb +84 -0
- data/lib/tokyo_metro/static/fare/normal/table/list.rb +46 -0
- data/lib/tokyo_metro/static/fare/normal/table/pattern.rb +177 -0
- data/lib/tokyo_metro/static/fundamental.rb +3 -0
- data/lib/tokyo_metro/static/fundamental/hash.rb +4 -0
- data/lib/tokyo_metro/static/fundamental/meta_class.rb +3 -0
- data/lib/tokyo_metro/static/fundamental/meta_class/using_multiple_yamls.rb +4 -0
- data/lib/tokyo_metro/static/fundamental/meta_class/using_one_yaml.rb +4 -0
- data/lib/tokyo_metro/static/operation_day.rb +28 -0
- data/lib/tokyo_metro/static/operation_day/info.rb +32 -0
- data/lib/tokyo_metro/static/operation_day/list.rb +15 -0
- data/lib/tokyo_metro/static/operator.rb +12 -0
- data/lib/tokyo_metro/static/operator/hash.rb +20 -0
- data/lib/tokyo_metro/static/operator/info.rb +646 -0
- data/lib/tokyo_metro/static/railway_direction.rb +12 -0
- data/lib/tokyo_metro/static/railway_direction/hash.rb +7 -0
- data/lib/tokyo_metro/static/railway_direction/info.rb +19 -0
- data/lib/tokyo_metro/static/railway_line.rb +16 -0
- data/lib/tokyo_metro/static/railway_line/hash.rb +32 -0
- data/lib/tokyo_metro/static/railway_line/info.rb +1755 -0
- data/lib/tokyo_metro/static/station.rb +12 -0
- data/lib/tokyo_metro/static/station/in_each_railway_line.rb +24 -0
- data/lib/tokyo_metro/static/station/in_each_railway_line/info.rb +128 -0
- data/lib/tokyo_metro/static/station/railway_lines.rb +64 -0
- data/lib/tokyo_metro/static/stations_in_tokyo_metro.rb +12 -0
- data/lib/tokyo_metro/static/stations_in_tokyo_metro/hash.rb +26 -0
- data/lib/tokyo_metro/static/stations_in_tokyo_metro/info.rb +302 -0
- data/lib/tokyo_metro/static/stopping_pattern.rb +5 -0
- data/lib/tokyo_metro/static/train_operation_status.rb +15 -0
- data/lib/tokyo_metro/static/train_operation_status/info.rb +15 -0
- data/lib/tokyo_metro/static/train_operation_status/list.rb +6 -0
- data/lib/tokyo_metro/static/train_owner.rb +12 -0
- data/lib/tokyo_metro/static/train_owner/hash.rb +7 -0
- data/lib/tokyo_metro/static/train_owner/info.rb +374 -0
- data/lib/tokyo_metro/static/train_type.rb +27 -0
- data/lib/tokyo_metro/static/train_type/color.rb +4 -0
- data/lib/tokyo_metro/static/train_type/color/hash.rb +3 -0
- data/lib/tokyo_metro/static/train_type/color/info.rb +87 -0
- data/lib/tokyo_metro/static/train_type/custom.rb +3 -0
- data/lib/tokyo_metro/static/train_type/custom/default_setting.rb +4 -0
- data/lib/tokyo_metro/static/train_type/custom/default_setting/hash.rb +4 -0
- data/lib/tokyo_metro/static/train_type/custom/default_setting/info.rb +65 -0
- data/lib/tokyo_metro/static/train_type/custom/main.rb +4 -0
- data/lib/tokyo_metro/static/train_type/custom/main/hash.rb +7 -0
- data/lib/tokyo_metro/static/train_type/custom/main/info.rb +55 -0
- data/lib/tokyo_metro/static/train_type/custom/other_operator.rb +4 -0
- data/lib/tokyo_metro/static/train_type/custom/other_operator/hash.rb +4 -0
- data/lib/tokyo_metro/static/train_type/custom/other_operator/info.rb +259 -0
- data/lib/tokyo_metro/static/train_type/in_api.rb +4 -0
- data/lib/tokyo_metro/static/train_type/in_api/hash.rb +7 -0
- data/lib/tokyo_metro/static/train_type/in_api/info.rb +220 -0
- data/lib/tokyo_metro/temp_lib.rb +2 -0
- data/lib/tokyo_metro/temp_lib/railway_line_array_module.rb +60 -0
- data/lib/tokyo_metro/test.rb +2 -0
- data/lib/tokyo_metro/test/api.rb +2 -0
- data/lib/tokyo_metro/test/api/train_timetable.rb +62 -0
- data/lib/tokyo_metro/test/api/train_timetable/train_info.rb +83 -0
- data/lib/tokyo_metro/version.rb +3 -0
- data/rake/count_rows.rb +47 -0
- data/rake/get_and_save_datas_from_api.rake +74 -0
- data/rake/list_up.rake +29 -0
- data/rake/load.rake +15 -0
- data/rake/loop.rb +10 -0
- data/rake/make.rake +71 -0
- data/rake/output.rake +12 -0
- data/rake/process.rake +56 -0
- data/rake/rename_table.rb +23 -0
- data/rake/test/check.rake +37 -0
- data/rake/test/define.rake +58 -0
- data/rake/test/get.rake +140 -0
- data/rake/test/save.rake +21 -0
- data/tokyo_metro.gemspec +51 -0
- metadata +2163 -0
@@ -0,0 +1,58 @@
|
|
1
|
+
# 保存済みの列車ロケーション情報を処理するメソッドを提供するモジュール
|
2
|
+
module TokyoMetro::Modules::Api::ToFactory::Generate::Group::TrainLocation
|
3
|
+
|
4
|
+
extend ::ActiveSupport::Concern
|
5
|
+
|
6
|
+
module ClassMethods
|
7
|
+
|
8
|
+
# @!group 保存済みの情報を処理するメソッド
|
9
|
+
|
10
|
+
# 保存済みの情報からインスタンスの配列を復元するメソッド
|
11
|
+
# @param railway_line [String] 列車ロケーション情報の路線名
|
12
|
+
# @param y [Integer] 情報が保存された年
|
13
|
+
# @param m [Integer] 情報が保存された月
|
14
|
+
# @param d [Integer] 情報が保存された日
|
15
|
+
# @param file_type [String (filename)] ファイルの種類
|
16
|
+
# @param db_dirname_sub [String (dirname) or nil] データが格納されているサブディレクトリの名称
|
17
|
+
# @param max [Integer or nil] 配列の要素の最大値
|
18
|
+
# @note max を nil とした場合は無制限で、すべてのファイルを配列に格納する。
|
19
|
+
# @return [TokyoMetro::Api::TrainLocation::List]
|
20
|
+
def generate_from_saved_file( y , m , d , railway_line: nil , file_type: :json , db_dirname_sub: nil , max: nil )
|
21
|
+
factory_for_generating_from_saved_file.process( y , m , d , railway_line , file_type , db_dirname , db_dirname_sub , max )
|
22
|
+
end
|
23
|
+
|
24
|
+
# 保存済みの JSON ファイルからインスタンスの配列を復元するメソッド
|
25
|
+
# @param y [Integer] 情報が保存された年
|
26
|
+
# @param m [Integer] 情報が保存された月
|
27
|
+
# @param d [Integer] 情報が保存された日
|
28
|
+
# @param railway_line [String] 列車ロケーション情報の路線名
|
29
|
+
# @param db_dirname_sub [String (dirname) or nil] データが格納されているサブディレクトリの名称
|
30
|
+
# @param max [Integer or nil] 配列の要素の最大値
|
31
|
+
# @note max を nil とした場合は無制限で、すべてのファイルを配列に格納する。
|
32
|
+
# @return [TokyoMetro::Api::TrainLocation::List]
|
33
|
+
def generate_from_saved_json( y , m , d , railway_line: nil , db_dirname_sub: nil , max: nil )
|
34
|
+
generate_from_saved_file( y , m , d ,
|
35
|
+
railway_line: railway_line , db_dirname_sub: db_dirname_sub ,
|
36
|
+
file_type: :json , max: max )
|
37
|
+
end
|
38
|
+
|
39
|
+
# 保存済みの YAML ファイルからインスタンスの配列を復元するメソッド
|
40
|
+
# @param y [Integer] 情報が保存された年
|
41
|
+
# @param m [Integer] 情報が保存された月
|
42
|
+
# @param d [Integer] 情報が保存された日
|
43
|
+
# @param railway_line [String] 列車ロケーション情報の路線名
|
44
|
+
# @param db_dirname_sub [String (dirname) or nil] データが格納されているサブディレクトリの名称
|
45
|
+
# @param max [Integer or nil] 配列の要素の最大値
|
46
|
+
# @note max を nil とした場合は無制限で、すべてのファイルを配列に格納する。
|
47
|
+
# @return [TokyoMetro::Api::TrainLocation::List]
|
48
|
+
def generate_from_saved_yaml( y , m , d , railway_line: nil , db_dirname_sub: nil , max: nil )
|
49
|
+
generate_from_saved_file( y , m , d ,
|
50
|
+
railway_line: railway_line , db_dirname_sub: db_dirname_sub ,
|
51
|
+
file_type: :yaml , max: max )
|
52
|
+
end
|
53
|
+
|
54
|
+
# @!endgroup
|
55
|
+
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# API からデータを取得するメソッドを提供するモジュール
|
2
|
+
module TokyoMetro::Modules::Api::ToFactory::Get::Geo
|
3
|
+
|
4
|
+
extend ::ActiveSupport::Concern
|
5
|
+
|
6
|
+
module ClassMethods
|
7
|
+
|
8
|
+
# 地物情報検索 API からデータを取得するメソッド
|
9
|
+
# @param http_client [HTTPClient] HTTPClient のインスタンス【必須】
|
10
|
+
# @param long [Numeric] 検索範囲の中心点の経度(10進表記)【必須】
|
11
|
+
# @param lat [Numeric] 検索範囲の中心点の緯度(10進表記)【必須】
|
12
|
+
# @param radius [Numeric] 検索範囲の半径 (m)【必須】
|
13
|
+
# @param parse_json [Boolean] JSONを配列とするか否かの設定(false の場合は文字列とする)
|
14
|
+
# @param generate_instance [Boolean] データ取得後に Ruby のインスタンスを作成するか否かの設定
|
15
|
+
# @param to_inspect [Boolean] データ取得後にコマンドツールに内容を表示するか否かの設定
|
16
|
+
# @return [::Array <Hash>] parse_json が true の場合は、JSON を配列に変換して返す。
|
17
|
+
# @return [String] parse_json が false の場合は、JSON を文字列として返す。
|
18
|
+
def get_geo( http_client , long , lat , radius , parse_json: false , generate_instance: false , to_inspect: false )
|
19
|
+
factory_for_getting_geo.process( http_client , long , lat , radius ,
|
20
|
+
parse_json , generate_instance , to_inspect )
|
21
|
+
end
|
22
|
+
|
23
|
+
# 地物情報検索 API からデータを取得するための Factory Pattern クラス
|
24
|
+
# @return [Const (class)]
|
25
|
+
# @raise [RuntimeError] サブクラスで定義するため、このクラスでは例外が発生するようにしている。
|
26
|
+
def factory_for_getting_geo
|
27
|
+
"The class method \"#{__method__}\" is not defined yet in this class."
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# 一般の場合
|
2
|
+
module TokyoMetro::Modules::Api::ToFactory::Save::Group::Normal
|
3
|
+
|
4
|
+
extend ::ActiveSupport::Concern
|
5
|
+
|
6
|
+
module ClassMethods
|
7
|
+
|
8
|
+
# API からの情報を取得し、ディレクトリに分けて保存するメソッド
|
9
|
+
# @param http_client [HTTPClient] HTTPClient のインスタンス【必須】
|
10
|
+
# @param file_type [Symbol] 保存するファイルの種類【必須】
|
11
|
+
# @param generate_instance [Boolean] データ取得後に Ruby のインスタンスを作成するか否かの設定
|
12
|
+
# @param to_inspect [Boolean] データ取得後にコマンドツールに内容を表示するか否かの設定
|
13
|
+
# @return [nil]
|
14
|
+
# @note 作成するディレクトリの設定 [Symbol or nil] は Factory Pattern の各クラスで定義する。
|
15
|
+
def save_datas_of_each_group( http_client , file_type: :yaml , generate_instance: false , to_inspect: true )
|
16
|
+
factory_for_saving_datas_of_each_group.process( http_client , db_dirname , file_type , generate_instance , to_inspect )
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# API から取得したデータを保存するメソッドを提供するモジュール
|
2
|
+
module TokyoMetro::Modules::Api::ToFactory::Save::Info::DataSearch
|
3
|
+
|
4
|
+
extend ::ActiveSupport::Concern
|
5
|
+
|
6
|
+
module ClassMethods
|
7
|
+
|
8
|
+
private
|
9
|
+
|
10
|
+
# API からデータを取得し保存するメソッド
|
11
|
+
# @param data [Hash or ::Array] API から取得した JSON-LD のデータを Ruby のインスタンスに変換したもの
|
12
|
+
# @param file_type [Symbol] 保存するデータの形式
|
13
|
+
# @param db_dir [String (dirname) or Const (Class)] 「データベースのディレクトリを示す文字列」または「クラスを表す定数」
|
14
|
+
# @note db_dir を定義しない場合は、このモジュールが組み込まれたクラスのクラスメソッド db_dirname を呼び出す。また、クラスを表す定数が指定された場合は、指定されたクラスのクラスメソッド db_dirname が呼び出される。
|
15
|
+
# @return [nil]
|
16
|
+
# @note 保存されるディレクトリの名称は、それぞれのデータの種類に応じて自動的に決定する。
|
17
|
+
# @note 保存されるファイルの名称は、API からのデータ取得開始の日時をそのまま用いる。
|
18
|
+
def save_data( data , filename = Time.now.strftime( "%Y%m%d" ) ,
|
19
|
+
db_dir: db_dirname ,
|
20
|
+
dirname_sub: nil ,
|
21
|
+
file_type: :yaml
|
22
|
+
)
|
23
|
+
factory_for_saving_to_each_file.process( data , filename , db_dir , dirname_sub , file_type )
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# 定数をクラスメソッドのように扱う機能を提供するモジュール
|
2
|
+
# @note このモジュールを include したクラスやモジュールでは、定数をクラスメソッドのように呼び出すことができる。
|
3
|
+
# @note クラスメソッドのように呼び出したくない定数がある場合は、include されたクラスの内部でその定数の名称(シンボル)のリスト(配列)を private なクラスメソッド constants_not_converted_by_method_missing で指定する。
|
4
|
+
# @note {TokyoMetro} に対しては、このモジュールが定義されているファイルで include している。
|
5
|
+
module TokyoMetro::Modules::Common::ConvertConstantToClassMethod
|
6
|
+
|
7
|
+
extend ::ActiveSupport::Concern
|
8
|
+
|
9
|
+
module ClassMethods
|
10
|
+
|
11
|
+
def method_missing( method_name , *args )
|
12
|
+
if costants_converted_by_method_missing.include?( method_name.upcase )
|
13
|
+
return const_get( method_name.upcase )
|
14
|
+
else
|
15
|
+
super( method_name , *args )
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
private
|
20
|
+
|
21
|
+
def costants_converted_by_method_missing
|
22
|
+
constants( false ) - constants_not_converted_by_method_missing
|
23
|
+
end
|
24
|
+
|
25
|
+
def constants_not_converted_by_method_missing
|
26
|
+
[]
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
32
|
+
|
33
|
+
::TokyoMetro.module_eval do
|
34
|
+
include ::TokyoMetro::Modules::Common::ConvertConstantToClassMethod
|
35
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module TokyoMetro::Modules::Common::Dictionary::OperationDay
|
2
|
+
|
3
|
+
include ::TokyoMetro::Modules::Common::ConvertConstantToClassMethod
|
4
|
+
|
5
|
+
::YAML.load_file( "#{ ::TokyoMetro.dictionary_dir }/operation_day.yaml" ).each do | item |
|
6
|
+
const_name = item[ "name_en" ].gsub( /\,? / , "_" ).upcase.intern
|
7
|
+
const_set( const_name , item.with_indifferent_access )
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.constants_except_for_class_methods
|
11
|
+
( self.constants - [ :ClassMethods ] )
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.list
|
15
|
+
constants_except_for_class_methods.map { | const_name |
|
16
|
+
h = const_get( const_name )
|
17
|
+
[ h[ :name_ja ] , h[ :name_en ] ]
|
18
|
+
}
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.hash_list
|
22
|
+
h = ::Hash.new
|
23
|
+
constants_except_for_class_methods.each do | const_name |
|
24
|
+
h_const = const_get( const_name )
|
25
|
+
h[ h_const[ :name_en ] ] = h_const
|
26
|
+
end
|
27
|
+
h
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
# 路線名の正規表現を定数・モジュール関数として提供する名前空間
|
2
|
+
# @example
|
3
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.ginza_line => (?-mix:TokyoMetro\.Ginza)
|
4
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.marunouchi_line => (?-mix:TokyoMetro\.Marunouchi)
|
5
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.marunouchi_branch_line => (?-mix:TokyoMetro\.MarunouchiBranch)
|
6
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.hibiya_line => (?-mix:TokyoMetro\.Hibiya)
|
7
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.tozai_line => (?-mix:TokyoMetro\.Tozai)
|
8
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.chiyoda_line => (?-mix:TokyoMetro\.Chiyoda)
|
9
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.chiyoda_branch_line => (?-mix:TokyoMetro\.ChiyodaBranch)
|
10
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.yurakucho_line => (?-mix:TokyoMetro\.Yurakucho)
|
11
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.hanzomon_line => (?-mix:TokyoMetro\.Hanzomon)
|
12
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.namboku_line => (?-mix:TokyoMetro\.Namboku)
|
13
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.fukutoshin_line => (?-mix:TokyoMetro\.Fukutoshin)
|
14
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.marunouchi_line_including_branch => (?-mix:TokyoMetro\.Marunouchi(?:Branch)?\.)
|
15
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.tobu_main_line => (?-mix:Tobu\.(?:SkyTree|Isesaki|SkyTreeOshiage|Nikko))
|
16
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.tokyu_den_en_toshi_line => (?-mix:Tokyu\.DenEnToshi)
|
17
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.toyo_rapid_line => (?-mix:ToyoRapidRailway\.ToyoRapid)
|
18
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.odakyu_line => (?-mix:Odakyu\.(?:Odawara|Tama|Enoshima))
|
19
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.odakyu_tama_line => (?-mix:Odakyu\.Tama)
|
20
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.hakone_tozan_line => (?-mix:HakoneTozan\.Rail)
|
21
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.jr_joban_line => (?-mix:JR\-East\.Joban)
|
22
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.toei_mita_line => (?-mix:Toei\.Mita)
|
23
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.tokyu_meguro_line => (?-mix:Tokyu\.Meguro)
|
24
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.saitama_railway_line => (?-mix:SaitamaRailway\.SaitamaRailway)
|
25
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.seibu_ikebukuro_line => (?-mix:Seibu\.Ikebukuro)
|
26
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.seibu_line => (?-mix:Seibu\.(?:Ikebukuro|Sayama|Chichibu))
|
27
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.tobu_tojo_line => (?-mix:Tobu\.Tojo)
|
28
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.tokyu_toyoko_line => (?-mix:Tokyu\.Toyoko)
|
29
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo.minatomirai_line => (?-mix:YokohamaMinatomiraiRailway\.Minatomirai)
|
30
|
+
module TokyoMetro::Modules::Common::Dictionary::RailwayLine::RegexpInfo
|
31
|
+
|
32
|
+
include ::TokyoMetro::Modules::Common::ConvertConstantToClassMethod
|
33
|
+
|
34
|
+
# @!group 東京メトロ各線
|
35
|
+
|
36
|
+
::YAML.load_file( "#{ ::TokyoMetro.dictionary_dir }/railway_line/tokyo_metro_lines_in_system.yaml" ).each do | item |
|
37
|
+
const_set( eval( ":#{ item.underscore.upcase }_LINE" ) , /TokyoMetro\.#{ item }/ )
|
38
|
+
end
|
39
|
+
|
40
|
+
# @!group 丸ノ内線
|
41
|
+
|
42
|
+
MARUNOUCHI_LINE_INCLUDING_BRANCH = /TokyoMetro\.Marunouchi(?:Branch)?\./
|
43
|
+
|
44
|
+
# @!group 日比谷線・半蔵門線
|
45
|
+
|
46
|
+
TOBU_MAIN_LINE = /Tobu\.(?:SkyTree|Isesaki|SkyTreeOshiage|Nikko)/
|
47
|
+
TOKYU_DEN_EN_TOSHI_LINE = /Tokyu\.DenEnToshi/
|
48
|
+
|
49
|
+
# @!group 東西線
|
50
|
+
|
51
|
+
TOYO_RAPID_LINE = /ToyoRapidRailway\.ToyoRapid/
|
52
|
+
|
53
|
+
# @!group 千代田線
|
54
|
+
|
55
|
+
ODAKYU_LINE = /Odakyu\.(?:Odawara|Tama|Enoshima)/
|
56
|
+
ODAKYU_TAMA_LINE = /Odakyu\.Tama/
|
57
|
+
HAKONE_TOZAN_LINE = /HakoneTozan\.Rail/
|
58
|
+
JR_JOBAN_LINE = /JR\-East\.Joban/
|
59
|
+
|
60
|
+
# @!group 南北線
|
61
|
+
|
62
|
+
TOEI_MITA_LINE = /Toei\.Mita/
|
63
|
+
TOKYU_MEGURO_LINE = /Tokyu\.Meguro/
|
64
|
+
SAITAMA_RAILWAY_LINE = /SaitamaRailway\.SaitamaRailway/
|
65
|
+
|
66
|
+
# @!group 有楽町線・副都心線
|
67
|
+
|
68
|
+
SEIBU_IKEBUKURO_LINE = /Seibu\.Ikebukuro/
|
69
|
+
SEIBU_LINE = /Seibu\.(?:Ikebukuro|Sayama|Chichibu)/
|
70
|
+
TOBU_TOJO_LINE = /Tobu\.Tojo/
|
71
|
+
TOKYU_TOYOKO_LINE = /Tokyu\.Toyoko/
|
72
|
+
MINATOMIRAI_LINE = /YokohamaMinatomiraiRailway\.Minatomirai/
|
73
|
+
|
74
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# 路線名の名称を定数・モジュール関数として提供する名前空間
|
2
|
+
# @example
|
3
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.ginza_in_system => Ginza
|
4
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.marunouchi_in_system => Marunouchi
|
5
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.marunouchi_branch_in_system => MarunouchiBranch
|
6
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.hibiya_in_system => Hibiya
|
7
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.tozai_in_system => Tozai
|
8
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.chiyoda_in_system => Chiyoda
|
9
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.chiyoda_branch_in_system => ChiyodaBranch
|
10
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.yurakucho_in_system => Yurakucho
|
11
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.hanzomon_in_system => Hanzomon
|
12
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.namboku_in_system => Namboku
|
13
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.fukutoshin_in_system => Fukutoshin
|
14
|
+
#
|
15
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.ginza_same_as => odpt.Railway:TokyoMetro.Ginza
|
16
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.marunouchi_same_as => odpt.Railway:TokyoMetro.Marunouchi
|
17
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.marunouchi_branch_same_as => odpt.Railway:TokyoMetro.MarunouchiBranch
|
18
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.hibiya_same_as => odpt.Railway:TokyoMetro.Hibiya
|
19
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.tozai_same_as => odpt.Railway:TokyoMetro.Tozai
|
20
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.chiyoda_same_as => odpt.Railway:TokyoMetro.Chiyoda
|
21
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.chiyoda_branch_same_as => odpt.Railway:TokyoMetro.ChiyodaBranch
|
22
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.yurakucho_same_as => odpt.Railway:TokyoMetro.Yurakucho
|
23
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.hanzomon_same_as => odpt.Railway:TokyoMetro.Hanzomon
|
24
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.namboku_same_as => odpt.Railway:TokyoMetro.Namboku
|
25
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.fukutoshin_same_as => odpt.Railway:TokyoMetro.Fukutoshin
|
26
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.toei_mita_same_as => odpt.Railway:Toei.Mita
|
27
|
+
#
|
28
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.ginza => odpt.Railway:TokyoMetro.Ginza
|
29
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.marunouchi => odpt.Railway:TokyoMetro.Marunouchi
|
30
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.marunouchi_branch => odpt.Railway:TokyoMetro.MarunouchiBranch
|
31
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.hibiya => odpt.Railway:TokyoMetro.Hibiya
|
32
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.tozai => odpt.Railway:TokyoMetro.Tozai
|
33
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.chiyoda => odpt.Railway:TokyoMetro.Chiyoda
|
34
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.chiyoda_branch => odpt.Railway:TokyoMetro.ChiyodaBranch
|
35
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.yurakucho => odpt.Railway:TokyoMetro.Yurakucho
|
36
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.hanzomon => odpt.Railway:TokyoMetro.Hanzomon
|
37
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.namboku => odpt.Railway:TokyoMetro.Namboku
|
38
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.fukutoshin => odpt.Railway:TokyoMetro.Fukutoshin
|
39
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.toei_mita => odpt.Railway:Toei.Mita
|
40
|
+
module TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo
|
41
|
+
|
42
|
+
include ::TokyoMetro::Modules::Common::ConvertConstantToClassMethod
|
43
|
+
|
44
|
+
::YAML.load_file( "#{ ::TokyoMetro::dictionary_dir }/railway_line/tokyo_metro_lines_in_system.yaml" ).each do | item |
|
45
|
+
const_name_base = item.underscore.upcase
|
46
|
+
const_set( eval( ":#{ const_name_base }_IN_SYSTEM" ) , item )
|
47
|
+
const_set( eval( ":#{ const_name_base }_SAME_AS" ) , "odpt.Railway:TokyoMetro.#{ item }" )
|
48
|
+
const_set( eval( ":#{ const_name_base }" ) , "odpt.Railway:TokyoMetro.#{ item }" )
|
49
|
+
end
|
50
|
+
|
51
|
+
TOEI_MITA_SAME_AS = "odpt.Railway:Toei.Mita"
|
52
|
+
TOEI_MITA = TOEI_MITA_SAME_AS
|
53
|
+
|
54
|
+
def self.method_missing( method_name , *args )
|
55
|
+
if /_line\Z/ === method_name.to_s
|
56
|
+
send( method_name.to_s.gsub( /_line\Z/ , "" ).intern , *args )
|
57
|
+
else
|
58
|
+
super( method_name , *args )
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
end
|
@@ -0,0 +1,105 @@
|
|
1
|
+
# 路線名のリストを定数・モジュール関数として提供する名前空間
|
2
|
+
module TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringList
|
3
|
+
|
4
|
+
include ::TokyoMetro::Modules::Common::ConvertConstantToClassMethod
|
5
|
+
|
6
|
+
class << self
|
7
|
+
|
8
|
+
def railway_line_string_list_in_system( *ary )
|
9
|
+
ary.flatten.map { | method_name |
|
10
|
+
case method_name
|
11
|
+
when :marunouchi_including_branch , :chiyoda_including_branch , :yurakucho_or_fukutoshin , :yurakucho_and_fukutoshin , :namboku_or_toei_mita , :namboku_and_toei_mita
|
12
|
+
self.send( method_name )
|
13
|
+
else
|
14
|
+
::TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.send( method_name )
|
15
|
+
end
|
16
|
+
}
|
17
|
+
end
|
18
|
+
|
19
|
+
def railway_line_same_as( *ary )
|
20
|
+
ary.flatten.map { | railway_line | "odpt.Railway:TokyoMetro.#{railway_line}" }
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
|
25
|
+
# @!group 丸ノ内線、丸ノ内支線の名称
|
26
|
+
|
27
|
+
# @example
|
28
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringList.marunouchi_main_and_branch_line_in_system => [
|
29
|
+
# "Marunouchi",
|
30
|
+
# "MarunouchiBranch"
|
31
|
+
# ]
|
32
|
+
MARUNOUCHI_MAIN_AND_BRANCH_LINE_IN_SYSTEM = railway_line_string_list_in_system( :marunouchi_in_system , :marunouchi_branch_in_system )
|
33
|
+
|
34
|
+
# @example
|
35
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringList.marunouchi_main_and_branch_line_same_as => [
|
36
|
+
# "odpt.Railway:TokyoMetro.Marunouchi",
|
37
|
+
# "odpt.Railway:TokyoMetro.MarunouchiBranch"
|
38
|
+
# ]
|
39
|
+
MARUNOUCHI_MAIN_AND_BRANCH_LINE_SAME_AS = railway_line_same_as( MARUNOUCHI_MAIN_AND_BRANCH_LINE_IN_SYSTEM )
|
40
|
+
|
41
|
+
# @!group 千代田線(本線)、北綾瀬支線の名称
|
42
|
+
|
43
|
+
# @example
|
44
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringList.chiyoda_main_and_branch_line_in_system => [
|
45
|
+
# "Chiyoda",
|
46
|
+
# "ChiyodaBranch"
|
47
|
+
# ]
|
48
|
+
CHIYODA_MAIN_AND_BRANCH_LINE_IN_SYSTEM = railway_line_string_list_in_system( :chiyoda_in_system , :chiyoda_branch_in_system )
|
49
|
+
|
50
|
+
# @example
|
51
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringList.chiyoda_main_and_branch_line_same_as => [
|
52
|
+
# "odpt.Railway:TokyoMetro.Chiyoda",
|
53
|
+
# "odpt.Railway:TokyoMetro.ChiyodaBranch"
|
54
|
+
# ]
|
55
|
+
CHIYODA_MAIN_AND_BRANCH_LINE_SAME_AS = railway_line_same_as( CHIYODA_MAIN_AND_BRANCH_LINE_IN_SYSTEM )
|
56
|
+
|
57
|
+
# @!group 有楽町線、副都心線の名称
|
58
|
+
|
59
|
+
# @example
|
60
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringList.yurakucho_and_fukutoshin_line_in_system => [
|
61
|
+
# "Yurakucho",
|
62
|
+
# "Fukutoshin"
|
63
|
+
# ]
|
64
|
+
YURAKUCHO_AND_FUKUTOSHIN_LINE_IN_SYSTEM = railway_line_string_list_in_system( :yurakucho_in_system , :fukutoshin_in_system )
|
65
|
+
|
66
|
+
# @example
|
67
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringList.yurakucho_and_fukutoshin_line_same_as => [
|
68
|
+
# "odpt.Railway:TokyoMetro.Yurakucho",
|
69
|
+
# "odpt.Railway:TokyoMetro.Fukutoshin"
|
70
|
+
# ]
|
71
|
+
YURAKUCHO_AND_FUKUTOSHIN_LINE_SAME_AS = railway_line_same_as( YURAKUCHO_AND_FUKUTOSHIN_LINE_IN_SYSTEM )
|
72
|
+
|
73
|
+
# @!group 南北線、都営三田線の名称
|
74
|
+
|
75
|
+
# @example
|
76
|
+
# TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringList.namboku_and_toei_mita_line_same_as => [
|
77
|
+
# "odpt.Railway:TokyoMetro.Namboku",
|
78
|
+
# "odpt.Railway:Toei.Mita"
|
79
|
+
# ]
|
80
|
+
NAMBOKU_AND_TOEI_MITA_LINE_SAME_AS = [ "odpt.Railway:TokyoMetro.Namboku" , "odpt.Railway:Toei.Mita" ]
|
81
|
+
|
82
|
+
# @!endgroup
|
83
|
+
|
84
|
+
def self.marunouchi_including_branch
|
85
|
+
MARUNOUCHI_MAIN_AND_BRANCH_LINE_SAME_AS
|
86
|
+
end
|
87
|
+
|
88
|
+
def self.chiyoda_including_branch
|
89
|
+
CHIYODA_MAIN_AND_BRANCH_LINE_SAME_AS
|
90
|
+
end
|
91
|
+
|
92
|
+
def self.yurakucho_and_fukutoshin
|
93
|
+
YURAKUCHO_AND_FUKUTOSHIN_LINE_SAME_AS
|
94
|
+
end
|
95
|
+
|
96
|
+
def self.namboku_and_toei_mita
|
97
|
+
NAMBOKU_AND_TOEI_MITA_LINE_SAME_AS
|
98
|
+
end
|
99
|
+
|
100
|
+
class << self
|
101
|
+
alias :yurakucho_or_fukutoshin :yurakucho_and_fukutoshin
|
102
|
+
alias :namboku_or_toei_mita :namboku_and_toei_mita
|
103
|
+
end
|
104
|
+
|
105
|
+
end
|