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 +1 -1
- data/fossil.gemspec +2 -2
- data/lib/models/aircraft.rb +2 -2
- data/lib/sequel/mysql_pervasive_adapter.rb +0 -0
- data/spec/models/quote.rb +0 -0
- data/spec/models/trip_leg_spec.rb +7 -7
- data/spec/sequel/fos_dates_spec.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
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.
|
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-
|
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 = [
|
data/lib/models/aircraft.rb
CHANGED
@@ -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 :
|
10
|
-
code_association :base_code_value,
|
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
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
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
|
|
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.
|
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-
|
12
|
+
date: 2010-05-09 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|