bookends 2.3.4 → 2.3.5

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
  SHA1:
3
- metadata.gz: 789bdabb366c7145b1d9d4c1306524e6d73c7c39
4
- data.tar.gz: affb59dea9ffbdb0b4d508a90a67a7c21e0fd7c7
3
+ metadata.gz: e96b71fb3edb33f8b7b04f5b70ba99cd5716cc3d
4
+ data.tar.gz: 1f4ccca209310022d12b01ba95be007c699c6f8f
5
5
  SHA512:
6
- metadata.gz: 07350e69a52a1d4a4b151c61f63bb2fc9be4727d3124de1ef2f052f2dcea7545f7ba355c6d4e9059b4648c76817acf5199cdd43d543ea6df7ace65a850717f6c
7
- data.tar.gz: 60bcd7fda89d4d6852dc4d1532306bdda0a636376e145905c8ee43e977a97ce67aff97166ab9b8ffd3f5de469ae3419df1a9714a26b5cb7b7d5da8168dff5fd8
6
+ metadata.gz: bf8bb6a30d4be26bd7b725618df5af290239c0f62d6e2527a12f8a5bf85cbec4e5f387b70e9263f78b38049380a14b0fe56ae1925c474d5e9a39efe67b8078c1
7
+ data.tar.gz: 85aaf1551df65df40fb6f303efba5a9254f279a2a59f2cfda48773958459dc816c6f8b3d3f41ec0bbab2f2d4f3ee1f0ee0492fa9b8cb13bb2deab9f5b297f945
data/.travis.yml CHANGED
@@ -1,4 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 2.2.2
4
+ sudo: false
5
+ cache: bundler
4
6
  before_install: gem install bundler -v 1.10.5
7
+ notifications:
8
+ email: false
File without changes
@@ -1,6 +1,6 @@
1
1
  <header id="header">
2
2
  <div id="navigation" role="navigation">
3
- <span class="mobile-nav">
3
+ <span class="mobile-nav" aria-hidden="true">
4
4
  Show nav
5
5
  <span></span>
6
6
  <span></span>
@@ -9,9 +9,9 @@
9
9
  </span>
10
10
 
11
11
  <div class="wrapper wrapper-full">
12
- <h1 id="logo">
12
+ <div id="logo">
13
13
  <a href="https://www.heroku.com/home">Heroku</a>
14
- </h1>
14
+ </div>
15
15
 
16
16
  <div class="nav-wrapper">
17
17
 
@@ -1,6 +1,6 @@
1
1
  //= require bookends/newsletter
2
2
  var Heroku = Heroku || {};
3
3
 
4
- $(document).on("ready page:load", function() {
4
+ $(document).on('ready page:load', function() {
5
5
  window.Heroku.newsletterSignup = new Heroku.NewsletterSignup();
6
6
  });
@@ -4,13 +4,13 @@ var bind = function(fn, me){ return function(){ return fn.apply(me, arguments);
4
4
  Heroku.NewsletterSignup = (function() {
5
5
  function NewsletterSignup() {
6
6
  this.handleSubmit = bind(this.handleSubmit, this);
7
- this.$container = $("#bookends-newsletter");
8
- this.$honeyPot = this.$container.find("#bookends-website");
9
- this.$input = this.$container.find("input[type=email]");
10
- this.$submit = this.$container.find(":submit");
11
- this.$resultContainer = $("#bookends-newsletter-result");
7
+ this.$container = $('#bookends-newsletter');
8
+ this.$honeyPot = this.$container.find('#bookends-website');
9
+ this.$input = this.$container.find('input[type=email]');
10
+ this.$submit = this.$container.find(':submit');
11
+ this.$resultContainer = $('#bookends-newsletter-result');
12
12
 
13
- this.$container.on("submit", this.handleSubmit);
13
+ this.$container.on('submit', this.handleSubmit);
14
14
  }
15
15
 
16
16
  NewsletterSignup.prototype.handleSubmit = function(e) {
@@ -18,15 +18,15 @@ Heroku.NewsletterSignup = (function() {
18
18
  var self;
19
19
 
20
20
  e.preventDefault();
21
- if(this.$honeyPot.val() !== "") {
21
+ if(this.$honeyPot.val() !== '') {
22
22
  return this.handleSuccess();
23
23
  }
24
24
 
25
25
  val = this.$input.val();
26
26
  self = this;
27
27
  $.ajax({
28
- url: "https://www.heroku.com/newsletter_signups",
29
- type: "POST",
28
+ url: 'https://www.heroku.com/newsletter_signups',
29
+ type: 'POST',
30
30
  crossDomain: true,
31
31
  data: { newsletter_signup: { email: val } }
32
32
  })
@@ -39,14 +39,14 @@ Heroku.NewsletterSignup = (function() {
39
39
  };
40
40
 
41
41
  NewsletterSignup.prototype.handleSuccess = function() {
42
- this.$input.replaceWith("<p>Check your email now to confirm your sign-up.</p>");
42
+ this.$input.replaceWith('<p>Check your email now to confirm your sign-up.</p>');
43
43
  };
44
44
 
45
45
  NewsletterSignup.prototype.handleFailure = function() {
46
46
  this.$input.val("");
47
47
  this.$resultContainer
48
- .removeClass("hide")
49
- .text("There was an error registering you. Please refresh.");
48
+ .removeClass('hide')
49
+ .text('There was an error registering you. Please refresh.');
50
50
  };
51
51
 
52
52
  return NewsletterSignup;
@@ -1,6 +1,6 @@
1
1
  <header id="header">
2
2
  <nav id="navigation" role="navigation">
3
- <span class="mobile-nav">
3
+ <span class="mobile-nav" aria-hidden="true">
4
4
  Show nav
5
5
  <span></span>
6
6
  <span></span>
@@ -9,9 +9,9 @@
9
9
  </span>
10
10
 
11
11
  <div class="wrapper-full">
12
- <h1 id="logo">
13
- <a href="https://www.heroku.com/home">Heroku</a>
14
- </h1>
12
+ <div id="logo">
13
+ <a id="logo"href="https://www.heroku.com/home">Heroku</a>
14
+ </div>
15
15
  <div class="nav-wrapper">
16
16
  <ul class="main-nav">
17
17
  <li class="has-dropdown">
@@ -41,7 +41,7 @@
41
41
  <section class="more-resources">
42
42
  <span class="more-title">Additional Resources</span>
43
43
  <ul>
44
- <li><a href="https://www.heroku.com/what">What</a></li>
44
+ <li><a href="https://www.heroku.com/what">What is Heroku?</a></li>
45
45
  <li><a href="https://www.heroku.com/help">Help</a></li>
46
46
  <li><a href="https://www.heroku.com/customers">Customers</a></li>
47
47
  <li><a href="https://www.heroku.com/careers">Careers</a></li>
@@ -1,3 +1,3 @@
1
1
  module Bookends
2
- VERSION = "2.3.4"
2
+ VERSION = "2.3.5"
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: 2.3.4
4
+ version: 2.3.5
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-02-11 00:00:00.000000000 Z
11
+ date: 2016-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -155,6 +155,7 @@ files:
155
155
  - bin/bookends
156
156
  - bin/setup
157
157
  - bookends.gemspec
158
+ - fixtures/dummy-jekyll/.gitkeep
158
159
  - fixtures/dummy-rails/README.md
159
160
  - fixtures/dummy-rails/Rakefile
160
161
  - fixtures/dummy-rails/app/assets/fonts/bentonsans-book.eot
@@ -254,7 +255,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
254
255
  version: '0'
255
256
  requirements: []
256
257
  rubyforge_project:
257
- rubygems_version: 2.4.5
258
+ rubygems_version: 2.4.8
258
259
  signing_key:
259
260
  specification_version: 4
260
261
  summary: an engine to abstract common html/css elements across Heroku properties