rails_sql_prettifier 5.0.2 → 5.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f8842037718631f257e8e3c15d07abcb6f745887704bc075e09848c6aeb549b
4
- data.tar.gz: d84ac4beb2eee2af5f0f2def3c6d2634c9b1da0250333772070f1ca98683c549
3
+ metadata.gz: cf8c24bd9ffa08aa300b4c6540027a1e6a2c288dc4661c93834748d445711e42
4
+ data.tar.gz: ef7945e5d80df9daff0603f3b87f8ed7c209d35b971d0b1817bf94fa409cde21
5
5
  SHA512:
6
- metadata.gz: 1e88b6463876d5faabd76b84436815dc8266860c2176d18878c2d1b17dec4f096937ca686225be75373fd6d975ade38a60059dce7825c9ddd0f072bb8ce876a4
7
- data.tar.gz: 5efaae946cd2e6859640cbf400400b2ba209085decaa82b60634eb3be622e99dadff2c4b4fbe0a914caf5b90f259158cde0102df9a92f082c84d0368caf1b602
6
+ metadata.gz: 3f2790f713dd38d823a78f947a4fa4234a8c4a8e7ad5e799804d7eb9b43d5ecfbd7b82bcefcbb5fc69fd12512d1a686b50056be9a226413d7e90590005f0bf80
7
+ data.tar.gz: 817035ebee03c657e04a83b5817ec87a6cb36c19d91d9498b30d31236342a10a88af6d9b760673eed4d2655b36ef20a419e0c00c78c32880423d74b09208546d
data/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
- # 5.0.1
1
+ # 5.0.3
2
+ * active record versioning is properly aligned now
3
+
4
+ # 5.0.2
2
5
  * Fixed issue with Niceql.configure not configuring anything + test covered
3
6
 
4
7
  # 5.0.0
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 = '5.0.2'
2
+ VERSION = '5.0.3'
3
3
  end
@@ -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", "< 6.0"
36
+ spec.add_dependency "activerecord", "< 6.0"
37
37
 
38
38
  spec.add_development_dependency "bundler", ">= 1"
39
39
  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: 5.0.2
4
+ version: 5.0.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
@@ -31,7 +31,7 @@ dependencies:
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '6.0'
34
- type: :development
34
+ type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
202
  - !ruby/object:Gem::Version
203
203
  version: '0'
204
204
  requirements: []
205
- rubygems_version: 3.2.15
205
+ rubygems_version: 3.1.4
206
206
  signing_key:
207
207
  specification_version: 4
208
208
  summary: This is an ActiveRecord integration for the SQL prettifier gem niceql.