phantom_jasmine 0.0.4 → 0.0.5

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.
@@ -16,8 +16,8 @@ end
16
16
  Jasmine.load_configuration_from_yaml
17
17
 
18
18
  config = Jasmine.config
19
-
20
- server = Jasmine::Server.new(Jasmine.find_unused_port, Jasmine::Application.app(config))
19
+ port = Jasmine.find_unused_port
20
+ server = Jasmine::Server.new(port, Jasmine::Application.app(config))
21
21
  t = Thread.new do
22
22
  begin
23
23
  server.start
@@ -26,7 +26,7 @@ t = Thread.new do
26
26
  # # ignore bad exits
27
27
  end
28
28
  t.abort_on_exception = true
29
- Jasmine::wait_for_listener(config.port, "jasmine server")
29
+ Jasmine::wait_for_listener(port, "jasmine server")
30
30
  puts "jasmine server started."
31
31
 
32
32
  results_processor = Jasmine::ResultsProcessor.new(config)
@@ -1,3 +1,3 @@
1
1
  module PhantomJasmine
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phantom_jasmine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: