iarea 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +3 -7
- data/README.rdoc +1 -1
- data/db/iareadata/000013.sst +0 -0
- data/db/iareadata/000014.sst +0 -0
- data/db/iareadata/000015.sst +0 -0
- data/db/iareadata/000016.log +0 -0
- data/db/iareadata/000017.sst +0 -0
- data/db/iareadata/CURRENT +1 -0
- data/db/iareadata/LOCK +0 -0
- data/db/iareadata/LOG +27 -0
- data/db/iareadata/LOG.old +1 -0
- data/db/iareadata/MANIFEST-000004 +0 -0
- data/iarea.gemspec +1 -2
- data/lib/iarea/area.rb +8 -7
- data/lib/iarea/prefecture.rb +5 -6
- data/lib/iarea/version.rb +1 -1
- data/lib/iarea/zone.rb +6 -9
- data/lib/iarea.rb +3 -2
- data/lib/tasks/iarea.rake +2 -2
- data/tools/import_areas.rb +57 -81
- data/tools/import_meshes.rb +28 -37
- metadata +22 -24
- data/db/iareadata.sqlite3 +0 -0
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
iarea (0.
|
5
|
-
|
6
|
-
sqlite3-ruby
|
4
|
+
iarea (0.3.0)
|
5
|
+
leveldb-ruby
|
7
6
|
|
8
7
|
GEM
|
9
8
|
remote: http://rubygems.org/
|
10
9
|
specs:
|
11
10
|
diff-lcs (1.1.2)
|
11
|
+
leveldb-ruby (0.7)
|
12
12
|
rake (0.9.2)
|
13
13
|
rdoc (3.8)
|
14
14
|
rspec (2.6.0)
|
@@ -19,10 +19,6 @@ GEM
|
|
19
19
|
rspec-expectations (2.6.0)
|
20
20
|
diff-lcs (~> 1.1.2)
|
21
21
|
rspec-mocks (2.6.0)
|
22
|
-
sequel (3.25.0)
|
23
|
-
sqlite3 (1.3.3)
|
24
|
-
sqlite3-ruby (1.3.3)
|
25
|
-
sqlite3 (>= 1.3.3)
|
26
22
|
|
27
23
|
PLATFORMS
|
28
24
|
ruby
|
data/README.rdoc
CHANGED
@@ -31,4 +31,4 @@ on your Gemfile.
|
|
31
31
|
|
32
32
|
http://www.nttdocomo.co.jp/service/imode/make/content/iarea/domestic/index.html
|
33
33
|
|
34
|
-
db/iareadata
|
34
|
+
db/iareadata contains the data extracted from http://www.nttdocomo.co.jp/binary/archive/service/imode/make/content/iarea/domestic/iareadata.lzh and http://www.nttdocomo.co.jp/service/imode/make/content/iarea/domestic/map/js/iarea_def.js.
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
MANIFEST-000004
|
data/db/iareadata/LOCK
ADDED
File without changes
|
data/db/iareadata/LOG
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
2011/08/01-06:56:10.243731 7fff7e529960 Recovering log #3
|
2
|
+
2011/08/01-06:56:10.245217 7fff7e529960 Level-0 table #5: started
|
3
|
+
2011/08/01-06:56:10.247597 7fff7e529960 Level-0 table #5: 137776 bytes OK
|
4
|
+
2011/08/01-06:56:10.248902 7fff7e529960 Delete type=0 #3
|
5
|
+
2011/08/01-06:56:10.248995 7fff7e529960 Delete type=3 #2
|
6
|
+
2011/08/01-06:56:11.052004 1007f2000 Level-0 table #8: started
|
7
|
+
2011/08/01-06:56:11.087336 1007f2000 Level-0 table #8: 1540152 bytes OK
|
8
|
+
2011/08/01-06:56:11.093042 1007f2000 Delete type=0 #6
|
9
|
+
2011/08/01-06:56:11.913693 1007f2000 Level-0 table #10: started
|
10
|
+
2011/08/01-06:56:11.961970 1007f2000 Level-0 table #10: 1538749 bytes OK
|
11
|
+
2011/08/01-06:56:11.968064 1007f2000 Delete type=0 #7
|
12
|
+
2011/08/01-06:56:12.808704 1007f2000 Level-0 table #12: started
|
13
|
+
2011/08/01-06:56:12.841190 1007f2000 Level-0 table #12: 1532571 bytes OK
|
14
|
+
2011/08/01-06:56:12.850141 1007f2000 Delete type=0 #9
|
15
|
+
2011/08/01-06:56:12.850476 1007f2000 Compacting 4@0 + 0@1 files
|
16
|
+
2011/08/01-06:56:12.972097 1007f2000 Generated table #13: 109414 keys, 2116092 bytes
|
17
|
+
2011/08/01-06:56:13.060578 1007f2000 Generated table #14: 114250 keys, 2115011 bytes
|
18
|
+
2011/08/01-06:56:13.077859 1007f2000 Generated table #15: 26061 keys, 513678 bytes
|
19
|
+
2011/08/01-06:56:13.077922 1007f2000 Compacted 4@0 + 0@1 files => 4744781 bytes
|
20
|
+
2011/08/01-06:56:13.081068 1007f2000 Delete type=2 #5
|
21
|
+
2011/08/01-06:56:13.081286 1007f2000 Delete type=2 #8
|
22
|
+
2011/08/01-06:56:13.081596 1007f2000 Delete type=2 #10
|
23
|
+
2011/08/01-06:56:13.081880 1007f2000 Delete type=2 #12
|
24
|
+
2011/08/01-06:56:13.082217 1007f2000 compacted to: files[ 0 3 0 0 0 0 0 ]
|
25
|
+
2011/08/01-06:56:13.662966 1007f2000 Level-0 table #17: started
|
26
|
+
2011/08/01-06:56:13.700564 1007f2000 Level-0 table #17: 1535854 bytes OK
|
27
|
+
2011/08/01-06:56:13.705899 1007f2000 Delete type=0 #11
|
@@ -0,0 +1 @@
|
|
1
|
+
2011/08/01-06:56:08.209457 7fff7e529960 Delete type=3 #1
|
Binary file
|
data/iarea.gemspec
CHANGED
@@ -18,8 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
-
s.add_runtime_dependency '
|
22
|
-
s.add_runtime_dependency 'sqlite3-ruby'
|
21
|
+
s.add_runtime_dependency 'leveldb-ruby'
|
23
22
|
s.add_development_dependency 'rspec'
|
24
23
|
s.add_development_dependency 'rdoc'
|
25
24
|
s.add_development_dependency 'rake'
|
data/lib/iarea/area.rb
CHANGED
@@ -15,23 +15,24 @@ module Iarea
|
|
15
15
|
|
16
16
|
# Neighbor areas of the area
|
17
17
|
def neighbors
|
18
|
-
DB[:
|
19
|
-
Area.find neighbor[:neighbor_areacode]
|
20
|
-
end
|
18
|
+
JSON.parse(DB['n:'+self.areacode]).map{|areacode| Area.find areacode}
|
21
19
|
end
|
22
20
|
|
23
21
|
class << self
|
24
22
|
# Find area by <tt>areacode</tt>
|
25
23
|
def find(areacode)
|
26
|
-
@@areas[areacode] ||= new DB[:
|
24
|
+
@@areas[areacode] ||= new JSON.parse(DB['a:'+areacode])
|
27
25
|
end
|
28
26
|
|
29
27
|
# Find area by latitude and longitude in degrees
|
30
28
|
def find_by_lat_lng(lat, lng)
|
31
29
|
meshcodes = Utils.expand_meshcode(Utils.lat_lng_to_meshcode(lat, lng))
|
32
|
-
|
33
|
-
|
34
|
-
|
30
|
+
meshcodes.each do |meshcode|
|
31
|
+
if areacode = DB['m:'+meshcode]
|
32
|
+
return find(areacode)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
return nil
|
35
36
|
end
|
36
37
|
end
|
37
38
|
end
|
data/lib/iarea/prefecture.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Iarea
|
2
2
|
# Prefecture
|
3
3
|
class Prefecture < OpenStruct
|
4
|
-
@@prefectures =
|
4
|
+
@@prefectures = {}
|
5
5
|
|
6
6
|
# Zone of the prefecture
|
7
7
|
def zone
|
@@ -10,20 +10,19 @@ module Iarea
|
|
10
10
|
|
11
11
|
# Areas in the prefecture
|
12
12
|
def areas
|
13
|
-
|
14
|
-
Area.find(area[:areacode])
|
15
|
-
end
|
13
|
+
self.areacodes.map{|areacode| Area.find areacode}
|
16
14
|
end
|
17
15
|
|
18
16
|
class << self
|
19
17
|
# Find a prefecture by <tt>id</tt>
|
20
18
|
def find(id)
|
21
|
-
|
19
|
+
id = id.to_s
|
20
|
+
@@prefectures[id] ||= new JSON.parse(DB['p:'+id])
|
22
21
|
end
|
23
22
|
|
24
23
|
# All prefectures
|
25
24
|
def all
|
26
|
-
DB[
|
25
|
+
JSON.parse(DB['p']).map{ |id| find(id) }
|
27
26
|
end
|
28
27
|
end
|
29
28
|
end
|
data/lib/iarea/version.rb
CHANGED
data/lib/iarea/zone.rb
CHANGED
@@ -1,30 +1,27 @@
|
|
1
1
|
module Iarea
|
2
2
|
class Zone < OpenStruct
|
3
|
-
@@zones =
|
3
|
+
@@zones = {}
|
4
4
|
|
5
5
|
# Prefectures in the zone
|
6
6
|
def prefectures
|
7
|
-
|
8
|
-
Prefecture.find(prefecture[:id])
|
9
|
-
end
|
7
|
+
self.prefecture_ids.map {|prefecture_id| Prefecture.find prefecture_id}
|
10
8
|
end
|
11
9
|
|
12
10
|
# Areas in the zone
|
13
11
|
def areas
|
14
|
-
|
15
|
-
Area.find(area[:areacode])
|
16
|
-
end
|
12
|
+
self.areacodes.map {|areacode| Area.find areacode}
|
17
13
|
end
|
18
14
|
|
19
15
|
class << self
|
20
16
|
# Find a zone by <tt>id</tt>
|
21
17
|
def find(id)
|
22
|
-
|
18
|
+
id = id.to_s
|
19
|
+
@@zones[id] ||= new JSON.parse(DB['z:'+id])
|
23
20
|
end
|
24
21
|
|
25
22
|
# All zones
|
26
23
|
def all
|
27
|
-
DB[
|
24
|
+
JSON.parse(DB['z']).map{ |id| find(id) }
|
28
25
|
end
|
29
26
|
end
|
30
27
|
end
|
data/lib/iarea.rb
CHANGED
@@ -1,9 +1,10 @@
|
|
1
|
-
require '
|
1
|
+
require 'leveldb'
|
2
|
+
require 'json'
|
2
3
|
require 'ostruct'
|
3
4
|
require_relative 'iarea/version'
|
4
5
|
|
5
6
|
module Iarea # :nodoc:
|
6
|
-
DB =
|
7
|
+
DB = LevelDB::DB.load(File.expand_path("../../db/iareadata", __FILE__)) # :nodoc:
|
7
8
|
autoload :Area, File.expand_path('../iarea/area', __FILE__)
|
8
9
|
autoload :Zone, File.expand_path('../iarea/zone', __FILE__)
|
9
10
|
autoload :Prefecture, File.expand_path('../iarea/prefecture', __FILE__)
|
data/lib/tasks/iarea.rake
CHANGED
@@ -14,7 +14,7 @@ namespace :iarea do
|
|
14
14
|
tf = Tempfile.open("iarea")
|
15
15
|
tf.write URI(uri).read
|
16
16
|
tf.close
|
17
|
-
ruby "./tools/import_areas.rb", tf.path, "db/iareadata
|
17
|
+
ruby "./tools/import_areas.rb", tf.path, "db/iareadata"
|
18
18
|
end
|
19
19
|
|
20
20
|
desc "fetch iareadata.lzh"
|
@@ -29,7 +29,7 @@ namespace :iarea do
|
|
29
29
|
raise "lha failed"
|
30
30
|
end
|
31
31
|
end
|
32
|
-
ruby "./tools/import_meshes.rb", dir, "db/iareadata
|
32
|
+
ruby "./tools/import_meshes.rb", dir, "db/iareadata"
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
data/tools/import_areas.rb
CHANGED
@@ -1,103 +1,79 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
|
-
require 'csv'
|
5
4
|
require 'json'
|
6
|
-
|
5
|
+
|
6
|
+
require 'rubygems'
|
7
|
+
require 'bundler/setup'
|
8
|
+
require 'leveldb'
|
7
9
|
|
8
10
|
if ARGV.size != 2
|
9
|
-
puts "usage #$0 [iarea_def.js] [
|
11
|
+
puts "usage #$0 [iarea_def.js] [dest_lebeldb_file]"
|
10
12
|
exit -1
|
11
13
|
end
|
12
14
|
|
13
15
|
src_path = ARGV.shift
|
14
16
|
dest_path = ARGV.shift
|
15
17
|
|
16
|
-
db =
|
18
|
+
db = LevelDB::DB.new dest_path
|
17
19
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
20
|
+
js = open(src_path, "r:cp932").read
|
21
|
+
js.sub!(%r|^var IAreaDef=new function\(\)\{|, "")
|
22
|
+
data = {}
|
23
|
+
js.scan %r|this\.(.+?)=(.+?);|m do |key, json|
|
24
|
+
data[key] = JSON.parse(json)
|
22
25
|
end
|
26
|
+
# zones
|
27
|
+
data['zones'].each_with_index do |zone, i|
|
28
|
+
id = i + 1
|
29
|
+
$stderr.puts " importing zone %d %s" % [id, zone['name']]
|
30
|
+
areacodes = data['areas'].select {|areacode, area| area['zone'] == i}.keys
|
31
|
+
prefecture_ids = data['prefs'].each.with_index.select {|pref, j| pref['zone'] == i}.map{|pref, j| j+1 }
|
23
32
|
|
24
|
-
db
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
33
|
+
db['z:%d' % id] = JSON.dump(
|
34
|
+
:id => id,
|
35
|
+
:name => zone['name'],
|
36
|
+
:areacodes => areacodes,
|
37
|
+
:prefecture_ids => prefecture_ids
|
38
|
+
)
|
30
39
|
end
|
31
40
|
|
32
|
-
db.
|
33
|
-
db.create_table :areas do
|
34
|
-
String :areaid
|
35
|
-
String :subareaid
|
36
|
-
String :areacode
|
37
|
-
String :name
|
38
|
-
Integer :west
|
39
|
-
Integer :south
|
40
|
-
Integer :east
|
41
|
-
Integer :north
|
42
|
-
Integer :zone_id
|
43
|
-
Integer :prefecture_id
|
44
|
-
index :areaid
|
45
|
-
index :subareaid
|
46
|
-
index :areacode, :unique => true
|
47
|
-
index :zone_id
|
48
|
-
index :prefecture_id
|
49
|
-
end
|
41
|
+
db['z'] = JSON.dump(data['zones'].map.with_index{|z, i| i + 1})
|
50
42
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
43
|
+
# prefs
|
44
|
+
data['prefs'].each_with_index do |pref, i|
|
45
|
+
id = i + 1
|
46
|
+
$stderr.puts " importing prefecture %d %s" % [id, pref['name']]
|
47
|
+
areacodes = data['areas'].select {|areacode, area| area['pref'] == i}.keys
|
48
|
+
db['p:%d' % id] = JSON.dump(
|
49
|
+
:id => id,
|
50
|
+
:name => pref['name'],
|
51
|
+
:zone_id => pref['zone'] + 1,
|
52
|
+
:areacodes => areacodes
|
53
|
+
)
|
56
54
|
end
|
55
|
+
db['p'] = JSON.dump(data['prefs'].map.with_index{|z, i| i + 1})
|
57
56
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
# areas
|
78
|
-
data['areas'].each do |areacode, area|
|
79
|
-
$stderr.puts " importing area %s %s" % [areacode, area['name']]
|
80
|
-
# insert area
|
81
|
-
hash = {
|
82
|
-
:areaid => areacode[0..2],
|
83
|
-
:subareaid => areacode[3..4],
|
84
|
-
:areacode => areacode,
|
85
|
-
:name => area['name'],
|
86
|
-
:west => area['msWest'],
|
87
|
-
:south => area['msSouth'],
|
88
|
-
:east => area['msEast'],
|
89
|
-
:north => area['msNorth'],
|
90
|
-
:zone_id => area['zone'] + 1,
|
91
|
-
:prefecture_id => area['pref'] + 1
|
92
|
-
}
|
93
|
-
# fix .js problem
|
94
|
-
if hash[:name] == '新宿1?2丁目'
|
95
|
-
hash[:name] = '新宿1〜2丁目'
|
96
|
-
end
|
97
|
-
db[:areas].insert(hash)
|
98
|
-
|
99
|
-
area['neighbors'].each do |neighbor|
|
100
|
-
db[:neighbors].insert({:areacode => areacode, :neighbor_areacode => neighbor})
|
101
|
-
end
|
57
|
+
# areas
|
58
|
+
data['areas'].each do |areacode, area|
|
59
|
+
$stderr.puts " importing area %s %s" % [areacode, area['name']]
|
60
|
+
# insert area
|
61
|
+
hash = {
|
62
|
+
:areaid => areacode[0..2],
|
63
|
+
:subareaid => areacode[3..4],
|
64
|
+
:areacode => areacode,
|
65
|
+
:name => area['name'],
|
66
|
+
:west => area['msWest'],
|
67
|
+
:south => area['msSouth'],
|
68
|
+
:east => area['msEast'],
|
69
|
+
:north => area['msNorth'],
|
70
|
+
:zone_id => area['zone'] + 1,
|
71
|
+
:prefecture_id => area['pref'] + 1
|
72
|
+
}
|
73
|
+
# fix .js problem
|
74
|
+
if hash[:name] == '新宿1?2丁目'
|
75
|
+
hash[:name] = '新宿1〜2丁目'
|
102
76
|
end
|
77
|
+
db['a:%s' % areacode] = JSON.dump(hash)
|
78
|
+
db['n:%s' % areacode] = JSON.dump(area['neighbors'])
|
103
79
|
end
|
data/tools/import_meshes.rb
CHANGED
@@ -1,53 +1,44 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
require 'csv'
|
4
|
-
|
5
|
-
require '
|
4
|
+
|
5
|
+
require 'rubygems'
|
6
|
+
require 'bundler/setup'
|
7
|
+
require 'leveldb'
|
8
|
+
|
6
9
|
|
7
10
|
if ARGV.size != 2
|
8
|
-
puts "usage #$0 [src_dir_contains_iareadata_dir] [
|
11
|
+
puts "usage #$0 [src_dir_contains_iareadata_dir] [dest_leveldb_file]"
|
9
12
|
exit -1
|
10
13
|
end
|
11
14
|
|
12
15
|
src_path = ARGV.shift
|
13
16
|
dest_path = ARGV.shift
|
14
17
|
|
15
|
-
db =
|
18
|
+
db = LevelDB::DB.new dest_path
|
16
19
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
20
|
+
Dir[File.join(src_path, "iareadata/iarea*.txt")].each do |path|
|
21
|
+
data = CSV.open(path, "r:cp932")
|
22
|
+
data.each do |row|
|
23
|
+
areaid, subareaid, name, west, south, east, north, *mesh_data = row
|
24
|
+
areacode = areaid + subareaid
|
25
|
+
|
26
|
+
name.encode!("UTF-8")
|
27
|
+
|
28
|
+
mesh_data.pop if mesh_data.last.nil?
|
29
|
+
$stderr.puts " importing meshes %s %s" % [areacode, name]
|
30
|
+
num_meshes = mesh_data.shift(7).map(&:to_i)
|
31
|
+
|
32
|
+
expected_num_meshes = num_meshes.inject(&:+)
|
33
|
+
if expected_num_meshes != mesh_data.size
|
34
|
+
raise "number of meshes mismatch: expected %d, actual %d" % [
|
35
|
+
expected_num_meshes, mesh_data.size
|
36
|
+
]
|
37
|
+
end
|
24
38
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
Dir[File.join(src_path, "iareadata/iarea*.txt")].each do |path|
|
29
|
-
data = CSV.open(path, "r:cp932")
|
30
|
-
data.each do |row|
|
31
|
-
areaid, subareaid, name, west, south, east, north, *mesh_data = row
|
32
|
-
areacode = areaid + subareaid
|
33
|
-
|
34
|
-
name.encode!("UTF-8")
|
35
|
-
|
36
|
-
mesh_data.pop if mesh_data.last.nil?
|
37
|
-
$stderr.puts " importing meshes %s %s" % [areacode, name]
|
38
|
-
num_meshes = mesh_data.shift(7).map(&:to_i)
|
39
|
-
|
40
|
-
expected_num_meshes = num_meshes.inject(&:+)
|
41
|
-
if expected_num_meshes != mesh_data.size
|
42
|
-
raise "number of meshes mismatch: expected %d, actual %d" % [
|
43
|
-
expected_num_meshes, mesh_data.size
|
44
|
-
]
|
45
|
-
end
|
46
|
-
|
47
|
-
# insert meshes
|
48
|
-
mesh_data.each do |mesh|
|
49
|
-
meshes.insert(:meshcode => mesh, :areacode => areacode)
|
50
|
-
end
|
39
|
+
# insert meshes
|
40
|
+
mesh_data.each do |mesh|
|
41
|
+
db['m:%s' % mesh] = areacode
|
51
42
|
end
|
52
43
|
end
|
53
44
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iarea
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,8 +13,8 @@ date: 2011-08-01 00:00:00.000000000 +09:00
|
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
17
|
-
requirement: &
|
16
|
+
name: leveldb-ruby
|
17
|
+
requirement: &2157498120 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,21 +22,10 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: sqlite3-ruby
|
28
|
-
requirement: &2158351740 !ruby/object:Gem::Requirement
|
29
|
-
none: false
|
30
|
-
requirements:
|
31
|
-
- - ! '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: *2158351740
|
25
|
+
version_requirements: *2157498120
|
37
26
|
- !ruby/object:Gem::Dependency
|
38
27
|
name: rspec
|
39
|
-
requirement: &
|
28
|
+
requirement: &2157497700 !ruby/object:Gem::Requirement
|
40
29
|
none: false
|
41
30
|
requirements:
|
42
31
|
- - ! '>='
|
@@ -44,10 +33,10 @@ dependencies:
|
|
44
33
|
version: '0'
|
45
34
|
type: :development
|
46
35
|
prerelease: false
|
47
|
-
version_requirements: *
|
36
|
+
version_requirements: *2157497700
|
48
37
|
- !ruby/object:Gem::Dependency
|
49
38
|
name: rdoc
|
50
|
-
requirement: &
|
39
|
+
requirement: &2157497280 !ruby/object:Gem::Requirement
|
51
40
|
none: false
|
52
41
|
requirements:
|
53
42
|
- - ! '>='
|
@@ -55,10 +44,10 @@ dependencies:
|
|
55
44
|
version: '0'
|
56
45
|
type: :development
|
57
46
|
prerelease: false
|
58
|
-
version_requirements: *
|
47
|
+
version_requirements: *2157497280
|
59
48
|
- !ruby/object:Gem::Dependency
|
60
49
|
name: rake
|
61
|
-
requirement: &
|
50
|
+
requirement: &2157496860 !ruby/object:Gem::Requirement
|
62
51
|
none: false
|
63
52
|
requirements:
|
64
53
|
- - ! '>='
|
@@ -66,10 +55,10 @@ dependencies:
|
|
66
55
|
version: '0'
|
67
56
|
type: :development
|
68
57
|
prerelease: false
|
69
|
-
version_requirements: *
|
58
|
+
version_requirements: *2157496860
|
70
59
|
- !ruby/object:Gem::Dependency
|
71
60
|
name: bundler
|
72
|
-
requirement: &
|
61
|
+
requirement: &2157496440 !ruby/object:Gem::Requirement
|
73
62
|
none: false
|
74
63
|
requirements:
|
75
64
|
- - ! '>='
|
@@ -77,7 +66,7 @@ dependencies:
|
|
77
66
|
version: '0'
|
78
67
|
type: :development
|
79
68
|
prerelease: false
|
80
|
-
version_requirements: *
|
69
|
+
version_requirements: *2157496440
|
81
70
|
description: A library for DoCoMo Open Iarea.
|
82
71
|
email:
|
83
72
|
- dara@shidara.net
|
@@ -94,7 +83,16 @@ files:
|
|
94
83
|
- README.rdoc
|
95
84
|
- Rakefile
|
96
85
|
- VERSION
|
97
|
-
- db/iareadata.
|
86
|
+
- db/iareadata/000013.sst
|
87
|
+
- db/iareadata/000014.sst
|
88
|
+
- db/iareadata/000015.sst
|
89
|
+
- db/iareadata/000016.log
|
90
|
+
- db/iareadata/000017.sst
|
91
|
+
- db/iareadata/CURRENT
|
92
|
+
- db/iareadata/LOCK
|
93
|
+
- db/iareadata/LOG
|
94
|
+
- db/iareadata/LOG.old
|
95
|
+
- db/iareadata/MANIFEST-000004
|
98
96
|
- iarea.gemspec
|
99
97
|
- lib/iarea.rb
|
100
98
|
- lib/iarea/area.rb
|
data/db/iareadata.sqlite3
DELETED
Binary file
|