Sha256: dbb31fd343a3ff1b9b20998521a493d9142e10f671f12309cde97540953caed1

Contents?: true

Size: 694 Bytes

Versions: 3

Compression:

Stored size: 694 Bytes

Contents

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

begin
  require 'bundler/setup'
  Bundler.require(:default)
rescue
  # this runs when packaged as a gem (no bundler)
  require 'glimmer-dsl-swt'
  # add more gems if needed
  require 'active_record'
  require 'activerecord-jdbcsqlite3-adapter'
end

class ContactManager
  include Glimmer
  
  APP_ROOT = File.expand_path('../..', __FILE__)
  VERSION = File.read(File.join(APP_ROOT, 'VERSION'))
  LICENSE = File.read(File.join(APP_ROOT, 'LICENSE.txt'))
  Display.app_name = 'Contact Manager'
  Display.app_version = ContactManager::VERSION
end

require 'contact_manager/view/app_view'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
contact_manager-1.0.2 app/contact_manager.rb
contact_manager-1.0.1 app/contact_manager.rb
contact_manager-1.0.0 app/contact_manager.rb