bookends 3.0.0.beta5 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5cc6bca9c2c3357081eb1fe44953e5c40fef90d
4
- data.tar.gz: d1f69281a601d40d0281086173a3f5435841d0f2
3
+ metadata.gz: fd0d10f860e127ccda11c1dc25df306f29f73baa
4
+ data.tar.gz: 397f861a4398272cddbf0bfc7df6b34c18227f35
5
5
  SHA512:
6
- metadata.gz: 6868c4ab4fb84e54406a024ce4db964190fc8f6e9c6b96d2ff29dd87ad810c0752374bbcf108a4314a6f4094eb295694a8c6dc7b340482c409de4c0960305b39
7
- data.tar.gz: 73005e14c46a629154fb095f1e59773216dfa83431401f055653e99df4cbee40d7aaa600df44a61f4191a75e07080b6b8f2f64a05e058e188b04df5f690bc228
6
+ metadata.gz: 4808def0a835c70be0d372b90dffb04462a5ef8593fa9debcdafab34d539b72bbb7cabc5631f8084d5bd43f29613a24e294949d39790b55ea59c1612ba9aea42
7
+ data.tar.gz: 454a4b6b668ef284b2793b9975f7ad32c19a288543494385547ab92dc1e3e8825ee097bf6521f52d9b03b63a6aadd65e0dba845d0bfec07356a5b7ec76e12517
data/README.md CHANGED
@@ -1,30 +1,25 @@
1
1
  # Bookends
2
- Shared header and footer for Heroku properties.
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', group: :development
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 install
18
+ $ rails g bookends:install
24
19
 
25
- ## Sites using bookends
20
+ ## Sites using Bookends
26
21
  Please make sure the owners of the following properties are apprised of changes
27
- to bookends:
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. `gem 'bookends', path: 'path/to/local/copy` in the Rails application's Gemfile
52
- 2. `bundle install` from the Rails application
53
- 3. `bundle exec bookends install` from the Rails application
54
- 4. boot up the Rails application
55
- 5. If you make changes to Bookends's templates, make sure to run the installer from step 3.
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
- * Fernet is not included in the gemspec because Bookends should be in the
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">
@@ -1,3 +1,3 @@
1
1
  module Bookends
2
- VERSION = "3.0.0.beta5"
2
+ VERSION = "3.0.0"
3
3
  end
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.beta5
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-16 00:00:00.000000000 Z
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: 1.3.1
297
+ version: '0'
298
298
  requirements: []
299
299
  rubyforge_project:
300
300
  rubygems_version: 2.4.8