bullet_train 1.0.29 → 1.0.30

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: b21c5d19664f00d67f8d24604a6aadf16d34074b4471118893dc4245d52aa048
4
- data.tar.gz: 68866b87e82a35d9005c0e75259f44f50a0b2607176e78d7de4f7d6f729a82be
3
+ metadata.gz: 4daae6a44c0ee84d06666767d1ca5b73655b3ed98aa0b9efcffb019c5691edf7
4
+ data.tar.gz: 0ca25849d1a29c888d6687ca4fbcb11a31db8ba8cc23ed96a6aaf61e484fe4b1
5
5
  SHA512:
6
- metadata.gz: 8744327543da313a00acb719c0b838fb380c5ba10946291ecb3c7d0ba83c927a3cb98ecff024a93480ad0ed044bc1e171c91c8def9c4c58679ce2be5db4e6b51
7
- data.tar.gz: 74d3acfc5ab9258eb3a3eaaea9e313757a26469404d04bfc5b0c0f210c2f60d3a39abe81d8d563d23a55d019ed813f55a583683d7d2ee24b23379a870cec23c6
6
+ metadata.gz: 9cc32562c77ed0a146aab0a8fdc3b1e2e3e45911d94c5bfc31cd0a259f17ca9de44481e025b0f7de6fceb2a5286db47e86179d17e859d1bedd06b9104955d538
7
+ data.tar.gz: f155cfc57b9f831c68c1e984272fe815784ab2ae1bee3713bb0ff68ab3e480c235adb30d603c2056b097c24789567c9e250c7aaab8eebd18da01a90006eaac95
@@ -5,20 +5,20 @@
5
5
  <%
6
6
  # we're going to use the
7
7
  body = Nokogiri::HTML(@body)
8
- title = body.css('h1').first.text.presence || t('bullet_train.tagline')
8
+ title = body.css('h1').first.text.presence || t('application.tagline')
9
9
  first_paragraph = body.css('p').first
10
10
  preceding_heading = first_paragraph&.xpath("preceding-sibling::h2")
11
- description = [preceding_heading&.text, first_paragraph&.text].select(&:present?).join(" — ") || t('bullet_train.description')
11
+ description = [preceding_heading&.text, first_paragraph&.text].select(&:present?).join(" — ") || t('application.description')
12
12
  image_url = "https://avatars.githubusercontent.com/u/5976880?s=280&amp;v=4"
13
13
  site_name = "Bullet Train Developer Documentation"
14
14
  %>
15
15
 
16
16
  <% content_for :title do %>
17
- <title><%= [site_name, title, t('bullet_train.tagline')].select(&:present?).uniq.first(2).reverse.join(' — ') %></title>
17
+ <title><%= [site_name, title, t('application.tagline')].select(&:present?).uniq.first(2).reverse.join(' — ') %></title>
18
18
  <% end %>
19
19
 
20
20
  <%= render 'themes/light/layouts/head' %>
21
- <meta content="<%= t('bullet_train.keywords') %>" name="keywords" />
21
+ <meta content="<%= t('application.keywords') %>" name="keywords" />
22
22
  <meta content="<%= description.truncate(200) %>" name="description" />
23
23
  <meta name="twitter:image:src" content="<%= image_url %>" />
24
24
  <meta name="twitter:site" content="@bullettrainco" />
@@ -1,3 +1,3 @@
1
1
  module BulletTrain
2
- VERSION = "1.0.29"
2
+ VERSION = "1.0.30"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.29
4
+ version: 1.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver