hypershield 0.3.0 → 0.3.1

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: 2775e59f59c4f49f048e1a249fc1d75c26c6d1cee43ecd86204494a681eb79f1
4
- data.tar.gz: 024fa0d9a08bafec097a4091596e579b0cba7c62ab3246cf92e86ca56585c40c
3
+ metadata.gz: b8d39eaf38e8a6c7359940834a4786f4d09adff6a1b64a6d75453be88e8bdceb
4
+ data.tar.gz: 4f59a99c83df2407dbfa0c2ea993b4e250475937dfceafae0a0f9025727fadc1
5
5
  SHA512:
6
- metadata.gz: ae5ee76f57dc72ff6580baa8fbfc32dddb6b3a878bbea7c4b731088f9112be638577fc8b44173307cdca885af168098d3bed75deaf313012acd4e02cd710133f
7
- data.tar.gz: e4e453b2bb45a25c2e9f9de72e6d3ac6222d428e0982d6deadbb7a9ac94bb0bec51dff9038233a1f86738c8ac8ff4b92dd9d7c78360c2b89ff6a45c2380c1405
6
+ metadata.gz: fa43b08b7c3ffe6d3c9337f38a6a438452dfb89af02785a4a27fb27e1639d2f37c73212e4ad8e7389acc7dd3081a1557e615d0e038e58a230e235077da6e9038
7
+ data.tar.gz: cf7ae97eda6a2bb627900d541b69135deff5d808781f44fb990a09611e86a1a3e46cbe92f8061ee81db424e40c38674e1de24c25dfeffa62108f386e39cefe04
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.3.1 (2022-11-06)
2
+
3
+ - Fixed dropping views for `change_table`, `drop_join_table`, `remove_belongs_to`, and `remove_reference`
4
+
1
5
  ## 0.3.0 (2022-10-09)
2
6
 
3
7
  - Dropped support for Ruby < 2.7 and Rails < 6
@@ -2,8 +2,9 @@ module Hypershield
2
2
  module Migration
3
3
  def method_missing(method, *args)
4
4
  if [
5
- :change_column, :drop_table, :remove_column, :remove_columns,
6
- :remove_timestamps, :rename_column, :rename_table
5
+ :change_column, :change_table, :drop_join_table, :drop_table,
6
+ :remove_belongs_to, :remove_column, :remove_columns,
7
+ :remove_reference, :remove_timestamps, :rename_column, :rename_table
7
8
  ].include?(method)
8
9
  Hypershield.drop_view(args[0])
9
10
  end
@@ -1,3 +1,3 @@
1
1
  module Hypershield
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hypershield
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-10 00:00:00.000000000 Z
11
+ date: 2022-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord