earth 0.0.24 → 0.0.26
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/earth/air/flight_segment.rb +1 -10
- metadata +4 -37
@@ -2,7 +2,7 @@ class FlightSegment < ActiveRecord::Base
|
|
2
2
|
set_primary_key :row_hash
|
3
3
|
|
4
4
|
extend CohortScope
|
5
|
-
self.minimum_cohort_size =
|
5
|
+
self.minimum_cohort_size = 1
|
6
6
|
|
7
7
|
belongs_to :airline, :foreign_key => 'airline_iata_code'
|
8
8
|
belongs_to :origin_airport, :foreign_key => "origin_airport_iata_code", :class_name => 'Airport'
|
@@ -26,13 +26,4 @@ class FlightSegment < ActiveRecord::Base
|
|
26
26
|
run_data_miner_on_belongs_to_associations
|
27
27
|
end
|
28
28
|
end
|
29
|
-
|
30
|
-
INPUT_CHARACTERISTICS = [
|
31
|
-
:origin_airport,
|
32
|
-
:destination_airport,
|
33
|
-
:aircraft,
|
34
|
-
:airline,
|
35
|
-
:propulsion,
|
36
|
-
:domesticity
|
37
|
-
]
|
38
29
|
end
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: earth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 47
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
8
|
+
- 26
|
9
|
+
version: 0.0.26
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Seamus Abshere
|
@@ -17,18 +16,16 @@ autorequire:
|
|
17
16
|
bindir: bin
|
18
17
|
cert_chain: []
|
19
18
|
|
20
|
-
date: 2010-08-
|
19
|
+
date: 2010-08-23 00:00:00 -04:00
|
21
20
|
default_executable:
|
22
21
|
dependencies:
|
23
22
|
- !ruby/object:Gem::Dependency
|
24
23
|
name: activerecord
|
25
24
|
prerelease: false
|
26
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
-
none: false
|
28
26
|
requirements:
|
29
27
|
- - ">="
|
30
28
|
- !ruby/object:Gem::Version
|
31
|
-
hash: -1848230024
|
32
29
|
segments:
|
33
30
|
- 3
|
34
31
|
- 0
|
@@ -41,11 +38,9 @@ dependencies:
|
|
41
38
|
name: data_miner
|
42
39
|
prerelease: false
|
43
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
41
|
requirements:
|
46
42
|
- - ">="
|
47
43
|
- !ruby/object:Gem::Version
|
48
|
-
hash: 15
|
49
44
|
segments:
|
50
45
|
- 0
|
51
46
|
- 5
|
@@ -57,11 +52,9 @@ dependencies:
|
|
57
52
|
name: falls_back_on
|
58
53
|
prerelease: false
|
59
54
|
requirement: &id003 !ruby/object:Gem::Requirement
|
60
|
-
none: false
|
61
55
|
requirements:
|
62
56
|
- - ">="
|
63
57
|
- !ruby/object:Gem::Version
|
64
|
-
hash: 27
|
65
58
|
segments:
|
66
59
|
- 0
|
67
60
|
- 0
|
@@ -73,11 +66,9 @@ dependencies:
|
|
73
66
|
name: geokit
|
74
67
|
prerelease: false
|
75
68
|
requirement: &id004 !ruby/object:Gem::Requirement
|
76
|
-
none: false
|
77
69
|
requirements:
|
78
70
|
- - ">="
|
79
71
|
- !ruby/object:Gem::Version
|
80
|
-
hash: 3
|
81
72
|
segments:
|
82
73
|
- 1
|
83
74
|
- 5
|
@@ -89,11 +80,9 @@ dependencies:
|
|
89
80
|
name: cohort_scope
|
90
81
|
prerelease: false
|
91
82
|
requirement: &id005 !ruby/object:Gem::Requirement
|
92
|
-
none: false
|
93
83
|
requirements:
|
94
84
|
- - ">="
|
95
85
|
- !ruby/object:Gem::Version
|
96
|
-
hash: 19
|
97
86
|
segments:
|
98
87
|
- 0
|
99
88
|
- 0
|
@@ -105,11 +94,9 @@ dependencies:
|
|
105
94
|
name: conversions
|
106
95
|
prerelease: false
|
107
96
|
requirement: &id006 !ruby/object:Gem::Requirement
|
108
|
-
none: false
|
109
97
|
requirements:
|
110
98
|
- - ">="
|
111
99
|
- !ruby/object:Gem::Version
|
112
|
-
hash: 13
|
113
100
|
segments:
|
114
101
|
- 1
|
115
102
|
- 4
|
@@ -121,11 +108,9 @@ dependencies:
|
|
121
108
|
name: rspec
|
122
109
|
prerelease: false
|
123
110
|
requirement: &id007 !ruby/object:Gem::Requirement
|
124
|
-
none: false
|
125
111
|
requirements:
|
126
112
|
- - ">="
|
127
113
|
- !ruby/object:Gem::Version
|
128
|
-
hash: 62196417
|
129
114
|
segments:
|
130
115
|
- 2
|
131
116
|
- 0
|
@@ -139,11 +124,9 @@ dependencies:
|
|
139
124
|
name: rake
|
140
125
|
prerelease: false
|
141
126
|
requirement: &id008 !ruby/object:Gem::Requirement
|
142
|
-
none: false
|
143
127
|
requirements:
|
144
128
|
- - ">="
|
145
129
|
- !ruby/object:Gem::Version
|
146
|
-
hash: 3
|
147
130
|
segments:
|
148
131
|
- 0
|
149
132
|
version: "0"
|
@@ -153,11 +136,9 @@ dependencies:
|
|
153
136
|
name: jeweler
|
154
137
|
prerelease: false
|
155
138
|
requirement: &id009 !ruby/object:Gem::Requirement
|
156
|
-
none: false
|
157
139
|
requirements:
|
158
140
|
- - ">="
|
159
141
|
- !ruby/object:Gem::Version
|
160
|
-
hash: 3
|
161
142
|
segments:
|
162
143
|
- 0
|
163
144
|
version: "0"
|
@@ -167,11 +148,9 @@ dependencies:
|
|
167
148
|
name: rcov
|
168
149
|
prerelease: false
|
169
150
|
requirement: &id010 !ruby/object:Gem::Requirement
|
170
|
-
none: false
|
171
151
|
requirements:
|
172
152
|
- - ">="
|
173
153
|
- !ruby/object:Gem::Version
|
174
|
-
hash: 3
|
175
154
|
segments:
|
176
155
|
- 0
|
177
156
|
version: "0"
|
@@ -181,11 +160,9 @@ dependencies:
|
|
181
160
|
name: rdoc
|
182
161
|
prerelease: false
|
183
162
|
requirement: &id011 !ruby/object:Gem::Requirement
|
184
|
-
none: false
|
185
163
|
requirements:
|
186
164
|
- - ">="
|
187
165
|
- !ruby/object:Gem::Version
|
188
|
-
hash: 3
|
189
166
|
segments:
|
190
167
|
- 0
|
191
168
|
version: "0"
|
@@ -195,11 +172,9 @@ dependencies:
|
|
195
172
|
name: sqlite3-ruby
|
196
173
|
prerelease: false
|
197
174
|
requirement: &id012 !ruby/object:Gem::Requirement
|
198
|
-
none: false
|
199
175
|
requirements:
|
200
176
|
- - ">="
|
201
177
|
- !ruby/object:Gem::Version
|
202
|
-
hash: 27
|
203
178
|
segments:
|
204
179
|
- 1
|
205
180
|
- 3
|
@@ -396,10 +371,6 @@ files:
|
|
396
371
|
- vendor/geokit-rails/test/schema.rb
|
397
372
|
- vendor/geokit-rails/test/tasks.rake
|
398
373
|
- vendor/geokit-rails/test/test_helper.rb
|
399
|
-
- spec/lib/earth_spec.rb
|
400
|
-
- spec/spec_helper.rb
|
401
|
-
- Gemfile
|
402
|
-
- Gemfile.lock
|
403
374
|
has_rdoc: true
|
404
375
|
homepage: http://github.com/brighterplanet/earth
|
405
376
|
licenses: []
|
@@ -410,27 +381,23 @@ rdoc_options:
|
|
410
381
|
require_paths:
|
411
382
|
- lib
|
412
383
|
required_ruby_version: !ruby/object:Gem::Requirement
|
413
|
-
none: false
|
414
384
|
requirements:
|
415
385
|
- - ">="
|
416
386
|
- !ruby/object:Gem::Version
|
417
|
-
hash: 3
|
418
387
|
segments:
|
419
388
|
- 0
|
420
389
|
version: "0"
|
421
390
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
422
|
-
none: false
|
423
391
|
requirements:
|
424
392
|
- - ">="
|
425
393
|
- !ruby/object:Gem::Version
|
426
|
-
hash: 3
|
427
394
|
segments:
|
428
395
|
- 0
|
429
396
|
version: "0"
|
430
397
|
requirements: []
|
431
398
|
|
432
399
|
rubyforge_project:
|
433
|
-
rubygems_version: 1.3.
|
400
|
+
rubygems_version: 1.3.6
|
434
401
|
signing_key:
|
435
402
|
specification_version: 3
|
436
403
|
summary: Land, sky, and sea
|