tmx 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <map version="1.0" orientation="orthogonal" width="16" height="12" tilewidth="50" tileheight="50">
3
+ <properties>
4
+ <property name="hero.position" value="400,525,1"/>
5
+ </properties>
6
+ <tileset firstgid="1" name="tiles" tilewidth="50" tileheight="50">
7
+ <image source="tiles.png" width="200" height="250"/>
8
+ </tileset>
9
+ <layer name="Tile Layer 1" width="16" height="12">
10
+ <data encoding="csv">
11
+ 3,3,3,3,3,3,2,5,5,7,3,3,3,3,3,3,
12
+ 3,3,3,3,3,3,2,4,4,7,3,3,3,3,3,3,
13
+ 3,3,3,3,3,3,2,4,4,7,3,3,3,3,3,3,
14
+ 3,3,3,3,3,3,2,4,4,7,18,9,9,17,3,3,
15
+ 3,3,3,3,3,3,2,4,4,15,14,4,6,7,3,3,
16
+ 3,3,3,3,3,3,2,4,4,4,4,4,6,7,3,3,
17
+ 3,3,3,18,9,17,2,4,4,10,13,4,10,11,3,3,
18
+ 3,3,18,14,6,7,2,4,4,7,16,8,11,3,3,3,
19
+ 3,3,2,4,4,15,14,4,4,7,3,3,3,3,3,3,
20
+ 3,3,2,4,4,4,4,4,4,7,3,3,3,3,3,3,
21
+ 3,3,16,8,8,8,13,4,4,7,3,3,3,3,3,3,
22
+ 3,3,12,12,12,12,16,8,8,11,3,3,3,3,3,3
23
+ </data>
24
+ </layer>
25
+ </map>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <map version="1.0" orientation="orthogonal" width="16" height="12" tilewidth="50" tileheight="50">
3
+ <properties>
4
+ <property name="hero.position" value="400,525,1"/>
5
+ </properties>
6
+ <tileset firstgid="1" name="tiles" tilewidth="50" tileheight="50">
7
+ <image source="tiles.png" width="200" height="250"/>
8
+ </tileset>
9
+ <layer name="Tile Layer 1" width="16" height="12">
10
+ <data encoding="base64" compression="gzip">
11
+ H4sIAAAAAAAAA83Q3QrAIAiAUVn732pr7/+wM1AQmWJ3uzjQRV9oCQDShwFNZDHueFo/kj/0D9pI7ewvVOg8B+eRveT1PGNV/Y6yOB9GW8T7ev8brUbr7Rv9f2vfaM/zsdzZn4p8z9q5eQG5p3jRAAMAAA==
12
+ </data>
13
+ </layer>
14
+ </map>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <map version="1.0" orientation="orthogonal" width="16" height="12" tilewidth="50" tileheight="50">
3
+ <properties>
4
+ <property name="hero.position" value="400,525,1"/>
5
+ </properties>
6
+ <tileset firstgid="1" name="tiles" tilewidth="50" tileheight="50">
7
+ <image source="tiles.png" width="200" height="250"/>
8
+ </tileset>
9
+ <layer name="Tile Layer 1" width="16" height="12">
10
+ <data encoding="base64">
11
+ AwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAgAAAAUAAAAFAAAABwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAwAAAAIAAAAEAAAABAAAAAcAAAADAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAwAAAAMAAAACAAAABAAAAAQAAAAHAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAgAAAAQAAAAEAAAABwAAABIAAAAJAAAACQAAABEAAAADAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAwAAAAIAAAAEAAAABAAAAA8AAAAOAAAABAAAAAYAAAAHAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAwAAAAMAAAACAAAABAAAAAQAAAAEAAAABAAAAAQAAAAGAAAABwAAAAMAAAADAAAAAwAAAAMAAAADAAAAEgAAAAkAAAARAAAAAgAAAAQAAAAEAAAACgAAAA0AAAAEAAAACgAAAAsAAAADAAAAAwAAAAMAAAADAAAAEgAAAA4AAAAGAAAABwAAAAIAAAAEAAAABAAAAAcAAAAQAAAACAAAAAsAAAADAAAAAwAAAAMAAAADAAAAAwAAAAIAAAAEAAAABAAAAA8AAAAOAAAABAAAAAQAAAAHAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAwAAAAMAAAACAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAAEAAAAAgAAAAIAAAACAAAAA0AAAAEAAAABAAAAAcAAAADAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAwAAAAwAAAAMAAAADAAAAAwAAAAQAAAACAAAAAgAAAALAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAA
12
+ </data>
13
+ </layer>
14
+ </map>
@@ -0,0 +1,205 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <map version="1.0" orientation="orthogonal" width="16" height="12" tilewidth="50" tileheight="50">
3
+ <properties>
4
+ <property name="hero.position" value="400,525,1"/>
5
+ </properties>
6
+ <tileset firstgid="1" name="tiles" tilewidth="50" tileheight="50">
7
+ <image source="tiles.png" width="200" height="250"/>
8
+ </tileset>
9
+ <layer name="Tile Layer 1" width="16" height="12">
10
+ <data>
11
+ <tile gid="3"/>
12
+ <tile gid="3"/>
13
+ <tile gid="3"/>
14
+ <tile gid="3"/>
15
+ <tile gid="3"/>
16
+ <tile gid="3"/>
17
+ <tile gid="2"/>
18
+ <tile gid="5"/>
19
+ <tile gid="5"/>
20
+ <tile gid="7"/>
21
+ <tile gid="3"/>
22
+ <tile gid="3"/>
23
+ <tile gid="3"/>
24
+ <tile gid="3"/>
25
+ <tile gid="3"/>
26
+ <tile gid="3"/>
27
+ <tile gid="3"/>
28
+ <tile gid="3"/>
29
+ <tile gid="3"/>
30
+ <tile gid="3"/>
31
+ <tile gid="3"/>
32
+ <tile gid="3"/>
33
+ <tile gid="2"/>
34
+ <tile gid="4"/>
35
+ <tile gid="4"/>
36
+ <tile gid="7"/>
37
+ <tile gid="3"/>
38
+ <tile gid="3"/>
39
+ <tile gid="3"/>
40
+ <tile gid="3"/>
41
+ <tile gid="3"/>
42
+ <tile gid="3"/>
43
+ <tile gid="3"/>
44
+ <tile gid="3"/>
45
+ <tile gid="3"/>
46
+ <tile gid="3"/>
47
+ <tile gid="3"/>
48
+ <tile gid="3"/>
49
+ <tile gid="2"/>
50
+ <tile gid="4"/>
51
+ <tile gid="4"/>
52
+ <tile gid="7"/>
53
+ <tile gid="3"/>
54
+ <tile gid="3"/>
55
+ <tile gid="3"/>
56
+ <tile gid="3"/>
57
+ <tile gid="3"/>
58
+ <tile gid="3"/>
59
+ <tile gid="3"/>
60
+ <tile gid="3"/>
61
+ <tile gid="3"/>
62
+ <tile gid="3"/>
63
+ <tile gid="3"/>
64
+ <tile gid="3"/>
65
+ <tile gid="2"/>
66
+ <tile gid="4"/>
67
+ <tile gid="4"/>
68
+ <tile gid="7"/>
69
+ <tile gid="18"/>
70
+ <tile gid="9"/>
71
+ <tile gid="9"/>
72
+ <tile gid="17"/>
73
+ <tile gid="3"/>
74
+ <tile gid="3"/>
75
+ <tile gid="3"/>
76
+ <tile gid="3"/>
77
+ <tile gid="3"/>
78
+ <tile gid="3"/>
79
+ <tile gid="3"/>
80
+ <tile gid="3"/>
81
+ <tile gid="2"/>
82
+ <tile gid="4"/>
83
+ <tile gid="4"/>
84
+ <tile gid="15"/>
85
+ <tile gid="14"/>
86
+ <tile gid="4"/>
87
+ <tile gid="6"/>
88
+ <tile gid="7"/>
89
+ <tile gid="3"/>
90
+ <tile gid="3"/>
91
+ <tile gid="3"/>
92
+ <tile gid="3"/>
93
+ <tile gid="3"/>
94
+ <tile gid="3"/>
95
+ <tile gid="3"/>
96
+ <tile gid="3"/>
97
+ <tile gid="2"/>
98
+ <tile gid="4"/>
99
+ <tile gid="4"/>
100
+ <tile gid="4"/>
101
+ <tile gid="4"/>
102
+ <tile gid="4"/>
103
+ <tile gid="6"/>
104
+ <tile gid="7"/>
105
+ <tile gid="3"/>
106
+ <tile gid="3"/>
107
+ <tile gid="3"/>
108
+ <tile gid="3"/>
109
+ <tile gid="3"/>
110
+ <tile gid="18"/>
111
+ <tile gid="9"/>
112
+ <tile gid="17"/>
113
+ <tile gid="2"/>
114
+ <tile gid="4"/>
115
+ <tile gid="4"/>
116
+ <tile gid="10"/>
117
+ <tile gid="13"/>
118
+ <tile gid="4"/>
119
+ <tile gid="10"/>
120
+ <tile gid="11"/>
121
+ <tile gid="3"/>
122
+ <tile gid="3"/>
123
+ <tile gid="3"/>
124
+ <tile gid="3"/>
125
+ <tile gid="18"/>
126
+ <tile gid="14"/>
127
+ <tile gid="6"/>
128
+ <tile gid="7"/>
129
+ <tile gid="2"/>
130
+ <tile gid="4"/>
131
+ <tile gid="4"/>
132
+ <tile gid="7"/>
133
+ <tile gid="16"/>
134
+ <tile gid="8"/>
135
+ <tile gid="11"/>
136
+ <tile gid="3"/>
137
+ <tile gid="3"/>
138
+ <tile gid="3"/>
139
+ <tile gid="3"/>
140
+ <tile gid="3"/>
141
+ <tile gid="2"/>
142
+ <tile gid="4"/>
143
+ <tile gid="4"/>
144
+ <tile gid="15"/>
145
+ <tile gid="14"/>
146
+ <tile gid="4"/>
147
+ <tile gid="4"/>
148
+ <tile gid="7"/>
149
+ <tile gid="3"/>
150
+ <tile gid="3"/>
151
+ <tile gid="3"/>
152
+ <tile gid="3"/>
153
+ <tile gid="3"/>
154
+ <tile gid="3"/>
155
+ <tile gid="3"/>
156
+ <tile gid="3"/>
157
+ <tile gid="2"/>
158
+ <tile gid="4"/>
159
+ <tile gid="4"/>
160
+ <tile gid="4"/>
161
+ <tile gid="4"/>
162
+ <tile gid="4"/>
163
+ <tile gid="4"/>
164
+ <tile gid="7"/>
165
+ <tile gid="3"/>
166
+ <tile gid="3"/>
167
+ <tile gid="3"/>
168
+ <tile gid="3"/>
169
+ <tile gid="3"/>
170
+ <tile gid="3"/>
171
+ <tile gid="3"/>
172
+ <tile gid="3"/>
173
+ <tile gid="16"/>
174
+ <tile gid="8"/>
175
+ <tile gid="8"/>
176
+ <tile gid="8"/>
177
+ <tile gid="13"/>
178
+ <tile gid="4"/>
179
+ <tile gid="4"/>
180
+ <tile gid="7"/>
181
+ <tile gid="3"/>
182
+ <tile gid="3"/>
183
+ <tile gid="3"/>
184
+ <tile gid="3"/>
185
+ <tile gid="3"/>
186
+ <tile gid="3"/>
187
+ <tile gid="3"/>
188
+ <tile gid="3"/>
189
+ <tile gid="12"/>
190
+ <tile gid="12"/>
191
+ <tile gid="12"/>
192
+ <tile gid="12"/>
193
+ <tile gid="16"/>
194
+ <tile gid="8"/>
195
+ <tile gid="8"/>
196
+ <tile gid="11"/>
197
+ <tile gid="3"/>
198
+ <tile gid="3"/>
199
+ <tile gid="3"/>
200
+ <tile gid="3"/>
201
+ <tile gid="3"/>
202
+ <tile gid="3"/>
203
+ </data>
204
+ </layer>
205
+ </map>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <map version="1.0" orientation="orthogonal" width="16" height="12" tilewidth="50" tileheight="50">
3
+ <properties>
4
+ <property name="hero.position" value="400,525,1"/>
5
+ </properties>
6
+ <tileset firstgid="1" name="tiles" tilewidth="50" tileheight="50">
7
+ <properties>
8
+ <property name="alpha" value="1"/>
9
+ </properties>
10
+ <image source="tiles.png" width="200" height="250"/>
11
+ </tileset>
12
+ <layer name="Tile Layer 1" width="16" height="12">
13
+ <data encoding="base64" compression="zlib">
14
+ eJzN0N0KwCAIgFFZ+99qa+//sDNQEJlid7s40EVfaAkA0ocBTWQx7nhaP5I/9A/aSO3sL1ToPAfnkb3k9TxjVf2OsjgfRlvE+3r/G61G6+0b/X9r32jP87Hc2Z+KfM/auXkBKFMDxg==
15
+ </data>
16
+ </layer>
17
+ </map>
data/spec/spec_helper.rb CHANGED
@@ -1,52 +1,19 @@
1
-
2
- tmx_root = File.dirname(File.dirname(__FILE__))
3
-
4
- $:.unshift File.join(tmx_root, 'lib')
5
- $data_dir = File.join(tmx_root, 'data')
6
-
7
- require 'gosu'
8
1
  require 'tmx'
9
2
 
10
- class TMXSpecWindow < Gosu::Window
11
- def initialize
12
- super 400, 200, false
13
- end
14
-
15
- def run_test options = {}
16
- @before = options.delete :before
17
- @update = options.delete :update
18
- @draw = options.delete :draw
19
- @after = options.delete :after
20
-
21
- @time_limit = options.delete(:time) || 1.0
22
- @start_time = Gosu.milliseconds / 1000.0
23
-
24
- @before.call if @before
25
-
26
- show
27
- end
28
-
29
- def end_test
30
- @after.call if @after
31
- close
32
- end
33
-
34
- def update
35
- this_time = Gosu.milliseconds / 1000.0
36
- @start_time
37
-
38
- @update.call(Gosu.milliseconds) if @update
39
-
40
- if this_time - @start_time > @time_limit
41
- end_test
42
- end
43
-
44
- @last_time = this_time
45
- end
46
-
47
- def draw
48
- @draw.call(Gosu.milliseconds) if @draw
49
- end
50
- end
3
+ # This file was generated by the `rspec --init` command. Conventionally, all
4
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
+ # Require this file using `require "spec_helper"` to ensure that it is only
6
+ # loaded once.
7
+ #
8
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
9
+ RSpec.configure do |config|
10
+ config.treat_symbols_as_metadata_keys_with_true_values = true
11
+ config.run_all_when_everything_filtered = true
12
+ config.filter_run :focus
51
13
 
52
- $window = TMXSpecWindow.new
14
+ # Run specs in random order to surface order dependencies. If you find an
15
+ # order dependency and want to debug it, you can fix the order by providing
16
+ # the seed, which is printed after each run.
17
+ # --seed 1234
18
+ config.order = 'random'
19
+ end
data/tmx.gemspec CHANGED
@@ -1,27 +1,23 @@
1
1
  # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
3
- require "tmx/version"
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'tmx/version'
4
5
 
5
- Gem::Specification.new do |s|
6
- s.name = "tmx"
7
- s.version = Tmx::VERSION
8
- s.authors = ["erisdiscord"]
9
- s.email = ["eris.discord@gmail.com"]
10
- s.homepage = ""
11
- s.summary = %q{Eventually, a usable TMX map loader that works with Gosu and doesn't care whether you're using Chingu or some home-grown game engine of your own devising.}
12
- s.description = %q{Eventually, a usable TMX map loader that works with Gosu and doesn't care whether you're using Chingu or some home-grown game engine of your own devising.}
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "tmx"
8
+ gem.version = Tmx::VERSION
9
+ gem.authors = ["Shawn Anderson", "Franklin Webber"]
10
+ gem.email = ["franklin.webber@gmail.com"]
11
+ gem.description = %q{A library for parsing the Tiled Map Editor file format.}
12
+ gem.summary = %q{A library for parsing the Tiled Map Editor file format.}
13
+ gem.homepage = "https://github.com/shawn42/tmx"
14
+ gem.license = "MIT"
13
15
 
14
- s.rubyforge_project = "tmx"
16
+ gem.add_dependency "oj", "~> 2.0"
17
+ gem.add_dependency "nokogiri", "~> 1.5"
15
18
 
16
- s.files = `git ls-files`.split("\n")
17
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
- s.require_paths = ["lib"]
20
-
21
-
22
- s.add_development_dependency "rake"
23
- s.add_development_dependency "rspec"
24
- s.add_development_dependency "gosu"
25
-
26
- s.add_runtime_dependency "nokogiri"
19
+ gem.files = `git ls-files`.split($/)
20
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
21
+ gem.test_files = gem.files.grep(%r{^(spec)/})
22
+ gem.require_paths = ["lib"]
27
23
  end
metadata CHANGED
@@ -1,123 +1,107 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.1.0
6
5
  platform: ruby
7
6
  authors:
8
- - erisdiscord
7
+ - Shawn Anderson
8
+ - Franklin Webber
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-04 00:00:00.000000000Z
12
+ date: 2013-04-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: rake
16
- requirement: &2161052740 !ruby/object:Gem::Requirement
17
- none: false
15
+ name: oj
16
+ requirement: !ruby/object:Gem::Requirement
18
17
  requirements:
19
- - - ! '>='
18
+ - - ~>
20
19
  - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :development
20
+ version: '2.0'
21
+ type: :runtime
23
22
  prerelease: false
24
- version_requirements: *2161052740
25
- - !ruby/object:Gem::Dependency
26
- name: rspec
27
- requirement: &2161052300 !ruby/object:Gem::Requirement
28
- none: false
23
+ version_requirements: !ruby/object:Gem::Requirement
29
24
  requirements:
30
- - - ! '>='
25
+ - - ~>
31
26
  - !ruby/object:Gem::Version
32
- version: '0'
33
- type: :development
34
- prerelease: false
35
- version_requirements: *2161052300
36
- - !ruby/object:Gem::Dependency
37
- name: gosu
38
- requirement: &2161051880 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '0'
44
- type: :development
45
- prerelease: false
46
- version_requirements: *2161051880
27
+ version: '2.0'
47
28
  - !ruby/object:Gem::Dependency
48
29
  name: nokogiri
49
- requirement: &2161051440 !ruby/object:Gem::Requirement
50
- none: false
30
+ requirement: !ruby/object:Gem::Requirement
51
31
  requirements:
52
- - - ! '>='
32
+ - - ~>
53
33
  - !ruby/object:Gem::Version
54
- version: '0'
34
+ version: '1.5'
55
35
  type: :runtime
56
36
  prerelease: false
57
- version_requirements: *2161051440
58
- description: Eventually, a usable TMX map loader that works with Gosu and doesn't
59
- care whether you're using Chingu or some home-grown game engine of your own devising.
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ~>
40
+ - !ruby/object:Gem::Version
41
+ version: '1.5'
42
+ description: A library for parsing the Tiled Map Editor file format.
60
43
  email:
61
- - eris.discord@gmail.com
44
+ - franklin.webber@gmail.com
62
45
  executables: []
63
46
  extensions: []
64
47
  extra_rdoc_files: []
65
48
  files:
66
49
  - .gitignore
50
+ - .rspec
67
51
  - Gemfile
68
- - README.markdown
69
- - Rakefile
70
- - data/door.png
71
- - data/dude.png
72
- - data/test-tiles.png
73
- - data/test.tmx
74
- - examples/example-chingu.rb
52
+ - Guardfile
53
+ - LICENSE.txt
54
+ - README.md
75
55
  - lib/tmx.rb
76
- - lib/tmx/coder.rb
77
- - lib/tmx/coder/base64.rb
78
- - lib/tmx/coder/gzip.rb
79
56
  - lib/tmx/layer.rb
80
57
  - lib/tmx/map.rb
81
- - lib/tmx/map/tile_cache.rb
82
- - lib/tmx/map/xml_loader.rb
83
- - lib/tmx/nokogiri_additions.rb
84
- - lib/tmx/object_group.rb
58
+ - lib/tmx/parsers/json.rb
59
+ - lib/tmx/parsers/parsers.rb
60
+ - lib/tmx/parsers/tmx.rb
61
+ - lib/tmx/parsers/unknown.rb
85
62
  - lib/tmx/tile_set.rb
86
63
  - lib/tmx/version.rb
87
- - spec/coder_spec.rb
88
- - spec/map_spec.rb
89
- - spec/nokogiri_spec.rb
90
- - spec/object_group_spec.rb
64
+ - spec/features/json_format_spec.rb
65
+ - spec/features/xml_format_spec.rb
66
+ - spec/fixtures/map.json
67
+ - spec/fixtures/map_csv.tmx
68
+ - spec/fixtures/map_gzip.tmx
69
+ - spec/fixtures/map_uncompressed.tmx
70
+ - spec/fixtures/map_xml.tmx
71
+ - spec/fixtures/map_zlib.tmx
91
72
  - spec/spec_helper.rb
92
73
  - tmx.gemspec
93
- homepage: ''
94
- licenses: []
74
+ homepage: https://github.com/shawn42/tmx
75
+ licenses:
76
+ - MIT
77
+ metadata: {}
95
78
  post_install_message:
96
79
  rdoc_options: []
97
80
  require_paths:
98
81
  - lib
99
82
  required_ruby_version: !ruby/object:Gem::Requirement
100
- none: false
101
83
  requirements:
102
84
  - - ! '>='
103
85
  - !ruby/object:Gem::Version
104
86
  version: '0'
105
87
  required_rubygems_version: !ruby/object:Gem::Requirement
106
- none: false
107
88
  requirements:
108
89
  - - ! '>='
109
90
  - !ruby/object:Gem::Version
110
91
  version: '0'
111
92
  requirements: []
112
- rubyforge_project: tmx
113
- rubygems_version: 1.8.6
93
+ rubyforge_project:
94
+ rubygems_version: 2.0.3
114
95
  signing_key:
115
- specification_version: 3
116
- summary: Eventually, a usable TMX map loader that works with Gosu and doesn't care
117
- whether you're using Chingu or some home-grown game engine of your own devising.
96
+ specification_version: 4
97
+ summary: A library for parsing the Tiled Map Editor file format.
118
98
  test_files:
119
- - spec/coder_spec.rb
120
- - spec/map_spec.rb
121
- - spec/nokogiri_spec.rb
122
- - spec/object_group_spec.rb
99
+ - spec/features/json_format_spec.rb
100
+ - spec/features/xml_format_spec.rb
101
+ - spec/fixtures/map.json
102
+ - spec/fixtures/map_csv.tmx
103
+ - spec/fixtures/map_gzip.tmx
104
+ - spec/fixtures/map_uncompressed.tmx
105
+ - spec/fixtures/map_xml.tmx
106
+ - spec/fixtures/map_zlib.tmx
123
107
  - spec/spec_helper.rb