middleman-hashicorp 0.3.32 → 0.3.33

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: 64c5844fa5989b67c7ee5a02c092fdb8849b4a94777230cc5043df9452f78b85
4
- data.tar.gz: '0961f7fa5e4c03a46d1933491541ced22001b239c3096eacce2ec2b52c8a6441'
3
+ metadata.gz: 92d147a8c4c6eda6797ad0799f20a2ed68df8bb864a47a30cc685d6c7bfeba84
4
+ data.tar.gz: d9b4beb7396f05bc8a4e78de41000a85f1fa7e615608f4ceacb300437a82409d
5
5
  SHA512:
6
- metadata.gz: 2ca39295048a76f894312b550d1cd78462f3db3e5b96ec9652ad45f9c826136a15ebedc26b9c2686270943d6e6861e6214305ff1812c344a1c6033817ca0f1d6
7
- data.tar.gz: 29467ed920342f270c812d902fc6ae6258e196545ec265ce5a908e38e938ab54d93c10ab66d013f727f07954c2ec091277958cb4e6c130fe737ecd2fcbd1a28f
6
+ metadata.gz: e86ae6a8fe16d0f3b3001a22d7ce82c1d8a2e101275d16c0e1957a6ba5c83803f8eec73feb96f3847366d9805b1919f01122e5500334e47c198fe9d0d6d5efd8
7
+ data.tar.gz: 12c1a22ecfcb7839ef6d1a5d5a22e6ff82635bf1bf0818e716500365c7a38b306a1805b69b009c11c4d500aa6480e5ee981aa3524b24817813c5b4c3a119bca0
data/Makefile CHANGED
@@ -4,7 +4,7 @@ docker:
4
4
  @echo "==> Building container v${VERSION}..."
5
5
  @docker build \
6
6
  --file "docker/Dockerfile" \
7
- --squash \
7
+ --build-arg GEM_VERSION=${VERSION} \
8
8
  --tag "hashicorp/middleman-hashicorp" \
9
9
  --tag "hashicorp/middleman-hashicorp:${VERSION}" \
10
10
  --pull \
@@ -6,9 +6,11 @@
6
6
  * @param {Boolean} [link=false] - if true, tracks a link click
7
7
  */
8
8
  function track(selector, cb, link = false) {
9
- each(document.querySelectorAll(selector), el => {
9
+ each(document.querySelectorAll(selector), function(el) {
10
10
  var params = cb
11
- if (typeof cb === 'function') params = cb(el)
11
+ if (typeof cb === 'function') {
12
+ params = cb(el)
13
+ }
12
14
  var event = params.event
13
15
  delete params.event
14
16
  if (link) {
data/docker/Dockerfile CHANGED
@@ -1,6 +1,8 @@
1
1
  FROM ruby:2.3-alpine
2
2
  MAINTAINER Seth Vargo <seth@hashicorp.com>
3
3
 
4
+ ARG GEM_VERSION
5
+
4
6
  # Install packages
5
7
  RUN apk add --no-cache bash build-base curl jq nodejs python py-setuptools wget git
6
8
 
@@ -13,19 +15,12 @@ RUN cd /tmp && \
13
15
  cd .. && \
14
16
  rm -rf s3cmd-1.6.1*
15
17
 
16
- # Add the context
17
- ADD pkg/ /pkg
18
-
19
18
  # Upgrade bundler
20
19
  RUN gem update --no-document && \
21
20
  gem cleanup
22
21
 
23
22
  # Install the bundle
24
- RUN gem install /pkg/middleman-hashicorp-*.gem --no-document \
25
- && rm -rf /pkg
26
-
27
- # Remove the package
28
- RUN rm -rf /pkg
23
+ RUN gem install middleman-hashicorp -v ${GEM_VERSION} --no-document
29
24
 
30
25
  # Mounts
31
26
  WORKDIR /website
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module HashiCorp
3
- VERSION = "0.3.32"
3
+ VERSION = "0.3.33"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-hashicorp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.32
4
+ version: 0.3.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Vargo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-08 00:00:00.000000000 Z
11
+ date: 2018-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
239
239
  version: '0'
240
240
  requirements: []
241
241
  rubyforge_project:
242
- rubygems_version: 2.7.3
242
+ rubygems_version: 2.7.6
243
243
  signing_key:
244
244
  specification_version: 4
245
245
  summary: A series of helpers for consistency among HashiCorp's middleman sites