flight 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/flight.rb +4 -17
  2. metadata +8 -151
@@ -1,23 +1,10 @@
1
+ require 'emitter'
2
+
1
3
  module BrighterPlanet
2
4
  module Flight
3
- extend self
4
-
5
- def included(base)
6
- require 'cohort_scope'
7
- require 'falls_back_on'
8
- require 'falls_back_on/active_record_ext'
5
+ extend BrighterPlanet::Emitter
9
6
 
10
- require 'flight/carbon_model'
11
- require 'flight/characterization'
12
- require 'flight/data'
13
- require 'flight/summarization'
14
-
15
- base.send :include, BrighterPlanet::Flight::CarbonModel
16
- base.send :include, BrighterPlanet::Flight::Characterization
17
- base.send :include, BrighterPlanet::Flight::Data
18
- base.send :include, BrighterPlanet::Flight::Summarization
19
- end
20
- def flight_model
7
+ def self.flight_model
21
8
  if Object.const_defined? 'Flight'
22
9
  ::Flight
23
10
  elsif Object.const_defined? 'FlightRecord'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flight
3
3
  version: !ruby/object:Gem::Version
4
- hash: 63
4
+ hash: 61
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 16
10
- version: 0.0.16
9
+ - 17
10
+ version: 0.0.17
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andy Rossmeissl
@@ -19,7 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2010-08-11 00:00:00 -04:00
22
+ date: 2010-08-12 00:00:00 -04:00
23
23
  default_executable:
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
@@ -154,162 +154,19 @@ dependencies:
154
154
  - !ruby/object:Gem::Dependency
155
155
  type: :runtime
156
156
  prerelease: false
157
- name: characterizable
157
+ name: emitter
158
158
  version_requirements: &id009 !ruby/object:Gem::Requirement
159
- none: false
160
- requirements:
161
- - - "="
162
- - !ruby/object:Gem::Version
163
- hash: 7
164
- segments:
165
- - 0
166
- - 0
167
- - 12
168
- version: 0.0.12
169
- requirement: *id009
170
- - !ruby/object:Gem::Dependency
171
- type: :runtime
172
- prerelease: false
173
- name: data_miner
174
- version_requirements: &id010 !ruby/object:Gem::Requirement
175
- none: false
176
- requirements:
177
- - - "="
178
- - !ruby/object:Gem::Version
179
- hash: 15
180
- segments:
181
- - 0
182
- - 5
183
- - 2
184
- version: 0.5.2
185
- requirement: *id010
186
- - !ruby/object:Gem::Dependency
187
- type: :runtime
188
- prerelease: false
189
- name: earth
190
- version_requirements: &id011 !ruby/object:Gem::Requirement
191
159
  none: false
192
160
  requirements:
193
161
  - - ">="
194
162
  - !ruby/object:Gem::Version
195
- hash: 17
163
+ hash: 29
196
164
  segments:
197
165
  - 0
198
166
  - 0
199
- - 7
200
- version: 0.0.7
201
- requirement: *id011
202
- - !ruby/object:Gem::Dependency
203
- type: :runtime
204
- prerelease: false
205
- name: falls_back_on
206
- version_requirements: &id012 !ruby/object:Gem::Requirement
207
- none: false
208
- requirements:
209
- - - "="
210
- - !ruby/object:Gem::Version
211
- hash: 27
212
- segments:
213
- - 0
214
- - 0
215
- - 2
216
- version: 0.0.2
217
- requirement: *id012
218
- - !ruby/object:Gem::Dependency
219
- type: :runtime
220
- prerelease: false
221
- name: fast_timestamp
222
- version_requirements: &id013 !ruby/object:Gem::Requirement
223
- none: false
224
- requirements:
225
- - - "="
226
- - !ruby/object:Gem::Version
227
- hash: 23
228
- segments:
229
- - 0
230
- - 0
231
- - 4
232
- version: 0.0.4
233
- requirement: *id013
234
- - !ruby/object:Gem::Dependency
235
- type: :runtime
236
- prerelease: false
237
- name: leap
238
- version_requirements: &id014 !ruby/object:Gem::Requirement
239
- none: false
240
- requirements:
241
- - - ">="
242
- - !ruby/object:Gem::Version
243
- hash: 13
244
- segments:
245
- - 0
246
- - 4
247
- - 1
248
- version: 0.4.1
249
- requirement: *id014
250
- - !ruby/object:Gem::Dependency
251
- type: :runtime
252
- prerelease: false
253
- name: summary_judgement
254
- version_requirements: &id015 !ruby/object:Gem::Requirement
255
- none: false
256
- requirements:
257
- - - "="
258
- - !ruby/object:Gem::Version
259
- hash: 11
260
- segments:
261
167
  - 1
262
- - 3
263
- - 8
264
- version: 1.3.8
265
- requirement: *id015
266
- - !ruby/object:Gem::Dependency
267
- type: :runtime
268
- prerelease: false
269
- name: timeframe
270
- version_requirements: &id016 !ruby/object:Gem::Requirement
271
- none: false
272
- requirements:
273
- - - "="
274
- - !ruby/object:Gem::Version
275
- hash: 15
276
- segments:
277
- - 0
278
- - 0
279
- - 8
280
- version: 0.0.8
281
- requirement: *id016
282
- - !ruby/object:Gem::Dependency
283
- type: :runtime
284
- prerelease: false
285
- name: weighted_average
286
- version_requirements: &id017 !ruby/object:Gem::Requirement
287
- none: false
288
- requirements:
289
- - - "="
290
- - !ruby/object:Gem::Version
291
- hash: 23
292
- segments:
293
- - 0
294
- - 0
295
- - 4
296
- version: 0.0.4
297
- requirement: *id017
298
- - !ruby/object:Gem::Dependency
299
- type: :runtime
300
- prerelease: false
301
- name: cohort_scope
302
- version_requirements: &id018 !ruby/object:Gem::Requirement
303
- none: false
304
- requirements:
305
- - - ~>
306
- - !ruby/object:Gem::Version
307
- hash: 11
308
- segments:
309
- - 0
310
- - 0
311
- version: "0.0"
312
- requirement: *id018
168
+ version: 0.0.1
169
+ requirement: *id009
313
170
  description: A software model in Ruby for the greenhouse gas emissions of a flight
314
171
  email: andy@rossmeissl.net
315
172
  executables: []