station 0.3.1 → 0.3.2

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
  SHA256:
3
- metadata.gz: 10165e839f14aecb46328322b4595b88e6ed10f45e6883e22beb948612b8dd38
4
- data.tar.gz: bf922b05e53ad14ed135743d381937f7f1d74d27a475feb3565abf83ee98d024
3
+ metadata.gz: 37f24d0bd36c81b26acc820f72bed14f401bb9cc202064267a8a026bad2437c2
4
+ data.tar.gz: d20d6e6d797765b63eef55768c21d80c6ebb2a9332aa987db44b7ee23ee8ce0a
5
5
  SHA512:
6
- metadata.gz: 4793826f935efbbe8a59de2acc75ded953dc3edcc34a44c6c5ce536ae25d987b8d7f50ee86c29287f3d4bf1ea11354e6a1de11da4d34e3a79a7a34bdc471413d
7
- data.tar.gz: d3e1227f0c3fbaaf6bf21fe33a9da3358beea28856056bed0b1a95ae80e844bd3f036af2cd80445ce27827659cec79d09da84aad6701f90e1c328d8e7abf6cd7
6
+ metadata.gz: 8085e0b8f977c69c8a853a0ea5a1f56d22775687c90cefb19345d93df927322ea92561468db550f19089894689c114457f65a901bd1e867e64c2b3051aad3c89
7
+ data.tar.gz: 138165ff74256013e2d614c82d0319808c1393265e73395a935e15622e5efd6b5706688e6243075e342f4dfc776dbb2656869951696999113c3e8dda506632eb
@@ -86,9 +86,6 @@ gem 'woothee'
86
86
  # The simplest way to group temporal data
87
87
  gem 'groupdate', '5.2.2'
88
88
 
89
- # A configurable and documented Rails view helper for adding gravatars into your Rails application.
90
- gem 'gravatar_image_tag', github: 'Envek/gravatar_image_tag', branch: 'fix/deprecation-warnings'
91
-
92
89
  # Boot large ruby/rails apps faster
93
90
  gem 'bootsnap', require: false
94
91
 
@@ -1,10 +1,3 @@
1
- GIT
2
- remote: https://github.com/Envek/gravatar_image_tag.git
3
- revision: 5af4d8e302587aa9ac2fe4105c92e428a11d8ec7
4
- branch: fix/deprecation-warnings
5
- specs:
6
- gravatar_image_tag (1.2.0)
7
-
8
1
  GIT
9
2
  remote: https://github.com/oscardelben/rawler.git
10
3
  revision: f2909b135fce7d35167f98026ac481926c94423e
@@ -646,7 +639,6 @@ DEPENDENCIES
646
639
  ffi (>= 1.9.24)
647
640
  geocoder
648
641
  gmaps4rails (= 2.1.2)
649
- gravatar_image_tag!
650
642
  greenhouse_io
651
643
  groupdate (= 5.2.2)
652
644
  guard-livereload (~> 2.5)
@@ -36,6 +36,12 @@ class StaticController < ApplicationController
36
36
 
37
37
  if request.path.delete('/') == 'team'
38
38
  @team ||= LoadConfig.load_file('config/team.yml')
39
+
40
+ @team['current'].each do |member|
41
+ author = Blog::Author.new(AuthorParser.fetch_author(member['short-name']))
42
+ member['image_url'] = author.build_avatar_url
43
+ end
44
+
39
45
  @careers = Greenhouse.devrel_careers
40
46
  end
41
47
 
@@ -1,5 +1,5 @@
1
1
  <div class="Nxd-profile Vlt-col Vlt-col--M-1of3">
2
- <%= gravatar_image_tag email, gravatar: { size: 140, secure: true }, class: 'Nxd-profile__avatar avatar' %>
2
+ <%= image_tag(image_url, size: 140, class: 'Nxd-profile__avatar avatar') %>
3
3
  <h3><%= name %></h3>
4
4
  <p class="Vlt-grey-darker p-large"><%= local_assigns[:role] ? role : 'Developer Advocate' %>
5
5
  <% if local_assigns[:twitter] %>
@@ -6,7 +6,6 @@ require 'bootsnap'
6
6
  require 'bugsnag'
7
7
  require 'devise'
8
8
  require 'geocoder'
9
- require 'gravatar_image_tag'
10
9
  require 'greenhouse_io'
11
10
  require 'recaptcha'
12
11
  require 'split/dashboard'
@@ -1 +1 @@
1
- {"files":{"manifest-b4bf6e57a53c2bdb55b8998cc94cd00883793c1c37c5e5aea3ef6749b4f6d92b.js":{"logical_path":"manifest.js","mtime":"2022-06-01T14:56:01+00:00","size":2,"digest":"75a11da44c802486bc6f65640aa48a730f0f684c5c07a42ba3cd1735eb3fb070","integrity":"sha256-daEdpEyAJIa8b2VkCqSKcw8PaExcB6Qro80XNes/sHA="},"application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js":{"logical_path":"application.js","mtime":"2022-06-01T14:56:01+00:00","size":3172,"digest":"67f1fd16f949c2794341a44cf839e5436bbef74436e043ead39890d1c3b2e583","integrity":"sha256-Z/H9FvlJwnlDQaRM+DnlQ2u+90Q24EPq05iQ0cOy5YM="},"application-45229aaf351c0063887eda1627f8cc1b24b805884626aaffca4f8a4c11fc2807.css":{"logical_path":"application.css","mtime":"2022-06-01T14:56:01+00:00","size":17606,"digest":"927e9615d567db6c972d9875248337b3f05127031bf5e42c133e2aff64947fa6","integrity":"sha256-kn6WFdVn22yXLZh1JIM3s/BRJwMb9eQsEz4q/2SUf6Y="}},"assets":{"manifest.js":"manifest-b4bf6e57a53c2bdb55b8998cc94cd00883793c1c37c5e5aea3ef6749b4f6d92b.js","application.js":"application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js","application.css":"application-45229aaf351c0063887eda1627f8cc1b24b805884626aaffca4f8a4c11fc2807.css"}}
1
+ {"files":{"manifest-b4bf6e57a53c2bdb55b8998cc94cd00883793c1c37c5e5aea3ef6749b4f6d92b.js":{"logical_path":"manifest.js","mtime":"2022-06-15T16:50:44+00:00","size":2,"digest":"75a11da44c802486bc6f65640aa48a730f0f684c5c07a42ba3cd1735eb3fb070","integrity":"sha256-daEdpEyAJIa8b2VkCqSKcw8PaExcB6Qro80XNes/sHA="},"application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js":{"logical_path":"application.js","mtime":"2022-06-15T16:50:44+00:00","size":3172,"digest":"67f1fd16f949c2794341a44cf839e5436bbef74436e043ead39890d1c3b2e583","integrity":"sha256-Z/H9FvlJwnlDQaRM+DnlQ2u+90Q24EPq05iQ0cOy5YM="},"application-45229aaf351c0063887eda1627f8cc1b24b805884626aaffca4f8a4c11fc2807.css":{"logical_path":"application.css","mtime":"2022-06-15T16:50:44+00:00","size":17606,"digest":"927e9615d567db6c972d9875248337b3f05127031bf5e42c133e2aff64947fa6","integrity":"sha256-kn6WFdVn22yXLZh1JIM3s/BRJwMb9eQsEz4q/2SUf6Y="}},"assets":{"manifest.js":"manifest-b4bf6e57a53c2bdb55b8998cc94cd00883793c1c37c5e5aea3ef6749b4f6d92b.js","application.js":"application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js","application.css":"application-45229aaf351c0063887eda1627f8cc1b24b805884626aaffca4f8a4c11fc2807.css"}}
@@ -1,3 +1,3 @@
1
1
  module NexmoDeveloper
2
- VERSION = '0.3.1'.freeze
2
+ VERSION = '0.3.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: station
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vonage DevRel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-01 00:00:00.000000000 Z
11
+ date: 2022-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin
@@ -731,7 +731,7 @@ files:
731
731
  - "./lib/nexmo_developer/public/android-chrome-512x512.png"
732
732
  - "./lib/nexmo_developer/public/apple-touch-icon-precomposed.png"
733
733
  - "./lib/nexmo_developer/public/apple-touch-icon.png"
734
- - "./lib/nexmo_developer/public/assets/.sprockets-manifest-4b5f37399bdc03c718dc6d092aacb8c2.json"
734
+ - "./lib/nexmo_developer/public/assets/.sprockets-manifest-fd8233b388fd05028148c3a82d5e9409.json"
735
735
  - "./lib/nexmo_developer/public/assets/application-45229aaf351c0063887eda1627f8cc1b24b805884626aaffca4f8a4c11fc2807.css"
736
736
  - "./lib/nexmo_developer/public/assets/application-45229aaf351c0063887eda1627f8cc1b24b805884626aaffca4f8a4c11fc2807.css.gz"
737
737
  - "./lib/nexmo_developer/public/assets/application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js"
@@ -1528,7 +1528,6 @@ files:
1528
1528
  - lib/nexmo_developer/config/initializers/doc_finder.rb
1529
1529
  - lib/nexmo_developer/config/initializers/filter_parameter_logging.rb
1530
1530
  - lib/nexmo_developer/config/initializers/geocoder.rb
1531
- - lib/nexmo_developer/config/initializers/gravatar_image_tag.rb
1532
1531
  - lib/nexmo_developer/config/initializers/greenhouse_io.rb
1533
1532
  - lib/nexmo_developer/config/initializers/inflections.rb
1534
1533
  - lib/nexmo_developer/config/initializers/locale.rb
@@ -1,5 +0,0 @@
1
- require 'gravatar_image_tag'
2
-
3
- GravatarImageTag.configure do |config|
4
- config.default_image = 'https://developer.nexmo.com/assets/images/default-avatar.png'
5
- end