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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36ee09730e9f19e332b7c1cee80be3b26bf5c11e
4
- data.tar.gz: b1f842a2a19bea7cd6db737cd1a29e6813d35e08
3
+ metadata.gz: 5a0fe1965c56b018c43afa1a2ae7b03e8be06bef
4
+ data.tar.gz: 70a82923ae283afdb6e23fa2a5c8e1a736cc1197
5
5
  SHA512:
6
- metadata.gz: 2cb2aa688b989b5be991f43a8cdb7807c3d4878da48bf774f5b9bcbd66f99f3a65c817168f769ec52eaa09f2caeade4cdf368f801851c6226af9c48fce974938
7
- data.tar.gz: ddf77bccde7a3972164670c058741dc68e552f185bf7f8db40c36e29f247c75191fa6b25471c1599aafce8f680bafd53aa0dd460d8e0057890e06db268a454c5
6
+ metadata.gz: 93fd56fe6bc0b7e27b46f4ff73079d1033151862003c5a1e7836f72ef4cfb4e95c27ec9653aa89a495f03441d6b8389ca21ac4f9fd94f52955bb598d0fffca60
7
+ data.tar.gz: 689f0325be843040dc32023b4be348cb549b814b7dcbbee781638c3f0b8befac2340588d83833f7d18d76f1e74ddc9bd71527505fef50cab37dda1f3fbe37a7e
data/lib/flok/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Flok
2
- VERSION = "0.0.23"
2
+ VERSION = "0.0.24"
3
3
  end
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("ruby -I#{lib_path} #{bin_path} server #{platform}", /BUILD RAN/) do |inp, out|
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("ruby -I#{lib_path} #{bin_path} server #{platform}", /BUILD RAN/) do |inp, out|
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("ruby -I#{lib_path} #{bin_path} server #{platform}", /BUILD RAN/) do |inp, out|
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("ruby -I#{lib_path} #{bin_path} server #{platform}", /BUILD RAN/) do |inp, out|
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.23
4
+ version: 0.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - seo