earth 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +9 -1
- data/lib/earth/shipping/shipment_mode.rb +1 -1
- metadata +26 -206
data/Gemfile.lock
CHANGED
@@ -1,14 +1,22 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
earth (0.3.
|
4
|
+
earth (0.3.7)
|
5
5
|
activerecord (~> 3)
|
6
|
+
activerecord (~> 3)
|
7
|
+
cohort_scope (>= 0.0.7)
|
6
8
|
cohort_scope (>= 0.0.7)
|
7
9
|
conversions (>= 1.4.5)
|
10
|
+
conversions (>= 1.4.5)
|
11
|
+
data_miner (~> 0.5.6)
|
8
12
|
data_miner (~> 0.5.6)
|
9
13
|
falls_back_on (>= 0.0.3)
|
14
|
+
falls_back_on (>= 0.0.3)
|
15
|
+
geokit (>= 1.5.0)
|
10
16
|
geokit (>= 1.5.0)
|
11
17
|
loose_tight_dictionary (>= 0.0.8)
|
18
|
+
loose_tight_dictionary (>= 0.0.8)
|
19
|
+
weighted_average (>= 0.0.4)
|
12
20
|
weighted_average (>= 0.0.4)
|
13
21
|
|
14
22
|
GEM
|
@@ -2,7 +2,7 @@ class ShipmentMode < ActiveRecord::Base
|
|
2
2
|
set_primary_key :name
|
3
3
|
|
4
4
|
falls_back_on :route_inefficiency_factor => 1.05,#ShipmentMode.where(not(:name => 'courier')).average(:route_inefficiency_factor),
|
5
|
-
:transport_emission_factor =>
|
5
|
+
:transport_emission_factor => 0.0007696#ShipmentMode.where(not(:name => 'courier')).average(:route_inefficiency_factor)
|
6
6
|
|
7
7
|
data_miner do
|
8
8
|
tap "Brighter Planet's shipment mode data", Earth.taps_server
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: earth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 3
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
9
|
+
- 8
|
10
|
+
version: 0.3.8
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Seamus Abshere
|
@@ -16,7 +17,7 @@ autorequire:
|
|
16
17
|
bindir: bin
|
17
18
|
cert_chain: []
|
18
19
|
|
19
|
-
date: 2010-12-
|
20
|
+
date: 2010-12-12 00:00:00 -05:00
|
20
21
|
default_executable:
|
21
22
|
dependencies:
|
22
23
|
- !ruby/object:Gem::Dependency
|
@@ -27,6 +28,7 @@ dependencies:
|
|
27
28
|
requirements:
|
28
29
|
- - ~>
|
29
30
|
- !ruby/object:Gem::Version
|
31
|
+
hash: 5
|
30
32
|
segments:
|
31
33
|
- 3
|
32
34
|
version: "3"
|
@@ -40,6 +42,7 @@ dependencies:
|
|
40
42
|
requirements:
|
41
43
|
- - ~>
|
42
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 7
|
43
46
|
segments:
|
44
47
|
- 0
|
45
48
|
- 5
|
@@ -55,6 +58,7 @@ dependencies:
|
|
55
58
|
requirements:
|
56
59
|
- - ">="
|
57
60
|
- !ruby/object:Gem::Version
|
61
|
+
hash: 25
|
58
62
|
segments:
|
59
63
|
- 0
|
60
64
|
- 0
|
@@ -70,6 +74,7 @@ dependencies:
|
|
70
74
|
requirements:
|
71
75
|
- - ">="
|
72
76
|
- !ruby/object:Gem::Version
|
77
|
+
hash: 3
|
73
78
|
segments:
|
74
79
|
- 1
|
75
80
|
- 5
|
@@ -85,6 +90,7 @@ dependencies:
|
|
85
90
|
requirements:
|
86
91
|
- - ">="
|
87
92
|
- !ruby/object:Gem::Version
|
93
|
+
hash: 17
|
88
94
|
segments:
|
89
95
|
- 0
|
90
96
|
- 0
|
@@ -100,6 +106,7 @@ dependencies:
|
|
100
106
|
requirements:
|
101
107
|
- - ">="
|
102
108
|
- !ruby/object:Gem::Version
|
109
|
+
hash: 13
|
103
110
|
segments:
|
104
111
|
- 1
|
105
112
|
- 4
|
@@ -115,6 +122,7 @@ dependencies:
|
|
115
122
|
requirements:
|
116
123
|
- - ">="
|
117
124
|
- !ruby/object:Gem::Version
|
125
|
+
hash: 23
|
118
126
|
segments:
|
119
127
|
- 0
|
120
128
|
- 0
|
@@ -130,6 +138,7 @@ dependencies:
|
|
130
138
|
requirements:
|
131
139
|
- - ">="
|
132
140
|
- !ruby/object:Gem::Version
|
141
|
+
hash: 15
|
133
142
|
segments:
|
134
143
|
- 0
|
135
144
|
- 0
|
@@ -145,6 +154,7 @@ dependencies:
|
|
145
154
|
requirements:
|
146
155
|
- - ~>
|
147
156
|
- !ruby/object:Gem::Version
|
157
|
+
hash: 7
|
148
158
|
segments:
|
149
159
|
- 2
|
150
160
|
version: "2"
|
@@ -158,6 +168,7 @@ dependencies:
|
|
158
168
|
requirements:
|
159
169
|
- - ">="
|
160
170
|
- !ruby/object:Gem::Version
|
171
|
+
hash: 3
|
161
172
|
segments:
|
162
173
|
- 0
|
163
174
|
version: "0"
|
@@ -171,6 +182,7 @@ dependencies:
|
|
171
182
|
requirements:
|
172
183
|
- - ~>
|
173
184
|
- !ruby/object:Gem::Version
|
185
|
+
hash: 7
|
174
186
|
segments:
|
175
187
|
- 1
|
176
188
|
- 4
|
@@ -185,6 +197,7 @@ dependencies:
|
|
185
197
|
requirements:
|
186
198
|
- - ">="
|
187
199
|
- !ruby/object:Gem::Version
|
200
|
+
hash: 3
|
188
201
|
segments:
|
189
202
|
- 0
|
190
203
|
version: "0"
|
@@ -198,6 +211,7 @@ dependencies:
|
|
198
211
|
requirements:
|
199
212
|
- - ">="
|
200
213
|
- !ruby/object:Gem::Version
|
214
|
+
hash: 3
|
201
215
|
segments:
|
202
216
|
- 0
|
203
217
|
version: "0"
|
@@ -211,208 +225,12 @@ dependencies:
|
|
211
225
|
requirements:
|
212
226
|
- - ">="
|
213
227
|
- !ruby/object:Gem::Version
|
228
|
+
hash: 3
|
214
229
|
segments:
|
215
230
|
- 0
|
216
231
|
version: "0"
|
217
232
|
type: :development
|
218
233
|
version_requirements: *id014
|
219
|
-
- !ruby/object:Gem::Dependency
|
220
|
-
name: activerecord
|
221
|
-
prerelease: false
|
222
|
-
requirement: &id015 !ruby/object:Gem::Requirement
|
223
|
-
none: false
|
224
|
-
requirements:
|
225
|
-
- - ~>
|
226
|
-
- !ruby/object:Gem::Version
|
227
|
-
segments:
|
228
|
-
- 3
|
229
|
-
version: "3"
|
230
|
-
type: :runtime
|
231
|
-
version_requirements: *id015
|
232
|
-
- !ruby/object:Gem::Dependency
|
233
|
-
name: data_miner
|
234
|
-
prerelease: false
|
235
|
-
requirement: &id016 !ruby/object:Gem::Requirement
|
236
|
-
none: false
|
237
|
-
requirements:
|
238
|
-
- - ~>
|
239
|
-
- !ruby/object:Gem::Version
|
240
|
-
segments:
|
241
|
-
- 0
|
242
|
-
- 5
|
243
|
-
- 6
|
244
|
-
version: 0.5.6
|
245
|
-
type: :runtime
|
246
|
-
version_requirements: *id016
|
247
|
-
- !ruby/object:Gem::Dependency
|
248
|
-
name: falls_back_on
|
249
|
-
prerelease: false
|
250
|
-
requirement: &id017 !ruby/object:Gem::Requirement
|
251
|
-
none: false
|
252
|
-
requirements:
|
253
|
-
- - ">="
|
254
|
-
- !ruby/object:Gem::Version
|
255
|
-
segments:
|
256
|
-
- 0
|
257
|
-
- 0
|
258
|
-
- 3
|
259
|
-
version: 0.0.3
|
260
|
-
type: :runtime
|
261
|
-
version_requirements: *id017
|
262
|
-
- !ruby/object:Gem::Dependency
|
263
|
-
name: geokit
|
264
|
-
prerelease: false
|
265
|
-
requirement: &id018 !ruby/object:Gem::Requirement
|
266
|
-
none: false
|
267
|
-
requirements:
|
268
|
-
- - ">="
|
269
|
-
- !ruby/object:Gem::Version
|
270
|
-
segments:
|
271
|
-
- 1
|
272
|
-
- 5
|
273
|
-
- 0
|
274
|
-
version: 1.5.0
|
275
|
-
type: :runtime
|
276
|
-
version_requirements: *id018
|
277
|
-
- !ruby/object:Gem::Dependency
|
278
|
-
name: cohort_scope
|
279
|
-
prerelease: false
|
280
|
-
requirement: &id019 !ruby/object:Gem::Requirement
|
281
|
-
none: false
|
282
|
-
requirements:
|
283
|
-
- - ">="
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
segments:
|
286
|
-
- 0
|
287
|
-
- 0
|
288
|
-
- 7
|
289
|
-
version: 0.0.7
|
290
|
-
type: :runtime
|
291
|
-
version_requirements: *id019
|
292
|
-
- !ruby/object:Gem::Dependency
|
293
|
-
name: conversions
|
294
|
-
prerelease: false
|
295
|
-
requirement: &id020 !ruby/object:Gem::Requirement
|
296
|
-
none: false
|
297
|
-
requirements:
|
298
|
-
- - ">="
|
299
|
-
- !ruby/object:Gem::Version
|
300
|
-
segments:
|
301
|
-
- 1
|
302
|
-
- 4
|
303
|
-
- 5
|
304
|
-
version: 1.4.5
|
305
|
-
type: :runtime
|
306
|
-
version_requirements: *id020
|
307
|
-
- !ruby/object:Gem::Dependency
|
308
|
-
name: weighted_average
|
309
|
-
prerelease: false
|
310
|
-
requirement: &id021 !ruby/object:Gem::Requirement
|
311
|
-
none: false
|
312
|
-
requirements:
|
313
|
-
- - ">="
|
314
|
-
- !ruby/object:Gem::Version
|
315
|
-
segments:
|
316
|
-
- 0
|
317
|
-
- 0
|
318
|
-
- 4
|
319
|
-
version: 0.0.4
|
320
|
-
type: :runtime
|
321
|
-
version_requirements: *id021
|
322
|
-
- !ruby/object:Gem::Dependency
|
323
|
-
name: loose_tight_dictionary
|
324
|
-
prerelease: false
|
325
|
-
requirement: &id022 !ruby/object:Gem::Requirement
|
326
|
-
none: false
|
327
|
-
requirements:
|
328
|
-
- - ">="
|
329
|
-
- !ruby/object:Gem::Version
|
330
|
-
segments:
|
331
|
-
- 0
|
332
|
-
- 0
|
333
|
-
- 8
|
334
|
-
version: 0.0.8
|
335
|
-
type: :runtime
|
336
|
-
version_requirements: *id022
|
337
|
-
- !ruby/object:Gem::Dependency
|
338
|
-
name: rspec
|
339
|
-
prerelease: false
|
340
|
-
requirement: &id023 !ruby/object:Gem::Requirement
|
341
|
-
none: false
|
342
|
-
requirements:
|
343
|
-
- - ~>
|
344
|
-
- !ruby/object:Gem::Version
|
345
|
-
segments:
|
346
|
-
- 2
|
347
|
-
version: "2"
|
348
|
-
type: :development
|
349
|
-
version_requirements: *id023
|
350
|
-
- !ruby/object:Gem::Dependency
|
351
|
-
name: rake
|
352
|
-
prerelease: false
|
353
|
-
requirement: &id024 !ruby/object:Gem::Requirement
|
354
|
-
none: false
|
355
|
-
requirements:
|
356
|
-
- - ">="
|
357
|
-
- !ruby/object:Gem::Version
|
358
|
-
segments:
|
359
|
-
- 0
|
360
|
-
version: "0"
|
361
|
-
type: :development
|
362
|
-
version_requirements: *id024
|
363
|
-
- !ruby/object:Gem::Dependency
|
364
|
-
name: jeweler
|
365
|
-
prerelease: false
|
366
|
-
requirement: &id025 !ruby/object:Gem::Requirement
|
367
|
-
none: false
|
368
|
-
requirements:
|
369
|
-
- - ~>
|
370
|
-
- !ruby/object:Gem::Version
|
371
|
-
segments:
|
372
|
-
- 1
|
373
|
-
- 4
|
374
|
-
version: "1.4"
|
375
|
-
type: :development
|
376
|
-
version_requirements: *id025
|
377
|
-
- !ruby/object:Gem::Dependency
|
378
|
-
name: rcov
|
379
|
-
prerelease: false
|
380
|
-
requirement: &id026 !ruby/object:Gem::Requirement
|
381
|
-
none: false
|
382
|
-
requirements:
|
383
|
-
- - ">="
|
384
|
-
- !ruby/object:Gem::Version
|
385
|
-
segments:
|
386
|
-
- 0
|
387
|
-
version: "0"
|
388
|
-
type: :development
|
389
|
-
version_requirements: *id026
|
390
|
-
- !ruby/object:Gem::Dependency
|
391
|
-
name: rdoc
|
392
|
-
prerelease: false
|
393
|
-
requirement: &id027 !ruby/object:Gem::Requirement
|
394
|
-
none: false
|
395
|
-
requirements:
|
396
|
-
- - ">="
|
397
|
-
- !ruby/object:Gem::Version
|
398
|
-
segments:
|
399
|
-
- 0
|
400
|
-
version: "0"
|
401
|
-
type: :development
|
402
|
-
version_requirements: *id027
|
403
|
-
- !ruby/object:Gem::Dependency
|
404
|
-
name: sqlite3-ruby
|
405
|
-
prerelease: false
|
406
|
-
requirement: &id028 !ruby/object:Gem::Requirement
|
407
|
-
none: false
|
408
|
-
requirements:
|
409
|
-
- - ">="
|
410
|
-
- !ruby/object:Gem::Version
|
411
|
-
segments:
|
412
|
-
- 0
|
413
|
-
version: "0"
|
414
|
-
type: :development
|
415
|
-
version_requirements: *id028
|
416
234
|
description: An earth-simulation environment with ActiveRecord models and data
|
417
235
|
email: andy@rossmeissl.net
|
418
236
|
executables: []
|
@@ -603,18 +421,18 @@ files:
|
|
603
421
|
- vendor/geokit-rails/test/schema.rb
|
604
422
|
- vendor/geokit-rails/test/tasks.rake
|
605
423
|
- vendor/geokit-rails/test/test_helper.rb
|
606
|
-
- Gemfile
|
607
|
-
- Gemfile.lock
|
608
424
|
- spec/earth/air/aircraft_spec.rb
|
609
425
|
- spec/earth_spec.rb
|
610
426
|
- spec/spec_helper.rb
|
427
|
+
- Gemfile
|
428
|
+
- Gemfile.lock
|
611
429
|
has_rdoc: true
|
612
430
|
homepage: http://github.com/brighterplanet/earth
|
613
431
|
licenses: []
|
614
432
|
|
615
433
|
post_install_message:
|
616
|
-
rdoc_options:
|
617
|
-
|
434
|
+
rdoc_options:
|
435
|
+
- --charset=UTF-8
|
618
436
|
require_paths:
|
619
437
|
- lib
|
620
438
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -622,6 +440,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
622
440
|
requirements:
|
623
441
|
- - ">="
|
624
442
|
- !ruby/object:Gem::Version
|
443
|
+
hash: 3
|
625
444
|
segments:
|
626
445
|
- 0
|
627
446
|
version: "0"
|
@@ -630,6 +449,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
630
449
|
requirements:
|
631
450
|
- - ">="
|
632
451
|
- !ruby/object:Gem::Version
|
452
|
+
hash: 3
|
633
453
|
segments:
|
634
454
|
- 0
|
635
455
|
version: "0"
|
@@ -641,8 +461,8 @@ signing_key:
|
|
641
461
|
specification_version: 3
|
642
462
|
summary: Land, sky, and sea
|
643
463
|
test_files:
|
644
|
-
- Gemfile
|
645
|
-
- Gemfile.lock
|
646
464
|
- spec/earth/air/aircraft_spec.rb
|
647
465
|
- spec/earth_spec.rb
|
648
466
|
- spec/spec_helper.rb
|
467
|
+
- Gemfile
|
468
|
+
- Gemfile.lock
|