Sha256: b9085585f0e23df2af6e60fa2e1c362c0f9730f7a582837c477c22d6342e8665

Contents?: true

Size: 1.96 KB

Versions: 9

Compression:

Stored size: 1.96 KB

Contents

# Copyright (c) 2021-2023 Andy Maleh
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

$LOAD_PATH.unshift(File.expand_path('..', __FILE__))

# External requires
require 'glimmer'
require 'perfect-shape'
# require 'logging'
require 'puts_debuggerer' if (ENV['PD'] || ENV['pd']).to_s.downcase == 'true'
# require 'super_module'
require 'color'
require 'os'
require 'equalizer'
require 'array_include_methods'
require 'facets/hash/stringify_keys'
require 'facets/string/underscore'
require 'libui'

# Internal requires
# require 'ext/glimmer/config'
require 'glimmer-dsl-libui/ext/glimmer'
require 'glimmer/dsl/libui/dsl'
require 'glimmer/libui'
Glimmer::Config.loop_max_count = -1
Glimmer::Config.excluded_keyword_checkers << lambda do |method_symbol, *args|
  method = method_symbol.to_s
  result = false
  result ||= method == 'load_iseq'
end

::LibUI.init
# begin
#   PutsDebuggerer.printer = lambda { |m| puts m; $stdout.flush}
# rescue
  ##### No Op if puts_debuggerer is not loaded
# end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
glimmer-dsl-libui-0.11.5 lib/glimmer-dsl-libui.rb
glimmer-dsl-libui-0.11.4 lib/glimmer-dsl-libui.rb
glimmer-dsl-libui-0.11.3 lib/glimmer-dsl-libui.rb
glimmer-dsl-libui-0.11.2 lib/glimmer-dsl-libui.rb
glimmer-dsl-libui-0.11.1 lib/glimmer-dsl-libui.rb
glimmer-dsl-libui-0.11.0 lib/glimmer-dsl-libui.rb
glimmer-dsl-libui-0.10.2 lib/glimmer-dsl-libui.rb
glimmer-dsl-libui-0.10.1 lib/glimmer-dsl-libui.rb
glimmer-dsl-libui-0.10.0 lib/glimmer-dsl-libui.rb