kapost-bootstrapper 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/kapost/bootstrapper/version.rb +1 -1
- data/lib/kapost/bootstrapper.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f03f2ad2d76982768b3169d0c5ca3ad8d94f6153
|
4
|
+
data.tar.gz: 42cea242ba11e2ea03b13e0aa6ae2ce317992470
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fa148d0ff45acb295d9fce58a1d5648f8bb545001c2e14f16cff9ace76096b796520fc5557f6c3623060e5e62ef75c43b99632f25c8ba55cf8f35b5927aa684
|
7
|
+
data.tar.gz: cb267036a47e592f2f95abbac0c36dde7e5dc618f850509bb3f1b5cdbb0b661e906201aab9a8ac3eaeeb691911eb80cd9eb5f743796b4711b53759ff9dcf1a9f
|
data/README.md
CHANGED
@@ -13,7 +13,7 @@ Add a file to your project called `bin/setup` with these contents:
|
|
13
13
|
|
14
14
|
set -euvxo pipefail
|
15
15
|
|
16
|
-
gem which kapost
|
16
|
+
gem which kapost/bootstrapper || gem install kapost-bootstrapper
|
17
17
|
|
18
18
|
./bin/bootstrap
|
19
19
|
```
|
@@ -25,7 +25,7 @@ Then, use the gem's helper functions in your file called `./bin/bootstrap`. See
|
|
25
25
|
Example `./bin/bootstrap`:
|
26
26
|
|
27
27
|
```ruby
|
28
|
-
#!/usr/bin/env
|
28
|
+
#!/usr/bin/env ruby
|
29
29
|
|
30
30
|
require "pathname"
|
31
31
|
|
data/lib/kapost/bootstrapper.rb
CHANGED
@@ -34,18 +34,18 @@ module Kapost
|
|
34
34
|
|
35
35
|
def check_bundler
|
36
36
|
check "bundler" do
|
37
|
-
sh "gem install bundler --conservative", verbose: false
|
37
|
+
sh "gem install bundler --conservative &>/dev/null", verbose: false
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
41
|
def bundle
|
42
42
|
check "gems" do
|
43
|
-
sh "bundle check || bundle install", verbose: false
|
43
|
+
sh "bundle check &>/dev/null || bundle install &>/dev/null", verbose: false
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
47
|
def installed?(command)
|
48
|
-
_, status = cli.capture2e "type #{command}"
|
48
|
+
_, status = cli.capture2e "bash -c 'type #{command}'"
|
49
49
|
status.success?
|
50
50
|
end
|
51
51
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kapost-bootstrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Sadauskas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|