Updated boot file lists for the Ruby gem and Python egg
This prevents consumers that rely on those lists (especially the Jasmine gem and egg) from getting a deprecation warning about boot.js.
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ module Jasmine
|
|||||||
end
|
end
|
||||||
|
|
||||||
def boot_files
|
def boot_files
|
||||||
["boot.js"]
|
["boot0.js", "boot1.js"]
|
||||||
end
|
end
|
||||||
|
|
||||||
def node_boot_files
|
def node_boot_files
|
||||||
|
|||||||
@@ -54,14 +54,14 @@ class Core(object):
|
|||||||
# jasmine.js needs to be first
|
# jasmine.js needs to be first
|
||||||
js_files.insert(0, 'jasmine.js')
|
js_files.insert(0, 'jasmine.js')
|
||||||
|
|
||||||
# boot needs to be last
|
# Remove the legacy boot file
|
||||||
js_files.remove('boot.js')
|
js_files.remove('boot.js')
|
||||||
js_files.append('boot.js')
|
|
||||||
|
|
||||||
# Remove the new boot files. jasmine-py will continue to use the legacy
|
# boot files need to be last
|
||||||
# boot.js.
|
|
||||||
js_files.remove('boot0.js')
|
js_files.remove('boot0.js')
|
||||||
js_files.remove('boot1.js')
|
js_files.remove('boot1.js')
|
||||||
|
js_files.append('boot0.js')
|
||||||
|
js_files.append('boot1.js')
|
||||||
|
|
||||||
return cls._uniq(js_files)
|
return cls._uniq(js_files)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user