primer_view_components 0.0.32 → 0.0.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/app/lib/primer/tabbed_component_helper.rb +0 -2
- data/lib/primer/view_components/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc1d93aedd6cfbf47bbea33d144f7dfbad5fdd3297acc343952a4c5853a27423
|
4
|
+
data.tar.gz: 952bfd2071bf837067f9970952d5348c372453e891cdcec911fc8e4480166974
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69d0b38e3b03833e5656b1e54defff8336e46e3e1d571815fb62db27c6759e8637ba9357d74706e3495f49d1a2b30073f2b9f8c35c0594f7d750904473b52611
|
7
|
+
data.tar.gz: 2d18d853748fbfc3998077cb82dde8f42d84e0fb1e832461bf2197f9b2200972eb9811c12f28f874a7416896c1075815bb823a62a25a2c40f91b9766d0ce99a7
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -9,7 +9,6 @@ module Primer
|
|
9
9
|
extend ActiveSupport::Concern
|
10
10
|
|
11
11
|
class MultipleSelectedTabsError < StandardError; end
|
12
|
-
class NoSelectedTabsError < StandardError; end
|
13
12
|
|
14
13
|
def before_render
|
15
14
|
validate_single_selected_tab unless Rails.env.production?
|
@@ -27,7 +26,6 @@ module Primer
|
|
27
26
|
|
28
27
|
def validate_single_selected_tab
|
29
28
|
raise MultipleSelectedTabsError, "only one tab can be selected" if selected_tabs_count > 1
|
30
|
-
raise NoSelectedTabsError, "a tab must be selected" if selected_tabs_count != 1
|
31
29
|
end
|
32
30
|
|
33
31
|
def selected_tabs_count
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: primer_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub Open Source
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octicons_helper
|