opal-spec 0.2.16 → 0.2.17
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -4
- data/Rakefile +1 -3
- data/lib/opal/spec/rake_task.rb +3 -2
- data/lib/opal/spec/version.rb +1 -1
- data/opal/opal/spec/browser_formatter.rb +2 -2
- data/opal-spec.gemspec +5 -0
- metadata +51 -3
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Rakefile
CHANGED
data/lib/opal/spec/rake_task.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'opal/spec'
|
2
|
+
require 'opal-sprockets'
|
2
3
|
|
3
4
|
module Opal
|
4
5
|
module Spec
|
@@ -16,7 +17,7 @@ module Opal
|
|
16
17
|
require 'webrick'
|
17
18
|
|
18
19
|
server = fork do
|
19
|
-
|
20
|
+
app = Opal::Server.new { |s|
|
20
21
|
s.main = 'opal/spec/sprockets_runner'
|
21
22
|
s.append_path 'spec'
|
22
23
|
s.debug = false
|
@@ -24,7 +25,7 @@ module Opal
|
|
24
25
|
block.call s if block
|
25
26
|
}
|
26
27
|
|
27
|
-
Rack::Server.start(:app =>
|
28
|
+
Rack::Server.start(:app => app, :Port => PORT, :AccessLog => [],
|
28
29
|
:Logger => WEBrick::Log.new("/dev/null"))
|
29
30
|
end
|
30
31
|
|
data/lib/opal/spec/version.rb
CHANGED
@@ -65,9 +65,9 @@ module OpalSpec
|
|
65
65
|
@groups_element = $global.document.createElement 'ul'
|
66
66
|
@groups_element.className = 'example_groups'
|
67
67
|
|
68
|
-
target = $global.document.getElementById 'opal-spec-output'
|
68
|
+
#target = $global.document.getElementById 'opal-spec-output'
|
69
69
|
|
70
|
-
target
|
70
|
+
target = $global.document.body unless target
|
71
71
|
|
72
72
|
target.appendChild @summary_element
|
73
73
|
target.appendChild @groups_element
|
data/opal-spec.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opal-spec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.17
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,8 +9,56 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
13
|
-
dependencies:
|
12
|
+
date: 2013-06-16 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: opal
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.4.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.4.1
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: opal-sprockets
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 0.1.0
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.1.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rake
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
14
62
|
description: Opal compatible spec library
|
15
63
|
email: adam.beynon@gmail.com
|
16
64
|
executables: []
|