declare_schema 0.1.2 → 0.1.3

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: 04233cec7c3c0cbcabde6b7731bc106bca8f416409c765af38eb5320d119824c
4
- data.tar.gz: fc3f6b420e002fa41fd69c2c07e7013b3de4098b6033f9fc1dfc09947b9897ae
3
+ metadata.gz: c5a1596f905dad5d9dd2f08787607c7b9adc742bbb54702bf4cf4aca812e6912
4
+ data.tar.gz: 60ec900d6aeb5981d0dd2df7dc689ad01a243e3c1f5b575f33813f5196614c26
5
5
  SHA512:
6
- metadata.gz: 89dfe6be533b57ee00b598fe3e5ed39005fb613e0b9b873623c780debe024cf3e10044114d902db6c26bb471e94212732a709d380383a2411d60b87d76e180aa
7
- data.tar.gz: 71e59b6eddc79a1a2dccac6c8fecaa4d6c41cb99032311df9ec595a2c2c8098a845dd5409eb245d3489ad7a6135be88b78f27a511fda348200f7c120a964c8d4
6
+ metadata.gz: b5dc90e36aeb33f00426de19f9df2b85d2bd40754d3bbd6bb8ff8ba410dda808139434d656e305cb9c13320e3cc4130613f06c06ef5abef7e34be4f3ed55e498
7
+ data.tar.gz: 39e445fb41afbf2a91dcaa1271040ede91997abcd8e6237616f1e24983d5e88c5aa77c23bcd6c98c9b104f1c8ad68b9456c34a067a807044c2d72893f52e7b3b
@@ -4,6 +4,11 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
5
  Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.1.3] - Unreleased
8
+ ### Changed
9
+ - Updated the `always_ignore_tables` list in `Migrator` to access Rails metadata table names
10
+ using the appropriate Rails configuration attributes.
11
+
7
12
  ## [0.1.2] - 2020-09-29
8
13
  ### Changed
9
14
  - Added travis support and created 2 specs as a starting point.
@@ -13,5 +18,6 @@ Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0
13
18
  ### Added
14
19
  - Initial version from https://github.com/Invoca/hobo_fields v4.1.0.
15
20
 
21
+ [0.1.3]: https://github.com/Invoca/declare_schema/compare/v0.1.2...v0.1.3
16
22
  [0.1.2]: https://github.com/Invoca/declare_schema/compare/v0.1.1...v0.1.2
17
23
  [0.1.1]: https://github.com/Invoca/declare_schema/tree/v0.1.1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- declare_schema (0.1.2)
4
+ declare_schema (0.1.3)
5
5
  rails (>= 4.2)
6
6
 
7
7
  GEM
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeclareSchema
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
@@ -229,7 +229,12 @@ module Generators
229
229
  nil
230
230
  end
231
231
 
232
- ['schema_info', 'schema_migrations', 'ar_internal_metadata', sessions_table].compact
232
+ [
233
+ 'schema_info',
234
+ ActiveRecord::Base.schema_migrations_table_name,
235
+ ActiveRecord::Base.internal_metadata_table_name,
236
+ sessions_table
237
+ ].compact
233
238
  end
234
239
 
235
240
  def generate
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: declare_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Invoca Development adapted from hobo_fields by Tom Locke
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2020-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -85,7 +85,7 @@ homepage: https://github.com/Invoca/declare_schema
85
85
  licenses: []
86
86
  metadata:
87
87
  allowed_push_host: https://rubygems.org
88
- post_install_message:
88
+ post_install_message:
89
89
  rdoc_options: []
90
90
  require_paths:
91
91
  - lib
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  version: 1.3.6
102
102
  requirements: []
103
103
  rubygems_version: 3.0.3
104
- signing_key:
104
+ signing_key:
105
105
  specification_version: 4
106
106
  summary: Database migration generator for Rails
107
107
  test_files: []