hypershield 0.2.0 → 0.2.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: 00b099534fb260d68ee6bbca50a415d78f82d7fe9024775d27b49ead519b1e52
4
- data.tar.gz: 9bb5c84b8a84404f787f385c141fcfb862a41df9a76366f9d7dbb3c2b762c352
3
+ metadata.gz: e1f66e68c82ec97e8c96efdda0fe37c3f286a7f4f17f089918ced171781009c6
4
+ data.tar.gz: 5f1274243e8abff748cafc9c899c1828d427a23201b6cc8d8a5679b61a9c794c
5
5
  SHA512:
6
- metadata.gz: 192f7058ccaf64897274e24ceffef1623fb192aae272f8930a5681ed7f6a07f0bb5161964b9eb2cc278415c35c70e831cede4a58d332f476610c44720533c436
7
- data.tar.gz: 9268101459ca8d4f45c51e9be2dec4b60786c22d5c2fd69d83bd7d0f7174ac5f18ae3f308aeb949146cdb189563db8fe7fb3c7b20d569c21fe59927ea27e4ff2
6
+ metadata.gz: f77582fcfb7d255baea73d78a019c4c6ae3867d9fc86427ceabb93d39269f3d1075e56db01a305915833c90db39aab2828b9a15a5e6d694c89e2bc501a7bbcd1
7
+ data.tar.gz: ad9f719780ab7e4c42bf37a193eb43aa4b58a1651ed411e166415c26ecff888085dade9b981cc2c9ec216c8b530ef225673c077236bf1aa42d639752fd798f7e
@@ -1,3 +1,7 @@
1
+ ## 0.2.1 (2020-12-16)
2
+
3
+ - Fixed warning with Ruby 2.7
4
+
1
5
  ## 0.2.0 (2020-03-12)
2
6
 
3
7
  - Only update views that have changed
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Great for business intelligence tools like [Blazer](https://github.com/ankane/blazer)
6
6
 
7
- [![Build Status](https://travis-ci.org/ankane/hypershield.svg?branch=master)](https://travis-ci.org/ankane/hypershield)
7
+ [![Build Status](https://github.com/ankane/hypershield/workflows/build/badge.svg?branch=master)](https://github.com/ankane/hypershield/actions)
8
8
 
9
9
  ## How It Works
10
10
 
@@ -148,4 +148,12 @@ To get started with development:
148
148
  git clone https://github.com/ankane/hypershield.git
149
149
  cd hypershield
150
150
  bundle install
151
+
152
+ # Postgres
153
+ createdb hypershield_test
154
+ bundle exec rake test
155
+
156
+ # MySQL
157
+ mysqladmin create hypershield_test
158
+ ADAPTER=mysql2 bundle exec rake test
151
159
  ```
@@ -1,6 +1,6 @@
1
1
  module Hypershield
2
2
  module Migration
3
- def method_missing(method, *args)
3
+ def method_missing(method, *args, **options)
4
4
  if [
5
5
  :change_column, :drop_table, :remove_column, :remove_columns,
6
6
  :remove_timestamps, :rename_column, :rename_table
@@ -1,3 +1,3 @@
1
1
  module Hypershield
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -1,4 +1,5 @@
1
1
  namespace :hypershield do
2
+ desc "Refresh Hypershield views"
2
3
  task refresh: :environment do
3
4
  abort "Hypershield is not enabled in this environment. Do a dry run with: rake hypershield:refresh:dry_run" unless Hypershield.enabled
4
5
 
@@ -8,6 +9,7 @@ namespace :hypershield do
8
9
  end
9
10
 
10
11
  namespace :refresh do
12
+ desc "Print Hypershield SQL statements"
11
13
  task dry_run: :environment do
12
14
  Hypershield.refresh(dry_run: true)
13
15
  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.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-12 00:00:00.000000000 Z
11
+ date: 2020-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -108,7 +108,7 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
- description:
111
+ description:
112
112
  email: andrew@chartkick.com
113
113
  executables: []
114
114
  extensions: []
@@ -128,7 +128,7 @@ homepage: https://github.com/ankane/hypershield
128
128
  licenses:
129
129
  - MIT
130
130
  metadata: {}
131
- post_install_message:
131
+ post_install_message:
132
132
  rdoc_options: []
133
133
  require_paths:
134
134
  - lib
@@ -143,8 +143,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
145
  requirements: []
146
- rubygems_version: 3.1.2
147
- signing_key:
146
+ rubygems_version: 3.1.4
147
+ signing_key:
148
148
  specification_version: 4
149
149
  summary: Shield sensitive data in Postgres and MySQL
150
150
  test_files: []