rom-yesql 0.5.1 → 1.1.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.
- checksums.yaml +5 -5
- data/.action_hero.yml +20 -0
- data/.devtools/templates/README.md.erb +29 -0
- data/.devtools/templates/changelog.erb +43 -0
- data/.devtools/templates/release.erb +36 -0
- data/.github/FUNDING.yml +1 -0
- data/.github/ISSUE_TEMPLATE/bug-report.md +26 -0
- data/.github/ISSUE_TEMPLATE/config.yml +5 -0
- data/.github/SUPPORT.md +3 -0
- data/.github/workflows/ci.yml +61 -0
- data/.github/workflows/docsite.yml +63 -0
- data/.github/workflows/rubocop.yml +46 -0
- data/.github/workflows/sync_configs.yml +53 -0
- data/.rspec +2 -0
- data/.rubocop.yml +210 -37
- data/CHANGELOG.md +41 -12
- data/CODEOWNERS +1 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/CONTRIBUTING.md +29 -0
- data/Gemfile +9 -7
- data/Gemfile.devtools +20 -0
- data/Guardfile +7 -5
- data/LICENSE +20 -0
- data/README.md +13 -26
- data/Rakefile +5 -3
- data/changelog.yml +38 -0
- data/lib/rom/yesql/dataset.rb +2 -0
- data/lib/rom/yesql/gateway.rb +21 -18
- data/lib/rom/yesql/relation/class_interface.rb +5 -4
- data/lib/rom/yesql/relation.rb +10 -13
- data/lib/rom/yesql/version.rb +3 -1
- data/lib/rom/yesql.rb +4 -2
- data/lib/rom-yesql.rb +4 -2
- data/project.yml +2 -0
- data/rakelib/rubocop.rake +5 -3
- data/rom-yesql.gemspec +9 -8
- data/spec/integration/adapter_spec.rb +26 -24
- data/spec/shared/database_setup.rb +5 -3
- data/spec/shared/repository_setup.rb +8 -6
- data/spec/shared/users_and_tasks.rb +9 -7
- data/spec/spec_helper.rb +13 -19
- data/spec/support/coverage.rb +15 -0
- data/spec/support/rspec_options.rb +16 -0
- data/spec/support/warnings.rb +10 -0
- data/spec/unit/rom/yesql/repository_spec.rb +12 -10
- metadata +37 -53
- data/.rubocop_todo.yml +0 -21
- data/.travis.yml +0 -30
- data/LICENSE.txt +0 -22
metadata
CHANGED
@@ -1,91 +1,56 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rom-yesql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Solnica
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-19 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
13
|
+
name: dry-core
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
16
|
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
18
|
+
version: '1.1'
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - "~>"
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
25
|
+
version: '1.1'
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
27
|
+
name: rom
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
30
|
- - "~>"
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
-
- - ">="
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 0.2.4
|
32
|
+
version: '5.4'
|
37
33
|
type: :runtime
|
38
34
|
prerelease: false
|
39
35
|
version_requirements: !ruby/object:Gem::Requirement
|
40
36
|
requirements:
|
41
37
|
- - "~>"
|
42
38
|
- !ruby/object:Gem::Version
|
43
|
-
version: '
|
44
|
-
- - ">="
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 0.2.4
|
39
|
+
version: '5.4'
|
47
40
|
- !ruby/object:Gem::Dependency
|
48
41
|
name: sequel
|
49
42
|
requirement: !ruby/object:Gem::Requirement
|
50
43
|
requirements:
|
51
44
|
- - "~>"
|
52
45
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
46
|
+
version: '5'
|
54
47
|
type: :runtime
|
55
48
|
prerelease: false
|
56
49
|
version_requirements: !ruby/object:Gem::Requirement
|
57
50
|
requirements:
|
58
51
|
- - "~>"
|
59
52
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: bundler
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - ">="
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '0'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - ">="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '0'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: rake
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '10.0'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '10.0'
|
53
|
+
version: '5'
|
89
54
|
description: Yesql adapter for ROM
|
90
55
|
email:
|
91
56
|
- piotr.solnica@gmail.com
|
@@ -93,17 +58,32 @@ executables: []
|
|
93
58
|
extensions: []
|
94
59
|
extra_rdoc_files: []
|
95
60
|
files:
|
61
|
+
- ".action_hero.yml"
|
62
|
+
- ".devtools/templates/README.md.erb"
|
63
|
+
- ".devtools/templates/changelog.erb"
|
64
|
+
- ".devtools/templates/release.erb"
|
65
|
+
- ".github/FUNDING.yml"
|
66
|
+
- ".github/ISSUE_TEMPLATE/bug-report.md"
|
67
|
+
- ".github/ISSUE_TEMPLATE/config.yml"
|
68
|
+
- ".github/SUPPORT.md"
|
69
|
+
- ".github/workflows/ci.yml"
|
70
|
+
- ".github/workflows/docsite.yml"
|
71
|
+
- ".github/workflows/rubocop.yml"
|
72
|
+
- ".github/workflows/sync_configs.yml"
|
96
73
|
- ".gitignore"
|
97
74
|
- ".rspec"
|
98
75
|
- ".rubocop.yml"
|
99
|
-
- ".rubocop_todo.yml"
|
100
|
-
- ".travis.yml"
|
101
76
|
- CHANGELOG.md
|
77
|
+
- CODEOWNERS
|
78
|
+
- CODE_OF_CONDUCT.md
|
79
|
+
- CONTRIBUTING.md
|
102
80
|
- Gemfile
|
81
|
+
- Gemfile.devtools
|
103
82
|
- Guardfile
|
104
|
-
- LICENSE
|
83
|
+
- LICENSE
|
105
84
|
- README.md
|
106
85
|
- Rakefile
|
86
|
+
- changelog.yml
|
107
87
|
- db/.gitkeep
|
108
88
|
- lib/rom-yesql.rb
|
109
89
|
- lib/rom/yesql.rb
|
@@ -113,6 +93,7 @@ files:
|
|
113
93
|
- lib/rom/yesql/relation/class_interface.rb
|
114
94
|
- lib/rom/yesql/version.rb
|
115
95
|
- log/.gitkeep
|
96
|
+
- project.yml
|
116
97
|
- rakelib/rubocop.rake
|
117
98
|
- rom-yesql.gemspec
|
118
99
|
- spec/fixtures/tasks/by_id.sql
|
@@ -122,12 +103,14 @@ files:
|
|
122
103
|
- spec/shared/repository_setup.rb
|
123
104
|
- spec/shared/users_and_tasks.rb
|
124
105
|
- spec/spec_helper.rb
|
106
|
+
- spec/support/coverage.rb
|
107
|
+
- spec/support/rspec_options.rb
|
108
|
+
- spec/support/warnings.rb
|
125
109
|
- spec/unit/rom/yesql/repository_spec.rb
|
126
110
|
homepage: http://rom-rb.org
|
127
111
|
licenses:
|
128
112
|
- MIT
|
129
113
|
metadata: {}
|
130
|
-
post_install_message:
|
131
114
|
rdoc_options: []
|
132
115
|
require_paths:
|
133
116
|
- lib
|
@@ -135,16 +118,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
135
118
|
requirements:
|
136
119
|
- - ">="
|
137
120
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
121
|
+
version: 3.1.0
|
139
122
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
123
|
requirements:
|
141
124
|
- - ">="
|
142
125
|
- !ruby/object:Gem::Version
|
143
126
|
version: '0'
|
144
127
|
requirements: []
|
145
|
-
|
146
|
-
rubygems_version: 2.6.11
|
147
|
-
signing_key:
|
128
|
+
rubygems_version: 3.6.2
|
148
129
|
specification_version: 4
|
149
130
|
summary: Yesql adapter for ROM
|
150
131
|
test_files:
|
@@ -155,4 +136,7 @@ test_files:
|
|
155
136
|
- spec/shared/repository_setup.rb
|
156
137
|
- spec/shared/users_and_tasks.rb
|
157
138
|
- spec/spec_helper.rb
|
139
|
+
- spec/support/coverage.rb
|
140
|
+
- spec/support/rspec_options.rb
|
141
|
+
- spec/support/warnings.rb
|
158
142
|
- spec/unit/rom/yesql/repository_spec.rb
|
data/.rubocop_todo.yml
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
# on 2015-09-26 18:14:52 +0200 using RuboCop version 0.34.2.
|
4
|
-
# The point is for the user to remove these configuration records
|
5
|
-
# one by one as the offenses are removed from the code base.
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
8
|
-
|
9
|
-
# Offense count: 1
|
10
|
-
Metrics/AbcSize:
|
11
|
-
Max: 19
|
12
|
-
|
13
|
-
# Offense count: 4
|
14
|
-
# Configuration parameters: AllowURI, URISchemes.
|
15
|
-
Metrics/LineLength:
|
16
|
-
Max: 83
|
17
|
-
|
18
|
-
# Offense count: 1
|
19
|
-
# Configuration parameters: CountComments.
|
20
|
-
Metrics/MethodLength:
|
21
|
-
Max: 11
|
data/.travis.yml
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
dist: trusty
|
3
|
-
sudo: false
|
4
|
-
cache: bundler
|
5
|
-
bundler_args: --without tools
|
6
|
-
script: "bundle exec rake ci"
|
7
|
-
env:
|
8
|
-
global:
|
9
|
-
- CODECLIMATE_REPO_TOKEN=15dad2a6b4f5f73f367783df8192230b73070b33fe1f193393e9867d50653885
|
10
|
-
- JRUBY_OPTS='--dev -J-Xmx1024M'
|
11
|
-
- COVERAGE=true
|
12
|
-
after_success:
|
13
|
-
- '[ -d coverage ] && bundle exec codeclimate-test-reporter'
|
14
|
-
rvm:
|
15
|
-
- 2.2.6
|
16
|
-
- 2.3.3
|
17
|
-
- 2.4.1
|
18
|
-
- jruby-9.1.8.0
|
19
|
-
- ruby-head
|
20
|
-
- rbx-3
|
21
|
-
matrix:
|
22
|
-
allow_failures:
|
23
|
-
- rvm: ruby-head
|
24
|
-
notifications:
|
25
|
-
webhooks:
|
26
|
-
urls:
|
27
|
-
- https://webhooks.gitter.im/e/39e1225f489f38b0bd09
|
28
|
-
on_success: change
|
29
|
-
on_failure: always
|
30
|
-
on_start: false
|
data/LICENSE.txt
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
Copyright (c) 2014 Piotr Solnica
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|