flok 0.0.23 → 0.0.24
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/flok/version.rb +1 -1
- data/spec/etc/cli_spec.rb +5 -5
- 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: 5a0fe1965c56b018c43afa1a2ae7b03e8be06bef
|
4
|
+
data.tar.gz: 70a82923ae283afdb6e23fa2a5c8e1a736cc1197
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93fd56fe6bc0b7e27b46f4ff73079d1033151862003c5a1e7836f72ef4cfb4e95c27ec9653aa89a495f03441d6b8389ca21ac4f9fd94f52955bb598d0fffca60
|
7
|
+
data.tar.gz: 689f0325be843040dc32023b4be348cb549b814b7dcbbee781638c3f0b8befac2340588d83833f7d18d76f1e74ddc9bd71527505fef50cab37dda1f3fbe37a7e
|
data/lib/flok/version.rb
CHANGED
data/spec/etc/cli_spec.rb
CHANGED
@@ -14,7 +14,6 @@ def flok args
|
|
14
14
|
#Execute
|
15
15
|
ENV['BUNDLE_GEMFILE'] = File.join(Dir.pwd, "Gemfile")
|
16
16
|
ENV['RUBYOPT'] = ""
|
17
|
-
system('bundle install')
|
18
17
|
res = system("bundle exec flok #{args}")
|
19
18
|
raise "Could not execute bundle exec flok #{args.inspect}" unless res
|
20
19
|
end
|
@@ -29,6 +28,7 @@ def flok_new
|
|
29
28
|
system("flok new test")
|
30
29
|
|
31
30
|
Dir.chdir "test" do
|
31
|
+
system('bundle install')
|
32
32
|
yield
|
33
33
|
end
|
34
34
|
end
|
@@ -142,7 +142,7 @@ RSpec.describe "CLI" do
|
|
142
142
|
lib_path = File.join(File.dirname(__FILE__), "../../lib")
|
143
143
|
|
144
144
|
#Now execute the command with a set of arguments
|
145
|
-
sh2("
|
145
|
+
sh2("bundle exec flok server #{platform}", /BUILD RAN/) do |inp, out|
|
146
146
|
#The server should always trigger a build on it's first run
|
147
147
|
expect(dirs).to include "products"
|
148
148
|
Dir.chdir "products" do
|
@@ -177,7 +177,7 @@ RSpec.describe "CLI" do
|
|
177
177
|
lib_path = File.join(File.dirname(__FILE__), "../../lib")
|
178
178
|
|
179
179
|
#Now execute the command with a set of arguments
|
180
|
-
sh2("
|
180
|
+
sh2("bundle exec flok server #{platform}", /BUILD RAN/) do |inp, out|
|
181
181
|
#Get the original build
|
182
182
|
application_user_js = File.read("products/#{platform}/application_user.js")
|
183
183
|
|
@@ -215,7 +215,7 @@ RSpec.describe "CLI" do
|
|
215
215
|
lib_path = File.join(File.dirname(__FILE__), "../../lib")
|
216
216
|
|
217
217
|
#Now execute the command with a set of arguments
|
218
|
-
sh2("
|
218
|
+
sh2("bundle exec flok server #{platform}", /BUILD RAN/) do |inp, out|
|
219
219
|
real_application_user_js = File.read("products/#{platform}/application_user.js")
|
220
220
|
|
221
221
|
#Grab the application_user.js file
|
@@ -235,7 +235,7 @@ RSpec.describe "CLI" do
|
|
235
235
|
lib_path = File.join(File.dirname(__FILE__), "../../lib")
|
236
236
|
|
237
237
|
#Now execute the command with a set of arguments
|
238
|
-
sh2("
|
238
|
+
sh2("bundle exec flok server #{platform}", /BUILD RAN/) do |inp, out|
|
239
239
|
#Get the original
|
240
240
|
application_user_js = wget "http://localhost:9992/application_user.js"
|
241
241
|
|