geo_master_jp 0.1.28 → 0.1.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/generators/geo_master_jp/data/company20240328.csv.zip +0 -0
- data/lib/generators/geo_master_jp/data/join20240426.csv.zip +0 -0
- data/lib/generators/geo_master_jp/data/line20240426free.csv.zip +0 -0
- data/lib/generators/geo_master_jp/data/station20240426free.csv.zip +0 -0
- data/lib/generators/geo_master_jp/install_railway_data_generator.rb +6 -6
- data/lib/geo_master_jp/version.rb +1 -1
- metadata +7 -7
- data/lib/generators/geo_master_jp/data/company20180424.csv.zip +0 -0
- data/lib/generators/geo_master_jp/data/join20190405.csv.zip +0 -0
- data/lib/generators/geo_master_jp/data/line20190405free.csv.zip +0 -0
- data/lib/generators/geo_master_jp/data/station20190405free.csv.zip +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 792aee56124d3e9f0267333ba66bf7e5429ad6c281013efe1c2a3b23557cbd36
|
4
|
+
data.tar.gz: 4bcefa376a8fe95065214fb025ee4cd40bf33e81baedff8de8347cee88f16680
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f5af00e3bd7ed49ed3acb9669b03a7b19f5df9a2c16918b460e9d7296e15a32ad996a98be753400c01d83b17c6ac3db160fc25f590cb6ce8d94d24b1b2bfd8d
|
7
|
+
data.tar.gz: 7d6c998a40c969fba255c4ad086afca0799e959f91ee1f722ae53239ea71e69e2bb5f5aac66d01fef3c048916883ab5d72a4869921977a6f06d73c79d9763c2d
|
data/README.md
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -5,10 +5,10 @@ require 'yaml'
|
|
5
5
|
module GeoMasterJp
|
6
6
|
module Generators
|
7
7
|
class InstallRailwayDataGenerator < Rails::Generators::Base
|
8
|
-
RAILWAY_COMPANY_VERSION = '
|
9
|
-
LINE_VERSION = '
|
10
|
-
STATION_VERSION = '
|
11
|
-
STATION_CONNECTION_VERSION = '
|
8
|
+
RAILWAY_COMPANY_VERSION = '20240328'
|
9
|
+
LINE_VERSION = '20240426'
|
10
|
+
STATION_VERSION = '20240426'
|
11
|
+
STATION_CONNECTION_VERSION = '20240426'
|
12
12
|
|
13
13
|
source_root File.expand_path('templates', __dir__)
|
14
14
|
|
@@ -165,8 +165,8 @@ module GeoMasterJp
|
|
165
165
|
station.address = row[8].gsub('-', '')
|
166
166
|
station.longitude = row[9]
|
167
167
|
station.latitude = row[10]
|
168
|
-
station.open_date = Date.parse(row[11]) if row[11].present?
|
169
|
-
station.close_date = Date.parse(row[12]) if row[12].present?
|
168
|
+
station.open_date = Date.parse(row[11]) if row[11].present? && row[11] != '0000-00-00'
|
169
|
+
station.close_date = Date.parse(row[12]) if row[12].present? && row[12] != '0000-00-00'
|
170
170
|
station.sort_order = row[14].to_i
|
171
171
|
|
172
172
|
station
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geo_master_jp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ykogure
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -101,11 +101,11 @@ files:
|
|
101
101
|
- app/models/geo_master_jp/town.rb
|
102
102
|
- app/models/geo_master_jp/version.rb
|
103
103
|
- config/routes.rb
|
104
|
-
- lib/generators/geo_master_jp/data/
|
105
|
-
- lib/generators/geo_master_jp/data/
|
106
|
-
- lib/generators/geo_master_jp/data/
|
104
|
+
- lib/generators/geo_master_jp/data/company20240328.csv.zip
|
105
|
+
- lib/generators/geo_master_jp/data/join20240426.csv.zip
|
106
|
+
- lib/generators/geo_master_jp/data/line20240426free.csv.zip
|
107
107
|
- lib/generators/geo_master_jp/data/prefectures.yml
|
108
|
-
- lib/generators/geo_master_jp/data/
|
108
|
+
- lib/generators/geo_master_jp/data/station20240426free.csv.zip
|
109
109
|
- lib/generators/geo_master_jp/install_area_data_generator.rb
|
110
110
|
- lib/generators/geo_master_jp/install_generator.rb
|
111
111
|
- lib/generators/geo_master_jp/install_migration_generator.rb
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
|
-
rubygems_version: 3.
|
148
|
+
rubygems_version: 3.5.11
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Summary of GeoMasterJp.
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|