activerecord-id_regions 0.2.1 → 0.2.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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 07ad48330aec0f4e6ee14c4d6dddc5bedcc5f08d
|
4
|
+
data.tar.gz: cc7bcb365522055e0133022f7bbce24dc3ab640e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16d211eaa5a64cf9710ac3d505549e79184684bf43d0e9ad118f9793845f5ba011674cb4d8623901c407a577caa2b024e0f0740bf3942df0a4c0d4fd1b80b6d3
|
7
|
+
data.tar.gz: 7e0bfebb7563e2f49cc7e114d0be1156fe4ce70c8066564851075b17adb44f55422a08aaac02a909c0be3850ef2f024f114229c24fd8bee101e43c98a9a73f76
|
@@ -2,10 +2,10 @@ module ActiveRecord::IdRegions
|
|
2
2
|
module Migration
|
3
3
|
def create_table(table_name, options = {})
|
4
4
|
options[:id] = :bigserial if options[:id].nil?
|
5
|
+
value = anonymous_class_with_id_regions.rails_sequence_start
|
5
6
|
super
|
6
7
|
return if options[:id] == false
|
7
8
|
|
8
|
-
value = anonymous_class_with_id_regions.rails_sequence_start
|
9
9
|
set_pk_sequence!(table_name, value) unless value == 0
|
10
10
|
end
|
11
11
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-id_regions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
181
|
version: '0'
|
182
182
|
requirements: []
|
183
183
|
rubyforge_project:
|
184
|
-
rubygems_version: 2.
|
184
|
+
rubygems_version: 2.6.13
|
185
185
|
signing_key:
|
186
186
|
specification_version: 4
|
187
187
|
summary: ActiveRecord extension to allow partitioning ids into regions, for merge
|