lookbook 0.9.7 → 0.9.8

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: 5e37b94615d684a28d33c6e058e62511007997df7ac6fc834a524e87aac05180
4
- data.tar.gz: 81888f9888ada74bef21cc7f9ff37842e568789d9892aafd17e6c95b131e70f8
3
+ metadata.gz: 1552c783aeb0b0fadbdc347de7927f8e0ce6fca4352986ed36e4cf9989b64640
4
+ data.tar.gz: f46d89c7514ce88bb720fe9dfd4f301bc7b8596356c36428fb48d5373f6eb14a
5
5
  SHA512:
6
- metadata.gz: b70b963ad24e380ca914a28bb7456a490ac8ad1de6cc87fe8afda2cfc48f7219cc73a864e74dfab05795f3ee16c0b935a1f283f76e4b7fc809400845eb695e40
7
- data.tar.gz: b3c4da6fe93b94bdd2c7b58d1a9d21451e4e12ebdbe550b529203859518bf50a77edc80c7284e2d6de35bde22b6fef77bff9993c644662c59d7f489340f75526
6
+ metadata.gz: 5cbaa4763a8ac0ad0be4143e18988849aba4453cd972565b4a0e4cb771d645f28b098a443e9129b4328a3a0f20e6aa68d5a4e693aee0c2eaf20602591fffd6cf
7
+ data.tar.gz: 1395ed27344183e973893d1116d467e98ad875e775fb207d8d3dde0cd18de5d67fce600a42151bd352bc9055057e868360ed2f353224e881bdafff77723baf7c
data/README.md CHANGED
@@ -1,13 +1,8 @@
1
1
  <div align="center">
2
2
  <h1>Lookbook</h1>
3
3
 
4
- <p>A native development UI for <a href="http://viewcomponent.org/">ViewComponent</a></p>
5
-
6
- <div>
7
- <a href="https://rubygems.org/gems/lookbook"><img src="https://badge.fury.io/rb/lookbook.svg" alt="Gem version">
8
- <a href="https://github.com/testdouble/standard"><img src="https://img.shields.io/badge/code_style-standard-brightgreen.svg" alt="Ruby Style Guide">
9
- <a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg" alt="Code style: Prettier">
10
- </div>
4
+ <h3>🚨 These are legacy docs for Lookbook v0.9.x releases! 🚨</h3>
5
+ <p>For docs on the <strong>latest Lookbook v1.x</strong> releases see the <a href="https://lookbook.build">Lookbook docs site</a> or the <a href="https://github.com/allmarkedup/lookbook">main branch</a> of this repo.</p>
11
6
  </div>
12
7
 
13
8
  ---
@@ -15,7 +10,6 @@
15
10
  <div align="center">
16
11
 
17
12
  <p><a href="#installing">Installing</a> • <a href="#previews">Previews</a> • <a href="#pages">Pages</a> • <a href="#deployment">Deployment</a> • <a href="#config">Config</a></p>
18
- <p><a href="#beta-info">🚨 Lookbook v1.0 (beta) - testers wanted! 🚨</a></p>
19
13
  </div>
20
14
 
21
15
  ---
@@ -29,39 +23,7 @@ Lookbook uses [RDoc/Yard-style comment tags](#annotating-preview-files) to exten
29
23
  ![Lookbook UI](.github/assets/lookbook_screenshot.png)
30
24
 
31
25
 
32
- <h2 id="beta-info">🚨 Lookbook v1.0 (beta)</h3>
33
-
34
- The Lookbook v1.0 release is coming soon with a bunch of new features and under-the hood improvements.
35
-
36
- ### Testing out the beta
37
-
38
- If you are already using Lookbook in your project, just update the Lookbook gem to the latest beta release and then head over to the [beta documentation site](https://beta.lookbook.build/) to read more about the new features.
39
-
40
- ```ruby
41
- gem "lookbook", ">= 1.0.0.beta.7"
42
- ```
43
-
44
- If you are **new to Lookbook** then check out the <a href="https://beta.lookbook.build/guide/quick-start/">v1.0 quick start guide</a> for more detailed instructions on installing Lookbook in your project
45
-
46
- > Please do <a href="https://github.com/allmarkedup/lookbook/issues">open an issue</a> or <a href="https://github.com/allmarkedup/lookbook/discussions">start a discussion</a> if you need any help with anything. Comments, feedback and suggestions are always appreciated!
47
-
48
- <h4>Useful Resources</h4>
49
-
50
- * 👉 <a href="https://lookbook-demo-app-v1-0-beta.herokuapp.com/lookbook">v1.0 demo app</a> <em>(The repo for the demo app <a href="https://github.com/allmarkedup/lookbook-demo/tree/v1.0-beta">is here</a> if you want to dig in further)</em>
51
- * 👉 <a href="https://beta.lookbook.build/">v1.0 documentation site</a> _(work in progress!)_
52
- * 👉 <a href="https://github.com/allmarkedup/lookbook/tree/v1.0-beta">v1.0-beta branch</a>
53
-
54
- ---
55
-
56
- **⚠️ Note: The rest of the documentation on this page is related to the current, stable `v0.9.x` branch.**
57
-
58
- ## Lookbook demo
59
-
60
- If you want to have a quick play with Lookbook, the easiest way is to [give the demo app](https://github.com/allmarkedup/lookbook-demo) a spin. It's a basic Rails/ViewComponent app with a few test components included to tinker with.
61
-
62
- **Online demo: https://lookbook-demo-app.herokuapp.com/lookbook**
63
26
 
64
- If you'd rather dig in a bit more and run the demo app locally, the [demo repo](https://github.com/allmarkedup/lookbook-demo) contains instructions on how to get it up and running.
65
27
 
66
28
  ## Installing
67
29
 
@@ -71,7 +33,7 @@ Add Lookbook to your `Gemfile` somewhere **after** the ViewComponent gem. For ex
71
33
 
72
34
  ```ruby
73
35
  gem "view_component"
74
- gem "lookbook"
36
+ gem "lookbook", "~> 0.9.7"
75
37
  ```
76
38
 
77
39
  ### 2. Mount the Lookbook engine
@@ -1,6 +1,9 @@
1
1
  module Lookbook
2
2
  class ApplicationController < ActionController::Base
3
- content_security_policy false, if: -> { Rails.env.development? }
3
+ if respond_to?(:content_security_policy)
4
+ content_security_policy false, if: -> { Rails.env.development? }
5
+ end
6
+
4
7
  protect_from_forgery with: :exception
5
8
 
6
9
  helper Lookbook::ApplicationHelper
@@ -1,3 +1,3 @@
1
1
  module Lookbook
2
- VERSION = "0.9.7"
2
+ VERSION = "0.9.8"
3
3
  end
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: 0.9.7
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Perkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-03 00:00:00.000000000 Z
11
+ date: 2022-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actioncable