fossil 0.3.48 → 0.3.49

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.48
1
+ 0.3.49
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.48"
8
+ s.version = "0.3.49"
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-05-01}
12
+ s.date = %q{2010-05-09}
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 = [
@@ -6,8 +6,8 @@ class Aircraft < Sequel::Model(:'aircraft')
6
6
  one_to_many :trips, :class=>:Trip, :key=>:'aircraft id', :primary_key=>:'aircraft id'
7
7
  one_to_many :trip_legs, :class=>:TripLeg, :key=>:'aircraft id', :primary_key=>:'aircraft id'
8
8
 
9
- code_association :company_code_value, :company_code, :company
10
- code_association :base_code_value, :base_code, :location
9
+ code_association :company_value, :'company code', :company
10
+ code_association :base_code_value, :base_code, :location
11
11
 
12
12
  #### BEGIN GENERATED SECTION ####
13
13
 
File without changes
data/spec/models/quote.rb CHANGED
File without changes
@@ -75,26 +75,26 @@ describe TripLeg do
75
75
  tl.passenger_list.should == ''
76
76
  end
77
77
 
78
- # it "when leg has no pax/deadhead" do
79
- # tl = TripLeg.new(:trip_number=>100,:leg_number=>1, :trip=>@t, :status=>1,:deadhead=>1)
80
- # tl.passenger_list.should == ''
81
- # end
78
+ ## it "when leg has no pax/deadhead" do
79
+ ## tl = TripLeg.new(:trip_number=>100,:leg_number=>1, :trip=>@t, :status=>1,:deadhead=>1)
80
+ ## tl.passenger_list.should == ''
81
+ ## end
82
82
 
83
83
  it "when leg has some in range ( and put lead pax name first )" do
84
84
  stub(@t).passengers {[@p1, @p2, @p3]}
85
- tl = TripLeg.new(:trip_number=>100, :leg_number=>1, :trip=>@t)
85
+ tl = TripLeg.new(:trip_number=>100, :leg_number=>1, :verify_date=>0, :trip=>@t)
86
86
  tl.passenger_list.should == "eric (lead pax) : rob"
87
87
  end
88
88
 
89
89
  it "when leg has 1 in range" do
90
90
  stub(@t).passengers {[@p1, @p2, @p3]}
91
- tl = TripLeg.new(:trip_number=>100, :leg_number=>2, :trip=>@t)
91
+ tl = TripLeg.new(:trip_number=>100, :leg_number=>2, :verify_date=>0, :trip=>@t)
92
92
  tl.passenger_list.should == "eric (lead pax)"
93
93
  end
94
94
 
95
95
  it "when leg has none in range" do
96
96
  stub(@t).passengers {[@p1, @p2, @p3]}
97
- tl = TripLeg.new(:trip_number=>100, :leg_number=>3, :trip=>@t)
97
+ tl = TripLeg.new(:trip_number=>100, :leg_number=>3, :verify_date=>0, :trip=>@t)
98
98
  tl.passenger_list.should == ""
99
99
  end
100
100
 
@@ -20,7 +20,7 @@ describe "fos_dates" do
20
20
  end
21
21
 
22
22
  it "converts a Ruby Time to hundredths" do
23
- Time.from_fos_time(100).in_hundredths.should == "1.7"
23
+ Time.from_fos_time(100).in_hundredths.should == "1.66"
24
24
  end
25
25
 
26
26
  it "Date view defaults to y-m-d" do
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.48
4
+ version: 0.3.49
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-05-01 00:00:00 -07:00
12
+ date: 2010-05-09 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency