rails_sql_prettifier 5.0.2 → 6.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/.byebug_history +3 -9
- data/.ruby-gemset +1 -1
- data/CHANGELOG.md +7 -6
- data/lib/rails_sql_prettifier/version.rb +1 -1
- data/lib/rails_sql_prettifier.rb +1 -1
- data/rails_sql_prettifier.gemspec +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1f24b775719e8b291b04f98e5250f142cf2eea713bd52bb70a61e507482973ff
|
|
4
|
+
data.tar.gz: d00ab131a78b10c28cdcd5c9a569f04825076b9c2073f0388e2b27a21016332a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 43aae20d26a1a826b1811eb48a665e6c7e2031e694dd7a15172d4f422264a4ea668d17e9406fbce2cd2935e291010ff4894ce7e1f92d67461a6c0be106aa3df7
|
|
7
|
+
data.tar.gz: 3866f5f935657553421215fe5a1bfde3f70c2b96ed40041850245d0124aa469bdb613aa13b856923667e55963aff5579d795ebe3b07b55f5b3ceeadd30e9e621
|
data/.byebug_history
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
exit
|
|
2
|
-
ActiveRecord::Base.
|
|
3
|
-
ActiveRecord::Base.
|
|
4
|
-
ActiveRecord::Base.
|
|
5
|
-
c
|
|
6
|
-
ActiveRecord.version <= Gem::Version.new(5)
|
|
7
|
-
c
|
|
8
|
-
ActiveRecord.version
|
|
9
|
-
exit
|
|
10
|
-
ActiveRecord.version
|
|
2
|
+
ActiveRecord::Base.connection_db_config.adapter
|
|
3
|
+
ActiveRecord::Base.connection_db_config.adpter
|
|
4
|
+
ActiveRecord::Base.connection_db_config
|
|
11
5
|
c
|
|
12
6
|
exit
|
|
13
7
|
si.sql
|
data/.ruby-gemset
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
rails_sql_prettifier_ar_6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
2
|
-
* Fixed issue with Niceql.configure not configuring anything + test covered
|
|
1
|
+
# 6.1.0
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
*
|
|
7
|
-
|
|
3
|
+
* This a active record prior to 7.0 version and >= 6.1 compatible niceql integration
|
|
4
|
+
ar < 6.0 breaking change:
|
|
5
|
+
* StatementInvalid initialization ahs a breaking change: starting version 6 it has named param sql: for original query )
|
|
6
|
+
|
|
7
|
+
ar <= 6.1:
|
|
8
|
+
* Starting from 6.1 connection_db_config method replaced connection_config which was a hash
|
data/lib/rails_sql_prettifier.rb
CHANGED
|
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
|
|
|
33
33
|
spec.required_ruby_version = '>= 2.4'
|
|
34
34
|
spec.add_dependency "niceql", '~> 0.5'
|
|
35
35
|
|
|
36
|
-
spec.add_development_dependency "activerecord",
|
|
36
|
+
spec.add_development_dependency "activerecord", '>= 6.1', '< 7'
|
|
37
37
|
|
|
38
38
|
spec.add_development_dependency "bundler", ">= 1"
|
|
39
39
|
spec.add_development_dependency "rake", ">= 12.3.3"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_sql_prettifier
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 6.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- alekseyl
|
|
@@ -28,16 +28,22 @@ dependencies:
|
|
|
28
28
|
name: activerecord
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '6.1'
|
|
31
34
|
- - "<"
|
|
32
35
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
36
|
+
version: '7'
|
|
34
37
|
type: :development
|
|
35
38
|
prerelease: false
|
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
40
|
requirements:
|
|
41
|
+
- - ">="
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: '6.1'
|
|
38
44
|
- - "<"
|
|
39
45
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
46
|
+
version: '7'
|
|
41
47
|
- !ruby/object:Gem::Dependency
|
|
42
48
|
name: bundler
|
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -202,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
202
208
|
- !ruby/object:Gem::Version
|
|
203
209
|
version: '0'
|
|
204
210
|
requirements: []
|
|
205
|
-
rubygems_version: 3.
|
|
211
|
+
rubygems_version: 3.1.4
|
|
206
212
|
signing_key:
|
|
207
213
|
specification_version: 4
|
|
208
214
|
summary: This is an ActiveRecord integration for the SQL prettifier gem niceql.
|