pivotal-screw-unit-server 0.5.6 → 0.5.7
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.
- data/CHANGES +2 -2
- data/Rakefile +1 -0
- data/VERSION.yml +1 -1
- data/standalone.ru +20 -0
- metadata +2 -1
data/CHANGES
CHANGED
data/Rakefile
CHANGED
data/VERSION.yml
CHANGED
data/standalone.ru
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
dir = File.dirname(__FILE__)
|
2
|
+
require "#{dir}/lib/screw_unit"
|
3
|
+
require "sinatra"
|
4
|
+
|
5
|
+
ScrewUnit.spec_root_path = ENV["SCREW_UNIT_SPEC_ROOT"] || File.expand_path("./spec/javascripts")
|
6
|
+
if File.directory?(ScrewUnit.spec_root_path)
|
7
|
+
puts "SCREW_UNIT_SPEC_ROOT is #{ScrewUnit.spec_root_path}"
|
8
|
+
else
|
9
|
+
raise "SCREW_UNIT_SPEC_ROOT #{ScrewUnit.spec_root_path} must be a directory"
|
10
|
+
end
|
11
|
+
|
12
|
+
ScrewUnit.public_path = ENV["SCREW_UNIT_PUBLIC"] || File.expand_path("./public")
|
13
|
+
if File.directory?(ScrewUnit.public_path)
|
14
|
+
puts "SCREW_UNIT_PUBLIC is #{ScrewUnit.public_path}"
|
15
|
+
else
|
16
|
+
raise "SCREW_UNIT_PUBLIC #{ScrewUnit.public_path} must be a directory"
|
17
|
+
end
|
18
|
+
|
19
|
+
use ScrewUnit::App
|
20
|
+
run Sinatra::Application
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pivotal-screw-unit-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pivotal Labs
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- spec/functional_suite.rb
|
94
94
|
- spec/spec_suite.rb
|
95
95
|
- spec/unit_suite.rb
|
96
|
+
- standalone.ru
|
96
97
|
- vendor/js-test-core/CHANGES
|
97
98
|
- vendor/js-test-core/README
|
98
99
|
- vendor/js-test-core/Rakefile
|