google-map-stitch 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5d05646c8f0dc9e37a2c0c45a01f484e73a592eb
4
+ data.tar.gz: c38e8f0dddae8bfb27f85e58e468cfb0d81ecd57
5
+ SHA512:
6
+ metadata.gz: b40984f21e152bad9d9beb1515e0e96db110cbc3550c7176f6300301d3f87db5aad3ac3923bf75e89c192b2decb9d6842c5e609acf42d50a924e41506be28916
7
+ data.tar.gz: 8421d105c2ec3e1a8fdc9a8095adfaa751f41e279cc4089b79e5bd560d8eb7c97b950413cf07a123b37607b84027f5877a04eb04c045c230cc787e3eec30142b
data/README.md CHANGED
@@ -20,23 +20,17 @@ engine = GMS::Engine.new({:zoomLevel=>2})
20
20
  # subsection (South America)
21
21
  engine = GMS::Engine.new({
22
22
  :startX => 130,
23
- :startY => 236,
24
23
  :endX => 214,
24
+ :startY => 236,
25
25
  :endY => 353,
26
26
  :zoomLevel => 9
27
27
  })
28
28
 
29
- engine = GMS::Engine.new({
30
- :startX => 1085,
31
- :startY => 1889,
32
-
33
- })
34
-
35
29
  # subsection (Mexico)
36
30
  engine = GMS::Engine.new({
37
31
  :startX => 10,
38
- :startY => 25,
39
32
  :endX => 19,
33
+ :startY => 25,
40
34
  :endY => 31,
41
35
  :zoomLevel => 6
42
36
  })
@@ -11,8 +11,8 @@ class GMS
11
11
  end
12
12
 
13
13
  def tiles
14
- Dir.glob(File.join(dir,"*")).map do |path|
15
- Dir.glob(File.join(path,"*.png")).map do |image|
14
+ Dir.glob(File.join(dir,"*")).sort.map do |path|
15
+ Dir.glob(File.join(path,"*.png")).sort.map do |image|
16
16
  image
17
17
  end
18
18
  end
@@ -23,7 +23,7 @@ class GMS
23
23
 
24
24
  tiles.each do |row|
25
25
  column = Magick::ImageList.new
26
- row.each do |file|
26
+ row.sort.each do |file|
27
27
  puts "Combining #{file}"
28
28
  column.push(Magick::Image.read(file).first)
29
29
  end
@@ -1,3 +1,3 @@
1
1
  class GMS
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-map-stitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
5
- prerelease:
4
+ version: 0.1.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Tyler Kellen
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-11-26 00:00:00.000000000 Z
11
+ date: 2013-09-23 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rmagick
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  description: ''
@@ -46,27 +43,26 @@ files:
46
43
  - lib/google-map-stitch/version.rb
47
44
  homepage: https://github.com/tkellen/google-map-stitch/
48
45
  licenses: []
46
+ metadata: {}
49
47
  post_install_message:
50
48
  rdoc_options: []
51
49
  require_paths:
52
50
  - lib
53
51
  required_ruby_version: !ruby/object:Gem::Requirement
54
- none: false
55
52
  requirements:
56
- - - ! '>='
53
+ - - '>='
57
54
  - !ruby/object:Gem::Version
58
55
  version: '0'
59
56
  required_rubygems_version: !ruby/object:Gem::Requirement
60
- none: false
61
57
  requirements:
62
- - - ! '>='
58
+ - - '>='
63
59
  - !ruby/object:Gem::Version
64
60
  version: '0'
65
61
  requirements: []
66
62
  rubyforge_project:
67
- rubygems_version: 1.8.24
63
+ rubygems_version: 2.0.6
68
64
  signing_key:
69
- specification_version: 3
65
+ specification_version: 4
70
66
  summary: Download and stitch google map tiles into a single image.
71
67
  test_files: []
72
68
  has_rdoc: