fossil 0.5.7 → 0.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.7
1
+ 0.5.8
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.5.7"
8
+ s.version = "0.5.8"
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"]
@@ -20,12 +20,10 @@ Gem::Specification.new do |s|
20
20
  "Rakefile",
21
21
  "VERSION",
22
22
  "fossil.gemspec",
23
- "lib/date_extentions.rb",
24
23
  "lib/dbr_models/group_cost.rb",
25
24
  "lib/dbr_models/quote.rb",
26
25
  "lib/dbr_models/trip.rb",
27
26
  "lib/dbr_models/trip_leg.rb",
28
- "lib/delegate_method.rb",
29
27
  "lib/fos_schema/FOS_SCHEMA_3.8.22.r3.csv",
30
28
  "lib/fos_schema/FOS_SCHEMA_3.8.27.r1.csv",
31
29
  "lib/fos_schema/FOS_SCHEMA_3.9.0.csv",
@@ -34,7 +32,6 @@ Gem::Specification.new do |s|
34
32
  "lib/fossil.rb",
35
33
  "lib/fossil_dbr.rb",
36
34
  "lib/fossil_spec.rb",
37
- "lib/hash_extentions.rb",
38
35
  "lib/models/ac_qualification.rb",
39
36
  "lib/models/aircraft.rb",
40
37
  "lib/models/aircraft_cost.rb",
@@ -127,7 +124,6 @@ Gem::Specification.new do |s|
127
124
  "lib/models/vendor.rb",
128
125
  "lib/models/vendor_document.rb",
129
126
  "lib/models/visa.rb",
130
- "lib/number_helper.rb",
131
127
  "lib/sequel/code_group.rb",
132
128
  "lib/sequel/core_patch.rb",
133
129
  "lib/sequel/fos_dates.rb",
@@ -139,6 +135,10 @@ Gem::Specification.new do |s|
139
135
  "lib/sequel/serializer/serializer.rb",
140
136
  "lib/sequel/serializer/xml_serializer.rb",
141
137
  "lib/sequel/sqlite_pervasive_adapter.rb",
138
+ "lib/support/date_extentions.rb",
139
+ "lib/support/delegate_method.rb",
140
+ "lib/support/hash_extentions.rb",
141
+ "lib/support/number_helper.rb",
142
142
  "spec/be_model_with_values_matcher.rb",
143
143
  "spec/be_model_with_values_matcher_spec.rb",
144
144
  "spec/hash_extentions_spec.rb",
data/lib/fossil.rb CHANGED
@@ -8,15 +8,11 @@ rescue LoadError => e
8
8
  end
9
9
 
10
10
  dir = File.dirname(__FILE__)
11
- files = [File.join(dir,'number_helper.rb')] +
12
- [File.join(dir,'hash_extentions.rb')] +
13
- [File.join(dir,'date_extentions.rb')] +
14
- [File.join(dir,'delegate_method.rb')] +
11
+ files = Dir.glob(File.join(dir,'support','*.rb')) +
15
12
  [File.join(dir,'sequel','serializer','serializer.rb')] +
16
13
  Dir.glob(File.join(dir,'sequel','*.rb')) +
17
14
  Dir.glob(File.join(dir,'models','*.rb'))
18
15
 
19
-
20
16
  class MockDataset < Sequel::Dataset
21
17
  def insert(*args); end
22
18
  def insert_select(*args); end
data/lib/fossil_dbr.rb CHANGED
@@ -1 +1,2 @@
1
- Dir.glob(File.join(File.dirname(__FILE__),'..','dbr_models' , '*.rb')).each{|f| require_relative f}
1
+ # require the dbr models files that rewrite the model associations
2
+ Dir.glob(File.join(File.dirname(__FILE__),'dbr_models' , '*.rb')).each{|f| require_relative f}
File without changes
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 7
9
- version: 0.5.7
8
+ - 8
9
+ version: 0.5.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Patrick Lardin, Daniel Sudol
@@ -71,12 +71,10 @@ files:
71
71
  - Rakefile
72
72
  - VERSION
73
73
  - fossil.gemspec
74
- - lib/date_extentions.rb
75
74
  - lib/dbr_models/group_cost.rb
76
75
  - lib/dbr_models/quote.rb
77
76
  - lib/dbr_models/trip.rb
78
77
  - lib/dbr_models/trip_leg.rb
79
- - lib/delegate_method.rb
80
78
  - lib/fos_schema/FOS_SCHEMA_3.8.22.r3.csv
81
79
  - lib/fos_schema/FOS_SCHEMA_3.8.27.r1.csv
82
80
  - lib/fos_schema/FOS_SCHEMA_3.9.0.csv
@@ -85,7 +83,6 @@ files:
85
83
  - lib/fossil.rb
86
84
  - lib/fossil_dbr.rb
87
85
  - lib/fossil_spec.rb
88
- - lib/hash_extentions.rb
89
86
  - lib/models/ac_qualification.rb
90
87
  - lib/models/aircraft.rb
91
88
  - lib/models/aircraft_cost.rb
@@ -178,7 +175,6 @@ files:
178
175
  - lib/models/vendor.rb
179
176
  - lib/models/vendor_document.rb
180
177
  - lib/models/visa.rb
181
- - lib/number_helper.rb
182
178
  - lib/sequel/code_group.rb
183
179
  - lib/sequel/core_patch.rb
184
180
  - lib/sequel/fos_dates.rb
@@ -190,6 +186,10 @@ files:
190
186
  - lib/sequel/serializer/serializer.rb
191
187
  - lib/sequel/serializer/xml_serializer.rb
192
188
  - lib/sequel/sqlite_pervasive_adapter.rb
189
+ - lib/support/date_extentions.rb
190
+ - lib/support/delegate_method.rb
191
+ - lib/support/hash_extentions.rb
192
+ - lib/support/number_helper.rb
193
193
  - spec/be_model_with_values_matcher.rb
194
194
  - spec/be_model_with_values_matcher_spec.rb
195
195
  - spec/hash_extentions_spec.rb