kapost-bootstrapper 0.1.3 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kapost/bootstrapper/version.rb +1 -1
- data/lib/kapost/bootstrapper.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4d7530215a80ce5f20423d078b28352e22c65bb
|
4
|
+
data.tar.gz: 36bc6449556de23f09721e31d29969cda77b557d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fed3eaa934921b85d701c4e7980a4d9ffd959749ef35a3d7043f2f42db4bb98939348e91446a0e87e4d6f3e533d8c62682ec1d516914172d84aaa4d6fffe562a
|
7
|
+
data.tar.gz: cc53dff5d135a87cf4bb3db5e5c01223a78a752a0741d9fb5d786d328f991448b51733b628ecc5b1b6b9b7b61217a24041fb77bd683c8759206910fe28121173
|
data/lib/kapost/bootstrapper.rb
CHANGED
@@ -16,6 +16,10 @@ module Kapost
|
|
16
16
|
instance_eval(&block) if os == :macosx
|
17
17
|
end
|
18
18
|
|
19
|
+
def debian(&block)
|
20
|
+
instance_eval(&block) if os == :debian
|
21
|
+
end
|
22
|
+
|
19
23
|
def check(command, help = nil, version: nil, &block)
|
20
24
|
success = say(label(command, version)) do
|
21
25
|
if block_given?
|
@@ -95,7 +99,7 @@ module Kapost
|
|
95
99
|
when /darwin|mac os/
|
96
100
|
:macosx
|
97
101
|
when /linux/
|
98
|
-
:linux
|
102
|
+
installed?("apt-get") ? :debian : :linux
|
99
103
|
else
|
100
104
|
fail "unknown os: #{RUBY_PLATFORM.inspect}"
|
101
105
|
end
|
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.
|
4
|
+
version: 0.2.0
|
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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
96
|
rubyforge_project:
|
97
|
-
rubygems_version: 2.
|
97
|
+
rubygems_version: 2.6.4
|
98
98
|
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: A small helper utility for your app to declare and setup its system dependencies
|