brick 1.0.216 → 1.0.217

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c66f132749fbac21c0ec10df25e6c3a4bc044e4b5990b5ae41708d9d884ae269
4
- data.tar.gz: 7eb332f769beefade3f1cb6a3daa872f03027e9e58f4cc2f1e76ba9c91b082b8
3
+ metadata.gz: 6058423ea3fdcc6b213efcbffc1dd2d5171a08949c08338950f0dd75c35d9351
4
+ data.tar.gz: 876598fc0c0bd95725340fe830af39d318bb4aa1893c6178ef2ff0547dbd1960
5
5
  SHA512:
6
- metadata.gz: a8313ef56879fa1b91959753ed1dc851769b94d8394e38b2f12289daedae53254d1aedcce3b5274fc0b3bbbd8ed52f04dbf43d17714c62eb95431b8081c021d7
7
- data.tar.gz: 73f4bd4ecf5e31164c3417c28d993f956518bef9c169a1a9e97cf82db216d7085b1546801ec2c9b546943052fcddd29d017d2fac1e364e0a3ae713875797a6d1
6
+ metadata.gz: 93604235b727723b236ce5fca50f6644b53a478918acd7d20e4e60f454f62d46cf98d5c791f043db98268ad6ee77a43ed29278abf47c60ca3228347ebcd9c739
7
+ data.tar.gz: 0f2a06b4b4261bf186823dca721d09c3e18a808f9449448f233738167a640d990391b309b55247c45fe8850ceab173cf2c5e5e5d62b05c0e129351bc37b61251
@@ -867,15 +867,15 @@ module ActiveRecord
867
867
  end
868
868
  v1 << id_for_tables[v.first].compact
869
869
  end
870
- if k1.name == 'ActiveStorage::Attachment'
871
- binding.pry
872
- (@_brick_includes ||= {})[v1.first.first.to_s] = [v1.first[1..-1], 'blob']
873
- # x = 5
874
- # elsif k1.name == 'ActiveStorage::Blob'
870
+ # if k1.name == 'ActiveStorage::Attachment'
875
871
  # binding.pry
876
- # (@_brick_includes ||= {})[v1.first.first.to_s] = v1[0..1]
872
+ # (@_brick_includes ||= {})[v1.first.first.to_s] = [v1.first[1..-1], 'blob']
877
873
  # # x = 5
878
- end
874
+ # # elsif k1.name == 'ActiveStorage::Blob'
875
+ # # binding.pry
876
+ # # (@_brick_includes ||= {})[v1.first.first.to_s] = v1[0..1]
877
+ # # # x = 5
878
+ # end
879
879
  end
880
880
  end
881
881
  join_array.each do |assoc_name|
@@ -118,7 +118,7 @@ module Brick::Rails::FormTags
118
118
  (classes ||= []) << 'right' if val.is_a?(Numeric) && !bt
119
119
  out << " class=\"#{classes.join(' ')}\"" if classes&.present?
120
120
  out << '>'
121
- binding.pry if col_name == 'event_image_attachment' && obj.id == 6
121
+ # binding.pry if col_name == 'event_image_attachment' && obj.id == 6
122
122
  if bt
123
123
  if bt[2] && obj.respond_to?(poly_id_col = "#{bt.first}_id") # Polymorphic?
124
124
  if (poly_id = obj.send(poly_id_col))
@@ -5,7 +5,7 @@ module Brick
5
5
  module VERSION
6
6
  MAJOR = 1
7
7
  MINOR = 0
8
- TINY = 216
8
+ TINY = 217
9
9
 
10
10
  # PRE is nil unless it's a pre-release (beta, RC, etc.)
11
11
  PRE = nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brick
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.216
4
+ version: 1.0.217
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lorin Thwaits