openproject-primer_view_components 0.35.0 → 0.35.1

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: 9b88ceba074c5be82a8ce67ffc9fa8f4cd861ba25503752f85715d3904529729
4
- data.tar.gz: bb5599d8f3867d0228d00dfb12a59b1585f13f54184ac6efd1e85307f4acb7a2
3
+ metadata.gz: 7eaa566da63f5b8b5b2b4ac23a4720e917f0e26f364129cf2491feb1104fd530
4
+ data.tar.gz: 89478f4fbff4f41cb3e2163c37dd3e99e239c2094e61efabf897759da0fe0190
5
5
  SHA512:
6
- metadata.gz: b0f355de41b0bbe49392e6d2d69e7b8fd97305387951d51809d19d07a6df557b937532e61a1f942cebea1c27dc42c93754f00f1bfec09599ab5f9e950e6e709f
7
- data.tar.gz: ecbad35458263a187cb9ba67e34cd645ba4832fef4c515c387eb14bbc100842a263b48408b6bc98b1589bf58833a62e703545423fae73e9c40121ef6d7f4a7fe
6
+ metadata.gz: ae5b0322ba727f1f8616d11eddd67c071947fbeb07595acae58586340eb4cf08c69362578bbc794a7089a967cda0c697157b80e1d95962205f882372f2f13000
7
+ data.tar.gz: e4278df9ab46c3679953235b8f80a307fe026f8b29a77f24f1cb1044a5598d12928008b2425907f066836fcd9a62c01c0cb4bf6770b7767e26241868befcae0a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.35.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#133](https://github.com/opf/primer_view_components/pull/133) [`650d1e6`](https://github.com/opf/primer_view_components/commit/650d1e6420e14843c65c09a9e2bb60a2f868ffc1) Thanks [@oliverguenther](https://github.com/oliverguenther)! - Don't raise on empty flex_layout
8
+
3
9
  ## 0.35.0
4
10
 
5
11
  ### Minor Changes
@@ -29,7 +29,7 @@ module Primer
29
29
 
30
30
  def render?
31
31
  # no slot provided
32
- raise ArgumentError, "You have to provide either rows, columns or boxes as a slot" if rows.empty? && columns.empty? && boxes.empty?
32
+ return false if rows.empty? && columns.empty? && boxes.empty?
33
33
 
34
34
  if [rows, columns, boxes].count { |arr| !arr.empty? } == 1
35
35
  # only rows or columns or boxes are used
@@ -6,7 +6,7 @@ module Primer
6
6
  module VERSION
7
7
  MAJOR = 0
8
8
  MINOR = 35
9
- PATCH = 0
9
+ PATCH = 1
10
10
 
11
11
  STRING = [MAJOR, MINOR, PATCH].join(".")
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openproject-primer_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.35.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub Open Source
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-06-20 00:00:00.000000000 Z
12
+ date: 2024-06-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionview