boba 0.0.6 → 0.0.7

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
  SHA256:
3
- metadata.gz: 8819547e35a1566b8b772069f87ae189a4d1faa0bc7b3426e69c01b286fb372b
4
- data.tar.gz: 23e40a45b04a32ee32322d2123eabb3dc9e06829df556af916b1a2885cb04168
3
+ metadata.gz: 6617f4443fb1796f5d0a55766e42dec078ab79b0090e6df248fbb02224ebc9fc
4
+ data.tar.gz: 0c3f0c9e08b090e076a3d0a446541fb46341f2a630cd2e4718a9a4873eab218a
5
5
  SHA512:
6
- metadata.gz: a71b576ebd62ccfb4cde1a8383ad3dfccabb7a1f6812f35ad54ca8f3def3d1c014c493d86d7a973939c6f425a3a2eeebd62ec77df5c94b91840c1ada25b283d1
7
- data.tar.gz: '0417790d2c32e3faa556a22b6a9deab60581f3b6534f04451c87b89e74b4aa67ef0e3608eaf782a2343d83b1319e7461e3ca841a842dd557dda7ba83c78db4d2'
6
+ metadata.gz: 971bd8bada42707d12ca53ffb760cf765c2b203c118a6259de66089014e61bb47cce73ab9b0fd8175052e4c15ece1c800870b39802aca9ed093e8b838147628b
7
+ data.tar.gz: e1fc1a2051aa58506c10ffabc2d3419ddfdb977445b28ad734e4b7b17dceceba3066ace8c635782255070f45a97652a5b87d591464ddff54757f7d266197411c
data/lib/boba/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Boba
5
- VERSION = "0.0.6"
5
+ VERSION = "0.0.7"
6
6
  end
@@ -150,7 +150,7 @@ module Tapioca
150
150
 
151
151
  sig { params(column_name: String).returns([String, String]) }
152
152
  def column_type_for(column_name)
153
- return ["T.untyped", "T.untyped"] if @column_type_option.untyped?
153
+ return ["T.untyped", "T.untyped"] if column_type_option.untyped?
154
154
 
155
155
  nilable_column = !has_non_null_database_constraint?(column_name) &&
156
156
  !has_unconditional_presence_validator?(column_name)
@@ -169,7 +169,7 @@ module Tapioca
169
169
  getter_type
170
170
  end
171
171
 
172
- if @column_type_option.persisted? && (virtual_attribute?(column_name) || !nilable_column)
172
+ if column_type_option.persisted? && (virtual_attribute?(column_name) || !nilable_column)
173
173
  [getter_type, setter_type]
174
174
  else
175
175
  getter_type = as_nilable_type(getter_type) unless column_type_helper.send(
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boba
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angellist
@@ -59,9 +59,9 @@ licenses:
59
59
  - MIT
60
60
  metadata:
61
61
  bug_tracker_uri: https://github.com/angellist/boba/issues
62
- changelog_uri: https://github.com/angellist/boba/blob/0.0.6/History.md
62
+ changelog_uri: https://github.com/angellist/boba/blob/0.0.7/History.md
63
63
  homepage_uri: https://github.com/angellist/boba
64
- source_code_uri: https://github.com/angellist/boba/tree/0.0.6
64
+ source_code_uri: https://github.com/angellist/boba/tree/0.0.7
65
65
  rubygems_mfa_required: 'true'
66
66
  post_install_message:
67
67
  rdoc_options: []