jasmine-headless-webkit-firstbanco 0.9.0.rc.2 → 0.9.0.rc.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 046ded4b54ca97df11cec8e5839ba68bf080275e
|
4
|
+
data.tar.gz: fcf24f35c913a0daefc0642946409c003e0fbe8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 775e7b604ef16a62205b503c130ca75ed59753185ac505544c686e9658e34b353058b402e5fc75da0ec4a85e8c05ea830bde2a19f2a022be748c2cbf9c49de93
|
7
|
+
data.tar.gz: 1870f95dc5319cfa388648f6ffe79b4e590d0435fc9915c38f686df8d83fdeec24d1a899c0c23fc1bd6efa1e0a7c42636c3638c548b5ead74ae91646f26b129f
|
data/README.md
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.authors = ["John Bintz", "Sencha Inc.", "Pivotal Labs"]
|
10
10
|
s.email = ["john@coswellproductions.com"]
|
11
11
|
s.homepage = ""
|
12
|
-
s.summary = %q{Run Jasmine specs headlessly in a WebKit browser
|
13
|
-
s.description = %q{Run Jasmine specs headlessly. This is a
|
12
|
+
s.summary = %q{Run Jasmine specs headlessly in a WebKit browser}
|
13
|
+
s.description = %q{Run Jasmine specs headlessly. This is a fork gem that makes firstbanco deploys easier. We don't normally do this, but the original gem is defunct.}
|
14
14
|
|
15
15
|
s.rubyforge_project = "jasmine-headless-webkit"
|
16
16
|
|
@@ -163,25 +163,6 @@ module Jasmine
|
|
163
163
|
@jasmine_config
|
164
164
|
end
|
165
165
|
|
166
|
-
def computed_jasmine_command
|
167
|
-
Jasmine::Headless::CacheableAction.enabled = @options[:enable_cache]
|
168
|
-
Jasmine::Headless.show_warnings = !@options[:quiet]
|
169
|
-
FilesList.reset!
|
170
|
-
|
171
|
-
self.class.server_port = options[:server_port]
|
172
|
-
|
173
|
-
@_targets = template_writer.write
|
174
|
-
|
175
|
-
run_targets = absolute_run_targets(@_targets.dup)
|
176
|
-
|
177
|
-
if run_targets.length == 2
|
178
|
-
if (!@options[:full_run] && files_list.filtered?) || files_list.has_spec_outside_scope?
|
179
|
-
run_targets.pop
|
180
|
-
end
|
181
|
-
end
|
182
|
-
jasmine_command(run_targets)
|
183
|
-
end
|
184
|
-
|
185
166
|
def jasmine_command(*targets)
|
186
167
|
command = [ RUNNER ]
|
187
168
|
|
@@ -198,7 +179,23 @@ module Jasmine
|
|
198
179
|
end
|
199
180
|
|
200
181
|
def run
|
201
|
-
|
182
|
+
Jasmine::Headless::CacheableAction.enabled = @options[:enable_cache]
|
183
|
+
Jasmine::Headless.show_warnings = !@options[:quiet]
|
184
|
+
FilesList.reset!
|
185
|
+
|
186
|
+
self.class.server_port = options[:server_port]
|
187
|
+
|
188
|
+
@_targets = template_writer.write
|
189
|
+
|
190
|
+
run_targets = absolute_run_targets(@_targets.dup)
|
191
|
+
|
192
|
+
if run_targets.length == 2
|
193
|
+
if (!@options[:full_run] && files_list.filtered?) || files_list.has_spec_outside_scope?
|
194
|
+
run_targets.pop
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
runner = lambda { system jasmine_command(run_targets) }
|
202
199
|
|
203
200
|
if options[:use_server]
|
204
201
|
wrap_in_server(run_targets, &runner)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jasmine-headless-webkit-firstbanco
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.0.rc.
|
4
|
+
version: 0.9.0.rc.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Bintz
|
@@ -96,8 +96,8 @@ dependencies:
|
|
96
96
|
- - '>='
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '0'
|
99
|
-
description: Run Jasmine specs headlessly. This is a
|
100
|
-
|
99
|
+
description: Run Jasmine specs headlessly. This is a fork gem that makes firstbanco
|
100
|
+
deploys easier. We don't normally do this, but the original gem is defunct.
|
101
101
|
email:
|
102
102
|
- john@coswellproductions.com
|
103
103
|
executables:
|
@@ -342,6 +342,6 @@ rubyforge_project: jasmine-headless-webkit
|
|
342
342
|
rubygems_version: 2.0.3
|
343
343
|
signing_key:
|
344
344
|
specification_version: 4
|
345
|
-
summary: Run Jasmine specs headlessly in a WebKit browser
|
345
|
+
summary: Run Jasmine specs headlessly in a WebKit browser
|
346
346
|
test_files: []
|
347
347
|
has_rdoc:
|