lib/d3.rb in depot3-3.0.8 vs lib/d3.rb in depot3-3.0.9
- old
+ new
@@ -17,20 +17,28 @@
### Unless required by applicable law or agreed to in writing, software
### distributed under the Apache License with the above modification is
### distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
### KIND, either express or implied. See the Apache License for the specific
### language governing permissions and limitations under the Apache License.
-###
-###
+
+
+### The D3 module provides the foundation, and the guts, of d3. Most of the work
+### of the executables (d3, d3admin, d3helper, puppytime) is performed here. It
+### in turn, is built upon the JSS module, provided by the ruby-jss gem, for API
+### and MySQL access to the JSS.
+module D3
+ # Set to true after all files are required
+ @@loaded = false
+end
+
#####################################
# Required Libraries, etc
#####################################
###################
-# gems
-
+# Gems
require 'jss'
require 'keychain'
###################
# Standard Libraries
@@ -64,16 +72,12 @@
require 'd3/admin'
require 'd3/client'
require 'd3/puppytime'
+###
module D3
-
- ### we're loaded!
@@loaded = true
-
- # Start logging
D3.log "D3 module loaded, logging started", :debug
-
end # module D3