flight 0.1.8 → 0.1.9

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.
Files changed (2) hide show
  1. data/lib/flight/characterization.rb +8 -9
  2. metadata +4 -4
@@ -6,22 +6,21 @@ module BrighterPlanet
6
6
  def self.included(base)
7
7
  base.send :include, Characterizable
8
8
  base.characterize do
9
+ # sabshere 12/13/10 should this really be a user input?
9
10
  has :aviation_multiplier
10
- has :distance_estimate, :trumps => :distance_class, :measures => :length, :precision => 0
11
+ has :distance_estimate
11
12
  has :distance_class
12
13
  has :fuel_type
13
- has :seats_estimate, :range => 1..500
14
- has :load_factor, :measures => :percentage
14
+ has :seats_estimate
15
+ has :load_factor
15
16
  has :trips
16
17
  has :seat_class
17
18
  has :country
18
19
  has :date
19
- has :origin_airport do |origin_airport|
20
- origin_airport.reveals :destination_airport,
21
- :trumps => [:distance_class, :distance_estimate, :country]
22
- end
23
- has :aircraft, :trumps => [:aircraft_class, :seats_estimate, :fuel_type]
24
- has :aircraft_class, :trumps => :fuel_type
20
+ has :origin_airport
21
+ has :destination_airport
22
+ has :aircraft
23
+ has :aircraft_class
25
24
  has :airline
26
25
  has :segments_per_trip
27
26
  end
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: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 8
10
- version: 0.1.8
9
+ - 9
10
+ version: 0.1.9
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-12-07 00:00:00 -06:00
22
+ date: 2010-12-14 00:00:00 -06:00
23
23
  default_executable:
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency