view_component 3.23.0 → 3.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d542616afad25462cb50efaacaaf191bfc59fdff6aa54132536fc5f9baaa13f
4
- data.tar.gz: 8f229412d38d65593a377a215923828772a2c2a75e3f2786dcac35ba9d778932
3
+ metadata.gz: 16a94da266921e0bd3ed59abdba704b4edf68873959d74c0d3caad66d3aac082
4
+ data.tar.gz: 0520dc669a3c0d1bda117d7a2f1932f6f2b31726a55e44be87062c49c004cd64
5
5
  SHA512:
6
- metadata.gz: '082d994fdaf93ec868207edc94d51bd36f873f8601da1ee9ee9aeaf28dc40cfa17da79625d60c15caeb4bc86079e22aa791e16c8db052cb5e5ce4a81df7e5594'
7
- data.tar.gz: 8ddf8b136dc0b14492493609fb6a0f0206865eeca43149eaceb4255c3adf85dd5e6cfd4f75ab4393d0f8e233bd7c06a455ae7c28644a5f9870b76a04c29ef03b
6
+ metadata.gz: 63ebe85255f6d35c49108590e6d939c1ea21971bfaa8bd476f5f5854073916692d602173e5f607db3aefbbc46cee3ef467232efb4c0231ca85a8c691b1a27ea5
7
+ data.tar.gz: 6e4cbef0047c2d3daf22f06b024bca4af0b12fdea8146f9bc1217bc27fa3d318049681b99f5e6030bf42017922fdb82ca0a1255b4aa367f43d793f9d4a0a8528
data/docs/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@ nav_order: 6
10
10
 
11
11
  ## main
12
12
 
13
+ ## 3.23.1
14
+
15
+ * Restore Rake tasks in published gem.
16
+
17
+ *Franz Liedke*
18
+
13
19
  ## 3.23.0
14
20
 
15
21
  * Add docs about Slack channel in Ruby Central workspace. (Join us! #oss-view-component). Email joelhawksley@github.com for an invite.
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ task stats: "view_component:statsetup"
4
+
5
+ namespace :view_component do
6
+ task :statsetup do
7
+ # :nocov:
8
+ require "rails/code_statistics"
9
+
10
+ if Rails.root.join(ViewComponent::Base.view_component_path).directory?
11
+ ::STATS_DIRECTORIES << ["ViewComponents", ViewComponent::Base.view_component_path]
12
+ end
13
+
14
+ if Rails.root.join("test/components").directory?
15
+ ::STATS_DIRECTORIES << ["ViewComponent tests", "test/components"]
16
+ CodeStatistics::TEST_TYPES << "ViewComponent tests"
17
+ end
18
+ # :nocov:
19
+ end
20
+ end
@@ -4,7 +4,7 @@ module ViewComponent
4
4
  module VERSION
5
5
  MAJOR = 3
6
6
  MINOR = 23
7
- PATCH = 0
7
+ PATCH = 1
8
8
  PRE = nil
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join(".")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: view_component
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.23.0
4
+ version: 3.23.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ViewComponent Team
@@ -605,6 +605,7 @@ files:
605
605
  - lib/view_component/inline_template.rb
606
606
  - lib/view_component/instrumentation.rb
607
607
  - lib/view_component/preview.rb
608
+ - lib/view_component/rails/tasks/view_component.rake
608
609
  - lib/view_component/render_component_helper.rb
609
610
  - lib/view_component/render_component_to_string_helper.rb
610
611
  - lib/view_component/render_monkey_patch.rb