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:
Steve Gravrock
2021-11-24 15:38:40 -08:00
parent 439be97c34
commit 8804ddb8cf
2 changed files with 5 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ module Jasmine
end
def boot_files
["boot.js"]
["boot0.js", "boot1.js"]
end
def node_boot_files

View File

@@ -54,14 +54,14 @@ class Core(object):
# jasmine.js needs to be first
js_files.insert(0, 'jasmine.js')
# boot needs to be last
# Remove the legacy boot file
js_files.remove('boot.js')
js_files.append('boot.js')
# Remove the new boot files. jasmine-py will continue to use the legacy
# boot.js.
# boot files need to be last
js_files.remove('boot0.js')
js_files.remove('boot1.js')
js_files.append('boot0.js')
js_files.append('boot1.js')
return cls._uniq(js_files)