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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 968964496918f2446aa576f8f065da9978b33563
4
- data.tar.gz: 366d101617627af6df4973c16cfde503f8ff7eb9
3
+ metadata.gz: 5b3221716efdbd435ff2ebef41c745eb240690c5
4
+ data.tar.gz: 0fa789680f7cdd82e2e50ef591ab04f053b8c34d
5
5
  SHA512:
6
- metadata.gz: ae1faf5acd0edf34e8011bfef651506f094323451e7e24caee2610cb0129a08fc841cf65523e61930b1921a2f728ccc286e12c8bcf4bc7a16d4c991f0dd66ee9
7
- data.tar.gz: dba341e8b8cab1cffa27bf7669e01753ebbd3b2052775a233c8aee06e3bff28fd3bbbe50448fc238f3d91c34150feee858c98f026a2a5d2b22fb28f2426794dd
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.subclasses.each do |c|
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.subclasses.each do |c|
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
@@ -1,3 +1,3 @@
1
1
  module Tidus
2
- VERSION = "1.0.8"
2
+ VERSION = "1.0.9"
3
3
  end
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.8
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: 2015-11-24 00:00:00.000000000 Z
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.2.2
118
+ rubygems_version: 2.4.8
119
119
  signing_key:
120
120
  specification_version: 4
121
121
  summary: Gem for creating anonymization views.