lookbook 2.2.2 → 2.3.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.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lookbook
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Perkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-06 00:00:00.000000000 Z
11
+ date: 2024-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: css_parser
@@ -1699,8 +1699,8 @@ files:
1699
1699
  - lib/lookbook/services/string_value_caster.rb
1700
1700
  - lib/lookbook/services/tags/key_value_tag_parser.rb
1701
1701
  - lib/lookbook/services/tags/tag_options_parser.rb
1702
- - lib/lookbook/services/templates/action_view_annotations_handler.rb
1703
1702
  - lib/lookbook/services/templates/action_view_annotations_stripper.rb
1703
+ - lib/lookbook/services/templates/action_view_config_handler.rb
1704
1704
  - lib/lookbook/services/templates/frontmatter_extractor.rb
1705
1705
  - lib/lookbook/services/templates/styles_extractor.rb
1706
1706
  - lib/lookbook/services/urls/data_uri_encoder.rb
@@ -1778,7 +1778,7 @@ files:
1778
1778
  - public/lookbook-assets/js/index.js.map
1779
1779
  - public/lookbook-assets/js/lookbook-core.js
1780
1780
  - public/lookbook-assets/js/lookbook.js
1781
- homepage: https://github.com/ViewComponent/lookbook
1781
+ homepage: https://github.com/lookbook-hq/lookbook
1782
1782
  licenses:
1783
1783
  - MIT
1784
1784
  metadata:
@@ -1798,7 +1798,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1798
1798
  - !ruby/object:Gem::Version
1799
1799
  version: '0'
1800
1800
  requirements: []
1801
- rubygems_version: 3.4.19
1801
+ rubygems_version: 3.5.10
1802
1802
  signing_key:
1803
1803
  specification_version: 4
1804
1804
  summary: A native development UI for ViewComponent
@@ -1,21 +0,0 @@
1
- module Lookbook
2
- class ActionViewAnnotationsHandler < Service
3
- attr_reader :disable_annotations
4
-
5
- def initialize(disable_annotations: true)
6
- @disable_annotations = disable_annotations
7
- end
8
-
9
- def call
10
- if ActionView::Base.respond_to?(:annotate_rendered_view_with_filenames) && disable_annotations
11
- original_value = ActionView::Base.annotate_rendered_view_with_filenames
12
- ActionView::Base.annotate_rendered_view_with_filenames = false
13
- res = yield
14
- ActionView::Base.annotate_rendered_view_with_filenames = original_value
15
- res
16
- else
17
- yield
18
- end
19
- end
20
- end
21
- end