station 0.0.103 → 0.0.108

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/bin/nexmo-developer +7 -0
  3. data/docs/How-To-Use.md +1 -1
  4. data/lib/nexmo_developer/.rspec +0 -1
  5. data/lib/nexmo_developer/Gemfile +9 -10
  6. data/lib/nexmo_developer/Gemfile.lock +137 -132
  7. data/lib/nexmo_developer/app/controllers/static_controller.rb +0 -10
  8. data/lib/nexmo_developer/app/helpers/application_helper.rb +2 -0
  9. data/lib/nexmo_developer/app/models/tutorial.rb +10 -12
  10. data/lib/nexmo_developer/app/models/tutorial/prerequisite.rb +3 -1
  11. data/lib/nexmo_developer/app/models/tutorial/task.rb +24 -11
  12. data/lib/nexmo_developer/app/services/translator/files_list_coordinator.rb +90 -0
  13. data/lib/nexmo_developer/app/views/admin/feedbacks/_steps.html.erb +1 -1
  14. data/lib/nexmo_developer/app/views/layouts/partials/_footer.html.erb +4 -4
  15. data/lib/nexmo_developer/app/views/layouts/partials/_head.html.erb +4 -4
  16. data/lib/nexmo_developer/app/views/layouts/partials/_header.html.erb +3 -3
  17. data/lib/nexmo_developer/app/views/layouts/partials/_improve_this_page.html.erb +1 -1
  18. data/lib/nexmo_developer/app/views/static/_products.html.erb +20 -17
  19. data/lib/nexmo_developer/app/views/static/landing.html.erb +8 -8
  20. data/lib/nexmo_developer/app/webpacker/javascript/volta/volta.js +1 -1
  21. data/lib/nexmo_developer/app/webpacker/stylesheets/custom/_core.scss +1 -1
  22. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_icons.scss +1 -0
  23. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_navigation.scss +1 -2
  24. data/lib/nexmo_developer/config/environments/production.rb +8 -1
  25. data/lib/nexmo_developer/config/initializers/assets.rb +0 -2
  26. data/lib/nexmo_developer/lib/tasks/smartling.rake +7 -0
  27. data/lib/nexmo_developer/version.rb +1 -1
  28. data/package.json +18 -17
  29. data/station.gemspec +5 -5
  30. data/yarn.lock +1795 -453
  31. metadata +30 -47
  32. data/lib/nexmo_developer/app/assets/fonts/Lato-Black.woff +0 -0
  33. data/lib/nexmo_developer/app/assets/fonts/Lato-Black.woff2 +0 -0
  34. data/lib/nexmo_developer/app/assets/fonts/Lato-Regular.woff +0 -0
  35. data/lib/nexmo_developer/app/assets/fonts/Lato-Regular.woff2 +0 -0
  36. data/lib/nexmo_developer/app/assets/fonts/Lato-Semibold.woff +0 -0
  37. data/lib/nexmo_developer/app/assets/fonts/Lato-Semibold.woff2 +0 -0
  38. data/lib/nexmo_developer/app/assets/fonts/icomoon.eot +0 -0
  39. data/lib/nexmo_developer/app/assets/fonts/icomoon.json +0 -1257
  40. data/lib/nexmo_developer/app/assets/fonts/icomoon.svg +0 -55
  41. data/lib/nexmo_developer/app/assets/fonts/icomoon.ttf +0 -0
  42. data/lib/nexmo_developer/app/assets/fonts/icomoon.woff +0 -0
  43. data/lib/nexmo_developer/app/assets/fonts/nexmo-developer.json +0 -36483
  44. data/lib/nexmo_developer/app/views/slack/join.html.erb +0 -25
  45. data/lib/nexmo_developer/app/views/static/_community.html.erb +0 -24
  46. data/lib/nexmo_developer/app/views/static/_dotnet.html.erb +0 -26
  47. data/lib/nexmo_developer/app/views/static/_slack.html.erb +0 -2
  48. data/lib/nexmo_developer/app/views/static/_xwithy.html.erb +0 -33
  49. data/lib/nexmo_developer/app/views/static/podcast.html.erb +0 -40
@@ -1,25 +0,0 @@
1
- <center>
2
- <%= image_tag 'slack.svg', id: 'join-slack-logo' %>
3
- <h1>Join the Vonage Developer Community Slack</h1>
4
-
5
- <% unless @success %>
6
- <%= form_tag community_slack_path do %>
7
- <div class="Vlt-form__element Vlt-form__element--elastic">
8
- <div class="Vlt-input">
9
- <%= email_field_tag :email, (@email || ''), placeholder: 'Enter your email address', size: '40' %>
10
- </div>
11
- </div>
12
- <%= recaptcha_tags if ENV['RECAPTCHA_ENABLED'] %>
13
- <%= submit_tag 'Join', class: 'Vlt-btn Vlt-btn--primary Vlt-btn--large' %>
14
- <% end %>
15
- <% end %>
16
-
17
- <% if @notice %>
18
- <%= @notice %>
19
- <% end %>
20
-
21
- <hr class="hr--tall">
22
-
23
- <h2>Already a member?</h2>
24
- <%= link_to "Go to Vonage Developer Community on Slack", "https://#{ENV['SLACK_SUBDOMAIN']}.slack.com", class: "Vlt-btn Vlt-btn--secondary" %>
25
- </center>
@@ -1,24 +0,0 @@
1
- <div class="Vlt-grid">
2
- <div class="Vlt-col Vlt-col--M-1of2">
3
- <div class="center">
4
- <h2>
5
- <a href="/tools">
6
- <div><svg class="Vlt-icon Vlt-icon--large Vlt-blue-dark"><use xlink:href="/symbol/volta-icons.svg#Vlt-icon-design-tools"/></svg></div>
7
- SDKs &amp; Tools
8
- </a>
9
- </h2>
10
- <p>The Nexmo libraries allow you to get up and running with<br>Nexmo APIs quickly in your language of choice.</p>
11
- </div>
12
- </div>
13
- <div class="Vlt-col Vlt-col--M-1of2">
14
- <div class="center">
15
- <h2>
16
- <a href="/community">
17
- <div><svg class="Vlt-icon Vlt-icon--large Vlt-blue-dark"><use xlink:href="/symbol/volta-icons.svg#Vlt-icon-group"/></svg></div>
18
- Community
19
- </a>
20
- </h2>
21
- <p>Find out about our talks, community hacks,<br>and what events we'll be at.</p>
22
- </div>
23
- </div>
24
- </div>
@@ -1,26 +0,0 @@
1
- <div class="Vlt-grid Vlt-grid--center">
2
- <div class="Vlt-col Vlt-col--M-1of3 Vlt-col--1of3">
3
- <a class="Vlt-card Nxd-github-card Vlt-left" href="https://github.com/Nexmo/nexmo-dotnet" data-github="Nexmo/nexmo-dotnet">
4
- <h3 class="Vlt-blue-dark">nexmo-dotnet</h3>
5
- <p>Nexmo REST API client for .NET</p>
6
- <img src="//badge.fury.io/nu/nexmo.svg" class="Nxd-github-card__badge" height="18">
7
- <p><small class="Nxd-github-card__meta">
8
- <span>
9
- <span class="Vlt-blue-dark">●</span> C#
10
- </span>
11
- <span>
12
- <svg class="Vlt-icon Vlt-icon--smaller Vlt-icon--text-bottom Vlt-grey-darker" aria-hidden="true"><use xlink:href="/symbol/volta-icons.svg#Vlt-icon-star-full"></use></svg>
13
- <span data-stars>
14
- <svg class="Vlt-icon Vlt-icon--smaller Vlt-icon--text-bottom Vlt-grey-darker" aria-hidden="true"><use xlink:href="/symbol/volta-icons.svg#Vlt-icon-more"></use></svg>
15
- </span>
16
- </span>
17
- <span>
18
- <svg class="Vlt-icon Vlt-icon--smaller Vlt-icon--text-bottom Vlt-grey-darker" aria-hidden="true"><use xlink:href="/symbol/volta-icons.svg#Vlt-icon-fork"/></svg>
19
- <span data-forks>
20
- <svg class="Vlt-icon Vlt-icon--smaller Vlt-icon--text-bottom Vlt-grey-darker" aria-hidden="true"><use xlink:href="/symbol/volta-icons.svg#Vlt-icon-more"/></svg>
21
- </span>
22
- </span>
23
- </small></p>
24
- </a>
25
- </div>
26
- </div>
@@ -1,2 +0,0 @@
1
-
2
- <h2 class="Vlt-title--nomargin Vlt-center"><%= image_tag 'slack.svg', id: 'community-slack-image' %> Join the <%= link_to "Vonage Developer Community Slack", community_slack_path, { :class=>"Vlt-text-btn" } %></h2>
@@ -1,33 +0,0 @@
1
- <div class="Vlt-grid Vlt-grid--center">
2
- <div class="Vlt-col Vlt-col--M-1of2">
3
- <div class="center">
4
- <h2>
5
- <a href="https://www.nexmo.com/blog/category/developer?ref=<%= @content['url']['reference'] %>">
6
- <div><svg class="Vlt-icon Vlt-icon--large Vlt-blue-dark"><use xlink:href="/symbol/volta-brand-icons.svg#Brand-icon-dotnet"/></svg></div>
7
- Nexmo &amp; .NET in action
8
- </a>
9
- </h2>
10
- <p>The Nexmo libraries allow you to get up and running with<br>Nexmo APIs quickly in your language of choice.</p>
11
- </div>
12
- </div>
13
- </div>
14
-
15
- <p class="p-large Vlt-margin--top2 Vlt-center">Examples and inspiration in .NET form</p>
16
-
17
- <div class="Vlt-grid">
18
- <div class="Vlt-col Vlt-col--M-1of2 Vlt-col--1of2">
19
- <a class="Vlt-card" href="https://www.nexmo.com/blog/2018/07/11/add-two-factor-authentication-to-a-microsoft-bot-with-nexmos-verify-api-dr/">
20
- <img src="https://www.nexmo.com/wp-content/uploads/2018/07/2FA-MS-BOT-600x300.png" class="img-full wp-post-image" alt="" srcset="https://www.nexmo.com/wp-content/uploads/2018/07/2FA-MS-BOT-600x300.png 600w, https://www.nexmo.com/wp-content/uploads/2018/07/2FA-MS-BOT-1200x600.png 1200w" sizes="(max-width: 100%) 100vw, 100%">
21
- <h4 class="Vlt-margin--top2">Add two factor authentication to a Microsoft bot with Nexmo’s Verify API</h4>
22
- <p>2FA (Two Factor Authentication) is increasingly used to increase security within applications.
23
- As bots become increasingly popular, developers will need ...</p>
24
- </a>
25
- </div>
26
- <div class="Vlt-col Vlt-col--M-1of2 Vlt-col--1of2">
27
- <a class="Vlt-card" href="https://www.nexmo.com/blog/2018/05/22/getting-started-with-nexmo-number-insight-apis-and-asp-net-dr/">
28
- <img src="https://www.nexmo.com/wp-content/uploads/2018/05/Number-Insight-Nexmo-01-600x300.png" class="img-full wp-post-image" alt="" srcset="https://www.nexmo.com/wp-content/uploads/2018/05/Number-Insight-Nexmo-01-600x300.png 600w, https://www.nexmo.com/wp-content/uploads/2018/05/Number-Insight-Nexmo-01-768x384.png 768w, https://www.nexmo.com/wp-content/uploads/2018/05/Number-Insight-Nexmo-01.png 1128w" sizes="(max-width: 100%) 100vw, 100%">
29
- <h4 class="Vlt-margin--top2">Getting Started with Nexmo Number Insight APIs and ASP.NET</h4>
30
- <p>Nexmo's Number Insight API is perfect for real-time validation of user input that could potentially protect your apps from ...</p>
31
- </a>
32
- </div>
33
- </div>
@@ -1,40 +0,0 @@
1
- <div class="container">
2
- <h1 class="Vlt-title--icon Vlt-title--center Vlt-margin--top4">
3
- <svg class="Vlt-yellow"><use xlink:href="/symbol/volta-icons.svg#Vlt-<%=@content['images']['top_icon']%>" /></svg>
4
- <%=@content['headers']['leader']%>
5
- </h1>
6
-
7
- <div class="Vlt-center">
8
- <p class="p-large"><%=@content['headers']['subheading']%></p>
9
- <% if @content['button']['signup']['show'] %>
10
- <a role="link" aria-label="Try it free" class="Vlt-btn Vlt-btn--secondary Vlt-btn--large" href="https://dashboard.nexmo.com/sign-up?ref=<%= @content['url']['reference'] %>">Try it Free</a>
11
- <% end %>
12
- </div>
13
-
14
- <hr class="hr--tall">
15
- <%= render 'community' %>
16
- <hr class="hr--tall">
17
- <%= render 'slack' %>
18
- <hr class="hr--tall">
19
- <%= render 'xwithy' %>
20
-
21
- <% if @content['sdk']['highlight'] %>
22
- <%= render partial: @content['sdk']['library_name'] %>
23
- <% end %>
24
-
25
- <hr class="hr--tall">
26
- <%= render 'products' %>
27
- <hr class="hr--tall">
28
-
29
-
30
-
31
-
32
- <div class="Vlt-center">
33
- <h3>Do you have a question?</h3>
34
- <p class="p-large">We're always here to help. Check out our <a href="https://help.nexmo.com">support FAQs</a>, contact our super helpful <a href="https://help.nexmo.com/hc/en-us/requests/new">support team</a> or get in touch on <a href="http://stackoverflow.com/questions/tagged/nexmo">Stack Overflow</a>.<br />Your data will be treated in accordance with our <a href="https://www.nexmo.com/privacy-policy">Privacy Policy</a>, which sets out the rights you have in respect of your data.</p>
35
- </div>
36
-
37
-
38
- </div>
39
-
40
-