exposant 0.1.1 → 0.1.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
2
  SHA256:
3
- metadata.gz: d1e1e4a2106643469e0007c4d6655fb2fa80aaa8373a97a71a09f8c473effc9c
4
- data.tar.gz: e37e005611d1f6c055f1d99101aa70aa5d8237d7d02f9783eaa1f4f3c48c3028
3
+ metadata.gz: e71f97dbf32080d25a520091a6e33d480ad18e6a3fff6bcd6e450b80c0cd5414
4
+ data.tar.gz: 499db0ccd9fd33e879dcc035f4decf21ea7c8874042ddc113bc4862b3bf726e6
5
5
  SHA512:
6
- metadata.gz: cf007a8c253a74c14b7d41abdcede220a9e131288ffd10831f298c8ec293b14d9f5a9e393c594d5c735cdd4872b9eb15357e49e470dbfa7b5f6bdca74acd729f
7
- data.tar.gz: 48e9792620ea3226bc2409f02fd655e71c866ce6359706ed5e053b4991394e74dfa0bd85027126b2f62d4d4168106ddc1fff965111e59f37984cdcac155feda7
6
+ metadata.gz: d446462784d85f9b13426e79fb69a484a827c8bb347d117c286fa3da0a841aace9c51ea265a5d23256a53da36112c6b3b6c28be0a6502a28cb1c7414bd80a2e7
7
+ data.tar.gz: 4f0642a4b7001c14b149deaf738738ae13e8541cb54c3987405e383ef5656c1ade8fe84c1b8c31756659c7816869c10b0a83023f18500ac73c81d2560d733ed6
data/Gemfile.lock CHANGED
@@ -1,22 +1,22 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- exposant (0.1.1)
4
+ exposant (0.1.2)
5
5
  activemodel (~> 7.0)
6
6
  activesupport (~> 7.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (7.0.4)
12
- activesupport (= 7.0.4)
13
- activesupport (7.0.4)
11
+ activemodel (7.0.4.2)
12
+ activesupport (= 7.0.4.2)
13
+ activesupport (7.0.4.2)
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
15
15
  i18n (>= 1.6, < 2)
16
16
  minitest (>= 5.1)
17
17
  tzinfo (~> 2.0)
18
18
  ast (2.4.2)
19
- concurrent-ruby (1.1.10)
19
+ concurrent-ruby (1.2.0)
20
20
  i18n (1.12.0)
21
21
  concurrent-ruby (~> 1.0)
22
22
  json (2.6.1)
@@ -41,7 +41,7 @@ GEM
41
41
  rubocop-ast (1.21.0)
42
42
  parser (>= 3.1.1.0)
43
43
  ruby-progressbar (1.11.0)
44
- tzinfo (2.0.5)
44
+ tzinfo (2.0.6)
45
45
  concurrent-ruby (~> 1.0)
46
46
  unicode-display_width (2.2.0)
47
47
 
@@ -12,8 +12,9 @@ module Exposant
12
12
  return enum_for(:each) unless block_given?
13
13
 
14
14
  __getobj__.each do |o|
15
- exh = o.exhibitor(self.class.exhibitor_variant)
16
- exh.contextualize(context) if contextualized?
15
+ exh = o&.exhibitor(self.class.exhibitor_variant)
16
+ exh.contextualize(context) if exh.present? && contextualized?
17
+
17
18
  yield exh
18
19
  end
19
20
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Exposant
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exposant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Kienlen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-08 00:00:00.000000000 Z
11
+ date: 2023-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel