lib/branch/name.rb in branch-name-3.10.4 vs lib/branch/name.rb in branch-name-3.10.5
- old
+ new
@@ -1,3 +1,15 @@
# frozen_string_literal: true
-require_relative 'name/version'
+require 'active_support/core_ext/object/blank'
+
+if File.exist?("#{__dir__}/lib/.env.development")
+ # This loads our development environment when running dev.
+ require 'dotenv'
+ Dotenv.load('.env.development')
+end
+
+require 'pry-byebug' if ENV['BRANCH_NAME_ENV'] == 'development'
+
+Dir.glob("#{__dir__}/name/**/*.rb").each do |file|
+ require file
+end