phantom_jasmine 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -1,4 +1,3 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.8.7
4
3
  - 1.9.2
@@ -1,7 +1,7 @@
1
1
  require 'facter'
2
2
  require 'jasmine'
3
3
  require 'tempfile'
4
- require 'phantomjs.rb'
4
+ require 'phantomjs'
5
5
 
6
6
  class Jasmine::Runners::Phantom
7
7
  attr_accessor :suites
@@ -10,7 +10,7 @@ class Jasmine::Runners::Phantom
10
10
  @port = port
11
11
  @results_processor = results_processor
12
12
  @result_batch_size = result_batch_size
13
- @phantom = Phantomjs.send(:get_executable)
13
+ @phantom = Phantomjs.path
14
14
  end
15
15
 
16
16
  def run
@@ -32,7 +32,7 @@
32
32
  top_level_suites: topLevelSuites
33
33
  });
34
34
  });
35
- fs.write('/dev/stdout', json, 'w');
35
+ console.log(json);
36
36
  phantom.exit(0);
37
37
  }
38
38
  });
@@ -78,7 +78,7 @@
78
78
  }
79
79
  return JSON.stringify(jsApiReporter.resultsForSpecs(specIds));
80
80
  });
81
- fs.write('/dev/stdout', json, 'w');
81
+ console.log(json);
82
82
  phantom.exit(0);
83
83
  }, 1000 * 60 * 20); // wait 20 minutes (CI can be slow)
84
84
  }
@@ -1,3 +1,3 @@
1
1
  module PhantomJasmine
2
- VERSION = "0.0.7"
2
+ VERSION = '0.0.8'
3
3
  end
@@ -19,16 +19,10 @@ Gem::Specification.new do |gem|
19
19
 
20
20
  gem.add_dependency %q{jasmine}, '>= 1.2'
21
21
  gem.add_dependency %q{facter}, '>= 1.6.17'
22
- gem.add_dependency %q{phantomjs.rb}, '>= 0.0.5'
22
+ gem.add_dependency %q{phantomjs}, '>= 1.8.1.0'
23
23
 
24
24
  gem.add_development_dependency %q{json}
25
25
  gem.add_development_dependency %q{rspec}, '>= 2.13.0'
26
26
  gem.add_development_dependency %q{fuubar}
27
27
  gem.add_development_dependency %q{rake}
28
-
29
- if RUBY_PLATFORM =~ /linux/
30
- gem.add_runtime_dependency 'phantomjs-linux'
31
- elsif RUBY_PLATFORM =~ /darwin/
32
- gem.add_runtime_dependency 'phantomjs-mac'
33
- end
34
28
  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.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-27 00:00:00.000000000 Z
12
+ date: 2013-03-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jasmine
@@ -44,13 +44,13 @@ dependencies:
44
44
  - !ruby/object:Gem::Version
45
45
  version: 1.6.17
46
46
  - !ruby/object:Gem::Dependency
47
- name: phantomjs.rb
47
+ name: phantomjs
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
51
  - - ! '>='
52
52
  - !ruby/object:Gem::Version
53
- version: 0.0.5
53
+ version: 1.8.1.0
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,7 +58,7 @@ dependencies:
58
58
  requirements:
59
59
  - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.0.5
61
+ version: 1.8.1.0
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: json
64
64
  requirement: !ruby/object:Gem::Requirement
@@ -123,22 +123,6 @@ dependencies:
123
123
  - - ! '>='
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
- - !ruby/object:Gem::Dependency
127
- name: phantomjs-mac
128
- requirement: !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ! '>='
132
- - !ruby/object:Gem::Version
133
- version: '0'
134
- type: :runtime
135
- prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ! '>='
140
- - !ruby/object:Gem::Version
141
- version: '0'
142
126
  description: Adds a new rake task jasmine:phantom that runs specs in parallel using
143
127
  phantoms js.
144
128
  email:
@@ -177,21 +161,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
161
  - - ! '>='
178
162
  - !ruby/object:Gem::Version
179
163
  version: '0'
180
- segments:
181
- - 0
182
- hash: 87089693277479132
183
164
  required_rubygems_version: !ruby/object:Gem::Requirement
184
165
  none: false
185
166
  requirements:
186
167
  - - ! '>='
187
168
  - !ruby/object:Gem::Version
188
169
  version: '0'
189
- segments:
190
- - 0
191
- hash: 87089693277479132
192
170
  requirements: []
193
171
  rubyforge_project:
194
- rubygems_version: 1.8.24
172
+ rubygems_version: 1.8.21
195
173
  signing_key:
196
174
  specification_version: 3
197
175
  summary: an extension for running jasmine with phantom js in parallel