lib/asana/resources.rb in asana-2.0.1 vs lib/asana/resources.rb in asana-2.0.2
- old
+ new
@@ -1,12 +1,12 @@
+# frozen_string_literal: true
+
require_relative 'resource_includes/resource'
require_relative 'resource_includes/collection'
-Dir[File.join(File.dirname(__FILE__), 'resource_includes', '*.rb')]
- .each { |resource| require resource }
+Dir[File.join(File.dirname(__FILE__), 'resource_includes', '*.rb')].sort.each { |resource| require resource }
-Dir[File.join(File.dirname(__FILE__), 'resources', '*.rb')]
- .each { |resource| require resource }
+Dir[File.join(File.dirname(__FILE__), 'resources', '*.rb')].sort.each { |resource| require resource }
module Asana
# Public: Contains all the resources that the Asana API can return.
module Resources
end