Skip to content

Commit

Permalink
use ViewComponent 3.0.0.rc1 (#1767)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhawksley authored Jan 24, 2023
1 parent 9dfec86 commit cf28f5e
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 35 deletions.
5 changes: 5 additions & 0 deletions .changeset/shiny-drinks-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/view-components": patch
---

Use ViewComponent 3.0.0.rc1
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ gem "webpacker", "~> 5.0"
# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", ">= 1.4.2", require: false

gem "lookbook", "~> 1.2.1" unless rails_version.to_f < 7
gem "lookbook", "~> 1" unless rails_version.to_f < 7
gem "view_component", path: ENV["VIEW_COMPONENT_PATH"] if ENV["VIEW_COMPONENT_PATH"]

group :test do
Expand Down
68 changes: 35 additions & 33 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PATH
actionview (>= 5.0.0)
activesupport (>= 5.0.0)
octicons (>= 17.0.0)
view_component (>= 2.81.0, < 3.0)
view_component (> 2.0, < 4.0)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -49,10 +49,10 @@ GEM
erubi (~> 1.4)
parser (>= 2.4)
smart_properties
bootsnap (1.13.0)
bootsnap (1.15.0)
msgpack (~> 1.2)
builder (3.2.4)
capybara (3.37.1)
capybara (3.38.0)
addressable
matrix
mini_mime (>= 0.1.3)
Expand All @@ -67,21 +67,21 @@ GEM
crack (0.4.5)
rexml
crass (1.0.6)
css_parser (1.12.0)
css_parser (1.14.0)
addressable
cuprite (0.13)
capybara (>= 2.1, < 4)
ferrum (~> 0.11.0)
docile (1.4.0)
erb_lint (0.2.0)
erb_lint (0.3.1)
activesupport
better_html (>= 2.0.1)
parser (>= 2.7.1.4)
rainbow
rubocop
smart_properties
erblint-github (0.1.0)
erubi (1.11.0)
erubi (1.12.0)
ferrum (0.11)
addressable (~> 2.5)
cliver (~> 0.3)
Expand All @@ -93,13 +93,13 @@ GEM
htmlentities (4.3.4)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
listen (3.7.1)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.19.0)
loofah (2.19.1)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
lookbook (1.2.1)
lookbook (1.5.0)
actioncable
activemodel
css_parser
Expand All @@ -109,45 +109,46 @@ GEM
railties (>= 5.0)
redcarpet (~> 3.5)
rouge (>= 3.26, < 5.0)
view_component (~> 2.0)
view_component (> 2.0, < 4)
yard (~> 0.9.25)
zeitwerk (~> 2.5)
matrix (0.4.2)
method_source (1.0.0)
mini_mime (1.1.2)
mini_portile2 (2.8.0)
mini_portile2 (2.8.1)
minitest (5.17.0)
mocha (1.14.0)
msgpack (1.5.6)
mocha (2.0.2)
ruby2_keywords (>= 0.0.5)
msgpack (1.6.0)
nio4r (2.5.8)
nokogiri (1.13.8)
nokogiri (1.14.0)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
nokogiri (1.13.8-x86_64-linux)
nokogiri (1.14.0-x86_64-linux)
racc (~> 1.4)
octicons (17.10.2)
parallel (1.22.1)
parser (3.1.2.1)
parser (3.2.0.0)
ast (~> 2.4.1)
pry (0.14.1)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (5.0.0)
public_suffix (5.0.1)
puma (5.6.5)
nio4r (~> 2.0)
racc (1.6.0)
rack (2.2.4)
racc (1.6.2)
rack (2.2.6.2)
rack-cors (1.1.1)
rack (>= 2.0.0)
rack-proxy (0.7.4)
rack-proxy (0.7.6)
rack
rack-test (2.0.2)
rack (>= 1.3)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.4.3)
loofah (~> 2.3)
rails-html-sanitizer (1.4.4)
loofah (~> 2.19, >= 2.19.1)
railties (7.0.3)
actionpack (= 7.0.3)
activesupport (= 7.0.3)
Expand All @@ -161,9 +162,9 @@ GEM
rb-inotify (0.10.1)
ffi (~> 1.0)
redcarpet (3.5.1)
regexp_parser (2.5.0)
regexp_parser (2.6.2)
rexml (3.2.5)
rouge (4.0.0)
rouge (4.0.1)
rubocop (1.13.0)
parallel (~> 1.10)
parser (>= 3.0.0.0)
Expand All @@ -173,7 +174,7 @@ GEM
rubocop-ast (>= 1.2.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.21.0)
rubocop-ast (1.24.1)
parser (>= 3.1.1.0)
rubocop-github (0.16.2)
rubocop (<= 1.13.0)
Expand All @@ -187,6 +188,7 @@ GEM
rack (>= 1.1)
rubocop (>= 0.87.0)
ruby-progressbar (1.11.0)
ruby2_keywords (0.0.5)
semantic_range (3.0.0)
simplecov (0.21.2)
docile (~> 1.1)
Expand All @@ -199,21 +201,21 @@ GEM
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
smart_properties (1.17.0)
sprockets (4.1.1)
sprockets (4.2.0)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
rack (>= 2.2.4, < 4)
sprockets-rails (3.4.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
thor (1.2.1)
timecop (0.9.5)
timecop (0.9.6)
tzinfo (2.0.5)
concurrent-ruby (~> 1.0)
unicode-display_width (2.3.0)
view_component (2.81.0)
unicode-display_width (2.4.2)
view_component (3.0.0.rc1)
activesupport (>= 5.2.0, < 8.0)
concurrent-ruby (~> 1.0)
method_source (~> 1.0)
Expand All @@ -234,7 +236,7 @@ GEM
nokogiri (~> 1.8)
yard (0.9.28)
webrick (~> 1.7.0)
zeitwerk (2.6.1)
zeitwerk (2.6.6)

PLATFORMS
ruby
Expand All @@ -253,7 +255,7 @@ DEPENDENCIES
erb_lint
erblint-github (= 0.1.0)
listen (~> 3.0)
lookbook (~> 1.2.1)
lookbook (~> 1)
matrix (~> 0.4.2)
minitest (~> 5.0)
mocha
Expand Down
2 changes: 1 addition & 1 deletion primer_view_components.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "actionview", ">= 5.0.0"
spec.add_runtime_dependency "activesupport", ">= 5.0.0"
spec.add_runtime_dependency "octicons", ">= 17.0.0"
spec.add_runtime_dependency "view_component", [">= 2.81.0", "< 3.0"]
spec.add_runtime_dependency "view_component", ["> 2.0", "< 4.0"]

spec.add_development_dependency "allocation_stats", "~> 0.1"
spec.add_development_dependency "allocation_tracer", "~> 0.6.3"
Expand Down

0 comments on commit cf28f5e

Please sign in to comment.