fossil 0.3.28 → 0.3.29

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.28
1
+ 0.3.29
data/fossil.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fossil}
8
- s.version = "0.3.28"
8
+ s.version = "0.3.29"
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"]
12
- s.date = %q{2010-03-19}
12
+ s.date = %q{2010-03-22}
13
13
  s.description = %q{Access FOS/betrieve db with this Sequel based orm wrapper}
14
14
  s.email = %q{plardin@xojet.com}
15
15
  s.files = [
@@ -627,7 +627,8 @@ class TripLeg < Sequel::Model(:'trip legs')
627
627
  # delegators
628
628
  delegate :lead_pax, :to => :trip
629
629
  delegate :passenger_list, :to => :trip
630
-
630
+ delegate :name, :to => :arrival_airport, :prefix=>true, :allow_nil=>true
631
+ delegate :name, :to => :departure_airport, :prefix=>true, :allow_nil=>true
631
632
 
632
633
  # Column views
633
634
  column_view :dept_date_act_gmt, :date, :actual_departure_date_gmt
@@ -729,10 +730,10 @@ class TripLeg < Sequel::Model(:'trip legs')
729
730
  end
730
731
 
731
732
  def departure_icao_expanded
732
- "#{departure_icao_val} #{departure_airport.name} #{departure_airport.city} ,#{departure_airport.state_abbreviation}"
733
+ "#{departure_icao_val} #{departure_airport_name} #{departure_airport.city} ,#{departure_airport.state_abbreviation}"
733
734
  end
734
735
 
735
736
  def arrival_icao_expanded
736
- "#{arrival_icao_val} #{arrival_airport.name} #{arrival_airport.city} ,#{arrival_airport.state_abbreviation}"
737
+ "#{arrival_icao_val} #{arrival_airport_name} #{arrival_airport.city} ,#{arrival_airport.state_abbreviation}"
737
738
  end
738
739
  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.28
4
+ version: 0.3.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Lardin, Daniel Sudol
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-03-19 00:00:00 -07:00
12
+ date: 2010-03-22 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency