tidus 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tasks/views.rake +2 -2
- data/lib/tidus/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b3221716efdbd435ff2ebef41c745eb240690c5
|
4
|
+
data.tar.gz: 0fa789680f7cdd82e2e50ef591ab04f053b8c34d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16242730fc087732b8d679e234b3da8c65846fde0aafa1be2ddb1ce238c5707876453bc6169e0ccc223932b1fd0a1a2c0168d9d811dccfe054a3705341175ad9
|
7
|
+
data.tar.gz: 0e5a14be005c1494c20fa885bfc7fb51403c012ad2d49bdc13c64051a646ef7886ab23b23ba35fd81232e20e3c13c8cdb0bd1d88d26c98daf9ee9279861aedec
|
data/lib/tasks/views.rake
CHANGED
@@ -2,7 +2,7 @@ namespace :db do
|
|
2
2
|
desc "Clears all the views which are currently existing"
|
3
3
|
task :clear_views do
|
4
4
|
Rails.application.eager_load! if defined?(Rails)
|
5
|
-
ActiveRecord::Base.
|
5
|
+
ActiveRecord::Base.descendants.each do |c|
|
6
6
|
next if c.table_name == "schema_migrations"
|
7
7
|
puts "Clearing view '#{c.view_name}' for table '#{c.table_name}'"
|
8
8
|
|
@@ -13,7 +13,7 @@ namespace :db do
|
|
13
13
|
desc "Generates all the views for the models"
|
14
14
|
task :generate_views do
|
15
15
|
Rails.application.eager_load! if defined?(Rails)
|
16
|
-
ActiveRecord::Base.
|
16
|
+
ActiveRecord::Base.descendants.each do |c|
|
17
17
|
next if c.table_name == "schema_migrations" || c.skip_anonymization?
|
18
18
|
|
19
19
|
if ActiveRecord::Base.connection.table_exists? c.table_name
|
data/lib/tidus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tidus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Schoknecht
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
115
|
version: '0'
|
116
116
|
requirements: []
|
117
117
|
rubyforge_project:
|
118
|
-
rubygems_version: 2.
|
118
|
+
rubygems_version: 2.4.8
|
119
119
|
signing_key:
|
120
120
|
specification_version: 4
|
121
121
|
summary: Gem for creating anonymization views.
|