diff options
| author | Paul Buetow <paul@buetow.org> | 2024-12-06 23:52:43 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-12-06 23:52:43 +0200 |
| commit | 7c23b27007ca62ff545411aa3d1200fce4eec8c9 (patch) | |
| tree | 86e4215580368b5c6f164bb79c2a0f91f479c7f1 /lib | |
| parent | 36c00a4509e745e4b29b1194faca4dca830a9b95 (diff) | |
refactor
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/config.rb (renamed from lib/autorequire/config.rb) | 0 | ||||
| -rw-r--r-- | lib/dslkeywords/file.rb (renamed from lib/autorequire/file.rb) | 4 | ||||
| -rw-r--r-- | lib/dslkeywords/only_when.rb (renamed from lib/autorequire/only_when.rb) | 0 | ||||
| -rw-r--r-- | lib/log.rb (renamed from lib/autorequire/log.rb) | 0 | ||||
| -rw-r--r-- | lib/options.rb (renamed from lib/autorequire/options.rb) | 0 | ||||
| -rw-r--r-- | lib/rcm.rb | 8 |
6 files changed, 8 insertions, 4 deletions
diff --git a/lib/autorequire/config.rb b/lib/config.rb index b9dc5ac..b9dc5ac 100644 --- a/lib/autorequire/config.rb +++ b/lib/config.rb diff --git a/lib/autorequire/file.rb b/lib/dslkeywords/file.rb index 35df33f..a22e52f 100644 --- a/lib/autorequire/file.rb +++ b/lib/dslkeywords/file.rb @@ -1,8 +1,8 @@ require 'erb' require 'fileutils' -require_relative 'options' -require_relative 'log' +require_relative '../options' +require_relative '../log' module RCM # Managing files diff --git a/lib/autorequire/only_when.rb b/lib/dslkeywords/only_when.rb index 2700bee..2700bee 100644 --- a/lib/autorequire/only_when.rb +++ b/lib/dslkeywords/only_when.rb diff --git a/lib/autorequire/log.rb b/lib/log.rb index 67ff321..67ff321 100644 --- a/lib/autorequire/log.rb +++ b/lib/log.rb diff --git a/lib/autorequire/options.rb b/lib/options.rb index c3950ca..c3950ca 100644 --- a/lib/autorequire/options.rb +++ b/lib/options.rb @@ -1,11 +1,15 @@ -Dir["#{Dir.pwd}/lib/autorequire/*.rb"].each { |m| require m } +require_relative 'config' +require_relative 'options' +require_relative 'log' + +Dir["#{Dir.pwd}/lib/dslkeywords/*.rb"].each { |m| require m } # Ruby Configiration Management system module RCM # Here all starts class RCM attr_reader :id - + @@rcm_counter = 0 include Config |
