inquery 1.0.9 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rubocop.yml +17 -0
- data/.github/workflows/ruby.yml +53 -0
- data/.gitignore +2 -1
- data/.releaser_config +0 -1
- data/.rubocop.yml +4 -0
- data/Appraisals +19 -0
- data/CHANGELOG.md +13 -1
- data/LICENSE +1 -1
- data/README.md +23 -6
- data/RUBY_VERSION +1 -1
- data/Rakefile +4 -4
- data/VERSION +1 -1
- data/doc/Inquery/Exceptions/Base.html +3 -3
- data/doc/Inquery/Exceptions/InvalidRelation.html +3 -3
- data/doc/Inquery/Exceptions/UnknownCallSignature.html +3 -3
- data/doc/Inquery/Exceptions.html +3 -3
- data/doc/Inquery/Mixins/RawSqlUtils.html +3 -3
- data/doc/Inquery/Mixins/RelationValidation/ClassMethods.html +3 -3
- data/doc/Inquery/Mixins/RelationValidation.html +3 -3
- data/doc/Inquery/Mixins/SchemaValidation/ClassMethods.html +19 -5
- data/doc/Inquery/Mixins/SchemaValidation.html +3 -3
- data/doc/Inquery/Mixins.html +3 -3
- data/doc/Inquery/Query/Chainable.html +3 -3
- data/doc/Inquery/Query.html +3 -3
- data/doc/Inquery.html +115 -3
- data/doc/_index.html +8 -8
- data/doc/file.README.html +25 -9
- data/doc/frames.html +1 -1
- data/doc/index.html +25 -9
- data/doc/method_list.html +23 -15
- data/doc/top-level-namespace.html +3 -3
- data/gemfiles/rails_5.1.gemfile +7 -0
- data/gemfiles/rails_5.2.gemfile +7 -0
- data/gemfiles/rails_6.0.gemfile +7 -0
- data/gemfiles/rails_6.1.gemfile +7 -0
- data/gemfiles/rails_7.0.gemfile +7 -0
- data/inquery.gemspec +20 -32
- data/lib/inquery/mixins/schema_validation.rb +8 -1
- data/lib/inquery.rb +8 -0
- metadata +20 -13
- data/.travis.yml +0 -10
data/lib/inquery.rb
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
module Inquery
|
2
|
+
mattr_accessor :default_schema_version
|
3
|
+
self.default_schema_version = 2
|
4
|
+
|
5
|
+
# Setup method that should be called in a dedicated initializer.
|
6
|
+
def self.setup
|
7
|
+
yield self
|
8
|
+
end
|
2
9
|
end
|
3
10
|
|
11
|
+
require 'uri'
|
4
12
|
require 'schemacop'
|
5
13
|
|
6
14
|
require 'inquery/exceptions'
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inquery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sitrox
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: appraisal
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: '1.25'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: '1.25'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: redcarpet
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -164,17 +164,19 @@ dependencies:
|
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: 3.0.8
|
167
|
-
description:
|
168
|
-
email:
|
167
|
+
description:
|
168
|
+
email:
|
169
169
|
executables: []
|
170
170
|
extensions: []
|
171
171
|
extra_rdoc_files: []
|
172
172
|
files:
|
173
|
+
- ".github/workflows/rubocop.yml"
|
174
|
+
- ".github/workflows/ruby.yml"
|
173
175
|
- ".gitignore"
|
174
176
|
- ".releaser_config"
|
175
177
|
- ".rubocop.yml"
|
176
|
-
- ".travis.yml"
|
177
178
|
- ".yardopts"
|
179
|
+
- Appraisals
|
178
180
|
- CHANGELOG.md
|
179
181
|
- Gemfile
|
180
182
|
- LICENSE
|
@@ -209,6 +211,11 @@ files:
|
|
209
211
|
- doc/js/jquery.js
|
210
212
|
- doc/method_list.html
|
211
213
|
- doc/top-level-namespace.html
|
214
|
+
- gemfiles/rails_5.1.gemfile
|
215
|
+
- gemfiles/rails_5.2.gemfile
|
216
|
+
- gemfiles/rails_6.0.gemfile
|
217
|
+
- gemfiles/rails_6.1.gemfile
|
218
|
+
- gemfiles/rails_7.0.gemfile
|
212
219
|
- inquery.gemspec
|
213
220
|
- lib/inquery.rb
|
214
221
|
- lib/inquery/exceptions.rb
|
@@ -229,10 +236,10 @@ files:
|
|
229
236
|
- test/queries/user/fetch_in_group.rb
|
230
237
|
- test/queries/user/fetch_in_group_rel.rb
|
231
238
|
- test/test_helper.rb
|
232
|
-
homepage:
|
239
|
+
homepage:
|
233
240
|
licenses: []
|
234
241
|
metadata: {}
|
235
|
-
post_install_message:
|
242
|
+
post_install_message:
|
236
243
|
rdoc_options: []
|
237
244
|
require_paths:
|
238
245
|
- lib
|
@@ -247,8 +254,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
254
|
- !ruby/object:Gem::Version
|
248
255
|
version: '0'
|
249
256
|
requirements: []
|
250
|
-
rubygems_version: 3.
|
251
|
-
signing_key:
|
257
|
+
rubygems_version: 3.4.10
|
258
|
+
signing_key:
|
252
259
|
specification_version: 4
|
253
260
|
summary: A skeleton that allows extracting queries into atomic, reusable classes.
|
254
261
|
test_files:
|