config/boot.rb in origen_spi-0.1.1 vs config/boot.rb in origen_spi-0.2.0
- old
+ new
@@ -1,24 +1,24 @@
-# This file is used to boot your plugin when it is running in standalone mode
-# from its own workspace - i.e. when the plugin is being developed.
-#
-# It will not be loaded when the plugin is imported by a 3rd party app - in that
-# case only lib/origen_spi.rb is loaded.
-#
-# Therefore this file can be used to load anything extra that you need to boot
-# the development environment for this app. For example, this is typically used
-# to load some additional test classes to use your plugin APIs so that they can
-# be tested and/or interacted with in the console.
-require "origen_spi"
-
-module OrigenSpiDev
- # Example of how to explicitly require a file
- # require "origen_spi_dev/my_file"
-
- # Load all files in the lib/origen_spi_dev directory.
- # Note that there is no problem from requiring a file twice (Ruby will ignore
- # the second require), so if you have a file that must be required first, then
- # explicitly require it up above and then let this take care of the rest.
- Dir.glob("#{File.dirname(__FILE__)}/../lib/origen_spi_dev/**/*.rb").sort.each do |file|
- require file
- end
-end
+# This file is used to boot your plugin when it is running in standalone mode
+# from its own workspace - i.e. when the plugin is being developed.
+#
+# It will not be loaded when the plugin is imported by a 3rd party app - in that
+# case only lib/origen_spi.rb is loaded.
+#
+# Therefore this file can be used to load anything extra that you need to boot
+# the development environment for this app. For example, this is typically used
+# to load some additional test classes to use your plugin APIs so that they can
+# be tested and/or interacted with in the console.
+require "origen_spi"
+
+module OrigenSpiDev
+ # Example of how to explicitly require a file
+ # require "origen_spi_dev/my_file"
+
+ # Load all files in the lib/origen_spi_dev directory.
+ # Note that there is no problem from requiring a file twice (Ruby will ignore
+ # the second require), so if you have a file that must be required first, then
+ # explicitly require it up above and then let this take care of the rest.
+ Dir.glob("#{File.dirname(__FILE__)}/../lib/origen_spi_dev/**/*.rb").sort.each do |file|
+ require file
+ end
+end