rdbi 1.2.0.pre1 → 1.2.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 +5 -5
- data/lib/rdbi/types.rb +3 -4
- data/lib/rdbi/version.rb +1 -1
- data/rdbi.gemspec +3 -3
- metadata +27 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6fabebd8c63804d35c4fa9c56404efa2d1016eb3f6a33557b17fa1248f8acc9f
|
4
|
+
data.tar.gz: b9bbf76bd89ed5e8b621473e9b87e29312af08794e29ccf251720c657dd3e83f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9d56476c1d515c40630aac03bb44a5e4b3dee532be8264e1952e1902e2961a97b7a55ae7c76c6e39b04629e702145520a7f31aa4ff4a847364ee1c7257f669e
|
7
|
+
data.tar.gz: e2ed4a28770337d94978679b1387dd89221d048c3c092f8f7d1a93627f8933e61b2537db2dfc07eccc268c68b39fad6b694881d30e8235a6ed5c88c457884dad
|
data/lib/rdbi/types.rb
CHANGED
@@ -16,7 +16,7 @@ require 'typelib/canned'
|
|
16
16
|
#
|
17
17
|
# RDBI::Type leverages +TypeLib+ which is a filter chaining system, one which
|
18
18
|
# you'll wish to read the documentation for to understand some of the concepts
|
19
|
-
# here.
|
19
|
+
# here.
|
20
20
|
#
|
21
21
|
# === A conversion follows these steps:
|
22
22
|
#
|
@@ -60,7 +60,7 @@ require 'typelib/canned'
|
|
60
60
|
#
|
61
61
|
# To perform conversions, look at RDBI::Type::In::convert and
|
62
62
|
# RDBI::Type::Out::convert.
|
63
|
-
#
|
63
|
+
#
|
64
64
|
module RDBI::Type
|
65
65
|
# A filter format to assist the conversions of DateTime objects.
|
66
66
|
DEFAULT_STRFTIME_FILTER = "%Y-%m-%d %H:%M:%S %z"
|
@@ -111,7 +111,7 @@ module RDBI::Type
|
|
111
111
|
FROM_DECIMAL = TypeLib::Filter.new(Checks::IS_BIGDECIMAL, Conversions::TO_STRING_DECIMAL)
|
112
112
|
FROM_DATETIME = TypeLib::Filter.new(Checks::IS_DATETIME, Conversions::TO_STRING_DATETIME)
|
113
113
|
FROM_BOOLEAN = TypeLib::Filter.new(Checks::IS_BOOLEAN, Conversions::TO_STRING_BOOLEAN)
|
114
|
-
|
114
|
+
|
115
115
|
TO_BOOLEAN = TypeLib::Filter.new(Checks::STR_IS_BOOLEAN, Conversions::SQL_STR_TO_BOOLEAN)
|
116
116
|
end
|
117
117
|
|
@@ -175,7 +175,6 @@ module RDBI::Type
|
|
175
175
|
module In
|
176
176
|
DEFAULTS = {
|
177
177
|
Integer => [Filters::FROM_INTEGER],
|
178
|
-
Fixnum => [Filters::FROM_INTEGER],
|
179
178
|
Float => [Filters::FROM_NUMERIC],
|
180
179
|
BigDecimal => [Filters::FROM_DECIMAL],
|
181
180
|
DateTime => [Filters::FROM_DATETIME],
|
data/lib/rdbi/version.rb
CHANGED
data/rdbi.gemspec
CHANGED
@@ -5,8 +5,8 @@ Gem::Specification.new do |s|
|
|
5
5
|
s.name = %q{rdbi}
|
6
6
|
s.version = RDBI::VERSION
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
|
-
s.authors = ["Mike Pomraning", "Erik Hollensbe"]
|
9
|
-
s.date = %q{
|
8
|
+
s.authors = ["Mike Pomraning", "Erik Hollensbe", "Pistos"]
|
9
|
+
s.date = %q{2023-06-05}
|
10
10
|
s.homepage = %q{http://github.com/RDBI/rdbi}
|
11
11
|
s.summary = "A ruby database abstraction layer"
|
12
12
|
s.description = %q{RDBI is a rearchitecture of the Ruby/DBI project by its maintainer and others. It intends to fully supplant Ruby/DBI in the future for similar database access needs.}
|
@@ -29,6 +29,6 @@ Gem::Specification.new do |s|
|
|
29
29
|
s.add_development_dependency(%q<test-unit>, [">= 0"])
|
30
30
|
s.add_development_dependency(%q<rdoc>, [">= 0"])
|
31
31
|
s.add_runtime_dependency(%q<epoxy>, [">= 0.3.1"])
|
32
|
-
s.add_runtime_dependency(%q<typelib>, [">= 0"])
|
32
|
+
s.add_runtime_dependency(%q<typelib>, [">= 0.1.1"])
|
33
33
|
end
|
34
34
|
|
metadata
CHANGED
@@ -1,86 +1,87 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdbi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Pomraning
|
8
8
|
- Erik Hollensbe
|
9
|
-
|
9
|
+
- Pistos
|
10
|
+
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date:
|
13
|
+
date: 2023-06-05 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: rdbi-driver-mock
|
16
17
|
requirement: !ruby/object:Gem::Requirement
|
17
18
|
requirements:
|
18
|
-
- -
|
19
|
+
- - ">="
|
19
20
|
- !ruby/object:Gem::Version
|
20
21
|
version: '0'
|
21
22
|
type: :development
|
22
23
|
prerelease: false
|
23
24
|
version_requirements: !ruby/object:Gem::Requirement
|
24
25
|
requirements:
|
25
|
-
- -
|
26
|
+
- - ">="
|
26
27
|
- !ruby/object:Gem::Version
|
27
28
|
version: '0'
|
28
29
|
- !ruby/object:Gem::Dependency
|
29
30
|
name: test-unit
|
30
31
|
requirement: !ruby/object:Gem::Requirement
|
31
32
|
requirements:
|
32
|
-
- -
|
33
|
+
- - ">="
|
33
34
|
- !ruby/object:Gem::Version
|
34
35
|
version: '0'
|
35
36
|
type: :development
|
36
37
|
prerelease: false
|
37
38
|
version_requirements: !ruby/object:Gem::Requirement
|
38
39
|
requirements:
|
39
|
-
- -
|
40
|
+
- - ">="
|
40
41
|
- !ruby/object:Gem::Version
|
41
42
|
version: '0'
|
42
43
|
- !ruby/object:Gem::Dependency
|
43
44
|
name: rdoc
|
44
45
|
requirement: !ruby/object:Gem::Requirement
|
45
46
|
requirements:
|
46
|
-
- -
|
47
|
+
- - ">="
|
47
48
|
- !ruby/object:Gem::Version
|
48
49
|
version: '0'
|
49
50
|
type: :development
|
50
51
|
prerelease: false
|
51
52
|
version_requirements: !ruby/object:Gem::Requirement
|
52
53
|
requirements:
|
53
|
-
- -
|
54
|
+
- - ">="
|
54
55
|
- !ruby/object:Gem::Version
|
55
56
|
version: '0'
|
56
57
|
- !ruby/object:Gem::Dependency
|
57
58
|
name: epoxy
|
58
59
|
requirement: !ruby/object:Gem::Requirement
|
59
60
|
requirements:
|
60
|
-
- -
|
61
|
+
- - ">="
|
61
62
|
- !ruby/object:Gem::Version
|
62
63
|
version: 0.3.1
|
63
64
|
type: :runtime
|
64
65
|
prerelease: false
|
65
66
|
version_requirements: !ruby/object:Gem::Requirement
|
66
67
|
requirements:
|
67
|
-
- -
|
68
|
+
- - ">="
|
68
69
|
- !ruby/object:Gem::Version
|
69
70
|
version: 0.3.1
|
70
71
|
- !ruby/object:Gem::Dependency
|
71
72
|
name: typelib
|
72
73
|
requirement: !ruby/object:Gem::Requirement
|
73
74
|
requirements:
|
74
|
-
- -
|
75
|
+
- - ">="
|
75
76
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
77
|
+
version: 0.1.1
|
77
78
|
type: :runtime
|
78
79
|
prerelease: false
|
79
80
|
version_requirements: !ruby/object:Gem::Requirement
|
80
81
|
requirements:
|
81
|
-
- -
|
82
|
+
- - ">="
|
82
83
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
84
|
+
version: 0.1.1
|
84
85
|
description: RDBI is a rearchitecture of the Ruby/DBI project by its maintainer and
|
85
86
|
others. It intends to fully supplant Ruby/DBI in the future for similar database
|
86
87
|
access needs.
|
@@ -92,6 +93,11 @@ extra_rdoc_files:
|
|
92
93
|
- LICENSE
|
93
94
|
- README.txt
|
94
95
|
files:
|
96
|
+
- History.txt
|
97
|
+
- LICENSE
|
98
|
+
- Manifest.txt
|
99
|
+
- README.txt
|
100
|
+
- Rakefile
|
95
101
|
- docs/external-api.pdf
|
96
102
|
- docs/external-api.texi
|
97
103
|
- lib/rdbi.rb
|
@@ -106,6 +112,7 @@ files:
|
|
106
112
|
- lib/rdbi/version.rb
|
107
113
|
- perf/bench.rb
|
108
114
|
- perf/profile.rb
|
115
|
+
- rdbi.gemspec
|
109
116
|
- test/helper.rb
|
110
117
|
- test/test_database.rb
|
111
118
|
- test/test_implicit_load.rb
|
@@ -123,33 +130,26 @@ files:
|
|
123
130
|
- test/testlib/rdbi/driver/stringsubdircached.rb
|
124
131
|
- test/testlib/rdbi/driver/symbolsubdir.rb
|
125
132
|
- test/testlib/rdbi/driver/symbolsubdircached.rb
|
126
|
-
- rdbi.gemspec
|
127
|
-
- History.txt
|
128
|
-
- Manifest.txt
|
129
|
-
- Rakefile
|
130
|
-
- LICENSE
|
131
|
-
- README.txt
|
132
133
|
homepage: http://github.com/RDBI/rdbi
|
133
134
|
licenses: []
|
134
135
|
metadata: {}
|
135
|
-
post_install_message:
|
136
|
+
post_install_message:
|
136
137
|
rdoc_options: []
|
137
138
|
require_paths:
|
138
139
|
- lib
|
139
140
|
required_ruby_version: !ruby/object:Gem::Requirement
|
140
141
|
requirements:
|
141
|
-
- -
|
142
|
+
- - ">="
|
142
143
|
- !ruby/object:Gem::Version
|
143
144
|
version: '0'
|
144
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
146
|
requirements:
|
146
|
-
- -
|
147
|
+
- - ">="
|
147
148
|
- !ruby/object:Gem::Version
|
148
149
|
version: 1.3.6
|
149
150
|
requirements: []
|
150
|
-
|
151
|
-
|
152
|
-
signing_key:
|
151
|
+
rubygems_version: 3.4.10
|
152
|
+
signing_key:
|
153
153
|
specification_version: 4
|
154
154
|
summary: A ruby database abstraction layer
|
155
155
|
test_files:
|