rails_sql_prettifier 6.1.2 → 6.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f24b775719e8b291b04f98e5250f142cf2eea713bd52bb70a61e507482973ff
4
- data.tar.gz: d00ab131a78b10c28cdcd5c9a569f04825076b9c2073f0388e2b27a21016332a
3
+ metadata.gz: 27c2c94ce703f039972dc6a71d7141875b70fbe8ee4c069ca6c0fd0e0a61c8b0
4
+ data.tar.gz: d4065bbe16258c466c12906f636a606477f35659a10c71ec504a0044d672b24b
5
5
  SHA512:
6
- metadata.gz: 43aae20d26a1a826b1811eb48a665e6c7e2031e694dd7a15172d4f422264a4ea668d17e9406fbce2cd2935e291010ff4894ce7e1f92d67461a6c0be106aa3df7
7
- data.tar.gz: 3866f5f935657553421215fe5a1bfde3f70c2b96ed40041850245d0124aa469bdb613aa13b856923667e55963aff5579d795ebe3b07b55f5b3ceeadd30e9e621
6
+ metadata.gz: cfa6e69b57fdf10fbc5508031805423683947bbbd3c7f68cb4c749db131a6e45dc2e58f653fd59c92244cb6e93b42fd277fd63c7451a902814de16b57f1576b0
7
+ data.tar.gz: 1fc269b0db15097276a0c73dbe7e96f4e796983a4eded9025db72d08f97aeb06929b5ed61759144f598a2bc29682f25c65cffbef9d47c16e93318ab55b488b2a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 6.1.3
2
+ * Now AR is a dependency not a development dependency
3
+
1
4
  # 6.1.0
2
5
 
3
6
  * This a active record prior to 7.0 version and >= 6.1 compatible niceql integration
data/README.md CHANGED
@@ -2,8 +2,11 @@
2
2
 
3
3
  This is an ActiveRecord integration for a niceql gem ( niceql is a small, nice, simple and zero dependency solution for the SQL prettifying in ruby ).
4
4
 
5
- This gem is an extraction from niceql version 0.4.x. Its separated by different ActiveRecord versions, previous it had some version logic branching e.t.c.
6
- but that is hard to maintain and test, and also breaking the idea of niceql to be dependentless solution, so now niceql is a completely railsfree solution yeay!
5
+ This gem started as a code extraction from niceql version 0.4.x.
6
+
7
+ It has versioning aligned to the ActiveRecord versions, niceql prior to 0.5 version had hardcoded logic branches based on ActiveRecord versioning.
8
+
9
+ That is hard to maintain and hard to test, and also coupling with AR is breaking the original idea of the niceql to be a dependentless solution, so now the niceql is a completely railsfree gem yeay! ( It still has some some checks related to AR implemetations in the error prettifying methods. It will be completely decoupled in the future )
7
10
 
8
11
  Any reasonable suggestions are welcome.
9
12
 
@@ -31,7 +34,7 @@ if whenever you specify versions manually.
31
34
  Add this line to your application's Gemfile:
32
35
 
33
36
  ```ruby
34
- gem 'rails_sql_prettifier'
37
+ gem 'rails_sql_prettifier', '~> X.X.X'
35
38
  ```
36
39
 
37
40
  And then execute:
@@ -1,3 +1,3 @@
1
1
  module RailsSQLPrettifier
2
- VERSION = '6.1.2'
2
+ VERSION = '6.1.3'
3
3
  end
@@ -32,8 +32,7 @@ Gem::Specification.new do |spec|
32
32
 
33
33
  spec.required_ruby_version = '>= 2.4'
34
34
  spec.add_dependency "niceql", '~> 0.5'
35
-
36
- spec.add_development_dependency "activerecord", '>= 6.1', '< 7'
35
+ spec.add_dependency "activerecord", '>= 6.1', '< 7'
37
36
 
38
37
  spec.add_development_dependency "bundler", ">= 1"
39
38
  spec.add_development_dependency "rake", ">= 12.3.3"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_sql_prettifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.2
4
+ version: 6.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - alekseyl
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-08 00:00:00.000000000 Z
11
+ date: 2022-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: niceql
@@ -34,7 +34,7 @@ dependencies:
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
36
  version: '7'
37
- type: :development
37
+ type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements: