activerecord-cipherstash-pg-adapter 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/activerecord-cipherstash-pg-adapter.gemspec +1 -1
  4. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/column.rb +70 -0
  5. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/database_statements.rb +199 -0
  6. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/explain_pretty_printer.rb +44 -0
  7. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/array.rb +91 -0
  8. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/bit.rb +53 -0
  9. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/bit_varying.rb +15 -0
  10. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/bytea.rb +17 -0
  11. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/cidr.rb +48 -0
  12. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/date.rb +31 -0
  13. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/date_time.rb +36 -0
  14. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/decimal.rb +15 -0
  15. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/enum.rb +20 -0
  16. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/hstore.rb +109 -0
  17. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/inet.rb +15 -0
  18. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/interval.rb +49 -0
  19. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/jsonb.rb +15 -0
  20. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/legacy_point.rb +44 -0
  21. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/macaddr.rb +25 -0
  22. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/money.rb +41 -0
  23. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/oid.rb +15 -0
  24. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/point.rb +64 -0
  25. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/range.rb +124 -0
  26. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/specialized_string.rb +18 -0
  27. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/timestamp.rb +15 -0
  28. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/timestamp_with_time_zone.rb +30 -0
  29. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/type_map_initializer.rb +125 -0
  30. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/uuid.rb +35 -0
  31. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/vector.rb +28 -0
  32. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/xml.rb +30 -0
  33. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/oid.rb +38 -0
  34. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/quoting.rb +237 -0
  35. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/referential_integrity.rb +71 -0
  36. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/schema_creation.rb +170 -0
  37. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/schema_definitions.rb +372 -0
  38. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/schema_dumper.rb +116 -0
  39. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/schema_statements.rb +1110 -0
  40. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/type_metadata.rb +44 -0
  41. data/lib/active_record/connection_adapters/7.1/cipherstash_pg/utils.rb +79 -0
  42. data/lib/active_record/connection_adapters/7.1/postgres_cipherstash_adapter.rb +1266 -0
  43. data/lib/active_record/connection_adapters/postgres_cipherstash_adapter.rb +5 -1
  44. data/lib/version.rb +1 -1
  45. metadata +44 -5
@@ -33,7 +33,11 @@ require "cipherstash-pg"
33
33
 
34
34
  case ActiveRecord::VERSION::MAJOR
35
35
  when 7
36
- require "active_record/connection_adapters/7.0/postgres_cipherstash_adapter"
36
+ if ActiveRecord::VERSION::MINOR == 0
37
+ require "active_record/connection_adapters/7.0/postgres_cipherstash_adapter"
38
+ else
39
+ require "active_record/connection_adapters/7.1/postgres_cipherstash_adapter"
40
+ end
37
41
  when 6
38
42
  require "active_record/connection_adapters/6.1/postgres_cipherstash_adapter"
39
43
  else
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module ActiveRecord
2
- CIPHERSTASH_PG_ADAPTER_VERSION = "0.8.1"
2
+ CIPHERSTASH_PG_ADAPTER_VERSION = "0.8.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-cipherstash-pg-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robin Howard
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-13 00:00:00.000000000 Z
11
+ date: 2023-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -17,7 +17,7 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 6.0.0
20
- - - "<"
20
+ - - "<="
21
21
  - !ruby/object:Gem::Version
22
22
  version: '7.1'
23
23
  type: :runtime
@@ -27,7 +27,7 @@ dependencies:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: 6.0.0
30
- - - "<"
30
+ - - "<="
31
31
  - !ruby/object:Gem::Version
32
32
  version: '7.1'
33
33
  - !ruby/object:Gem::Dependency
@@ -135,6 +135,45 @@ files:
135
135
  - lib/active_record/connection_adapters/7.0/cipherstash_pg/type_metadata.rb
136
136
  - lib/active_record/connection_adapters/7.0/cipherstash_pg/utils.rb
137
137
  - lib/active_record/connection_adapters/7.0/postgres_cipherstash_adapter.rb
138
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/column.rb
139
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/database_statements.rb
140
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/explain_pretty_printer.rb
141
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid.rb
142
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/array.rb
143
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/bit.rb
144
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/bit_varying.rb
145
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/bytea.rb
146
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/cidr.rb
147
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/date.rb
148
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/date_time.rb
149
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/decimal.rb
150
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/enum.rb
151
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/hstore.rb
152
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/inet.rb
153
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/interval.rb
154
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/jsonb.rb
155
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/legacy_point.rb
156
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/macaddr.rb
157
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/money.rb
158
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/oid.rb
159
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/point.rb
160
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/range.rb
161
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/specialized_string.rb
162
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/timestamp.rb
163
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/timestamp_with_time_zone.rb
164
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/type_map_initializer.rb
165
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/uuid.rb
166
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/vector.rb
167
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/xml.rb
168
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/quoting.rb
169
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/referential_integrity.rb
170
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/schema_creation.rb
171
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/schema_definitions.rb
172
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/schema_dumper.rb
173
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/schema_statements.rb
174
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/type_metadata.rb
175
+ - lib/active_record/connection_adapters/7.1/cipherstash_pg/utils.rb
176
+ - lib/active_record/connection_adapters/7.1/postgres_cipherstash_adapter.rb
138
177
  - lib/active_record/connection_adapters/cipherstash_column_mapper.rb
139
178
  - lib/active_record/connection_adapters/cipherstash_pg/database_extensions.rb
140
179
  - lib/active_record/connection_adapters/cipherstash_pg/database_tasks.rb
@@ -165,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
204
  - !ruby/object:Gem::Version
166
205
  version: '0'
167
206
  requirements: []
168
- rubygems_version: 3.3.7
207
+ rubygems_version: 3.3.26
169
208
  signing_key:
170
209
  specification_version: 4
171
210
  summary: CipherStash PostgreSQL adapter for ActiveRecord.