lib/stamina.rb in stamina-0.4.0 vs lib/stamina.rb in stamina-0.5.0
- old
+ new
@@ -1,22 +1,13 @@
-module Stamina
-
-end
-require 'stamina/ext/math'
-require 'stamina/version'
-require 'stamina/loader'
require 'set'
require 'enumerator'
require 'stringio'
-require 'stamina/errors'
-require 'stamina/markable'
-require 'stamina/adl'
-require 'stamina/sample'
-require 'stamina/input_string'
-require 'stamina/classifier'
-require 'stamina/automaton'
-require 'stamina/scoring'
-require 'stamina/utils'
-require 'stamina/induction/union_find'
-require 'stamina/induction/commons'
-require "stamina/induction/rpni"
-require "stamina/induction/blue_fringe"
+
+begin
+ require_relative 'stamina-core/stamina-core'
+ require_relative 'stamina-induction/stamina-induction'
+ require_relative 'stamina-gui/stamina-gui'
+rescue LoadError
+ require 'stamina-core'
+ require 'stamina-induction'
+ require 'stamina-gui'
+end
\ No newline at end of file