activerecord-sqlserver-adapter 7.1.5 → 7.1.6

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: eea983d328f36bfb590c26ff592292369634d60b63ff38acc43e28c87e09c7ee
4
- data.tar.gz: 7e9ab05308f76eb6be6ef5745977f4c0de684c608494d45d9d49d3ac54e1a4cb
3
+ metadata.gz: 50d2854d11ee9aedbece0e196cc7d4238597119f1e8c905bc8656df3bc6d544f
4
+ data.tar.gz: e91570f146e5dc195bef0e7069b1f2b8e493ad3ade25f3f23fce6d985b4a0e02
5
5
  SHA512:
6
- metadata.gz: 67f76bc1083712be03b8a8b3eb5a2c48b9d4efc44442b8573604aecaff23ccbd0bd1586529948497776aca6b7c18257ead5d62e239f2b69d92e2ec14e5675192
7
- data.tar.gz: 845923a58bda81c5f32a81b40a61157b1d36c909352ac258bd848d2e604f95ee94e09878f3c8f475f3d770725c8492b8b58c4c87146c4965e0b29d91b64872fc
6
+ metadata.gz: 701c4ee9e4ec1c89e3302efc018c658222a1e31f08bfdaed051bd68e36edd13a5502f3758691031b853e8b63e5de6af9b1d746650ea75f6694e251523c42f807
7
+ data.tar.gz: fbe5f9b6f905f69e1a26a559c37df82318f2c29d6ec02f4b19dd844ebce4900224c43cc29a7cee8af1c20c898214d06cb04c6c26ee6b0ac7a41bc6d15db00cd5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## v7.1.6
2
+
3
+ #### Fixed
4
+
5
+ - [#1208](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/1208) Exclude "guest" schema in schema dumper
6
+
1
7
  ## v7.1.5
2
8
 
3
9
  #### Added
data/README.md CHANGED
@@ -14,7 +14,7 @@ Interested in older versions? We follow a rational versioning policy that tracks
14
14
  | Adapter Version | Rails Version | Support | Branch |
15
15
  |-----------------|---------------|---------|--------------------------------------------------------------------------------------------------|
16
16
  | Unreleased | `7.2.x` | In Development | [main](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/tree/main) |
17
- | `7.1.5` | `7.1.x` | Active | [7-1-stable](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/tree/7-1-stable) |
17
+ | `7.1.6` | `7.1.x` | Active | [7-1-stable](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/tree/7-1-stable) |
18
18
  | `7.0.7` | `7.0.x` | Active | [7-0-stable](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/tree/7-0-stable) |
19
19
  | `6.1.3.0` | `6.1.x` | Active | [6-1-stable](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/tree/6-1-stable) |
20
20
  | `6.0.3` | `6.0.x` | Ended | [6-0-stable](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/tree/6-0-stable) |
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.1.5
1
+ 7.1.6
@@ -400,7 +400,7 @@ module ActiveRecord
400
400
  FROM sys.schemas
401
401
  WHERE
402
402
  name NOT LIKE 'db_%' AND
403
- name NOT IN ('INFORMATION_SCHEMA', 'sys')
403
+ name NOT IN ('INFORMATION_SCHEMA', 'sys', 'guest')
404
404
  SQL
405
405
 
406
406
  query_values(sql, "SCHEMA")
@@ -167,6 +167,10 @@ class SchemaDumperTestSQLServer < ActiveRecord::TestCase
167
167
 
168
168
  # Only generate non-default schemas. Default schema is 'dbo'.
169
169
  assert_not_includes generated_schema, 'create_schema "dbo"'
170
+ assert_not_includes generated_schema, 'create_schema "db_owner"'
171
+ assert_not_includes generated_schema, 'create_schema "INFORMATION_SCHEMA"'
172
+ assert_not_includes generated_schema, 'create_schema "sys"'
173
+ assert_not_includes generated_schema, 'create_schema "guest"'
170
174
  assert_includes generated_schema, 'create_schema "test"'
171
175
  assert_includes generated_schema, 'create_schema "test2"'
172
176
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-sqlserver-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.5
4
+ version: 7.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Collins
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2024-07-25 00:00:00.000000000 Z
18
+ date: 2024-07-30 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: activerecord
@@ -240,8 +240,8 @@ licenses:
240
240
  - MIT
241
241
  metadata:
242
242
  bug_tracker_uri: https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/issues
243
- changelog_uri: https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/blob/v7.1.5/CHANGELOG.md
244
- source_code_uri: https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/tree/v7.1.5
243
+ changelog_uri: https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/blob/v7.1.6/CHANGELOG.md
244
+ source_code_uri: https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/tree/v7.1.6
245
245
  post_install_message:
246
246
  rdoc_options: []
247
247
  require_paths: