oojspec 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/javascripts/oojspec/runner.js.coffee +3 -3
- data/lib/oojspec/version.rb +1 -1
- metadata +22 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4eda3082b69bbc2d0046e3fdd454581594dcd707
|
4
|
+
data.tar.gz: c3a5113fa8d1fe803197e39026ccdd649dd73e77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d94e21d11e3fdea1036101bbf7f92063a43e2c54f8452f3da3c0651fe0134a474153d13488d12871f039b00c76776bcb5e3167a7ef068f81d40bfaecb68c948e
|
7
|
+
data.tar.gz: 63d394f2127df75e614b93bcf79679fe89f414b351e5e4e784bab9039bcc709c26f6a4d77888bcad14ecef32cb1edd0468fa4276f021258eeda24295086c0f31
|
@@ -20,8 +20,8 @@ _.extend oojspec, new class OojspecRunner
|
|
20
20
|
@_iframesLoadedCount = 0
|
21
21
|
@_iframeByWindow = {}
|
22
22
|
@_iframeWindows = []
|
23
|
-
@on 'iframe-start', (w)=> @_iframeByWindow[w].style.display = ''
|
24
|
-
@on 'iframe-end', (w)=> @_iframeByWindow[w].style.display = 'none'
|
23
|
+
@on 'iframe-start', (w)=> @_iframeByWindow[w.location.pathname].style.display = ''
|
24
|
+
@on 'iframe-end', (w)=> @_iframeByWindow[w.location.pathname].style.display = 'none'
|
25
25
|
|
26
26
|
_registerEventHandlers: ->
|
27
27
|
@assertions = buster.assertions
|
@@ -50,7 +50,7 @@ _.extend oojspec, new class OojspecRunner
|
|
50
50
|
|
51
51
|
# for tests in iframe support:
|
52
52
|
onIFrameLoaded: (iframe)=>
|
53
|
-
@_iframeByWindow[iframe.contentWindow] = iframe
|
53
|
+
@_iframeByWindow[iframe.contentWindow.location.pathname] = iframe
|
54
54
|
@_iframeWindows.push(iframe.contentWindow)
|
55
55
|
if ++@_iframesLoadedCount is document.getElementsByTagName('iframe').length
|
56
56
|
w.oojspec.run() for w in @_iframeWindows
|
data/lib/oojspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oojspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Rosenfeld Rosas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coffee-rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails-sandbox-assets
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.1.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.1.2
|
41
41
|
description: |2-
|
@@ -47,32 +47,32 @@ executables: []
|
|
47
47
|
extensions: []
|
48
48
|
extra_rdoc_files: []
|
49
49
|
files:
|
50
|
-
-
|
50
|
+
- MIT-LICENSE
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
51
53
|
- app/views/oojspec/iframe.html.erb
|
54
|
+
- app/views/oojspec/runner.html.erb
|
55
|
+
- lib/assets/javascripts/oojspec.js.coffee
|
52
56
|
- lib/assets/javascripts/oojspec/iframe-runner.js.coffee
|
53
|
-
- lib/assets/javascripts/oojspec/utils.js.coffee
|
54
|
-
- lib/assets/javascripts/oojspec/runner.js.coffee
|
55
57
|
- lib/assets/javascripts/oojspec/progress.js.coffee
|
56
|
-
- lib/assets/javascripts/oojspec.js.coffee
|
58
|
+
- lib/assets/javascripts/oojspec/runner.js.coffee
|
59
|
+
- lib/assets/javascripts/oojspec/utils.js.coffee
|
57
60
|
- lib/assets/stylesheets/oojspec.css.erb
|
58
61
|
- lib/assets/stylesheets/oojspec/progress.css
|
59
|
-
- lib/
|
62
|
+
- lib/oojspec.rb
|
60
63
|
- lib/oojspec/engine.rb
|
61
64
|
- lib/oojspec/version.rb
|
62
|
-
- lib/
|
65
|
+
- lib/tasks/oojspec_tasks.rake
|
66
|
+
- vendor/assets/images/buster/logo.png
|
63
67
|
- vendor/assets/javascripts/buster/all.js.coffee
|
64
68
|
- vendor/assets/javascripts/buster/buster-assertions.js
|
65
|
-
- vendor/assets/javascripts/buster/stack-filter.js
|
66
69
|
- vendor/assets/javascripts/buster/buster-core.js
|
67
|
-
- vendor/assets/javascripts/buster/expect.js
|
68
70
|
- vendor/assets/javascripts/buster/buster-event-emitter.js
|
69
|
-
- vendor/assets/javascripts/buster/html.js
|
70
71
|
- vendor/assets/javascripts/buster/buster-format.js
|
71
|
-
- vendor/assets/
|
72
|
+
- vendor/assets/javascripts/buster/expect.js
|
73
|
+
- vendor/assets/javascripts/buster/html.js
|
74
|
+
- vendor/assets/javascripts/buster/stack-filter.js
|
72
75
|
- vendor/assets/stylesheets/buster/buster-test.css
|
73
|
-
- MIT-LICENSE
|
74
|
-
- Rakefile
|
75
|
-
- README.md
|
76
76
|
homepage: http://github.com/rosenfeld/oojspec
|
77
77
|
licenses: []
|
78
78
|
metadata: {}
|
@@ -82,17 +82,17 @@ require_paths:
|
|
82
82
|
- lib
|
83
83
|
required_ruby_version: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
|
-
- -
|
85
|
+
- - ">="
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
|
-
- -
|
90
|
+
- - ">="
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '0'
|
93
93
|
requirements: []
|
94
94
|
rubyforge_project:
|
95
|
-
rubygems_version: 2.
|
95
|
+
rubygems_version: 2.2.2
|
96
96
|
signing_key:
|
97
97
|
specification_version: 4
|
98
98
|
summary: Object-oriented client-side testing
|