fossil 0.3.7 → 0.3.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.3.7
1
+ 0.3.8
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.7"
8
+ s.version = "0.3.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"]
12
- s.date = %q{2010-02-05}
12
+ s.date = %q{2010-02-17}
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 = [
@@ -1,4 +1,4 @@
1
- class AirportFbo < Sequel::Model(:'airport fbos')
1
+ class AirportFbo < Sequel::Model("airport fbo's")
2
2
  # NOTE - Count of instances as of 06/01/2009 => 717298
3
3
 
4
4
  o_to_n :trip_legs, :class=>:TripLeg, :prefix=>'fbo'
data/lib/models/code.rb CHANGED
@@ -2,8 +2,8 @@ class Code < Sequel::Model(:'codes')
2
2
  # NOTE - Count of instances as of 06/01/2009 => 1557
3
3
 
4
4
  # Returns all the codes that belong to the given code group name
5
- def Code.get_codes( group_name )
6
- Code.filter( :name=>group_name )
5
+ def Code.get_codes(code_group_name)
6
+ filter(:name=>code_group_name).collect(&:description)
7
7
  end
8
8
 
9
9
  #### BEGIN GENERATED SECTION ####
@@ -99,13 +99,6 @@ end
99
99
  #CACHE = MemCache.new 'localhost:11211', :namespace => 'cachetest'
100
100
  #Horse.plugin :caching, CACHE
101
101
 
102
- class Code < Sequel::Model(:codes)
103
- set_primary_key [:'kid - date',:'kid - time',:'kid - user',:'kid - mult',:'kid - comm']
104
-
105
- def Code.get_codes(code_name)
106
- self.filter(:name=>code_name).collect(&:description)
107
- end
108
- end
109
102
 
110
103
  DB_DEMO[:dudes] << { :name=>'dano',:'ranch code'=>1,:'pool type'=>2,
111
104
  :'kid - date'=>1,:'kid - time'=>1,:'kid - user'=>1,:'kid - mult'=>1,:'kid - comm'=>1,
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.7
4
+ version: 0.3.8
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-02-05 00:00:00 -08:00
12
+ date: 2010-02-17 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency