bookends 8.0.2 → 8.0.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
  SHA256:
3
- metadata.gz: ab63c0aa9b1f24d7ac0337f4ad1ccc410a6a56e6be4bb1dd432d0051cccc0e7b
4
- data.tar.gz: 25cfac492fe89baf4b2942c5ee3c3a5357cdb538d89d406a5a288682e7d6af27
3
+ metadata.gz: aa5f2a480ee45bf114d15e0f5ead6f48b0d0f086af5777375f55f332a7899c01
4
+ data.tar.gz: 2009defc37adcc8ff4bc63f5646d534108813faa3cd1ce1c2855db40e6e56b78
5
5
  SHA512:
6
- metadata.gz: 1f819896e33cdedefe4f9265df2031cfcce0f03e5dba74040a45dcb74fac9b9f522734f7e214a890b9a4ef7b915693d8354f4bf8939373f1208eab8c95d5ff6e
7
- data.tar.gz: 8aea2936b5c2c34058e9fc25c5aba8bb229fb4ec60bdb2102a5a80c65d56cdd7869b7c482acae0977975dd4c00a5ff64e5e931fb0ec3bb1cad74af473abad2e6
6
+ metadata.gz: 9c2d4e6a9d2145fd705ccd7f2dfa5e3491ff51f9f10c9233d645ef593ae21be64143914f35887fd483a52dfa70866f33964036f8286b3361db4b22c322987768
7
+ data.tar.gz: 3ce81b89165d1a60a8a6328ec9a3714be5bbd9733386f4f54e6d8ed9cdb5b524209481732444c248738cff507762a5ab6abcd3ea5a7955e88b742c9bebb58e47
@@ -584,6 +584,8 @@
584
584
  #logo {
585
585
  position: fixed;
586
586
  z-index: 12;
587
+ top: 20px;
588
+ left: 20px;
587
589
 
588
590
  a {
589
591
  @include media($bp-sm) {
@@ -633,6 +635,7 @@
633
635
 
634
636
  .site-search {
635
637
  margin-right: 0;
638
+ margin-bottom: 6px;
636
639
  }
637
640
 
638
641
  .dropdown {
@@ -734,7 +737,7 @@
734
737
 
735
738
  &.highlight {
736
739
  background: $purple;
737
- padding: 9px 12px;
740
+ padding: 6px 12px;
738
741
  }
739
742
  }
740
743
 
@@ -754,6 +757,11 @@
754
757
  left: 50%;
755
758
  }
756
759
 
760
+ &:nth-child(2),
761
+ &:nth-child(3) {
762
+ top: 10px;
763
+ }
764
+
757
765
  &:nth-child(2) {
758
766
  @include transform(rotate(45deg));
759
767
  }
@@ -780,7 +788,7 @@
780
788
  z-index: 12;
781
789
  @include hide-text();
782
790
  width: 30px;
783
- height: 20px;
791
+ height: 22px;
784
792
  @include transform(rotate(0deg));
785
793
  @include transition(.3s ease-in-out);
786
794
  cursor: pointer;
@@ -29,6 +29,10 @@ module Bookends
29
29
  glostick_user['email']
30
30
  end
31
31
 
32
+ def glostick_user_id
33
+ glostick_user['id']
34
+ end
35
+
32
36
  def signup_link(title, options = {})
33
37
  url = "https://signup.heroku.com"
34
38
  data = { trackable: { category: "Sign Up Links", action: "Clicked", label: "#{options[:referral] || options[:branded_signup]}" } }
@@ -15,7 +15,8 @@ module Bookends
15
15
  else
16
16
  {
17
17
  'email' => '',
18
- 'full_name' => ''
18
+ 'full_name' => '',
19
+ 'id' => ''
19
20
  }
20
21
  end
21
22
  end
@@ -73,7 +73,7 @@
73
73
  <li><a href="<%= Bookends::Config.host_www %>/customers">Customers</a></li>
74
74
  <li><a href="https://www.salesforce.com/company/careers/">Careers</a></li>
75
75
  <li><a href="<%= Bookends::Config.host_www %>/events">Events</a></li>
76
- <li><a href="<%= Bookends::Config.host_www %>/podcasts">Podcasts <span class="badge badge-info">New</span></a></li>
76
+ <li><a href="<%= Bookends::Config.host_www %>/podcasts">Podcasts</a></li>
77
77
  </ul>
78
78
  </section>
79
79
  <section class="more-heroku-is">
@@ -1,3 +1,3 @@
1
1
  module Bookends
2
- VERSION = '8.0.2'.freeze
2
+ VERSION = '8.0.5'.freeze
3
3
  end
@@ -7,7 +7,7 @@ RSpec.describe Bookends::GlostickUserExtractor do
7
7
 
8
8
  context 'when token and secret not present' do
9
9
  it 'returns empty values' do
10
- expect(Bookends::GlostickUserExtractor.new({}, secret).user).to eq({ 'email' => '', 'full_name' => '' })
10
+ expect(Bookends::GlostickUserExtractor.new({}, secret).user).to eq({ 'email' => '', 'full_name' => '', 'id' => '' })
11
11
  end
12
12
  end
13
13
 
@@ -15,7 +15,9 @@ RSpec.describe Bookends::GlostickUserExtractor do
15
15
  let(:message) do
16
16
  {
17
17
  'user' => {
18
- 'email' => 'email@example.com', 'full_name' => 'My Name'
18
+ 'email' => 'email@example.com',
19
+ 'full_name' => 'My Name',
20
+ 'id' => '942ee949-a4b8-545a-b2ca-640443286f7f'
19
21
  }
20
22
  }
21
23
  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: 8.0.2
4
+ version: 8.0.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: 2018-08-20 00:00:00.000000000 Z
11
+ date: 2018-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails