fossil 0.3.29 → 0.3.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/fossil.gemspec +1 -1
  3. data/lib/models/trip_leg.rb +10 -6
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.29
1
+ 0.3.30
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.3.29"
8
+ s.version = "0.3.30"
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"]
@@ -625,10 +625,14 @@ class TripLeg < Sequel::Model(:'trip legs')
625
625
  #### END GENERATED SECTION ####
626
626
 
627
627
  # delegators
628
- delegate :lead_pax, :to => :trip
629
- delegate :passenger_list, :to => :trip
630
- delegate :name, :to => :arrival_airport, :prefix=>true, :allow_nil=>true
631
- delegate :name, :to => :departure_airport, :prefix=>true, :allow_nil=>true
628
+ delegate :lead_pax, :to => :trip
629
+ delegate :passenger_list, :to => :trip
630
+ delegate :name, :to => :arrival_airport, :prefix=>true, :allow_nil=>true
631
+ delegate :name, :to => :departure_airport, :prefix=>true, :allow_nil=>true
632
+ delegate :city, :to => :arrival_airport, :prefix=>true, :allow_nil=>true
633
+ delegate :city, :to => :departure_airport, :prefix=>true, :allow_nil=>true
634
+ delegate :state_abbreviation, :to => :arrival_airport, :prefix=>true, :allow_nil=>true
635
+ delegate :state_abbreviation, :to => :departure_airport, :prefix=>true, :allow_nil=>true
632
636
 
633
637
  # Column views
634
638
  column_view :dept_date_act_gmt, :date, :actual_departure_date_gmt
@@ -730,10 +734,10 @@ class TripLeg < Sequel::Model(:'trip legs')
730
734
  end
731
735
 
732
736
  def departure_icao_expanded
733
- "#{departure_icao_val} #{departure_airport_name} #{departure_airport.city} ,#{departure_airport.state_abbreviation}"
737
+ "#{departure_icao_val} #{departure_airport_name} #{departure_airport_city} ,#{departure_airport_state_abbreviation}"
734
738
  end
735
739
 
736
740
  def arrival_icao_expanded
737
- "#{arrival_icao_val} #{arrival_airport_name} #{arrival_airport.city} ,#{arrival_airport.state_abbreviation}"
741
+ "#{arrival_icao_val} #{arrival_airport_name} #{arrival_airport_city} ,#{arrival_airport_state_abbreviation}"
738
742
  end
739
743
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fossil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.29
4
+ version: 0.3.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Lardin, Daniel Sudol