earth 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -5,7 +5,6 @@ gemspec
5
5
 
6
6
  gem 'data_miner', :path => ENV['LOCAL_DATA_MINER'] if ENV['LOCAL_DATA_MINER']
7
7
  gem 'sniff', :path => ENV['LOCAL_SNIFF'] if ENV['LOCAL_SNIFF']
8
- gem 'roo', '1.9.3'
9
8
 
10
9
  if RUBY_VERSION =~ /^1\.8/
11
10
  gem 'fastercsv'
data/Rakefile CHANGED
@@ -13,6 +13,8 @@ task :console do
13
13
  IRB.start
14
14
  end
15
15
 
16
+ require 'cucumber'
17
+ require 'cucumber/rake/task'
16
18
  desc 'Run all cucumber tests'
17
19
  Cucumber::Rake::Task.new(:features) do |t|
18
20
  if ENV['CUCUMBER_FORMAT']
@@ -30,7 +32,6 @@ Cucumber::Rake::Task.new(:features_with_coverage) do |t|
30
32
  end
31
33
 
32
34
  require 'rspec/core/rake_task'
33
-
34
35
  desc "Run all examples"
35
36
  RSpec::Core::RakeTask.new(:examples) do |c|
36
37
  c.rspec_opts = '-Ispec'
@@ -46,10 +47,11 @@ end
46
47
  task :test => [:features, :examples]
47
48
  task :default => :test
48
49
 
50
+ require 'rake/rdoctask'
49
51
  require 'earth/version'
50
52
  Rake::RDocTask.new do |rdoc|
51
53
  rdoc.rdoc_dir = 'rdoc'
52
- rdoc.title = "#{gemname} #{Earth::VERSION}"
54
+ rdoc.title = "earth #{Earth::VERSION}"
53
55
  rdoc.rdoc_files.include('README*')
54
56
  rdoc.rdoc_files.include('lib/**/*.rb')
55
57
  end
@@ -27,11 +27,18 @@ Gem::Specification.new do |s|
27
27
  s.require_paths = ["lib"]
28
28
  s.rubygems_version = %q{1.3.7}
29
29
 
30
- s.add_runtime_dependency 'activerecord', '~> 3'
31
- s.add_runtime_dependency 'cohort_scope', '>= 0.0.7'
32
- s.add_runtime_dependency 'data_miner', '~> 1.1.1'
33
- s.add_runtime_dependency 'falls_back_on', '>= 0.0.3'
30
+ s.add_runtime_dependency 'cohort_scope', '~> 0.1.5'
31
+ s.add_runtime_dependency 'data_miner', '~> 1.1.4'
32
+ s.add_runtime_dependency 'falls_back_on', '~> 0.1.3'
34
33
  s.add_runtime_dependency 'geokit-rails'
35
- s.add_runtime_dependency 'loose_tight_dictionary', '>= 0.0.8'
36
- s.add_runtime_dependency 'weighted_average', '>= 0.0.4'
34
+ s.add_runtime_dependency 'loose_tight_dictionary', '~> 0.0.10'
35
+ s.add_runtime_dependency 'weighted_average', '~> 0.0.6'
36
+ s.add_development_dependency 'bundler'
37
+ s.add_development_dependency 'bueller'
38
+ s.add_development_dependency 'cucumber'
39
+ s.add_development_dependency 'rake'
40
+ s.add_development_dependency 'rdoc'
41
+ s.add_development_dependency 'rdoc'
42
+ s.add_development_dependency 'rspec'
43
+ s.add_development_dependency 'sqlite3-ruby'
37
44
  end
@@ -1,3 +1,6 @@
1
+ require 'active_record'
2
+ require 'active_record/fixtures'
3
+
1
4
  Given /^a "([^\"]*)" data import fetches results listed in "(.*)"$/ do |model, file_name|
2
5
  @data_import_model = model.constantize
3
6
  table_name = @data_import_model.table_name
@@ -3,6 +3,8 @@ require 'bundler'
3
3
 
4
4
  Bundler.setup
5
5
 
6
+ require 'earth'
7
+
6
8
  require 'data_miner'
7
9
  DataMiner.logger = Logger.new nil
8
10
 
@@ -1,3 +1,3 @@
1
1
  module Earth
2
- VERSION = '0.4.5'
2
+ VERSION = "0.4.6"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 5
9
- version: 0.4.5
8
+ - 6
9
+ version: 0.4.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Seamus Abshere
@@ -20,51 +20,52 @@ date: 2011-03-04 00:00:00 -05:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
- name: activerecord
24
- prerelease: false
23
+ name: cohort_scope
25
24
  requirement: &id001 !ruby/object:Gem::Requirement
26
25
  none: false
27
26
  requirements:
28
27
  - - ~>
29
28
  - !ruby/object:Gem::Version
30
29
  segments:
31
- - 3
32
- version: "3"
30
+ - 0
31
+ - 1
32
+ - 5
33
+ version: 0.1.5
33
34
  type: :runtime
35
+ prerelease: false
34
36
  version_requirements: *id001
35
37
  - !ruby/object:Gem::Dependency
36
- name: cohort_scope
37
- prerelease: false
38
+ name: data_miner
38
39
  requirement: &id002 !ruby/object:Gem::Requirement
39
40
  none: false
40
41
  requirements:
41
- - - ">="
42
+ - - ~>
42
43
  - !ruby/object:Gem::Version
43
44
  segments:
44
- - 0
45
- - 0
46
- - 7
47
- version: 0.0.7
45
+ - 1
46
+ - 1
47
+ - 4
48
+ version: 1.1.4
48
49
  type: :runtime
50
+ prerelease: false
49
51
  version_requirements: *id002
50
52
  - !ruby/object:Gem::Dependency
51
- name: data_miner
52
- prerelease: false
53
+ name: falls_back_on
53
54
  requirement: &id003 !ruby/object:Gem::Requirement
54
55
  none: false
55
56
  requirements:
56
57
  - - ~>
57
58
  - !ruby/object:Gem::Version
58
59
  segments:
60
+ - 0
59
61
  - 1
60
- - 1
61
- - 1
62
- version: 1.1.1
62
+ - 3
63
+ version: 0.1.3
63
64
  type: :runtime
65
+ prerelease: false
64
66
  version_requirements: *id003
65
67
  - !ruby/object:Gem::Dependency
66
- name: falls_back_on
67
- prerelease: false
68
+ name: geokit-rails
68
69
  requirement: &id004 !ruby/object:Gem::Requirement
69
70
  none: false
70
71
  requirements:
@@ -72,42 +73,42 @@ dependencies:
72
73
  - !ruby/object:Gem::Version
73
74
  segments:
74
75
  - 0
75
- - 0
76
- - 3
77
- version: 0.0.3
76
+ version: "0"
78
77
  type: :runtime
78
+ prerelease: false
79
79
  version_requirements: *id004
80
80
  - !ruby/object:Gem::Dependency
81
- name: geokit-rails
82
- prerelease: false
81
+ name: loose_tight_dictionary
83
82
  requirement: &id005 !ruby/object:Gem::Requirement
84
83
  none: false
85
84
  requirements:
86
- - - ">="
85
+ - - ~>
87
86
  - !ruby/object:Gem::Version
88
87
  segments:
89
88
  - 0
90
- version: "0"
89
+ - 0
90
+ - 10
91
+ version: 0.0.10
91
92
  type: :runtime
93
+ prerelease: false
92
94
  version_requirements: *id005
93
95
  - !ruby/object:Gem::Dependency
94
- name: loose_tight_dictionary
95
- prerelease: false
96
+ name: weighted_average
96
97
  requirement: &id006 !ruby/object:Gem::Requirement
97
98
  none: false
98
99
  requirements:
99
- - - ">="
100
+ - - ~>
100
101
  - !ruby/object:Gem::Version
101
102
  segments:
102
103
  - 0
103
104
  - 0
104
- - 8
105
- version: 0.0.8
105
+ - 6
106
+ version: 0.0.6
106
107
  type: :runtime
108
+ prerelease: false
107
109
  version_requirements: *id006
108
110
  - !ruby/object:Gem::Dependency
109
- name: weighted_average
110
- prerelease: false
111
+ name: bundler
111
112
  requirement: &id007 !ruby/object:Gem::Requirement
112
113
  none: false
113
114
  requirements:
@@ -115,11 +116,101 @@ dependencies:
115
116
  - !ruby/object:Gem::Version
116
117
  segments:
117
118
  - 0
118
- - 0
119
- - 4
120
- version: 0.0.4
121
- type: :runtime
119
+ version: "0"
120
+ type: :development
121
+ prerelease: false
122
122
  version_requirements: *id007
123
+ - !ruby/object:Gem::Dependency
124
+ name: bueller
125
+ requirement: &id008 !ruby/object:Gem::Requirement
126
+ none: false
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ segments:
131
+ - 0
132
+ version: "0"
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: *id008
136
+ - !ruby/object:Gem::Dependency
137
+ name: cucumber
138
+ requirement: &id009 !ruby/object:Gem::Requirement
139
+ none: false
140
+ requirements:
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ segments:
144
+ - 0
145
+ version: "0"
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: *id009
149
+ - !ruby/object:Gem::Dependency
150
+ name: rake
151
+ requirement: &id010 !ruby/object:Gem::Requirement
152
+ none: false
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ segments:
157
+ - 0
158
+ version: "0"
159
+ type: :development
160
+ prerelease: false
161
+ version_requirements: *id010
162
+ - !ruby/object:Gem::Dependency
163
+ name: rdoc
164
+ requirement: &id011 !ruby/object:Gem::Requirement
165
+ none: false
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ segments:
170
+ - 0
171
+ version: "0"
172
+ type: :development
173
+ prerelease: false
174
+ version_requirements: *id011
175
+ - !ruby/object:Gem::Dependency
176
+ name: rdoc
177
+ requirement: &id012 !ruby/object:Gem::Requirement
178
+ none: false
179
+ requirements:
180
+ - - ">="
181
+ - !ruby/object:Gem::Version
182
+ segments:
183
+ - 0
184
+ version: "0"
185
+ type: :development
186
+ prerelease: false
187
+ version_requirements: *id012
188
+ - !ruby/object:Gem::Dependency
189
+ name: rspec
190
+ requirement: &id013 !ruby/object:Gem::Requirement
191
+ none: false
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ segments:
196
+ - 0
197
+ version: "0"
198
+ type: :development
199
+ prerelease: false
200
+ version_requirements: *id013
201
+ - !ruby/object:Gem::Dependency
202
+ name: sqlite3-ruby
203
+ requirement: &id014 !ruby/object:Gem::Requirement
204
+ none: false
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ segments:
209
+ - 0
210
+ version: "0"
211
+ type: :development
212
+ prerelease: false
213
+ version_requirements: *id014
123
214
  description: An earth-simulation environment with ActiveRecord models and data
124
215
  email: andy@rossmeissl.net
125
216
  executables: []
@@ -470,6 +561,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
470
561
  requirements:
471
562
  - - ">="
472
563
  - !ruby/object:Gem::Version
564
+ hash: 1235371352071113730
473
565
  segments:
474
566
  - 0
475
567
  version: "0"
@@ -478,6 +570,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
478
570
  requirements:
479
571
  - - ">="
480
572
  - !ruby/object:Gem::Version
573
+ hash: 1235371352071113730
481
574
  segments:
482
575
  - 0
483
576
  version: "0"