lafcadio 0.5.2 → 0.6.0
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/bin/lafcadio_schema +12 -4
- data/lib/lafcadio.rb +1 -1
- data/lib/lafcadio.rb~ +1 -1
- data/lib/lafcadio/depend.rb +2 -0
- data/lib/lafcadio/domain.rb +49 -34
- data/lib/lafcadio/domain.rb~ +50 -28
- data/lib/lafcadio/mock.rb +12 -9
- data/lib/lafcadio/objectField.rb +66 -130
- data/lib/lafcadio/objectStore.rb +106 -95
- data/lib/lafcadio/query.rb +87 -78
- data/lib/lafcadio/schema.rb +0 -1
- data/lib/lafcadio/test.rb +4 -1
- data/lib/lafcadio/test/testconfig.dat +0 -2
- data/lib/lafcadio/test/testconfig.dat~ +13 -0
- data/lib/lafcadio/util.rb +2 -120
- data/lib/lafcadio/util.rb~ +379 -0
- metadata +14 -10
- data/lib/lafcadio/TestSuite.rb +0 -18
- data/lib/lafcadio/TestSuite.rb~ +0 -16
- data/lib/lafcadio/dateTime.rb~ +0 -93
- data/lib/lafcadio/mock.rb~ +0 -93
- data/lib/lafcadio/objectField.rb~ +0 -618
- data/lib/lafcadio/objectStore.rb~ +0 -746
- data/lib/lafcadio/query.rb~ +0 -572
- data/lib/lafcadio/test.rb~ +0 -17
data/lib/lafcadio/test.rb~
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
require 'runit/testcase'
|
2
|
-
require 'lafcadio/mock'
|
3
|
-
require 'lafcadio/util'
|
4
|
-
|
5
|
-
# A test case that sets up a number of mock services. In writing an application
|
6
|
-
# that uses Lafcadio you may find it convenient to inherit from this class.
|
7
|
-
class LafcadioTestCase < RUNIT::TestCase
|
8
|
-
include Lafcadio
|
9
|
-
|
10
|
-
def setup
|
11
|
-
context = Context.instance
|
12
|
-
context.flush
|
13
|
-
@mockObjectStore = MockObjectStore.new
|
14
|
-
ObjectStore.set_object_store @mockObjectStore
|
15
|
-
LafcadioConfig.set_filename 'lafcadio/test/testConfig.dat'
|
16
|
-
end
|
17
|
-
end
|