flok 0.0.26 → 0.0.27

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: dd816948767d1fa84885249c917195471b4a4697
4
- data.tar.gz: 3d873f4ad8b3f089cb6a62cefd5b299f065b3802
3
+ metadata.gz: 60b7f3c4cb70e4020addfd78e25d38af94a44071
4
+ data.tar.gz: 7197d3b84a90e8ee847832e8e23a6d6548d2d2f5
5
5
  SHA512:
6
- metadata.gz: 07ef018205e1e8d48327ed5a70b61bdcb7aade46f3cb966a1c4f5b93371443622875187d40798b5ee4ea1f3372ac4fad141cd0753843cc3f43b9b5c454420917
7
- data.tar.gz: bb8172652f906c8e2810d6621f7ddb9231e9044c0b27a4248c7fccc82c736aa263ef1284e6a96e21420b3d5b3a6489ef7e50a86b37c907ee869ae2732850f715
6
+ metadata.gz: d3ef95cdaa67a974d0f816ee3e3a5965b7ef115ba0cb93644528a681958911558f269febc4e07134b5a85ea6a5ad20db08620aa220cf76eb2901e1038d05e095
7
+ data.tar.gz: aa2c105f8416a6f88759aaf3da96610b4d26299d7bedddc8b9b04fa9a4d9bae93c4937ca6edd4b40c998a90134b75aab466487683010e42161f22378fbdf91d8
data/lib/flok/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Flok
2
- VERSION = "0.0.26"
2
+ VERSION = "0.0.27"
3
3
  end
data/spec/etc/cli_spec.rb CHANGED
@@ -68,6 +68,7 @@ it "Can create a new project with correct directories" do
68
68
 
69
69
  it "Can build a project with every type of platform" do
70
70
  Flok.platforms.each do |platform|
71
+ ENV['PLATFORM'] = platform
71
72
  flok_new do
72
73
  #Build a new project
73
74
  flok "build #{platform}"
@@ -122,11 +123,10 @@ it "Can create a new project with correct directories" do
122
123
  end
123
124
 
124
125
  Flok.platforms.each do |platform|
126
+ ENV['PLATFORM'] = platform
125
127
  @platform = platform
126
128
  controller_rb = File.read('./spec/etc/user_compiler/controller0.rb')
127
129
 
128
-
129
-
130
130
  #The file with content should be longer when compiled into the flat application_user.js
131
131
  len_with_content = compile_with_file "./spec/etc/user_compiler/controller0.rb"
132
132
  len_no_content = compile_with_file
@@ -138,6 +138,7 @@ it "Can create a new project with correct directories" do
138
138
  include SpecHelpers
139
139
  it "server does build project when first run" do
140
140
  Flok.platforms.each do |platform|
141
+ ENV['PLATFORM'] = platform
141
142
  flok_new do
142
143
  #Start the server
143
144
  #Get path to the flok binary relative to this file
@@ -145,7 +146,7 @@ it "Can create a new project with correct directories" do
145
146
  lib_path = File.join(File.dirname(__FILE__), "../../lib")
146
147
 
147
148
  #Now execute the command with a set of arguments
148
- sh2("bundle exec flok server #{platform}", /BUILD RAN/) do |inp, out|
149
+ sh2("bundle exec flok server", /BUILD RAN/) do |inp, out|
149
150
  #The server should always trigger a build on it's first run
150
151
  expect(dirs).to include "products"
151
152
  Dir.chdir "products" do
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.26
4
+ version: 0.0.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - seo