pivotal-screw-unit-server 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +3 -0
- data/README.markdown +7 -2
- data/VERSION.yml +1 -1
- data/bin/screw_unit_server +1 -5
- data/lib/screw_unit.rb +1 -0
- data/lib/screw_unit/thin_runner.rb +11 -0
- metadata +2 -1
data/CHANGES
CHANGED
data/README.markdown
CHANGED
@@ -4,7 +4,7 @@ The Screw Unit ruby library is a server runner for the Screw Unit javascript lib
|
|
4
4
|
# Installing Screw Unit
|
5
5
|
You can use Screw Unit as a gem or as a Rails plugin.
|
6
6
|
To install the gem, run:
|
7
|
-
sudo gem install
|
7
|
+
sudo gem install pivotal-screw-unit-server
|
8
8
|
|
9
9
|
To install the plugin with Rails 2.1.0:
|
10
10
|
script/plugin install git://github.com/pivotal/screw-unit-server.git
|
@@ -19,7 +19,12 @@ After installing screw unit server, run:
|
|
19
19
|
The Rails plugin gives you generators when using Screw Unit in a Rails environment.
|
20
20
|
|
21
21
|
# Running Screw Unit Server
|
22
|
-
|
22
|
+
You can run the Screw Unit Server from the command line or via a Rails script.
|
23
|
+
You can pass in the spec_file_path and public_path to the runner scripts,
|
24
|
+
or by setting the SCREW_UNIT_SPEC_ROOT and SCREW_UNIT_PUBLIC environment variables.
|
25
|
+
|
26
|
+
To run from the command line:
|
27
|
+
screw_unit_server [spec_file_path] [public_path]
|
23
28
|
|
24
29
|
If you are using screw_unit_server as a Rails plugin, you can simply run:
|
25
30
|
script/screw_unit_server
|
data/VERSION.yml
CHANGED
data/bin/screw_unit_server
CHANGED
data/lib/screw_unit.rb
CHANGED
@@ -5,6 +5,7 @@ $:.unshift(File.expand_path("#{dir}/../vendor/js-test-core/lib"))
|
|
5
5
|
require "js_test_core"
|
6
6
|
|
7
7
|
require "#{dir}/screw_unit/representations"
|
8
|
+
require "#{dir}/screw_unit/thin_runner"
|
8
9
|
|
9
10
|
JsTestCore.core_path = File.expand_path("#{dir}/../core/lib")
|
10
11
|
JsTestCore::Resources::SpecFile.spec_representation_class = ScrewUnit::Representations::Spec
|
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pivotal Labs
|
@@ -89,6 +89,7 @@ files:
|
|
89
89
|
- lib/screw_unit.rb
|
90
90
|
- lib/screw_unit/representations.rb
|
91
91
|
- lib/screw_unit/representations/spec.html.rb
|
92
|
+
- lib/screw_unit/thin_runner.rb
|
92
93
|
- spec/functional_suite.rb
|
93
94
|
- spec/spec_suite.rb
|
94
95
|
- spec/unit_suite.rb
|