flok 0.0.24 → 0.0.25
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/bin/flok +1 -0
- data/lib/flok/version.rb +1 -1
- data/spec/etc/cli_spec.rb +5 -3
- 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: 5669e310a252edccf7e248ce60fda2ae16d468b8
|
4
|
+
data.tar.gz: 6adb674423cdc76cae2b03ed5f9646c789b57b2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 342041923b3ea89cb69a0eb53e741203301ed9a4657b5e33d207192b84b95ae9a764320fea2296428fadb4fbc8bcf85a8f0c5573aaca51440928447f8875bb8c
|
7
|
+
data.tar.gz: e7f5c98d44bf066a3ba86f79f82776491383a54f7de056ee075255fc02db60089b5d678c308eb150582c1f1698b0afe973a8b3e38f497a344537a65befcc02fb
|
data/bin/flok
CHANGED
@@ -66,6 +66,7 @@ class FlokCLI < Thor
|
|
66
66
|
desc "server", "Monitors for changes within your flok application and triggers an automatic rebuild of ./products/* for a PLATFORM when something in ./app changes"
|
67
67
|
include SpecHelpers #Contains sh2
|
68
68
|
def server platform
|
69
|
+
ENV['PLATFORM'] = platform
|
69
70
|
#Ensure puts does something because it's on another thread
|
70
71
|
$stdout.sync = true
|
71
72
|
|
data/lib/flok/version.rb
CHANGED
data/spec/etc/cli_spec.rb
CHANGED
@@ -41,12 +41,14 @@ RSpec.describe "CLI" do
|
|
41
41
|
end
|
42
42
|
|
43
43
|
it "Can be executed via bundle exec" do
|
44
|
-
|
45
|
-
|
44
|
+
Flok.platforms.each do |platform|
|
45
|
+
flok_new do
|
46
|
+
flok "build #{platform}"
|
47
|
+
end
|
46
48
|
end
|
47
49
|
end
|
48
50
|
|
49
|
-
|
51
|
+
it "Can create a new project with correct directories" do
|
50
52
|
flok_new do
|
51
53
|
#Should include all entities in the project template with the exception
|
52
54
|
#of erb extenseded entities (which will still be included, but they each
|