torque-postgresql 0.2.10 → 0.2.11

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: bfc9f49d79b334d8e4d1f0a36f14a5f4e65e1e95
4
- data.tar.gz: ec383185213106f694011122a2f62a6db91480ce
3
+ metadata.gz: e00cbde90c88cbb47a24042b6079f36bb4c28bf4
4
+ data.tar.gz: 004dfeb7ada4542c0323103a3efd26ac50a3489b
5
5
  SHA512:
6
- metadata.gz: 707626aae105d7c153e9a05fa59b0f58a03d363c40b6d1a6dd32d42b6507590cb098da4e751d01c5cf4e0fc571781586ccda889e34174e24a19d334247bb3910
7
- data.tar.gz: db0013df974c0219cd741ff1f34f8d714c09386107346ceb79d2bd52af333aac38fc3d73c17b316a0928960ae405c319adea526cb1dd4993b52d4cacbb97f4ef
6
+ metadata.gz: e6534b55630fd54a816ad371eac9bc2a6efa4f6461fb99bcdd3445aa9dd2a3f33a06b51eb712053334dff34e09be396389949b42083703f0daa785e61406f9fd
7
+ data.tar.gz: d4929ffb484e88855558cc6042f50fbf6e7dfa0de0c840add59a432cc5ec82fea0235b4adedaf24ebcd606c5a0dd393b4802e95f082c124ba04d597c2437953d
@@ -222,12 +222,12 @@ module Torque
222
222
 
223
223
  # Create the methods related to the attribute to handle the enum type
224
224
  TypeMap.register_type Adapter::OID::Enum do |subtype, attribute, initial = false, options = nil|
225
- return if initial && !Torque::PostgreSQL.config.enum.initializer
225
+ break if initial && !Torque::PostgreSQL.config.enum.initializer
226
226
  options = {} if options.nil?
227
227
 
228
228
  # Generate methods on self class
229
229
  builder = Builder::Enum.new(self, attribute, subtype, initial, options)
230
- return if builder.conflicting?
230
+ break if builder.conflicting?
231
231
  builder.build
232
232
 
233
233
  # Mark the enum as defined
@@ -1,5 +1,5 @@
1
1
  module Torque
2
2
  module PostgreSQL
3
- VERSION = '0.2.10'
3
+ VERSION = '0.2.11'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torque-postgresql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Silva
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-20 00:00:00.000000000 Z
11
+ date: 2018-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails