bookends 3.0.0.beta5 → 3.0.0
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 +4 -4
- data/README.md +13 -19
- data/app/views/bookends/_footer.html.erb +1 -0
- data/lib/bookends/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd0d10f860e127ccda11c1dc25df306f29f73baa
|
4
|
+
data.tar.gz: 397f861a4398272cddbf0bfc7df6b34c18227f35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4808def0a835c70be0d372b90dffb04462a5ef8593fa9debcdafab34d539b72bbb7cabc5631f8084d5bd43f29613a24e294949d39790b55ea59c1612ba9aea42
|
7
|
+
data.tar.gz: 454a4b6b668ef284b2793b9975f7ad32c19a288543494385547ab92dc1e3e8825ee097bf6521f52d9b03b63a6aadd65e0dba845d0bfec07356a5b7ec76e12517
|
data/README.md
CHANGED
@@ -1,30 +1,25 @@
|
|
1
1
|
# Bookends
|
2
|
-
|
3
|
-
|
4
|
-
## Requirements
|
5
|
-
Bookends assumes the presence of:
|
6
|
-
* jQuery
|
7
|
-
* fernet-rb, '~> 2.2' (see [Glostick Notes](#glostick-notes))
|
2
|
+
A Rails engine serving the shared header and footer for Heroku Marketing-styled properties.
|
8
3
|
|
9
4
|
## Installation
|
10
5
|
|
11
6
|
Add this line to your application's Gemfile:
|
12
7
|
|
13
8
|
```ruby
|
14
|
-
gem 'bookends',
|
9
|
+
gem 'bookends', '<current version>'
|
15
10
|
```
|
16
11
|
|
17
12
|
And then execute:
|
18
13
|
|
19
|
-
$ bundle
|
14
|
+
$ bundle install
|
20
15
|
|
21
16
|
## Usage
|
22
17
|
|
23
|
-
$ bookends
|
18
|
+
$ rails g bookends:install
|
24
19
|
|
25
|
-
## Sites using
|
20
|
+
## Sites using Bookends
|
26
21
|
Please make sure the owners of the following properties are apprised of changes
|
27
|
-
to
|
22
|
+
to Bookends:
|
28
23
|
|
29
24
|
* [www](https://github.com/heroku/www)
|
30
25
|
* [blog](https://github.com/heroku/blog)
|
@@ -48,13 +43,14 @@ See all rake tasks with `rake -T`
|
|
48
43
|
|
49
44
|
### Testing it in an app locally
|
50
45
|
#### Rails version
|
51
|
-
1.
|
52
|
-
2.
|
53
|
-
|
54
|
-
|
55
|
-
|
46
|
+
1. In a terminal session, change directory to `spec/test_app`
|
47
|
+
2. Ensure that any changes in a consumer app are made in the `test_app` (a
|
48
|
+
skeleton Rails app)
|
49
|
+
3. 'open http://localhost:3000'
|
50
|
+
4. `rails s` and refresh your browser
|
56
51
|
|
57
52
|
#### Jekyll version
|
53
|
+
** be sure to use the 2.x version on the `two_ex` branch **
|
58
54
|
1. `gem install bookends --local ../bookends/pkg/bookends-<latest_pkg>` from the
|
59
55
|
root of the Jekyll project.
|
60
56
|
* Run `rake build` from bookends if there are no `*.gem` files in
|
@@ -74,9 +70,7 @@ Important things to note:
|
|
74
70
|
* This cookie contains a logged in user's email and display name.
|
75
71
|
* [Fernet](https://github.com/fernet/fernet-rb) must be included in the
|
76
72
|
project with Bookends as it is used to decode the cookie.
|
77
|
-
*
|
78
|
-
development group so it will not be loaded in production. That is why it
|
79
|
-
must be added to production gems explicitly
|
73
|
+
* To decode the cookie, Bookends requires Fernet (> 2.0) to decode the cookie
|
80
74
|
* A shared secret provided by API must be set to the
|
81
75
|
`SESSION_COOKIE_SECRET_PRIMARY` config var. Bookends also provides a fall
|
82
76
|
back `SESSION_COOKIE_SECRET_SECONDARY` should that first value need to change.
|
@@ -30,6 +30,7 @@
|
|
30
30
|
<li><a href="<%= Bookends::Config.host_www %>/customers">Our Customers</a></li>
|
31
31
|
<li><a href="<%= Bookends::Config.host_www %>/careers">Careers</a></li>
|
32
32
|
<li><a href="https://partners.heroku.com/">Partners</a></li>
|
33
|
+
<li><a href="<%= Bookends::Config.host_www %>/elements">Elements</a></li>
|
33
34
|
</ul>
|
34
35
|
</nav>
|
35
36
|
<nav class="col">
|
data/lib/bookends/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookends
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marketing Web Ops at heroku
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -292,9 +292,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
292
292
|
version: '0'
|
293
293
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
294
294
|
requirements:
|
295
|
-
- - "
|
295
|
+
- - ">="
|
296
296
|
- !ruby/object:Gem::Version
|
297
|
-
version:
|
297
|
+
version: '0'
|
298
298
|
requirements: []
|
299
299
|
rubyforge_project:
|
300
300
|
rubygems_version: 2.4.8
|