effective_bootstrap 0.6.30 → 0.6.31

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: cea2d98355204f9fbffa818109b13fb58cdf6fb06bf3d9fd0aa5edc5c9e83f8d
4
- data.tar.gz: f76f2322ea5d270db922b6b9bf7f81912206290cf36c900284265e3b5e5bab84
3
+ metadata.gz: 7c0cddb3d35a7304636a4195dcd3dc13c4ad2e7b9bbe39afa46cbd6a612b950a
4
+ data.tar.gz: 701b0c67281d8842264e61169cf022480f60b0c8154681d40aca711f7f595c81
5
5
  SHA512:
6
- metadata.gz: 5bd53873dbec00c9e902de0e296a5ece80f110bf83433904c16efdea22d0344d1c4e2109d1dfa51c14309c311b5e4611942cf705da9bc3a76f369fbff6ddd867
7
- data.tar.gz: 6558d15ea204361d5c3642f5b02668d382af5966d0a1714f070c238b5496aaec198267a58f770776c572499d96da8c0a2de0db0354a73a41bff4d19bc986c938
6
+ metadata.gz: 04ea0b1c51eabbd6e88608ebb0deedbef1e349e79a2fff98fb4b1a8634a4ea6376b41764b912f16129f96dc77b7d367c3eaf6cf0c3d39f0a451827d2d51e9742
7
+ data.tar.gz: 2c67cf1d9e511d38e935b553154dcb91930ab0b35ef18c7d7ada4007bab2e2f83785b6f17e81b07c9125a25224aa63b027111ff1cf511d3e773bd698ebec5137
@@ -28,7 +28,7 @@ module Effective
28
28
  end
29
29
 
30
30
  def required_presence?(obj, name)
31
- super(obj, name) && Array(object.public_send(name)).none? { |file| file.attached? }
31
+ super(obj, name) && Array(object.public_send(name)).length == 0
32
32
  end
33
33
 
34
34
  def build_attachments
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '0.6.30'.freeze
2
+ VERSION = '0.6.31'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.30
4
+ version: 0.6.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-26 00:00:00.000000000 Z
11
+ date: 2020-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -626,7 +626,7 @@ homepage: https://github.com/code-and-effect/effective_bootstrap
626
626
  licenses:
627
627
  - MIT
628
628
  metadata: {}
629
- post_install_message:
629
+ post_install_message:
630
630
  rdoc_options: []
631
631
  require_paths:
632
632
  - lib
@@ -641,8 +641,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
641
641
  - !ruby/object:Gem::Version
642
642
  version: '0'
643
643
  requirements: []
644
- rubygems_version: 3.0.3
645
- signing_key:
644
+ rubygems_version: 3.1.2
645
+ signing_key:
646
646
  specification_version: 4
647
647
  summary: Everything you need to get set up with bootstrap 4.
648
648
  test_files: []