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 +4 -4
- data/Makefile +1 -1
- data/assets/javascripts/hashicorp/analytics.js +4 -2
- data/docker/Dockerfile +3 -8
- data/lib/middleman-hashicorp/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92d147a8c4c6eda6797ad0799f20a2ed68df8bb864a47a30cc685d6c7bfeba84
|
4
|
+
data.tar.gz: d9b4beb7396f05bc8a4e78de41000a85f1fa7e615608f4ceacb300437a82409d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e86ae6a8fe16d0f3b3001a22d7ce82c1d8a2e101275d16c0e1957a6ba5c83803f8eec73feb96f3847366d9805b1919f01122e5500334e47c198fe9d0d6d5efd8
|
7
|
+
data.tar.gz: 12c1a22ecfcb7839ef6d1a5d5a22e6ff82635bf1bf0818e716500365c7a38b306a1805b69b009c11c4d500aa6480e5ee981aa3524b24817813c5b4c3a119bca0
|
data/Makefile
CHANGED
@@ -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')
|
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
|
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
|
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.
|
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-
|
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.
|
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
|