georuby 1.9.3 → 1.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +4 -0
- data/Rakefile +29 -44
- data/lib/geo_ruby/geojson.rb +12 -1
- data/lib/geo_ruby/shp4r/dbf.rb +3 -2
- data/lib/geo_ruby/simple_features/curve.rb +10 -0
- data/lib/geo_ruby/simple_features/geometry_collection.rb +6 -2
- data/lib/geo_ruby/simple_features/line_string.rb +6 -2
- data/lib/geo_ruby/simple_features/multi_line_string.rb +6 -2
- data/lib/geo_ruby/simple_features/multi_point.rb +6 -2
- data/lib/geo_ruby/simple_features/multi_polygon.rb +6 -2
- data/lib/geo_ruby/simple_features/point.rb +6 -2
- data/lib/geo_ruby/simple_features/polygon.rb +6 -2
- data/lib/geo_ruby/version.rb +3 -0
- metadata +111 -164
- data/Gemfile +0 -8
- data/Gemfile.lock +0 -29
- data/History.txt +0 -4
- data/LICENSE +0 -21
- data/VERSION +0 -1
- data/georuby.gemspec +0 -128
- data/nofxx-georuby.gemspec +0 -149
data/README.rdoc
CHANGED
@@ -11,6 +11,10 @@ It also supports various output and input formats (GeoRSS, KML, Shapefile).
|
|
11
11
|
|
12
12
|
OGC:"http://www.opengis.org/docs/99-049.pdf"
|
13
13
|
|
14
|
+
GeoRuby is written in pure Ruby.
|
15
|
+
If you are looking for Proj/Geos/ext rubygem checkout:
|
16
|
+
rgeo:"https://github.com/dazuma/rgeo"
|
17
|
+
|
14
18
|
|
15
19
|
== Available data types
|
16
20
|
|
data/Rakefile
CHANGED
@@ -1,48 +1,33 @@
|
|
1
|
-
require '
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
1
|
+
require 'bundler'
|
2
|
+
Bundler.setup
|
3
|
+
|
4
|
+
require "rspec"
|
5
|
+
require "rspec/core/rake_task"
|
6
|
+
|
7
|
+
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
8
|
+
require "geo_ruby/version"
|
9
|
+
|
10
|
+
desc "Builds the gem"
|
11
|
+
task :gem => :build
|
12
|
+
task :build do
|
13
|
+
system "gem build georuby.gemspec"
|
14
|
+
Dir.mkdir("pkg") unless Dir.exists?("pkg")
|
15
|
+
system "mv georuby-#{GeoRuby::VERSION}.gem pkg/"
|
16
|
+
end
|
17
|
+
|
18
|
+
task :install => :build do
|
19
|
+
system "sudo gem install pkg/georuby-#{GeoRuby::VERSION}.gem"
|
20
|
+
end
|
21
|
+
|
22
|
+
task :release => :build do
|
23
|
+
system "git tag -a v#{GeoRuby::VERSION} -m 'Tagging #{GeoRuby::VERSION}'"
|
24
|
+
system "git push --tags"
|
25
|
+
system "gem push pkg/georuby-#{GeoRuby::VERSION}.gem"
|
18
26
|
end
|
19
27
|
|
20
|
-
|
21
|
-
|
22
|
-
# spec.libs << 'lib' << 'spec'
|
23
|
-
# spec.spec_files = FileList['spec/**/*_spec.rb']
|
24
|
-
# end
|
25
|
-
|
26
|
-
# Spec::Rake::SpecTask.new(:rcov) do |spec|
|
27
|
-
# spec.libs << 'lib' << 'spec'
|
28
|
-
# spec.pattern = 'spec/**/*_spec.rb'
|
29
|
-
# spec.rcov = true
|
30
|
-
# end
|
31
|
-
|
32
|
-
# task :default => :spec
|
33
|
-
|
34
|
-
require 'rake/rdoctask'
|
35
|
-
Rake::RDocTask.new do |rdoc|
|
36
|
-
if File.exist?('VERSION.yml')
|
37
|
-
config = YAML.load(File.read('VERSION.yml'))
|
38
|
-
version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
|
39
|
-
else
|
40
|
-
version = ""
|
41
|
-
end
|
42
|
-
|
43
|
-
rdoc.rdoc_dir = 'rdoc'
|
44
|
-
rdoc.title = "geo_ruby #{version}"
|
45
|
-
rdoc.rdoc_files.include('README*')
|
46
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
28
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
29
|
+
spec.pattern = "spec/**/*_spec.rb"
|
47
30
|
end
|
48
31
|
|
32
|
+
task :default => [:spec]
|
33
|
+
|
data/lib/geo_ruby/geojson.rb
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
# GeoJSON parser based on the v1.0 spec at http://geojson.org/geojson-spec.html
|
2
|
+
require 'rubygems'
|
3
|
+
begin
|
4
|
+
require 'json'
|
5
|
+
rescue LoadError
|
6
|
+
puts "You've loaded GeoRuby GeoJSON Support."
|
7
|
+
puts "Please install any 'json' provider gem. `gem install json`"
|
8
|
+
end
|
2
9
|
|
3
10
|
module GeoRuby
|
4
11
|
#Raised when an error in the GeoJSON string is detected
|
@@ -23,7 +30,7 @@ module GeoRuby
|
|
23
30
|
end
|
24
31
|
end
|
25
32
|
|
26
|
-
def
|
33
|
+
def as_json(options={})
|
27
34
|
output = {}
|
28
35
|
output[:type] = 'Feature'
|
29
36
|
output[:geometry] = geometry
|
@@ -31,6 +38,10 @@ module GeoRuby
|
|
31
38
|
output[:id] = id unless id.nil?
|
32
39
|
output.to_json(options)
|
33
40
|
end
|
41
|
+
|
42
|
+
def to_json(options = {})
|
43
|
+
as_json(options).to_json
|
44
|
+
end
|
34
45
|
alias :as_geojson :to_json
|
35
46
|
end
|
36
47
|
|
data/lib/geo_ruby/shp4r/dbf.rb
CHANGED
@@ -15,11 +15,12 @@ module GeoRuby
|
|
15
15
|
module Dbf
|
16
16
|
class Record
|
17
17
|
def [](v)
|
18
|
-
attributes[v
|
18
|
+
attributes[v]
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
|
-
class Field
|
22
|
+
class Field
|
23
|
+
include Column
|
23
24
|
def initialize(name, type, length, decimal = 0)
|
24
25
|
super(name, type, length, decimal)
|
25
26
|
end
|
@@ -102,11 +102,15 @@ module GeoRuby
|
|
102
102
|
"GEOMETRYCOLLECTION"
|
103
103
|
end
|
104
104
|
|
105
|
+
def as_json(options = {})
|
106
|
+
{:type => 'GeometryCollection',
|
107
|
+
:geometries => self.geometries}
|
108
|
+
end
|
109
|
+
|
105
110
|
# simple geojson representation
|
106
111
|
# TODO add CRS / SRID support?
|
107
112
|
def to_json(options = {})
|
108
|
-
|
109
|
-
:geometries => self.geometries}.to_json(options)
|
113
|
+
as_json(options).to_json(options)
|
110
114
|
end
|
111
115
|
alias :as_geojson :to_json
|
112
116
|
|
@@ -202,11 +202,15 @@ module GeoRuby
|
|
202
202
|
points.map{|p| p.to_coordinates }
|
203
203
|
end
|
204
204
|
|
205
|
+
def as_json(options = {})
|
206
|
+
{:type => 'LineString',
|
207
|
+
:coordinates => self.to_coordinates}
|
208
|
+
end
|
209
|
+
|
205
210
|
# simple geojson representation
|
206
211
|
# TODO add CRS / SRID support?
|
207
212
|
def to_json(options = {})
|
208
|
-
|
209
|
-
:coordinates => self.to_coordinates}.to_json(options)
|
213
|
+
as_json(options).to_json(options)
|
210
214
|
end
|
211
215
|
alias :as_geojson :to_json
|
212
216
|
|
@@ -37,11 +37,15 @@ module GeoRuby
|
|
37
37
|
geometries.map{|ls| ls.to_coordinates}
|
38
38
|
end
|
39
39
|
|
40
|
+
def as_json(options = {})
|
41
|
+
{:type => 'MultiLineString',
|
42
|
+
:coordinates => self.to_coordinates}
|
43
|
+
end
|
44
|
+
|
40
45
|
# simple geojson representation
|
41
46
|
# TODO add CRS / SRID support?
|
42
47
|
def to_json(options = {})
|
43
|
-
|
44
|
-
:coordinates => self.to_coordinates}.to_json(options)
|
48
|
+
as_json(options).to_json(options)
|
45
49
|
end
|
46
50
|
alias :as_geojson :to_json
|
47
51
|
|
@@ -31,11 +31,15 @@ module GeoRuby
|
|
31
31
|
points.map{|p| p.to_coordinates }
|
32
32
|
end
|
33
33
|
|
34
|
+
def as_json(options = {})
|
35
|
+
{:type => 'MultiPoint',
|
36
|
+
:coordinates => self.to_coordinates}
|
37
|
+
end
|
38
|
+
|
34
39
|
# simple geojson representation
|
35
40
|
# TODO add CRS / SRID support?
|
36
41
|
def to_json(options = {})
|
37
|
-
|
38
|
-
:coordinates => self.to_coordinates}.to_json(options)
|
42
|
+
as_json(options).to_json(options)
|
39
43
|
end
|
40
44
|
alias :as_geojson :to_json
|
41
45
|
|
@@ -35,11 +35,15 @@ module GeoRuby
|
|
35
35
|
geometries.map{|polygon| polygon.to_coordinates}
|
36
36
|
end
|
37
37
|
|
38
|
+
def as_json(options = {})
|
39
|
+
{:type => 'MultiPolygon',
|
40
|
+
:coordinates => self.to_coordinates}
|
41
|
+
end
|
42
|
+
|
38
43
|
# simple geojson representation
|
39
44
|
# TODO add CRS / SRID support?
|
40
45
|
def to_json(options = {})
|
41
|
-
|
42
|
-
:coordinates => self.to_coordinates}.to_json(options)
|
46
|
+
as_json(options).to_json(options)
|
43
47
|
end
|
44
48
|
alias :as_geojson :to_json
|
45
49
|
|
@@ -296,11 +296,15 @@ module GeoRuby
|
|
296
296
|
end
|
297
297
|
end
|
298
298
|
|
299
|
+
def as_json(options = {})
|
300
|
+
{:type => 'Point',
|
301
|
+
:coordinates => self.to_coordinates}
|
302
|
+
end
|
303
|
+
|
299
304
|
# simple geojson representation
|
300
305
|
# TODO add CRS / SRID support?
|
301
306
|
def to_json(options = {})
|
302
|
-
|
303
|
-
:coordinates => self.to_coordinates}.to_json(options)
|
307
|
+
as_json(options).to_json(options)
|
304
308
|
end
|
305
309
|
alias :as_geojson :to_json
|
306
310
|
|
@@ -139,11 +139,15 @@ module GeoRuby
|
|
139
139
|
rings.map{|lr| lr.to_coordinates}
|
140
140
|
end
|
141
141
|
|
142
|
+
def as_json(options = {})
|
143
|
+
{:type => 'Polygon',
|
144
|
+
:coordinates => self.to_coordinates}
|
145
|
+
end
|
146
|
+
|
142
147
|
# simple geojson representation
|
143
148
|
# TODO add CRS / SRID support?
|
144
149
|
def to_json(options = {})
|
145
|
-
|
146
|
-
:coordinates => self.to_coordinates}.to_json(options)
|
150
|
+
as_json(options).to_json(options)
|
147
151
|
end
|
148
152
|
alias :as_geojson :to_json
|
149
153
|
|
metadata
CHANGED
@@ -1,14 +1,10 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: georuby
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 9
|
8
|
-
- 3
|
9
|
-
version: 1.9.3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.9.5
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Guilhem Vellut
|
13
9
|
- Marcos Piccinini
|
14
10
|
- Marcus Mateus
|
@@ -16,213 +12,164 @@ authors:
|
|
16
12
|
autorequire:
|
17
13
|
bindir: bin
|
18
14
|
cert_chain: []
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
name: dbf
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
15
|
+
date: 2012-02-27 00:00:00.000000000 Z
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
18
|
+
name: redis
|
19
|
+
requirement: &17359160 !ruby/object:Gem::Requirement
|
26
20
|
none: false
|
27
|
-
requirements:
|
28
|
-
- -
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
|
31
|
-
|
32
|
-
- 5
|
33
|
-
- 0
|
34
|
-
version: 1.5.0
|
35
|
-
type: :development
|
21
|
+
requirements:
|
22
|
+
- - ! '>='
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: '0'
|
25
|
+
type: :runtime
|
36
26
|
prerelease: false
|
37
|
-
version_requirements: *
|
38
|
-
- !ruby/object:Gem::Dependency
|
39
|
-
name:
|
40
|
-
requirement: &
|
27
|
+
version_requirements: *17359160
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: serialport
|
30
|
+
requirement: &17358640 !ruby/object:Gem::Requirement
|
41
31
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
|
47
|
-
- 3
|
48
|
-
- 0
|
49
|
-
version: 2.3.0
|
50
|
-
type: :development
|
32
|
+
requirements:
|
33
|
+
- - ! '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
type: :runtime
|
51
37
|
prerelease: false
|
52
|
-
version_requirements: *
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name:
|
55
|
-
requirement: &
|
38
|
+
version_requirements: *17358640
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: eventmachine
|
41
|
+
requirement: &17358140 !ruby/object:Gem::Requirement
|
56
42
|
none: false
|
57
|
-
requirements:
|
58
|
-
- -
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
|
61
|
-
|
62
|
-
- 0
|
63
|
-
- 0
|
64
|
-
version: 1.0.0
|
65
|
-
type: :development
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
type: :runtime
|
66
48
|
prerelease: false
|
67
|
-
version_requirements: *
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
name:
|
70
|
-
requirement: &
|
49
|
+
version_requirements: *17358140
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: dbf
|
52
|
+
requirement: &17357640 !ruby/object:Gem::Requirement
|
71
53
|
none: false
|
72
|
-
requirements:
|
73
|
-
- -
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
|
76
|
-
- 0
|
77
|
-
version: "0"
|
54
|
+
requirements:
|
55
|
+
- - ! '>='
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 1.2.9
|
78
58
|
type: :development
|
79
59
|
prerelease: false
|
80
|
-
version_requirements: *
|
81
|
-
- !ruby/object:Gem::Dependency
|
60
|
+
version_requirements: *17357640
|
61
|
+
- !ruby/object:Gem::Dependency
|
82
62
|
name: rspec
|
83
|
-
requirement: &
|
63
|
+
requirement: &17357160 !ruby/object:Gem::Requirement
|
84
64
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
segments:
|
89
|
-
- 2
|
90
|
-
- 0
|
91
|
-
- 0
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
92
68
|
version: 2.0.0
|
93
69
|
type: :development
|
94
70
|
prerelease: false
|
95
|
-
version_requirements: *
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
none: false
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
segments:
|
104
|
-
- 1
|
105
|
-
- 2
|
106
|
-
- 9
|
107
|
-
version: 1.2.9
|
108
|
-
type: :development
|
109
|
-
prerelease: false
|
110
|
-
version_requirements: *id006
|
111
|
-
description: GeoRuby provides geometric data types from the OGC 'Simple Features' specification.
|
112
|
-
email: georuby@simplitex.com
|
71
|
+
version_requirements: *17357160
|
72
|
+
description: GeoRuby provides geometric data types from the OGC 'Simple Features'
|
73
|
+
specification.
|
74
|
+
email: x@nofxx.com
|
113
75
|
executables: []
|
114
|
-
|
115
76
|
extensions: []
|
116
|
-
|
117
|
-
|
118
|
-
- LICENSE
|
119
|
-
- README.rdoc
|
120
|
-
files:
|
121
|
-
- Gemfile
|
122
|
-
- Gemfile.lock
|
123
|
-
- History.txt
|
124
|
-
- LICENSE
|
125
|
-
- README.rdoc
|
126
|
-
- Rakefile
|
127
|
-
- VERSION
|
128
|
-
- georuby.gemspec
|
77
|
+
extra_rdoc_files: []
|
78
|
+
files:
|
129
79
|
- lib/geo_ruby.rb
|
130
80
|
- lib/geo_ruby/geojson.rb
|
131
|
-
- lib/geo_ruby/georss.rb
|
132
|
-
- lib/geo_ruby/gpx.rb
|
133
81
|
- lib/geo_ruby/gpx4r/gpx.rb
|
82
|
+
- lib/geo_ruby/gpx.rb
|
134
83
|
- lib/geo_ruby/shp.rb
|
135
|
-
- lib/geo_ruby/
|
136
|
-
- lib/geo_ruby/
|
137
|
-
- lib/geo_ruby/simple_features/
|
138
|
-
- lib/geo_ruby/simple_features/
|
84
|
+
- lib/geo_ruby/version.rb
|
85
|
+
- lib/geo_ruby/simple_features/point.rb
|
86
|
+
- lib/geo_ruby/simple_features/multi_point.rb
|
87
|
+
- lib/geo_ruby/simple_features/line_string.rb
|
88
|
+
- lib/geo_ruby/simple_features/multi_polygon.rb
|
139
89
|
- lib/geo_ruby/simple_features/ewkt_parser.rb
|
140
|
-
- lib/geo_ruby/simple_features/geometry.rb
|
141
|
-
- lib/geo_ruby/simple_features/geometry_collection.rb
|
142
|
-
- lib/geo_ruby/simple_features/geometry_factory.rb
|
143
90
|
- lib/geo_ruby/simple_features/helper.rb
|
144
|
-
- lib/geo_ruby/simple_features/
|
145
|
-
- lib/geo_ruby/simple_features/
|
91
|
+
- lib/geo_ruby/simple_features/envelope.rb
|
92
|
+
- lib/geo_ruby/simple_features/geometry_factory.rb
|
93
|
+
- lib/geo_ruby/simple_features/geometry_collection.rb
|
146
94
|
- lib/geo_ruby/simple_features/multi_line_string.rb
|
147
|
-
- lib/geo_ruby/simple_features/
|
148
|
-
- lib/geo_ruby/simple_features/
|
149
|
-
- lib/geo_ruby/simple_features/point.rb
|
95
|
+
- lib/geo_ruby/simple_features/linear_ring.rb
|
96
|
+
- lib/geo_ruby/simple_features/curve.rb
|
150
97
|
- lib/geo_ruby/simple_features/polygon.rb
|
151
|
-
-
|
152
|
-
-
|
153
|
-
-
|
154
|
-
-
|
155
|
-
-
|
98
|
+
- lib/geo_ruby/simple_features/geometry.rb
|
99
|
+
- lib/geo_ruby/simple_features/ewkb_parser.rb
|
100
|
+
- lib/geo_ruby/shp4r/shp.rb
|
101
|
+
- lib/geo_ruby/shp4r/dbf.rb
|
102
|
+
- lib/geo_ruby/georss.rb
|
103
|
+
- spec/geo_ruby_spec.rb
|
104
|
+
- spec/data/point.dbf
|
156
105
|
- spec/data/gpx/fells_loop.gpx
|
157
106
|
- spec/data/gpx/long.gpx
|
158
107
|
- spec/data/gpx/long.kml
|
108
|
+
- spec/data/gpx/tracktreks.gpx
|
159
109
|
- spec/data/gpx/long.nmea
|
160
110
|
- spec/data/gpx/short.gpx
|
161
111
|
- spec/data/gpx/short.kml
|
162
|
-
- spec/data/
|
163
|
-
- spec/data/multipoint.dbf
|
112
|
+
- spec/data/polygon.dbf
|
164
113
|
- spec/data/multipoint.shp
|
165
|
-
- spec/data/multipoint.shx
|
166
|
-
- spec/data/point.dbf
|
167
114
|
- spec/data/point.shp
|
115
|
+
- spec/data/polyline.shx
|
116
|
+
- spec/data/multipoint.dbf
|
117
|
+
- spec/data/geojson/feature_collection.json
|
118
|
+
- spec/data/polyline.shp
|
168
119
|
- spec/data/point.shx
|
169
|
-
- spec/data/polygon.dbf
|
170
|
-
- spec/data/polygon.shp
|
171
|
-
- spec/data/polygon.shx
|
172
120
|
- spec/data/polyline.dbf
|
173
|
-
- spec/data/
|
174
|
-
- spec/data/
|
175
|
-
- spec/
|
176
|
-
- spec/
|
177
|
-
- spec/
|
121
|
+
- spec/data/multipoint.shx
|
122
|
+
- spec/data/georss/w3c.xml
|
123
|
+
- spec/data/georss/atom.xml
|
124
|
+
- spec/data/georss/gml.xml
|
125
|
+
- spec/data/polygon.shx
|
126
|
+
- spec/data/polygon.shp
|
127
|
+
- spec/spec_helper.rb
|
178
128
|
- spec/geo_ruby/gpx4r/gpx_spec.rb
|
179
|
-
- spec/geo_ruby/
|
180
|
-
- spec/geo_ruby/simple_features/
|
129
|
+
- spec/geo_ruby/geojson_spec.rb
|
130
|
+
- spec/geo_ruby/simple_features/multi_line_string_spec.rb
|
181
131
|
- spec/geo_ruby/simple_features/ewkb_parser_spec.rb
|
132
|
+
- spec/geo_ruby/simple_features/geometry_spec.rb
|
133
|
+
- spec/geo_ruby/simple_features/line_string_spec.rb
|
182
134
|
- spec/geo_ruby/simple_features/ewkt_parser_spec.rb
|
183
135
|
- spec/geo_ruby/simple_features/geometry_collection_spec.rb
|
136
|
+
- spec/geo_ruby/simple_features/envelope_spec.rb
|
184
137
|
- spec/geo_ruby/simple_features/geometry_factory_spec.rb
|
185
|
-
- spec/geo_ruby/simple_features/geometry_spec.rb
|
186
|
-
- spec/geo_ruby/simple_features/line_string_spec.rb
|
187
|
-
- spec/geo_ruby/simple_features/linear_ring_spec.rb
|
188
|
-
- spec/geo_ruby/simple_features/multi_line_string_spec.rb
|
189
|
-
- spec/geo_ruby/simple_features/multi_point_spec.rb
|
190
138
|
- spec/geo_ruby/simple_features/multi_polygon_spec.rb
|
191
|
-
- spec/geo_ruby/simple_features/point_spec.rb
|
192
139
|
- spec/geo_ruby/simple_features/polygon_spec.rb
|
193
|
-
- spec/
|
194
|
-
- spec/
|
195
|
-
|
140
|
+
- spec/geo_ruby/simple_features/point_spec.rb
|
141
|
+
- spec/geo_ruby/simple_features/multi_point_spec.rb
|
142
|
+
- spec/geo_ruby/simple_features/linear_ring_spec.rb
|
143
|
+
- spec/geo_ruby/georss_spec.rb
|
144
|
+
- spec/geo_ruby/shp4r/shp_spec.rb
|
145
|
+
- spec/geo_ruby/georss.rb
|
146
|
+
- README.rdoc
|
147
|
+
- Rakefile
|
196
148
|
homepage: http://github.com/nofxx/georuby
|
197
149
|
licenses: []
|
198
|
-
|
199
150
|
post_install_message:
|
200
151
|
rdoc_options: []
|
201
|
-
|
202
|
-
require_paths:
|
152
|
+
require_paths:
|
203
153
|
- lib
|
204
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
154
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
205
155
|
none: false
|
206
|
-
requirements:
|
207
|
-
- -
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
|
156
|
+
requirements:
|
157
|
+
- - ! '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
segments:
|
210
161
|
- 0
|
211
|
-
|
212
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
|
+
hash: -1240157531085943005
|
163
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
213
164
|
none: false
|
214
|
-
requirements:
|
215
|
-
- -
|
216
|
-
- !ruby/object:Gem::Version
|
217
|
-
|
218
|
-
- 0
|
219
|
-
version: "0"
|
165
|
+
requirements:
|
166
|
+
- - ! '>='
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0'
|
220
169
|
requirements: []
|
221
|
-
|
222
170
|
rubyforge_project:
|
223
|
-
rubygems_version: 1.
|
171
|
+
rubygems_version: 1.8.11
|
224
172
|
signing_key:
|
225
173
|
specification_version: 3
|
226
174
|
summary: Ruby data holder for OGC Simple Features
|
227
175
|
test_files: []
|
228
|
-
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
activesupport (3.0.5)
|
5
|
-
dbf (1.5.2)
|
6
|
-
activesupport (~> 3.0.0)
|
7
|
-
fastercsv (= 1.5.3)
|
8
|
-
i18n (~> 0.4.2)
|
9
|
-
diff-lcs (1.1.2)
|
10
|
-
fastercsv (1.5.3)
|
11
|
-
i18n (0.4.2)
|
12
|
-
rcov (0.9.9)
|
13
|
-
rspec (2.5.0)
|
14
|
-
rspec-core (~> 2.5.0)
|
15
|
-
rspec-expectations (~> 2.5.0)
|
16
|
-
rspec-mocks (~> 2.5.0)
|
17
|
-
rspec-core (2.5.1)
|
18
|
-
rspec-expectations (2.5.0)
|
19
|
-
diff-lcs (~> 1.1.2)
|
20
|
-
rspec-mocks (2.5.0)
|
21
|
-
|
22
|
-
PLATFORMS
|
23
|
-
ruby
|
24
|
-
|
25
|
-
DEPENDENCIES
|
26
|
-
bundler (>= 1.0.0)
|
27
|
-
dbf (>= 1.5.0)
|
28
|
-
rcov
|
29
|
-
rspec (>= 2.3.0)
|
data/History.txt
DELETED
data/LICENSE
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
GeoRuby License
|
2
|
-
|
3
|
-
Copyright (c) 2006 Guilhem Vellut <guilhem.vellut+georuby@gmail.com>
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to
|
7
|
-
deal in the Software without restriction, including without limitation the
|
8
|
-
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
9
|
-
permit persons to whom the Software is furnished to do so, subject to the
|
10
|
-
following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
16
|
-
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18
|
-
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
19
|
-
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
20
|
-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
21
|
-
OTHER DEALINGS IN THE SOFTWARE.
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.9.3
|
data/georuby.gemspec
DELETED
@@ -1,128 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{georuby}
|
8
|
-
s.version = "1.9.3"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Guilhem Vellut", "Marcos Piccinini", "Marcus Mateus", "Doug Cole"]
|
12
|
-
s.date = %q{2011-06-30}
|
13
|
-
s.description = %q{GeoRuby provides geometric data types from the OGC 'Simple Features' specification.}
|
14
|
-
s.email = %q{georuby@simplitex.com}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"LICENSE",
|
17
|
-
"README.rdoc"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
"Gemfile",
|
21
|
-
"Gemfile.lock",
|
22
|
-
"History.txt",
|
23
|
-
"LICENSE",
|
24
|
-
"README.rdoc",
|
25
|
-
"Rakefile",
|
26
|
-
"VERSION",
|
27
|
-
"georuby.gemspec",
|
28
|
-
"lib/geo_ruby.rb",
|
29
|
-
"lib/geo_ruby/geojson.rb",
|
30
|
-
"lib/geo_ruby/georss.rb",
|
31
|
-
"lib/geo_ruby/gpx.rb",
|
32
|
-
"lib/geo_ruby/gpx4r/gpx.rb",
|
33
|
-
"lib/geo_ruby/shp.rb",
|
34
|
-
"lib/geo_ruby/shp4r/dbf.rb",
|
35
|
-
"lib/geo_ruby/shp4r/shp.rb",
|
36
|
-
"lib/geo_ruby/simple_features/envelope.rb",
|
37
|
-
"lib/geo_ruby/simple_features/ewkb_parser.rb",
|
38
|
-
"lib/geo_ruby/simple_features/ewkt_parser.rb",
|
39
|
-
"lib/geo_ruby/simple_features/geometry.rb",
|
40
|
-
"lib/geo_ruby/simple_features/geometry_collection.rb",
|
41
|
-
"lib/geo_ruby/simple_features/geometry_factory.rb",
|
42
|
-
"lib/geo_ruby/simple_features/helper.rb",
|
43
|
-
"lib/geo_ruby/simple_features/line_string.rb",
|
44
|
-
"lib/geo_ruby/simple_features/linear_ring.rb",
|
45
|
-
"lib/geo_ruby/simple_features/multi_line_string.rb",
|
46
|
-
"lib/geo_ruby/simple_features/multi_point.rb",
|
47
|
-
"lib/geo_ruby/simple_features/multi_polygon.rb",
|
48
|
-
"lib/geo_ruby/simple_features/point.rb",
|
49
|
-
"lib/geo_ruby/simple_features/polygon.rb",
|
50
|
-
"nofxx-georuby.gemspec",
|
51
|
-
"spec/data/geojson/feature_collection.json",
|
52
|
-
"spec/data/georss/atom.xml",
|
53
|
-
"spec/data/georss/gml.xml",
|
54
|
-
"spec/data/georss/w3c.xml",
|
55
|
-
"spec/data/gpx/fells_loop.gpx",
|
56
|
-
"spec/data/gpx/long.gpx",
|
57
|
-
"spec/data/gpx/long.kml",
|
58
|
-
"spec/data/gpx/long.nmea",
|
59
|
-
"spec/data/gpx/short.gpx",
|
60
|
-
"spec/data/gpx/short.kml",
|
61
|
-
"spec/data/gpx/tracktreks.gpx",
|
62
|
-
"spec/data/multipoint.dbf",
|
63
|
-
"spec/data/multipoint.shp",
|
64
|
-
"spec/data/multipoint.shx",
|
65
|
-
"spec/data/point.dbf",
|
66
|
-
"spec/data/point.shp",
|
67
|
-
"spec/data/point.shx",
|
68
|
-
"spec/data/polygon.dbf",
|
69
|
-
"spec/data/polygon.shp",
|
70
|
-
"spec/data/polygon.shx",
|
71
|
-
"spec/data/polyline.dbf",
|
72
|
-
"spec/data/polyline.shp",
|
73
|
-
"spec/data/polyline.shx",
|
74
|
-
"spec/geo_ruby/geojson_spec.rb",
|
75
|
-
"spec/geo_ruby/georss.rb",
|
76
|
-
"spec/geo_ruby/georss_spec.rb",
|
77
|
-
"spec/geo_ruby/gpx4r/gpx_spec.rb",
|
78
|
-
"spec/geo_ruby/shp4r/shp_spec.rb",
|
79
|
-
"spec/geo_ruby/simple_features/envelope_spec.rb",
|
80
|
-
"spec/geo_ruby/simple_features/ewkb_parser_spec.rb",
|
81
|
-
"spec/geo_ruby/simple_features/ewkt_parser_spec.rb",
|
82
|
-
"spec/geo_ruby/simple_features/geometry_collection_spec.rb",
|
83
|
-
"spec/geo_ruby/simple_features/geometry_factory_spec.rb",
|
84
|
-
"spec/geo_ruby/simple_features/geometry_spec.rb",
|
85
|
-
"spec/geo_ruby/simple_features/line_string_spec.rb",
|
86
|
-
"spec/geo_ruby/simple_features/linear_ring_spec.rb",
|
87
|
-
"spec/geo_ruby/simple_features/multi_line_string_spec.rb",
|
88
|
-
"spec/geo_ruby/simple_features/multi_point_spec.rb",
|
89
|
-
"spec/geo_ruby/simple_features/multi_polygon_spec.rb",
|
90
|
-
"spec/geo_ruby/simple_features/point_spec.rb",
|
91
|
-
"spec/geo_ruby/simple_features/polygon_spec.rb",
|
92
|
-
"spec/geo_ruby_spec.rb",
|
93
|
-
"spec/spec_helper.rb"
|
94
|
-
]
|
95
|
-
s.homepage = %q{http://github.com/nofxx/georuby}
|
96
|
-
s.require_paths = ["lib"]
|
97
|
-
s.rubygems_version = %q{1.3.7}
|
98
|
-
s.summary = %q{Ruby data holder for OGC Simple Features}
|
99
|
-
|
100
|
-
if s.respond_to? :specification_version then
|
101
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
102
|
-
s.specification_version = 3
|
103
|
-
|
104
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
105
|
-
s.add_development_dependency(%q<dbf>, [">= 1.5.0"])
|
106
|
-
s.add_development_dependency(%q<rspec>, [">= 2.3.0"])
|
107
|
-
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
108
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
109
|
-
s.add_development_dependency(%q<rspec>, [">= 2.0.0"])
|
110
|
-
s.add_development_dependency(%q<dbf>, [">= 1.2.9"])
|
111
|
-
else
|
112
|
-
s.add_dependency(%q<dbf>, [">= 1.5.0"])
|
113
|
-
s.add_dependency(%q<rspec>, [">= 2.3.0"])
|
114
|
-
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
115
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
116
|
-
s.add_dependency(%q<rspec>, [">= 2.0.0"])
|
117
|
-
s.add_dependency(%q<dbf>, [">= 1.2.9"])
|
118
|
-
end
|
119
|
-
else
|
120
|
-
s.add_dependency(%q<dbf>, [">= 1.5.0"])
|
121
|
-
s.add_dependency(%q<rspec>, [">= 2.3.0"])
|
122
|
-
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
123
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
124
|
-
s.add_dependency(%q<rspec>, [">= 2.0.0"])
|
125
|
-
s.add_dependency(%q<dbf>, [">= 1.2.9"])
|
126
|
-
end
|
127
|
-
end
|
128
|
-
|
data/nofxx-georuby.gemspec
DELETED
@@ -1,149 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{nofxx-georuby}
|
8
|
-
s.version = "1.9.2"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Guilhem Vellut", "Marcos Piccinini", "Marcus Mateus", "Doug Cole"]
|
12
|
-
s.date = %q{2011-04-08}
|
13
|
-
s.description = %q{GeoRuby provides geometric data types from the OGC 'Simple Features' specification.}
|
14
|
-
s.email = %q{georuby@simplitex.com}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"LICENSE",
|
17
|
-
"README.rdoc"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
"Gemfile",
|
21
|
-
"Gemfile.lock",
|
22
|
-
"History.txt",
|
23
|
-
"LICENSE",
|
24
|
-
"README.rdoc",
|
25
|
-
"Rakefile",
|
26
|
-
"VERSION",
|
27
|
-
"georuby.gemspec",
|
28
|
-
"lib/geo_ruby.rb",
|
29
|
-
"lib/geo_ruby/geojson.rb",
|
30
|
-
"lib/geo_ruby/georss.rb",
|
31
|
-
"lib/geo_ruby/gpx.rb",
|
32
|
-
"lib/geo_ruby/gpx4r/gpx.rb",
|
33
|
-
"lib/geo_ruby/shp.rb",
|
34
|
-
"lib/geo_ruby/shp4r/dbf.rb",
|
35
|
-
"lib/geo_ruby/shp4r/shp.rb",
|
36
|
-
"lib/geo_ruby/simple_features/envelope.rb",
|
37
|
-
"lib/geo_ruby/simple_features/ewkb_parser.rb",
|
38
|
-
"lib/geo_ruby/simple_features/ewkt_parser.rb",
|
39
|
-
"lib/geo_ruby/simple_features/geometry.rb",
|
40
|
-
"lib/geo_ruby/simple_features/geometry_collection.rb",
|
41
|
-
"lib/geo_ruby/simple_features/geometry_factory.rb",
|
42
|
-
"lib/geo_ruby/simple_features/helper.rb",
|
43
|
-
"lib/geo_ruby/simple_features/line_string.rb",
|
44
|
-
"lib/geo_ruby/simple_features/linear_ring.rb",
|
45
|
-
"lib/geo_ruby/simple_features/multi_line_string.rb",
|
46
|
-
"lib/geo_ruby/simple_features/multi_point.rb",
|
47
|
-
"lib/geo_ruby/simple_features/multi_polygon.rb",
|
48
|
-
"lib/geo_ruby/simple_features/point.rb",
|
49
|
-
"lib/geo_ruby/simple_features/polygon.rb",
|
50
|
-
"spec/data/geojson/feature_collection.json",
|
51
|
-
"spec/data/georss/atom.xml",
|
52
|
-
"spec/data/georss/gml.xml",
|
53
|
-
"spec/data/georss/w3c.xml",
|
54
|
-
"spec/data/gpx/fells_loop.gpx",
|
55
|
-
"spec/data/gpx/long.gpx",
|
56
|
-
"spec/data/gpx/long.kml",
|
57
|
-
"spec/data/gpx/long.nmea",
|
58
|
-
"spec/data/gpx/short.gpx",
|
59
|
-
"spec/data/gpx/short.kml",
|
60
|
-
"spec/data/gpx/tracktreks.gpx",
|
61
|
-
"spec/data/multipoint.dbf",
|
62
|
-
"spec/data/multipoint.shp",
|
63
|
-
"spec/data/multipoint.shx",
|
64
|
-
"spec/data/point.dbf",
|
65
|
-
"spec/data/point.shp",
|
66
|
-
"spec/data/point.shx",
|
67
|
-
"spec/data/polygon.dbf",
|
68
|
-
"spec/data/polygon.shp",
|
69
|
-
"spec/data/polygon.shx",
|
70
|
-
"spec/data/polyline.dbf",
|
71
|
-
"spec/data/polyline.shp",
|
72
|
-
"spec/data/polyline.shx",
|
73
|
-
"spec/geo_ruby/geojson_spec.rb",
|
74
|
-
"spec/geo_ruby/georss.rb",
|
75
|
-
"spec/geo_ruby/georss_spec.rb",
|
76
|
-
"spec/geo_ruby/gpx4r/gpx_spec.rb",
|
77
|
-
"spec/geo_ruby/shp4r/shp_spec.rb",
|
78
|
-
"spec/geo_ruby/simple_features/envelope_spec.rb",
|
79
|
-
"spec/geo_ruby/simple_features/ewkb_parser_spec.rb",
|
80
|
-
"spec/geo_ruby/simple_features/ewkt_parser_spec.rb",
|
81
|
-
"spec/geo_ruby/simple_features/geometry_collection_spec.rb",
|
82
|
-
"spec/geo_ruby/simple_features/geometry_factory_spec.rb",
|
83
|
-
"spec/geo_ruby/simple_features/geometry_spec.rb",
|
84
|
-
"spec/geo_ruby/simple_features/line_string_spec.rb",
|
85
|
-
"spec/geo_ruby/simple_features/linear_ring_spec.rb",
|
86
|
-
"spec/geo_ruby/simple_features/multi_line_string_spec.rb",
|
87
|
-
"spec/geo_ruby/simple_features/multi_point_spec.rb",
|
88
|
-
"spec/geo_ruby/simple_features/multi_polygon_spec.rb",
|
89
|
-
"spec/geo_ruby/simple_features/point_spec.rb",
|
90
|
-
"spec/geo_ruby/simple_features/polygon_spec.rb",
|
91
|
-
"spec/geo_ruby_spec.rb",
|
92
|
-
"spec/spec_helper.rb"
|
93
|
-
]
|
94
|
-
s.homepage = %q{http://github.com/nofxx/georuby}
|
95
|
-
s.require_paths = ["lib"]
|
96
|
-
s.rubygems_version = %q{1.3.7}
|
97
|
-
s.summary = %q{Ruby data holder for OGC Simple Features}
|
98
|
-
s.test_files = [
|
99
|
-
"spec/geo_ruby/geojson_spec.rb",
|
100
|
-
"spec/geo_ruby/georss.rb",
|
101
|
-
"spec/geo_ruby/georss_spec.rb",
|
102
|
-
"spec/geo_ruby/gpx4r/gpx_spec.rb",
|
103
|
-
"spec/geo_ruby/shp4r/shp_spec.rb",
|
104
|
-
"spec/geo_ruby/simple_features/envelope_spec.rb",
|
105
|
-
"spec/geo_ruby/simple_features/ewkb_parser_spec.rb",
|
106
|
-
"spec/geo_ruby/simple_features/ewkt_parser_spec.rb",
|
107
|
-
"spec/geo_ruby/simple_features/geometry_collection_spec.rb",
|
108
|
-
"spec/geo_ruby/simple_features/geometry_factory_spec.rb",
|
109
|
-
"spec/geo_ruby/simple_features/geometry_spec.rb",
|
110
|
-
"spec/geo_ruby/simple_features/line_string_spec.rb",
|
111
|
-
"spec/geo_ruby/simple_features/linear_ring_spec.rb",
|
112
|
-
"spec/geo_ruby/simple_features/multi_line_string_spec.rb",
|
113
|
-
"spec/geo_ruby/simple_features/multi_point_spec.rb",
|
114
|
-
"spec/geo_ruby/simple_features/multi_polygon_spec.rb",
|
115
|
-
"spec/geo_ruby/simple_features/point_spec.rb",
|
116
|
-
"spec/geo_ruby/simple_features/polygon_spec.rb",
|
117
|
-
"spec/geo_ruby_spec.rb",
|
118
|
-
"spec/spec_helper.rb"
|
119
|
-
]
|
120
|
-
|
121
|
-
if s.respond_to? :specification_version then
|
122
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
123
|
-
s.specification_version = 3
|
124
|
-
|
125
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
126
|
-
s.add_development_dependency(%q<dbf>, [">= 1.5.0"])
|
127
|
-
s.add_development_dependency(%q<rspec>, [">= 2.3.0"])
|
128
|
-
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
129
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
130
|
-
s.add_development_dependency(%q<rspec>, [">= 2.0.0"])
|
131
|
-
s.add_development_dependency(%q<dbf>, [">= 1.2.9"])
|
132
|
-
else
|
133
|
-
s.add_dependency(%q<dbf>, [">= 1.5.0"])
|
134
|
-
s.add_dependency(%q<rspec>, [">= 2.3.0"])
|
135
|
-
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
136
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
137
|
-
s.add_dependency(%q<rspec>, [">= 2.0.0"])
|
138
|
-
s.add_dependency(%q<dbf>, [">= 1.2.9"])
|
139
|
-
end
|
140
|
-
else
|
141
|
-
s.add_dependency(%q<dbf>, [">= 1.5.0"])
|
142
|
-
s.add_dependency(%q<rspec>, [">= 2.3.0"])
|
143
|
-
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
144
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
145
|
-
s.add_dependency(%q<rspec>, [">= 2.0.0"])
|
146
|
-
s.add_dependency(%q<dbf>, [">= 1.2.9"])
|
147
|
-
end
|
148
|
-
end
|
149
|
-
|