effective_regions 1.8.1 → 1.8.2

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: 0c2c1cb3c431ab51a22dd198cd4b72f8768937cf
4
- data.tar.gz: 1fb2b99f024b3406fecbafd4e0a9901cefb044da
3
+ metadata.gz: 617bff8384ef4f4788b6bc347778a324506af96d
4
+ data.tar.gz: 8cd38c383042bd27b62126188a90d9b38f23ad4c
5
5
  SHA512:
6
- metadata.gz: 835fa67a7173a4aef9970b8c81004ae719bc711a7f0c5bdc458783fa1355100f01b96d91d3da8a20da4a6fff19e44338b58e0aaf47ff4b3dfbc22a50cb794647
7
- data.tar.gz: 2b29c1d3c256c04ee3abc043aa9b2e310146f19787c49c5a12f17459f65b4b6840824d5a52f21cfb5c9667f1c787211b8118f93c741e036bbd2712cb5becf147
6
+ metadata.gz: 63dfae82dc9c1390c7d99b5653a4569687518f45f3fcad9b3df70059c06e1f539efd21dafae9c6afdbe005c7423dde19a8d88cd347bc21bb120129be46ab6c87
7
+ data.tar.gz: c9568095652b6215bdbc0bc92c3a87134da95ab798260c8fb711694fbe85687839e3a55c512e9e012c42cc400f935045e95a14b49fbed3091bb6b054f1699ca0
@@ -12,6 +12,9 @@ class CreateEffectiveRegions < ActiveRecord::Migration[4.2]
12
12
  t.datetime :created_at
13
13
  end
14
14
 
15
+ add_index <%= @regions_table_name %>, [:regionable_type, :regionable_id]
16
+ add_index <%= @regions_table_name %>, :regionable_id
17
+
15
18
  create_table <%= @ck_assets_table_name %> do |t|
16
19
  t.boolean :global, default: false
17
20
 
@@ -19,12 +22,11 @@ class CreateEffectiveRegions < ActiveRecord::Migration[4.2]
19
22
  t.datetime :created_at
20
23
  end
21
24
 
22
- add_index <%= @regions_table_name %>, [:regionable_type, :regionable_id]
23
- add_index <%= @regions_table_name %>, :regionable_id
24
25
  end
25
26
 
26
27
  def self.down
27
28
  drop_table <%= @regions_table_name %>
29
+ drop_table <%= @ck_assets_table_name %>
28
30
  end
29
31
 
30
32
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveRegions
2
- VERSION = '1.8.1'.freeze
2
+ VERSION = '1.8.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_regions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-05 00:00:00.000000000 Z
11
+ date: 2019-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails