hypershield 0.2.2 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +1 -1
- data/README.md +1 -1
- data/lib/hypershield/migration.rb +3 -2
- data/lib/hypershield/version.rb +1 -1
- metadata +7 -91
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8d39eaf38e8a6c7359940834a4786f4d09adff6a1b64a6d75453be88e8bdceb
|
4
|
+
data.tar.gz: 4f59a99c83df2407dbfa0c2ea993b4e250475937dfceafae0a0f9025727fadc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa43b08b7c3ffe6d3c9337f38a6a438452dfb89af02785a4a27fb27e1639d2f37c73212e4ad8e7389acc7dd3081a1557e615d0e038e58a230e235077da6e9038
|
7
|
+
data.tar.gz: cf7ae97eda6a2bb627900d541b69135deff5d808781f44fb990a09611e86a1a3e46cbe92f8061ee81db424e40c38674e1de24c25dfeffa62108f386e39cefe04
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
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
|
+
|
5
|
+
## 0.3.0 (2022-10-09)
|
6
|
+
|
7
|
+
- Dropped support for Ruby < 2.7 and Rails < 6
|
8
|
+
|
1
9
|
## 0.2.2 (2020-12-17)
|
2
10
|
|
3
11
|
- Fixed `wrong number of arguments` error
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -2,8 +2,9 @@ module Hypershield
|
|
2
2
|
module Migration
|
3
3
|
def method_missing(method, *args)
|
4
4
|
if [
|
5
|
-
:change_column, :
|
6
|
-
:
|
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
|
data/lib/hypershield/version.rb
CHANGED
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.
|
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:
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,100 +16,16 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '6'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: benchmark-ips
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: bundler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: minitest
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: pg
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: mysql2
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
26
|
+
version: '6'
|
111
27
|
description:
|
112
|
-
email: andrew@
|
28
|
+
email: andrew@ankane.org
|
113
29
|
executables: []
|
114
30
|
extensions: []
|
115
31
|
extra_rdoc_files: []
|
@@ -136,14 +52,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
136
52
|
requirements:
|
137
53
|
- - ">="
|
138
54
|
- !ruby/object:Gem::Version
|
139
|
-
version: '2.
|
55
|
+
version: '2.7'
|
140
56
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
57
|
requirements:
|
142
58
|
- - ">="
|
143
59
|
- !ruby/object:Gem::Version
|
144
60
|
version: '0'
|
145
61
|
requirements: []
|
146
|
-
rubygems_version: 3.
|
62
|
+
rubygems_version: 3.3.7
|
147
63
|
signing_key:
|
148
64
|
specification_version: 4
|
149
65
|
summary: Shield sensitive data in Postgres and MySQL
|