reloj 0.1.1 → 0.1.2
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.
- checksums.yaml +4 -4
- data/lib/reloj/orm/db_connection.rb +6 -5
- data/lib/reloj/orm/model_base.rb +0 -1
- data/lib/reloj/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ce65d77f713d9723b28f3678280bbdf6d756a2ca
|
|
4
|
+
data.tar.gz: d0179b0e6d5cc6e9efbe7a1368bfb24413a7a69f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c35f84259a544307e8b025e414d3db9dd826c14c72a6a9bce8a1e3e2fdd1937a01336c62c3ccb3be81382dcbea873f664f5d268b5bf5209aa357418e93a9a9c9
|
|
7
|
+
data.tar.gz: 3bd05e327924980ba603943afbabc8f8dd2b120a70480d519ef272cf2489d80f661d02bff7c476e2ca758861285bcab125b1751dd57e79f1cbf4d2ab4261f43b
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
# This dbconnection was used for testing and is deprecated
|
|
2
|
+
# I might refactor this in the future, in order to have this orm support
|
|
3
|
+
# both sqlite3 ane psql
|
|
4
|
+
|
|
5
|
+
=begin
|
|
1
6
|
require 'sqlite3'
|
|
2
7
|
|
|
3
|
-
# https://tomafro.net/2010/01/tip-relative-paths-with-file-expand-path
|
|
4
|
-
#ROOT_FOLDER = File.join(File.dirname(__FILE__), '../..')
|
|
5
8
|
ROOT_FOLDER = Dir.pwd
|
|
6
9
|
CATS_SQL_FILE = File.join(ROOT_FOLDER, 'app/cats.sql')
|
|
7
10
|
CATS_DB_FILE = File.join(ROOT_FOLDER, 'app/cats.db')
|
|
8
11
|
|
|
9
|
-
# This dbconnection was used for testing and is deprecated
|
|
10
|
-
# I might refactor this in the future, in order to have this orm support
|
|
11
|
-
# both sqlite3 ane psql
|
|
12
12
|
|
|
13
13
|
class DBConnection
|
|
14
14
|
def self.open(db_file_name)
|
|
@@ -57,3 +57,4 @@ class DBConnection
|
|
|
57
57
|
def initialize(db_file_name)
|
|
58
58
|
end
|
|
59
59
|
end
|
|
60
|
+
=end
|
data/lib/reloj/orm/model_base.rb
CHANGED
data/lib/reloj/version.rb
CHANGED