Sha256: 30c26466ee581f1589d1d34625027e95f25dbb1537f0abb6051a4dfa4966e008

Contents?: true

Size: 1.93 KB

Versions: 7

Compression:

Stored size: 1.93 KB

Contents

# Copyright (c) 2021-2022 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'].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 '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

7 entries across 7 versions & 1 rubygems

Version Path
glimmer-dsl-libui-0.5.6 lib/glimmer-dsl-libui.rb
glimmer-dsl-libui-0.5.5 lib/glimmer-dsl-libui.rb
glimmer-dsl-libui-0.5.4 lib/glimmer-dsl-libui.rb
glimmer-dsl-libui-0.5.3 lib/glimmer-dsl-libui.rb
glimmer-dsl-libui-0.5.2 lib/glimmer-dsl-libui.rb
glimmer-dsl-libui-0.5.1 lib/glimmer-dsl-libui.rb
glimmer-dsl-libui-0.5.0 lib/glimmer-dsl-libui.rb