bookends 8.0.2 → 8.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/bookends/_header.scss +10 -2
- data/app/helpers/bookends/application_helper.rb +4 -0
- data/app/services/bookends/glostick_user_extractor.rb +2 -1
- data/app/views/bookends/_header.html.erb +1 -1
- data/lib/bookends/version.rb +1 -1
- data/spec/services/bookends/glostick_user_extractor_spec.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa5f2a480ee45bf114d15e0f5ead6f48b0d0f086af5777375f55f332a7899c01
|
4
|
+
data.tar.gz: 2009defc37adcc8ff4bc63f5646d534108813faa3cd1ce1c2855db40e6e56b78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
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:
|
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]}" } }
|
@@ -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
|
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">
|
data/lib/bookends/version.rb
CHANGED
@@ -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',
|
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.
|
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-
|
11
|
+
date: 2018-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|