bb8 0.3.0 → 0.3.1
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/lib/bb8/commands/initialise_environment.rb +0 -5
- data/lib/bb8/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e532986dc42685ddb6d99660d5c8b4e49f2694d
|
|
4
|
+
data.tar.gz: ec4e0c5ac863b1621785fa2ed73957a4e23eae07
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48590758e6f758245bb9712adc5b4ee0a1ef757c5fb1ef5d743ea1ecb28709b7b8ae76ed0711aaf9c18f08fd1ad8b1b8784a1693c5e7484913d0fc3e29efe184
|
|
7
|
+
data.tar.gz: 1bb4c13a6ec690aa9959d9b2e719aea43788dfa9675620d8cfb6d60f80df1226948c5aa483068415921c53f67d08e2b8131aba1514bc870a6f25ad6fbb797050
|
|
@@ -12,7 +12,6 @@ class BB8::Commands::InitialiseEnvironment
|
|
|
12
12
|
Dir.chdir name
|
|
13
13
|
File.write '.bb8_bundle', voltos_bundle
|
|
14
14
|
|
|
15
|
-
BB8::Voltos::Bundle.create voltos_bundle unless bundle_exists?
|
|
16
15
|
append_token unless set_bundle?
|
|
17
16
|
BB8::SetEncryptionKeys.call
|
|
18
17
|
end
|
|
@@ -33,10 +32,6 @@ class BB8::Commands::InitialiseEnvironment
|
|
|
33
32
|
} || BB8::Voltos::Bundle.create(voltos_bundle)
|
|
34
33
|
end
|
|
35
34
|
|
|
36
|
-
def bundle_exists?
|
|
37
|
-
BB8::Voltos.bundles.collect(&:name).include? voltos_bundle
|
|
38
|
-
end
|
|
39
|
-
|
|
40
35
|
def set_bundle?
|
|
41
36
|
File.exist?('.env') && File.read('.env')[/^VOLTOS_KEY=(\w+)/]
|
|
42
37
|
end
|
data/lib/bb8/version.rb
CHANGED