fossil 0.4.9 → 0.4.10

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.9
1
+ 0.4.10
data/fossil.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fossil}
8
- s.version = "0.4.9"
8
+ s.version = "0.4.10"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Patrick Lardin, Daniel Sudol"]
@@ -634,6 +634,7 @@ class TripLeg < Sequel::Model(:'trip legs')
634
634
  delegate :lead_pax, :to => :trip
635
635
 
636
636
  # Column views
637
+ # dept_date_act_gmt, dept_time_act_gmt are the values for when flight starts rolling to runway.
637
638
  column_view :dept_date_act_gmt, :date, :actual_departure_date_gmt
638
639
  column_view :dept_time_act_gmt, :time, :actual_departure_time_gmt
639
640
  column_def_datetime :actual_departure_date_time_gmt, :'dept date act gmt', :'dept time act gmt'
@@ -733,12 +734,15 @@ class TripLeg < Sequel::Model(:'trip legs')
733
734
  ((verified? or flight_time_actual > 0) and cancel_code == 0)
734
735
  end
735
736
 
737
+ # flight explorer is continually updating the land time for a flight, so
738
+
736
739
  def is_completed_leg?
740
+
737
741
  is_flown? and (land_time_act_gmt!=1440 and land_time_act_gmt!=0)
738
742
  end
739
743
 
740
744
  def departed?
741
- (t_o_time_act_gmt!=0 and t_o_time_act_gmt!=1440)
745
+ dept_date_act_gmt!=0
742
746
  end
743
747
 
744
748
  def delayed?
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 9
9
- version: 0.4.9
8
+ - 10
9
+ version: 0.4.10
10
10
  platform: ruby
11
11
  authors:
12
12
  - Patrick Lardin, Daniel Sudol