pg_column_byte_packer 1.2.1 → 1.2.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: 890aafd28157565a12a3bde40e4bc87d6156203229e6eb26987c05b4dd951e0b
4
- data.tar.gz: 8b8f5e074740a77451705083d464cbf864a544e5cbe2ed4cb55317f958d350c7
3
+ metadata.gz: 54100e6a13de413911064126d0f1186713374db816c401dc4a098cf2e04defd2
4
+ data.tar.gz: 26db08d7d6ec37b7017df7370eceee5edc0742cc7b3591ca7453147905308697
5
5
  SHA512:
6
- metadata.gz: 3e0705d48e7d17e252fe773c36706c5aa32a32dddc81c8c3b91c8fbf82977a885c7f5b32871e87acd22634926e4c0b6bf3083f3a7cae2c5c2374a4d966c8584a
7
- data.tar.gz: 4f0009bc49a7f8c95ea3ddc27e6e09fdb0a81a2080a3bbf7145ab867ce6ddbb850ba7508a8b8966f8994154b4e3a2c761e0fb3ec08681ec3599def90a8c88a5e
6
+ metadata.gz: e448240c803d42dd5d4fce786b981dadd974d4c50118e1e1fa20efe1e278c4cc904ecdbde493da5aa74573e41ae65eb495ee3b26b8b47389256e5511a42396f9
7
+ data.tar.gz: 44544d0914d34c965ad3e035d9cda48cfb4b5b73ad11695b771ccd742c61f86a986c87e0498e9d53bfed7a774e72c95c432531d4310610dcb98db2d57f472dcc
@@ -11,10 +11,13 @@ jobs:
11
11
  - 12
12
12
  - 13
13
13
  gemfile:
14
- - rails_5.1
15
- - rails_5.2
16
14
  - rails_6.0
17
15
  - rails_6.1
16
+ - rails_7.0
17
+ - rails_7.1
18
+ - rails_7.2
19
+ - rails_8.0
20
+ - rails_8.1
18
21
  name: PostgreSQL ${{ matrix.pg }}
19
22
  runs-on: ubuntu-latest
20
23
  env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.7
1
+ ruby-3.3
data/Appraisals CHANGED
@@ -1,11 +1,3 @@
1
- appraise "rails-5.1" do
2
- gem "activerecord", "~> 5.1.0"
3
- end
4
-
5
- appraise "rails-5.2" do
6
- gem "activerecord", "~> 5.2.0"
7
- end
8
-
9
1
  appraise "rails-6.0" do
10
2
  gem "activerecord", "~> 6.0.0"
11
3
  end
@@ -17,3 +9,19 @@ end
17
9
  appraise "rails-7.0" do
18
10
  gem "activerecord", "~> 7.0.0"
19
11
  end
12
+
13
+ appraise "rails-7.1" do
14
+ gem "activerecord", "~> 7.1"
15
+ end
16
+
17
+ appraise "rails-7.2" do
18
+ gem "activerecord", "~> 7.2"
19
+ end
20
+
21
+ appraise "rails-8.0" do
22
+ gem "activerecord", "~> 8.0"
23
+ end
24
+
25
+ appraise "rails-8.1" do
26
+ gem "activerecord", "~> 8.1"
27
+ end
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PostgreSQL Column Byte Packer
2
2
 
3
- [![Build Status](https://travis-ci.com/braintree/pg_column_byte_packer.svg?branch=master)](https://travis-ci.org/braintree/pg_column_byte_packer/)
3
+ [![Build Status](https://github.com/braintree/pg_column_byte_packer/actions/workflows/ci.yml/badge.svg)](https://github.com/braintree/pg_column_byte_packer/actions/workflows/ci.yml?query=branch%3Amaster+)
4
4
 
5
5
  tl;dr: Provides facilities for laying out table column order to optimize for disk space usage both in ActiveRecord migrations and `pg_dump` generated SQL schema files. The general idea and relevant PostgreSQL internals are described in [On Rocks and Sand](https://www.2ndquadrant.com/en/blog/on-rocks-and-sand/).
6
6
 
@@ -51,7 +51,9 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
51
51
 
52
52
  Running tests will automatically create a test database in the locally running Postgres server. You can find the connection parameters in `spec/spec_helper.rb`, but setting the environment variables `PGHOST`, `PGPORT`, `PGUSER`, and `PGPASSWORD` will override the defaults.
53
53
 
54
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). To ignore local changes (say to `.ruby-version`) you can do `rake build release:source_control_push release:rubygem_push`.
54
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, commit the change, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). To ignore local changes (say to `.ruby-version`) you can do `rake build release:source_control_push release:rubygem_push`.
55
+
56
+ Note: if while releasing the gem you get the error ``Your rubygems.org credentials aren't set. Run `gem push` to set them.`` you can more simply run `gem signin`.
55
57
 
56
58
  ## License
57
59
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activerecord", "~> 5.1.0"
5
+ gem "activerecord", "~> 7.1"
6
6
 
7
7
  gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activerecord", "~> 5.2.0"
5
+ gem "activerecord", "~> 7.2"
6
6
 
7
7
  gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 8.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 8.1"
6
+
7
+ gemspec path: "../"
@@ -1,3 +1,3 @@
1
1
  module PgColumnBytePacker
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.3"
3
3
  end
@@ -32,6 +32,6 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency "appraisal"
33
33
 
34
34
  spec.add_dependency "pg"
35
- spec.add_dependency "activerecord", ">= 5.1", "< 7.1"
35
+ spec.add_dependency "activerecord", ">= 6.0", "< 8.2"
36
36
  spec.add_dependency "pg_query", "< 2.0"
37
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_column_byte_packer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - jcoleman
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-02 00:00:00.000000000 Z
11
+ date: 2026-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -128,20 +128,20 @@ dependencies:
128
128
  requirements:
129
129
  - - ">="
130
130
  - !ruby/object:Gem::Version
131
- version: '5.1'
131
+ version: '6.0'
132
132
  - - "<"
133
133
  - !ruby/object:Gem::Version
134
- version: '7.1'
134
+ version: '8.2'
135
135
  type: :runtime
136
136
  prerelease: false
137
137
  version_requirements: !ruby/object:Gem::Requirement
138
138
  requirements:
139
139
  - - ">="
140
140
  - !ruby/object:Gem::Version
141
- version: '5.1'
141
+ version: '6.0'
142
142
  - - "<"
143
143
  - !ruby/object:Gem::Version
144
- version: '7.1'
144
+ version: '8.2'
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: pg_query
147
147
  requirement: !ruby/object:Gem::Requirement
@@ -156,7 +156,7 @@ dependencies:
156
156
  - - "<"
157
157
  - !ruby/object:Gem::Version
158
158
  version: '2.0'
159
- description:
159
+ description:
160
160
  email:
161
161
  - code@getbraintree.com
162
162
  executables: []
@@ -176,11 +176,13 @@ files:
176
176
  - bin/console
177
177
  - bin/setup
178
178
  - gemfiles/.bundle/config
179
- - gemfiles/rails_5.1.gemfile
180
- - gemfiles/rails_5.2.gemfile
181
179
  - gemfiles/rails_6.0.gemfile
182
180
  - gemfiles/rails_6.1.gemfile
183
181
  - gemfiles/rails_7.0.gemfile
182
+ - gemfiles/rails_7.1.gemfile
183
+ - gemfiles/rails_7.2.gemfile
184
+ - gemfiles/rails_8.0.gemfile
185
+ - gemfiles/rails_8.1.gemfile
184
186
  - lib/pg_column_byte_packer.rb
185
187
  - lib/pg_column_byte_packer/pg_dump.rb
186
188
  - lib/pg_column_byte_packer/schema_statements.rb
@@ -190,7 +192,7 @@ homepage: https://github.com/braintree/pg_column_byte_packer
190
192
  licenses:
191
193
  - MIT
192
194
  metadata: {}
193
- post_install_message:
195
+ post_install_message:
194
196
  rdoc_options: []
195
197
  require_paths:
196
198
  - lib
@@ -205,8 +207,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
207
  - !ruby/object:Gem::Version
206
208
  version: '0'
207
209
  requirements: []
208
- rubygems_version: 3.1.4
209
- signing_key:
210
+ rubygems_version: 3.5.22
211
+ signing_key:
210
212
  specification_version: 4
211
213
  summary: Auto-order table columns for optimize disk space usage
212
214
  test_files: []