arel_toolkit 0.4.0 → 0.4.5

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.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/coverage.yml +48 -0
  3. data/.github/workflows/test.yml +65 -0
  4. data/.gitignore +6 -1
  5. data/Appraisals +4 -0
  6. data/CHANGELOG.md +87 -7
  7. data/Gemfile.lock +50 -39
  8. data/Guardfile +4 -0
  9. data/README.md +25 -11
  10. data/Rakefile +11 -1
  11. data/arel_toolkit.gemspec +10 -5
  12. data/benchmark.rb +54 -0
  13. data/ext/pg_result_init/extconf.rb +52 -0
  14. data/ext/pg_result_init/pg_result_init.c +138 -0
  15. data/ext/pg_result_init/pg_result_init.h +6 -0
  16. data/gemfiles/active_record_6.gemfile +7 -0
  17. data/gemfiles/active_record_6.gemfile.lock +210 -0
  18. data/gemfiles/arel_gems.gemfile.lock +28 -18
  19. data/gemfiles/default.gemfile.lock +30 -20
  20. data/lib/arel/enhance.rb +1 -0
  21. data/lib/arel/enhance/context_enhancer/arel_table.rb +18 -1
  22. data/lib/arel/enhance/node.rb +71 -28
  23. data/lib/arel/enhance/query.rb +2 -0
  24. data/lib/arel/enhance/query_methods.rb +23 -0
  25. data/lib/arel/enhance/visitor.rb +19 -3
  26. data/lib/arel/extensions.rb +8 -2
  27. data/lib/arel/extensions/active_model_attribute_with_cast_value.rb +22 -0
  28. data/lib/arel/extensions/active_record_relation_query_attribute.rb +22 -0
  29. data/lib/arel/extensions/active_record_type_caster_connection.rb +7 -0
  30. data/lib/arel/extensions/attributes_attribute.rb +47 -0
  31. data/lib/arel/extensions/bind_param.rb +15 -0
  32. data/lib/arel/extensions/coalesce.rb +17 -3
  33. data/lib/arel/extensions/delete_statement.rb +20 -15
  34. data/lib/arel/extensions/exists.rb +59 -0
  35. data/lib/arel/extensions/function.rb +3 -2
  36. data/lib/arel/extensions/greatest.rb +17 -3
  37. data/lib/arel/extensions/infer.rb +1 -1
  38. data/lib/arel/extensions/insert_statement.rb +3 -3
  39. data/lib/arel/extensions/least.rb +17 -3
  40. data/lib/arel/extensions/node.rb +10 -0
  41. data/lib/arel/extensions/range_function.rb +10 -2
  42. data/lib/arel/extensions/select_core.rb +22 -7
  43. data/lib/arel/extensions/top.rb +8 -0
  44. data/lib/arel/extensions/tree_manager.rb +5 -0
  45. data/lib/arel/extensions/update_statement.rb +9 -23
  46. data/lib/arel/middleware.rb +5 -1
  47. data/lib/arel/middleware/active_record_extension.rb +13 -0
  48. data/lib/arel/middleware/cache_accessor.rb +35 -0
  49. data/lib/arel/middleware/chain.rb +110 -31
  50. data/lib/arel/middleware/database_executor.rb +77 -0
  51. data/lib/arel/middleware/no_op_cache.rb +9 -0
  52. data/lib/arel/middleware/postgresql_adapter.rb +41 -5
  53. data/lib/arel/middleware/railtie.rb +6 -2
  54. data/lib/arel/middleware/result.rb +170 -0
  55. data/lib/arel/middleware/to_sql_executor.rb +15 -0
  56. data/lib/arel/middleware/to_sql_middleware.rb +33 -0
  57. data/lib/arel/sql_to_arel/pg_query_visitor.rb +34 -33
  58. data/lib/arel/sql_to_arel/result.rb +19 -2
  59. data/lib/arel/transformer.rb +2 -1
  60. data/lib/arel/transformer/prefix_schema_name.rb +183 -0
  61. data/lib/arel/transformer/remove_active_record_info.rb +2 -4
  62. data/lib/arel/transformer/replace_table_with_subquery.rb +31 -0
  63. data/lib/arel_toolkit.rb +7 -1
  64. data/lib/arel_toolkit/version.rb +1 -1
  65. metadata +101 -37
  66. data/.travis.yml +0 -34
  67. data/lib/arel/extensions/generate_series.rb +0 -9
  68. data/lib/arel/extensions/rank.rb +0 -9
  69. data/lib/arel/transformer/add_schema_to_table.rb +0 -26
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e147a210e33300231d9f47c66eb56d961ffa83c9b3e22744427270e2188c6c2
4
- data.tar.gz: 5fdba0c675a031f44eed13f217520da94f8f3f347198c3bdfdf92786622f01f0
3
+ metadata.gz: 0ec4e730f2f7355ee2fa0b302a9f049862f7237c1f3e6bf8f228b8f9223ed312
4
+ data.tar.gz: c7ef39a83b86e5d888207ed2583df85fa66e85a9e9e1ac20f3639bd1920e2476
5
5
  SHA512:
6
- metadata.gz: db6d5427ffd51079b8652ad706d5e265889d996dda889b22e28ca84296310ab4a2517a63b3cfa7105bfbba745eaf9bc12947261f91acfe250005b94edf0f1912
7
- data.tar.gz: 785dbd44ba4008a3cae7ef3d51d53afe7b048c9877a574853a9e2dbf63992474dfd4f3be40c0b3d50573ec290072414addcfee59d942449a622b98a7ceb3de43
6
+ metadata.gz: d7b78ae6d01c41b79cd9ea626e30a0f569a2f5830b3dec2871ee97bc5d8e77dd9b9fc11d510fe9154a6046a105c7d8fb735d1d5e0b238c38b2238acc3242b168
7
+ data.tar.gz: '09b54ca9ad02dba0d6b883322fb5c574f7bf2af1de111531e64b34d87329a5d2094760da3370977cafbebf7d55d83e5c9729c5d5131078acab29b4fece6c0878'
@@ -0,0 +1,48 @@
1
+ name: Coverage
2
+ on:
3
+ workflow_run:
4
+ workflows: ["Test"]
5
+ types:
6
+ - completed
7
+
8
+ jobs:
9
+ upload_coverage:
10
+ runs-on: ubuntu-latest
11
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ with:
15
+ ref: ${{ github.event.workflow_run.head_sha }}
16
+ - env:
17
+ GITHUB: ${{ toJson(github) }}
18
+ run: |
19
+ env
20
+ - name: Download coverage
21
+ uses: dawidd6/action-download-artifact@v2
22
+ with:
23
+ workflow: test.yml
24
+ commit: ${{ github.event.workflow_run.head_sha }}
25
+ run_id: ${{ github.event.workflow_run.id }}
26
+ run_number: ${{ github.event.workflow_run.run_number }}
27
+ name: rspec-coverage
28
+ path: ./coverage
29
+ - name: Report to codeclimate
30
+ if: always()
31
+ shell: bash
32
+ env:
33
+ JOB_STATUS: ${{ job.status == 'Success' }}
34
+ CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
35
+ GIT_BRANCH: ${{ github.event.workflow_run.head_branch }}
36
+ GIT_COMMIT_SHA: ${{ github.event.workflow_run.head_sha }}
37
+ run: |
38
+ curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
39
+ chmod +x ./cc-test-reporter
40
+ EXIT_CODE=$([[ "$JOB_STATUS" == true ]] && echo 0 || echo 1)
41
+ ./cc-test-reporter after-build --exit-code $EXIT_CODE
42
+
43
+ - name: Upload coverage to GitHub pages
44
+ if: ${{ github.event.workflow_run.head_branch == 'master' }}
45
+ uses: maxheld83/ghpages@v0.2.1
46
+ env:
47
+ BUILD_DIR: ./coverage
48
+ GH_PAT: ${{ secrets.GH_PAT }}
@@ -0,0 +1,65 @@
1
+ name: Test
2
+ on:
3
+ push:
4
+ branches:
5
+ - master
6
+ pull_request:
7
+
8
+ jobs:
9
+ rspec:
10
+ name: RSpec
11
+ runs-on: ubuntu-latest
12
+ services:
13
+ postgres:
14
+ options: >-
15
+ --health-cmd pg_isready
16
+ --health-interval 10s
17
+ --health-timeout 5s
18
+ --health-retries 5
19
+ image: postgres:10.10
20
+ ports:
21
+ - 5432:5432
22
+ env:
23
+ POSTGRES_DB: arel_toolkit_test
24
+ POSTGRES_USER: postgres
25
+ steps:
26
+ - uses: actions/checkout@v2
27
+
28
+ # Based on https://github.com/paambaati/codeclimate-action/blob/0f8af43fca84b500025ca48b581bcff933244252/src/main.ts#L39-L57
29
+ - name: Set env for push event
30
+ run: |
31
+ GIT_BRANCH=$(echo "${{ github.ref }}" | sed 's/refs\/heads\///g')
32
+ echo "GIT_BRANCH=$GIT_BRANCH" >> $GITHUB_ENV
33
+ echo "GIT_COMMIT_SHA=${{ github.sha }}" >> $GITHUB_ENV
34
+ if: ${{ github.event_name == 'push' }}
35
+ - name: Set env for pull_request event
36
+ run: |
37
+ echo "GIT_BRANCH=${{ github.event.pull_request.head.ref }}" >> $GITHUB_ENV
38
+ echo "GIT_COMMIT_SHA=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV
39
+ if: ${{ github.event_name == 'pull_request' }}
40
+
41
+ # From https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
42
+ - env:
43
+ GITHUB: ${{ toJson(github) }}
44
+ run: |
45
+ env
46
+ - uses: ruby/setup-ruby@v1
47
+ with:
48
+ bundler-cache: true
49
+ - run: bundle exec appraisal install
50
+ - name: Compile extension
51
+ run: |
52
+ bundle exec rake clean
53
+ bundle exec rake compile
54
+ - name: Start coverage
55
+ run: |
56
+ curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
57
+ chmod +x ./cc-test-reporter
58
+ ./cc-test-reporter before-build
59
+ - name: RSpec
60
+ run: |
61
+ bundle exec appraisal rspec --force-color
62
+ - uses: actions/upload-artifact@v2
63
+ with:
64
+ name: rspec-coverage
65
+ path: ./coverage
data/.gitignore CHANGED
@@ -6,6 +6,10 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ *.bundle
10
+ *.so
11
+ *.o
12
+ *.a
9
13
 
10
14
  # rspec failure tracking
11
15
  .rspec_status
@@ -16,4 +20,5 @@
16
20
  *.temp
17
21
  # emacs
18
22
  TAGS
19
- .#*
23
+ .#*
24
+ stackprof.json
data/Appraisals CHANGED
@@ -7,3 +7,7 @@ end
7
7
 
8
8
  appraise 'default' do
9
9
  end
10
+
11
+ appraise 'active_record_6' do
12
+ gem 'activerecord', '~> 6.0.0'
13
+ end
data/CHANGELOG.md CHANGED
@@ -1,25 +1,100 @@
1
- # Change Log
1
+ # Changelog
2
+
3
+ ## [v0.4.5](https://github.com/mvgijssel/arel_toolkit/tree/v0.4.5) (2021-07-08)
4
+
5
+ [Full Changelog](https://github.com/mvgijssel/arel_toolkit/compare/v0.4.4...v0.4.5)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Refactor test setup [\#181](https://github.com/mvgijssel/arel_toolkit/issues/181)
10
+ - Bump nokogiri from 1.11.1 to 1.11.7 [\#176](https://github.com/mvgijssel/arel_toolkit/pull/176) ([dependabot[bot]](https://github.com/apps/dependabot))
11
+ - Bump activerecord from 5.2.4.3 to 6.1.3 [\#173](https://github.com/mvgijssel/arel_toolkit/pull/173) ([dependabot[bot]](https://github.com/apps/dependabot))
12
+
13
+ ## [v0.4.4](https://github.com/mvgijssel/arel_toolkit/tree/v0.4.4) (2021-02-11)
14
+
15
+ [Full Changelog](https://github.com/mvgijssel/arel_toolkit/compare/v0.4.3...v0.4.4)
16
+
17
+ **Implemented enhancements:**
18
+
19
+ - Bump nokogiri from 1.10.8 to 1.11.1 [\#171](https://github.com/mvgijssel/arel_toolkit/pull/171) ([dependabot[bot]](https://github.com/apps/dependabot))
20
+
21
+ **Fixed bugs:**
22
+
23
+ - Fix conditional update and delete statements in Rails 6 [\#170](https://github.com/mvgijssel/arel_toolkit/pull/170) ([mvgijssel](https://github.com/mvgijssel))
24
+
25
+ ## [v0.4.3](https://github.com/mvgijssel/arel_toolkit/tree/v0.4.3) (2020-11-09)
26
+
27
+ [Full Changelog](https://github.com/mvgijssel/arel_toolkit/compare/v0.4.2...v0.4.3)
28
+
29
+ **Implemented enhancements:**
30
+
31
+ - Upgrade active\_record to 6 [\#167](https://github.com/mvgijssel/arel_toolkit/pull/167) ([khaleksa](https://github.com/khaleksa))
32
+ - Bump json from 2.2.0 to 2.3.1 [\#166](https://github.com/mvgijssel/arel_toolkit/pull/166) ([dependabot[bot]](https://github.com/apps/dependabot))
33
+ - Bump activesupport from 5.2.3 to 5.2.4.3 [\#165](https://github.com/mvgijssel/arel_toolkit/pull/165) ([dependabot[bot]](https://github.com/apps/dependabot))
34
+ - Update rake requirement from ~\> 10.0 to ~\> 13.0 [\#161](https://github.com/mvgijssel/arel_toolkit/pull/161) ([dependabot[bot]](https://github.com/apps/dependabot))
35
+ - Bump nokogiri from 1.10.4 to 1.10.8 [\#160](https://github.com/mvgijssel/arel_toolkit/pull/160) ([dependabot[bot]](https://github.com/apps/dependabot))
36
+ - Adds cache mechanism to middleware [\#154](https://github.com/mvgijssel/arel_toolkit/pull/154) ([Willianvdv](https://github.com/Willianvdv))
37
+
38
+ ## [v0.4.2](https://github.com/mvgijssel/arel_toolkit/tree/v0.4.2) (2020-01-08)
39
+
40
+ [Full Changelog](https://github.com/mvgijssel/arel_toolkit/compare/v0.4.1...v0.4.2)
41
+
42
+ **Breaking changes:**
43
+
44
+ - Remove path, inline visit and improve recursion for improved performance [\#152](https://github.com/mvgijssel/arel_toolkit/pull/152) ([Willianvdv](https://github.com/Willianvdv))
45
+
46
+ **Implemented enhancements:**
47
+
48
+ - Validate whether setting a session variable transformation does the right thing [\#155](https://github.com/mvgijssel/arel_toolkit/issues/155)
49
+ - Add ability to mutate nodes with precomputed Arel::Nodes::Enhance [\#158](https://github.com/mvgijssel/arel_toolkit/pull/158) ([mvgijssel](https://github.com/mvgijssel))
50
+
51
+ ## [v0.4.1](https://github.com/mvgijssel/arel_toolkit/tree/v0.4.1) (2019-11-13)
52
+
53
+ [Full Changelog](https://github.com/mvgijssel/arel_toolkit/compare/v0.4.0...v0.4.1)
54
+
55
+ **Implemented enhancements:**
56
+
57
+ - Create a transformer that replaces a table reference with a subquery [\#141](https://github.com/mvgijssel/arel_toolkit/issues/141)
58
+ - Same signature for all middleware helpers [\#135](https://github.com/mvgijssel/arel_toolkit/issues/135)
59
+ - Instantiate PG::Result object instead of duck typed object [\#130](https://github.com/mvgijssel/arel_toolkit/issues/130)
60
+ - Add `to\_sql` to Arel.middleware which prints the sql after middleware processing [\#127](https://github.com/mvgijssel/arel_toolkit/issues/127)
61
+ - Extend Middleware to include the response from the database [\#126](https://github.com/mvgijssel/arel_toolkit/issues/126)
62
+ - Extend AddSchemaToTable to support multiple schemas and regclass typecasts [\#124](https://github.com/mvgijssel/arel_toolkit/issues/124)
63
+ - Optional context argument for Arel middleware [\#110](https://github.com/mvgijssel/arel_toolkit/issues/110)
64
+ - Handle is\_rowsfrom in pg\_query\_visitor\#visit\_RangeFunction [\#36](https://github.com/mvgijssel/arel_toolkit/issues/36)
65
+ - Bump nokogiri from 1.10.3 to 1.10.4 [\#132](https://github.com/mvgijssel/arel_toolkit/pull/132) ([dependabot[bot]](https://github.com/apps/dependabot))
66
+
67
+ **Fixed bugs:**
68
+
69
+ - Bundle install fails with missing arel\_toolkit/pg\_result\_init [\#148](https://github.com/mvgijssel/arel_toolkit/issues/148)
70
+ - Handle column reference with 3 \(or more\) fields [\#145](https://github.com/mvgijssel/arel_toolkit/issues/145)
71
+ - Error when aliasing a range select [\#144](https://github.com/mvgijssel/arel_toolkit/issues/144)
72
+ - Make sure the method signatures of PostgreSQLAdapter match [\#122](https://github.com/mvgijssel/arel_toolkit/issues/122)
73
+ - Fix missing middleware method and fix \(again\) infinite middleware recursion [\#120](https://github.com/mvgijssel/arel_toolkit/issues/120)
74
+ - Use named window with OVER. [\#149](https://github.com/mvgijssel/arel_toolkit/pull/149) ([khaleksa](https://github.com/khaleksa))
2
75
 
3
76
  ## [v0.4.0](https://github.com/mvgijssel/arel_toolkit/tree/v0.4.0) (2019-07-31)
77
+
4
78
  [Full Changelog](https://github.com/mvgijssel/arel_toolkit/compare/v0.3.0...v0.4.0)
5
79
 
6
80
  **Implemented enhancements:**
7
81
 
82
+ - Replace Arel::Nodes::UnboundColumnReference with Arel::Nodes::UnqualifiedColumn [\#91](https://github.com/mvgijssel/arel_toolkit/issues/91)
83
+ - Add brakeman to check for security vulnerabilities [\#10](https://github.com/mvgijssel/arel_toolkit/issues/10)
8
84
  - Rename Arel.transformer to Arel.enhance [\#111](https://github.com/mvgijssel/arel_toolkit/issues/111)
9
85
  - Ability to query an Arel transformer tree [\#103](https://github.com/mvgijssel/arel_toolkit/issues/103)
10
86
  - Implement PREPARE and DEALLOCATE statement [\#101](https://github.com/mvgijssel/arel_toolkit/issues/101)
11
- - Replace Arel::Nodes::UnboundColumnReference with Arel::Nodes::UnqualifiedColumn [\#91](https://github.com/mvgijssel/arel_toolkit/issues/91)
12
87
  - Create Arel transformer class to safely and easily mutate an Arel AST [\#89](https://github.com/mvgijssel/arel_toolkit/issues/89)
13
88
  - Test and verify compatibility with Arel extension gems [\#81](https://github.com/mvgijssel/arel_toolkit/issues/81)
14
89
  - Automatically load Railtie when gem is included in Rails [\#66](https://github.com/mvgijssel/arel_toolkit/issues/66)
15
90
  - Create remove ActiveRecord specifics transformer [\#63](https://github.com/mvgijssel/arel_toolkit/issues/63)
16
- - Add brakeman to check for security vulnerabilities [\#10](https://github.com/mvgijssel/arel_toolkit/issues/10)
17
91
 
18
92
  **Fixed bugs:**
19
93
 
20
94
  - TypeError: superclass mismatch for class Overlap [\#93](https://github.com/mvgijssel/arel_toolkit/issues/93)
21
95
 
22
96
  ## [v0.3.0](https://github.com/mvgijssel/arel_toolkit/tree/v0.3.0) (2019-07-01)
97
+
23
98
  [Full Changelog](https://github.com/mvgijssel/arel_toolkit/compare/v0.2.0...v0.3.0)
24
99
 
25
100
  **Implemented enhancements:**
@@ -47,11 +122,13 @@
47
122
  - File issues for commented out rspec test [\#51](https://github.com/mvgijssel/arel_toolkit/issues/51)
48
123
 
49
124
  ## [v0.2.0](https://github.com/mvgijssel/arel_toolkit/tree/v0.2.0) (2019-05-30)
125
+
50
126
  [Full Changelog](https://github.com/mvgijssel/arel_toolkit/compare/v0.1.0...v0.2.0)
51
127
 
52
128
  **Implemented enhancements:**
53
129
 
54
130
  - Handle op in pg\_query\_visitor\#visit\_SelectStmt [\#38](https://github.com/mvgijssel/arel_toolkit/issues/38)
131
+ - Introduce Guard [\#5](https://github.com/mvgijssel/arel_toolkit/issues/5)
55
132
  - Add WITH, OVERRIDING and RETURNING to INSERT [\#28](https://github.com/mvgijssel/arel_toolkit/issues/28)
56
133
  - Return \(Select|Update|Insert|Delete\)Manager instead of \(Select|Update|Insert|Delete\)Statement [\#25](https://github.com/mvgijssel/arel_toolkit/issues/25)
57
134
  - Implement UNION in sql\_to\_arel [\#24](https://github.com/mvgijssel/arel_toolkit/issues/24)
@@ -60,7 +137,11 @@
60
137
  - Implement pg\_query\_visitor method for INSERT [\#21](https://github.com/mvgijssel/arel_toolkit/issues/21)
61
138
  - Implement pg\_query\_visitor method for UPDATE [\#20](https://github.com/mvgijssel/arel_toolkit/issues/20)
62
139
  - Implement all the visitor methods in PgQueryVisitor for SELECT statements [\#11](https://github.com/mvgijssel/arel_toolkit/issues/11)
63
- - Introduce Guard [\#5](https://github.com/mvgijssel/arel_toolkit/issues/5)
140
+ - 22/implement delete [\#30](https://github.com/mvgijssel/arel_toolkit/pull/30) ([mvgijssel](https://github.com/mvgijssel))
141
+ - Added WITH, OVERRIDING and RETURINING to INSERT [\#29](https://github.com/mvgijssel/arel_toolkit/pull/29) ([mvgijssel](https://github.com/mvgijssel))
142
+ - Added badges to README \(and fix setup\) [\#3](https://github.com/mvgijssel/arel_toolkit/pull/3) ([mvgijssel](https://github.com/mvgijssel))
143
+ - Configure codeclimate [\#2](https://github.com/mvgijssel/arel_toolkit/pull/2) ([mvgijssel](https://github.com/mvgijssel))
144
+ - Updated travis file [\#1](https://github.com/mvgijssel/arel_toolkit/pull/1) ([mvgijssel](https://github.com/mvgijssel))
64
145
 
65
146
  **Fixed bugs:**
66
147
 
@@ -68,11 +149,10 @@
68
149
 
69
150
  **Closed issues:**
70
151
 
71
- - Create issues for unknown branches in pg\_query\_visitor [\#19](https://github.com/mvgijssel/arel_toolkit/issues/19)
72
152
  - Remove unnecessary to\_arel remains [\#15](https://github.com/mvgijssel/arel_toolkit/issues/15)
73
153
  - Merge to\_arel gem [\#4](https://github.com/mvgijssel/arel_toolkit/issues/4)
154
+ - Create issues for unknown branches in pg\_query\_visitor [\#19](https://github.com/mvgijssel/arel_toolkit/issues/19)
74
155
 
75
- ## [v0.1.0](https://github.com/mvgijssel/arel_toolkit/tree/v0.1.0) (2019-05-16)
76
156
 
77
157
 
78
- \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
158
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
data/Gemfile.lock CHANGED
@@ -1,28 +1,27 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- arel_toolkit (0.4.0)
5
- activerecord (~> 5.2.0)
6
- arel (~> 9.0.0)
4
+ arel_toolkit (0.4.5)
5
+ activerecord
7
6
  pg (~> 1.1.4)
8
- pg_query (~> 1.1.0)
7
+ pg_query (~> 1.3)
9
8
 
10
9
  GEM
11
10
  remote: https://rubygems.org/
12
11
  specs:
13
- activemodel (5.2.3)
14
- activesupport (= 5.2.3)
15
- activerecord (5.2.3)
16
- activemodel (= 5.2.3)
17
- activesupport (= 5.2.3)
18
- arel (>= 9.0)
19
- activesupport (5.2.3)
12
+ activemodel (6.1.3)
13
+ activesupport (= 6.1.3)
14
+ activerecord (6.1.3)
15
+ activemodel (= 6.1.3)
16
+ activesupport (= 6.1.3)
17
+ activesupport (6.1.3)
20
18
  concurrent-ruby (~> 1.0, >= 1.0.2)
21
- i18n (>= 0.7, < 2)
22
- minitest (~> 5.1)
23
- tzinfo (~> 1.1)
24
- addressable (2.6.0)
25
- public_suffix (>= 2.0.2, < 4.0)
19
+ i18n (>= 1.6, < 2)
20
+ minitest (>= 5.1)
21
+ tzinfo (~> 2.0)
22
+ zeitwerk (~> 2.3)
23
+ addressable (2.7.0)
24
+ public_suffix (>= 2.0.2, < 5.0)
26
25
  ansi (1.5.0)
27
26
  appraisal (2.2.0)
28
27
  bundler
@@ -31,31 +30,30 @@ GEM
31
30
  approvals (0.0.24)
32
31
  nokogiri (~> 1.6)
33
32
  thor (~> 0.18)
34
- arel (9.0.0)
35
33
  ast (2.4.0)
36
34
  binding_of_caller (0.8.0)
37
35
  debug_inspector (>= 0.0.1)
38
36
  coderay (1.1.2)
39
- concurrent-ruby (1.1.5)
37
+ concurrent-ruby (1.1.8)
40
38
  database_cleaner (1.7.0)
41
39
  debug_inspector (0.0.3)
42
40
  diff-lcs (1.3)
43
41
  docile (1.3.1)
44
42
  dpl (1.10.11)
45
- faraday (0.15.4)
43
+ faraday (0.17.0)
46
44
  multipart-post (>= 1.2, < 3)
47
45
  faraday-http-cache (2.0.0)
48
46
  faraday (~> 0.8)
49
47
  ffi (1.11.1)
50
48
  formatador (0.2.5)
51
- github_changelog_generator (1.14.3)
49
+ github_changelog_generator (1.15.0)
52
50
  activesupport
53
51
  faraday-http-cache
54
52
  multi_json
55
53
  octokit (~> 4.6)
56
- rainbow (>= 2.1)
54
+ rainbow (>= 2.2.1)
57
55
  rake (>= 10.0)
58
- retriable (~> 2.1)
56
+ retriable (~> 3.0)
59
57
  guard (2.15.0)
60
58
  formatador (>= 0.2.4)
61
59
  listen (>= 2.7, < 4.0)
@@ -66,6 +64,9 @@ GEM
66
64
  shellany (~> 0.0)
67
65
  thor (>= 0.18.1)
68
66
  guard-compat (1.2.1)
67
+ guard-rake (1.0.0)
68
+ guard
69
+ rake
69
70
  guard-rspec (4.7.3)
70
71
  guard (~> 2.1)
71
72
  guard-compat (~> 1.1)
@@ -74,24 +75,26 @@ GEM
74
75
  guard (~> 2.0)
75
76
  rubocop (~> 0.20)
76
77
  hirb (0.7.3)
77
- i18n (1.6.0)
78
+ i18n (1.8.9)
78
79
  concurrent-ruby (~> 1.0)
79
80
  interception (0.5)
80
81
  jaro_winkler (1.5.3)
81
- json (2.2.0)
82
+ json (2.3.1)
82
83
  listen (3.1.5)
83
84
  rb-fsevent (~> 0.9, >= 0.9.4)
84
85
  rb-inotify (~> 0.9, >= 0.9.7)
85
86
  ruby_dep (~> 1.2)
86
87
  lumberjack (1.0.13)
88
+ memory_profiler (0.9.14)
87
89
  method_source (0.9.2)
88
- mini_portile2 (2.4.0)
89
- minitest (5.11.3)
90
- multi_json (1.13.1)
90
+ mini_portile2 (2.5.3)
91
+ minitest (5.14.4)
92
+ multi_json (1.14.1)
91
93
  multipart-post (2.1.1)
92
94
  nenv (0.3.0)
93
- nokogiri (1.10.3)
94
- mini_portile2 (~> 2.4.0)
95
+ nokogiri (1.11.7)
96
+ mini_portile2 (~> 2.5.0)
97
+ racc (~> 1.4)
95
98
  notiffany (0.1.1)
96
99
  nenv (~> 0.1)
97
100
  shellany (~> 0.0)
@@ -101,7 +104,7 @@ GEM
101
104
  parser (2.6.3.0)
102
105
  ast (~> 2.4.0)
103
106
  pg (1.1.4)
104
- pg_query (1.1.0)
107
+ pg_query (1.3.0)
105
108
  pry (0.12.2)
106
109
  coderay (~> 1.1.0)
107
110
  method_source (~> 0.9.0)
@@ -119,13 +122,16 @@ GEM
119
122
  pry-stack_explorer (0.4.9.3)
120
123
  binding_of_caller (>= 0.7)
121
124
  pry (>= 0.9.11)
122
- public_suffix (3.1.1)
125
+ public_suffix (4.0.1)
126
+ racc (1.5.2)
123
127
  rainbow (3.0.0)
124
- rake (10.5.0)
128
+ rake (13.0.1)
129
+ rake-compiler (1.0.7)
130
+ rake
125
131
  rb-fsevent (0.10.3)
126
132
  rb-inotify (0.10.0)
127
133
  ffi (~> 1.0)
128
- retriable (2.1.0)
134
+ retriable (3.1.2)
129
135
  rspec (3.8.0)
130
136
  rspec-core (~> 3.8.0)
131
137
  rspec-expectations (~> 3.8.0)
@@ -161,12 +167,13 @@ GEM
161
167
  hirb
162
168
  simplecov
163
169
  simplecov-html (0.10.2)
170
+ stackprof (0.2.13)
164
171
  thor (0.20.3)
165
- thread_safe (0.3.6)
166
- tzinfo (1.2.5)
167
- thread_safe (~> 0.1)
172
+ tzinfo (2.0.4)
173
+ concurrent-ruby (~> 1.0)
168
174
  unicode-display_width (1.6.0)
169
175
  yard (0.9.20)
176
+ zeitwerk (2.4.2)
170
177
 
171
178
  PLATFORMS
172
179
  ruby
@@ -178,21 +185,25 @@ DEPENDENCIES
178
185
  bundler (~> 2.0)
179
186
  database_cleaner (~> 1.7.0)
180
187
  dpl (~> 1.10.11)
181
- github_changelog_generator (~> 1.14.3)
188
+ github_changelog_generator (~> 1.15)
182
189
  guard (~> 2.15)
190
+ guard-rake (~> 1.0.0)
183
191
  guard-rspec (~> 4.7)
184
192
  guard-rubocop (~> 1.3.0)
193
+ memory_profiler (~> 0.9)
185
194
  pry
186
195
  pry-alias
187
196
  pry-doc
188
197
  pry-nav
189
198
  pry-rescue
190
199
  pry-stack_explorer
191
- rake (~> 10.0)
200
+ rake (~> 13.0)
201
+ rake-compiler (~> 1.0)
192
202
  rspec (~> 3.8)
193
203
  rubocop (= 0.71.0)
194
204
  simplecov (~> 0.16.1)
195
205
  simplecov-console (~> 0.4.2)
206
+ stackprof (~> 0.2)
196
207
 
197
208
  BUNDLED WITH
198
- 2.0.1
209
+ 2.2.19