kapost-bootstrapper 0.1.1 → 0.1.3

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
  SHA1:
3
- metadata.gz: 4e0b4fd05ccaa6ca7895b63404e848a3db68d2d8
4
- data.tar.gz: ce85c94d469ee43984d26e5e89531d0d40e2914e
3
+ metadata.gz: f03f2ad2d76982768b3169d0c5ca3ad8d94f6153
4
+ data.tar.gz: 42cea242ba11e2ea03b13e0aa6ae2ce317992470
5
5
  SHA512:
6
- metadata.gz: b172a824182619305db3d186b4665e7f81fd12d4b3f225d85b3d26cef97a36984b9205d2fe1572398698ce4607d54694e91036d556cf156036b90850c1e9bc15
7
- data.tar.gz: 9a48cc7a7c985535c60744051ab141597208d541f2b0f0aea9d0d7a423fbb522fab9ba62306c1446aaef1f7677a9b3d7cec99aec3f662e9ef222dff93d5bbb86
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-bootstrapper || gem install kapost-bootstrapper
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/ruby
28
+ #!/usr/bin/env ruby
29
29
 
30
30
  require "pathname"
31
31
 
@@ -1,5 +1,5 @@
1
1
  module Kapost
2
2
  class Bootstrapper
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
@@ -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.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-07 00:00:00.000000000 Z
11
+ date: 2016-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler