Sha256: 5d921a6d858a3ed7d4d0e00611456d6f13482571a7c547d5012a86d8ca799b32

Contents?: true

Size: 990 Bytes

Versions: 9

Compression:

Stored size: 990 Bytes

Contents

#!/usr/bin/ruby
#
# This file is part of CPEE.
#
# CPEE is free software: you can redistribute it and/or modify it under the terms
# of the GNU General Public License as published by the Free Software Foundation,
# either version 3 of the License, or (at your option) any later version.
#
# CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.  See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# CPEE (file COPYING in the main directory).  If not, see
# <http://www.gnu.org/licenses/>.

require 'rubygems'
require 'memory_profiler'
gem 'nokogiri'
require File.expand_path(File.dirname(__FILE__) + '/../lib/cpee/implementation')

Riddl::Server.new(CPEE::SERVER, :port => 8298) do |opts|
  accessible_description true
  cross_site_xhr true

  use CPEE::implementation(opts)
end.loop!

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cpee-1.4.10 server/server.rb
cpee-1.4.8 server/server.rb
cpee-1.4.7 server/server.rb
cpee-1.4.5 server/server.rb
cpee-1.4.4 server/server.rb
cpee-1.4.3 server/server.rb
cpee-1.4.2 server/server.rb
cpee-1.4.1 server/server.rb
cpee-1.4.0 server/server.rb