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 +1 -1
- data/fossil.gemspec +2 -2
- data/lib/models/airport_fbo.rb +1 -1
- data/lib/models/code.rb +2 -2
- data/spec/sequel/spec_helper_tables.rb +0 -7
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
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.
|
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-
|
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 = [
|
data/lib/models/airport_fbo.rb
CHANGED
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(
|
6
|
-
|
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.
|
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-
|
12
|
+
date: 2010-02-17 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|