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
- SHA256:
3
- metadata.gz: 553b889d3083abb78d6690cbe9ed793ecb1017951f572e3c2e3c1640a2eae4d2
4
- data.tar.gz: bab5f8622dba6793ac03b20b3285d0ea2ff0a44c4a68b129896678d9e970caeb
2
+ SHA1:
3
+ metadata.gz: 07ad48330aec0f4e6ee14c4d6dddc5bedcc5f08d
4
+ data.tar.gz: cc7bcb365522055e0133022f7bbce24dc3ab640e
5
5
  SHA512:
6
- metadata.gz: 2972bea13ff5bc389afa0825028437a3708f88ffa7d76582fdbce170bdab20beab5a110df7fd4aa6bc9f57bfc24cf4c4aeafb78040c991b345f310a22502527d
7
- data.tar.gz: 3b5f5be8fdb23238b96b623e67b24dd028a8a55f98abb90d48c1e7c86aeb9bc543aee0d6c941a906a1139878f97c5c4bf5c89e67c3a379a33cd1dd24351de1e9
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
 
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module IdRegions
3
- VERSION = "0.2.1".freeze
3
+ VERSION = "0.2.2".freeze
4
4
  end
5
5
  end
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.1
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-03-14 00:00:00.000000000 Z
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.7.6
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