| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349 |
- #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- #
- # Copyright (c) 2016, Electric Power Research Institute (EPRI)
- # All rights reserved.
- #
- # OpenADR ("this software") is licensed under BSD 3-Clause license.
- #
- # Redistribution and use in source and binary forms, with or without modification,
- # are permitted provided that the following conditions are met:
- #
- # * Redistributions of source code must retain the above copyright notice, this
- # list of conditions and the following disclaimer.
- #
- # * Redistributions in binary form must reproduce the above copyright notice,
- # this list of conditions and the following disclaimer in the documentation
- # and/or other materials provided with the distribution.
- #
- # * Neither the name of EPRI nor the names of its contributors may
- # be used to endorse or promote products derived from this software without
- # specific prior written permission.
- #
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- # IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
- # OF SUCH DAMAGE.
- #
- # This EPRI software incorporates work covered by the following copyright and permission
- # notices. You may not use these works except in compliance with their respective
- # licenses, which are provided below.
- #
- # These works are provided by the copyright holders and contributors "as is" and any express or
- # implied warranties, including, but not limited to, the implied warranties of merchantability
- # and fitness for a particular purpose are disclaimed.
- #
- #########################################################################################
- # MIT Licensed Libraries
- #########################################################################################
- #
- # * actionmailer 3.2.12 (http://www.rubyonrails.org) - Email composition, delivery, and receiving framework (part of Rails).
- # * actionpack 3.2.12 (http://www.rubyonrails.org) - Web-flow and rendering framework putting the VC in MVC (part of Rails).
- # * activemodel 3.2.12 (http://www.rubyonrails.org) - A toolkit for building modeling frameworks (part of Rails).
- # * activerecord 3.2.12 (http://www.rubyonrails.org) - Object-relational mapper framework (part of Rails).
- # * activeresource 3.2.12 (http://www.rubyonrails.org) - REST modeling framework (part of Rails).
- # * activesupport 3.2.12 (http://www.rubyonrails.org) - A toolkit of support libraries and Ruby core extensions extracted from the Rails framework.
- # * arel 3.0.2 (http://github.com/rails/arel) - Arel is a SQL AST manager for Ruby
- # * bootstrap-sass 3.1.1.0 (https://github.com/twbs/bootstrap-sass) - Twitter's Bootstrap, converted to Sass and ready to drop into Rails or Compass
- # * builder 3.0.4 (http://onestepback.org) - Builders for MarkUp.
- # * bundler 1.12.5 (http://bundler.io) - The best way to manage your application's dependencies
- # * capybara 2.4.4 (http://github.com/jnicklas/capybara) - Capybara aims to simplify the process of integration testing Rack applications, such as Rails, Sinatra or Merb
- # * coffee-rails 3.2.2 () - Coffee Script adapter for the Rails asset pipeline.
- # * coffee-script-source 1.6.3 (http://jashkenas.github.com/coffee-script/) - The CoffeeScript Compiler
- # * docile 1.1.5 (https://ms-ati.github.io/docile/) - Docile keeps your Ruby DSLs tame and well-behaved
- # * edn 1.0.0 () - 'edn implements a reader for Extensible Data Notation by Rich Hickey.'
- # * erubis 2.7.0 (http://www.kuwata-lab.com/erubis/) - a fast and extensible eRuby implementation which supports multi-language
- # * execjs 1.4.0 (https://github.com/sstephenson/execjs) - Run JavaScript code from Ruby
- # * factory_girl 4.5.0 (https://github.com/thoughtbot/factory_girl) - factory_girl provides a framework and DSL for defining and using model instance factories.
- # * factory_girl_rails 4.5.0 (http://github.com/thoughtbot/factory_girl_rails) - factory_girl_rails provides integration between factory_girl and rails 3
- # * gem-licenses 0.1.2 (http://github.com/dblock/gem-licenses) - List all gem licenses.
- # * hike 1.2.3 (http://github.com/sstephenson/hike) - Find files in a set of paths
- # * i18n 0.6.5 (http://github.com/svenfuchs/i18n) - New wave Internationalization support for Ruby
- # * jdbc-postgresql 9.2.1000 (https://github.com/rosenfeld/jdbc-postgresql) - PostgresSQL jdbc driver for JRuby
- # * journey 1.0.4 (http://github.com/rails/journey) - Journey is a router
- # * jquery-rails 3.0.4 (http://rubygems.org/gems/jquery-rails) - Use jQuery with Rails 3
- # * json-schema 2.6.2 (http://github.com/ruby-json-schema/json-schema/tree/master) - Ruby JSON Schema Validator
- # * mail 2.4.4 (http://github.com/mikel/mail) - Mail provides a nice Ruby DSL for making, sending and reading emails.
- # * metaclass 0.0.4 (http://github.com/floehopper/metaclass) - Adds a metaclass method to all Ruby objects
- # * mime-types 1.23 (http://mime-types.rubyforge.org/) - This library allows for the identification of a file's likely MIME content type
- # * mocha 1.1.0 (http://gofreerange.com/mocha/docs) - Mocking and stubbing library
- # * multi_json 1.7.9 (http://github.com/intridea/multi_json) - A common interface to multiple JSON libraries.
- # * nokogiri 1.6.5 (http://nokogiri.org) - Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser
- # * polyglot 0.3.3 (http://github.com/cjheath/polyglot) - Augment 'require' to load non-Ruby file types
- # * rack-test 0.6.2 (http://github.com/brynary/rack-test) - Simple testing API built on Rack
- # * railties 3.2.12 (http://www.rubyonrails.org) - Tools for creating, working with, and running Rails applications.
- # * rake 10.1.0 (http://rake.rubyforge.org) - Ruby based make-like utility.
- # * rspec-core 2.14.3 (http://github.com/rspec/rspec-core) - rspec-core-2.14.3
- # * rspec-expectations 2.14.0 (http://github.com/rspec/rspec-expectations) - rspec-expectations-2.14.0
- # * rspec-mocks 2.14.1 (http://github.com/rspec/rspec-mocks) - rspec-mocks-2.14.1
- # * rspec-rails 2.14.0 (http://github.com/rspec/rspec-rails) - rspec-rails-2.14.0
- # * sass 3.2.9 (http://sass-lang.com/) - A powerful but elegant CSS compiler that makes CSS fun again.
- # * sass-rails 3.2.6 () - Sass adapter for the Rails asset pipeline.
- # * simplecov 0.9.0 (http://github.com/colszowka/simplecov) - Code coverage for Ruby 1.9+ with a powerful configuration library and automatic merging of coverage across test suites
- # * spork 1.0.0rc3 (http://github.com/sporkrb/spork) - spork
- # * therubyrhino 2.0.2 (http://github.com/cowboyd/therubyrhino) - Embed the Rhino JavaScript interpreter into JRuby
- # * thor 0.18.1 (http://whatisthor.com/) - A scripting framework that replaces rake, sake and rubigen
- # * tilt 1.4.1 (http://github.com/rtomayko/tilt/) - Generic interface to multiple Ruby template engines
- # * treetop 1.4.14 (https://github.com/cjheath/treetop) - A Ruby-based text parsing and interpretation DSL
- # * uglifier 2.1.2 (http://github.com/lautis/uglifier) - Ruby wrapper for UglifyJS JavaScript compressor
- # * xpath 2.0.0 (http://github.com/jnicklas/xpath) - Generate XPath expressions from Ruby
- # * blankslate 2.1.2.4 (http://github.com/masover/blankslate) - BlankSlate extracted from Builder.
- # * bourbon 3.1.8 (https://github.com/thoughtbot/bourbon) - Bourbon Sass Mixins using SCSS syntax.
- # * coffee-script 2.2.0 (http://github.com/josh/ruby-coffee-script) - Ruby CoffeeScript Compiler
- # * diff-lcs 1.2.4 (http://diff-lcs.rubyforge.org/) - Diff::LCS computes the difference between two Enumerable sequences using the McIlroy-Hunt longest common subsequence (LCS) algorithm
- # * jquery-ui-rails 4.0.3 (https://github.com/joliss/jquery-ui-rails) - jQuery UI packaged for the Rails asset pipeline
- # * parslet 1.4.0 (http://kschiess.github.com/parslet) - Parser construction library with great error reporting in Ruby.
- # * rack 1.4.5 (http://rack.github.com/) - a modular Ruby webserver interface
- # * rack-cache 1.2 (http://tomayko.com/src/rack-cache/) - HTTP Caching for Rack
- # * rack-ssl 1.3.3 (https://github.com/josh/rack-ssl) - Force SSL/TLS in your app.
- # * rails 3.2.12 (http://www.rubyonrails.org) - Full-stack web application framework.
- # * simplecov-html 0.8.0 (https://github.com/colszowka/simplecov-html) - Default HTML formatter for SimpleCov code coverage tool for ruby 1.9+
- # * tzinfo 0.3.37 (http://tzinfo.rubyforge.org/) - Daylight-savings aware timezone library
- # * warbler 1.4.0.beta1 (http://caldersphere.rubyforge.org/warbler) - Warbler chirpily constructs .war files of your Rails applications.
- #
- #########################################################################################
- # BSD Licensed Libraries
- #########################################################################################
- #
- # * activerecord-jdbc-adapter 1.2.9.1 (https://github.com/jruby/activerecord-jdbc-adapter) - Copyright (c) 2006-2012 Nick Sieger <nick@nicksieger.com>, Copyright (c) 2006-2008 Ola Bini <ola.bini@gmail.com>
- # * jdbc-postgres 9.2.1004 (https://github.com/jruby/activerecord-jdbc-adapter) - Copyright (c) 1997-2011, PostgreSQL Global Development Group
- # * d3js 3.5.16 (https://d3js.org/) Copyright (c) 2015 Mike Bostock
- #
- #########################################################################################
- # Ruby Licensed Libraries
- #########################################################################################
- #
- # * json 1.8.0 (http://json-jruby.rubyforge.org/) - JSON implementation for JRuby
- # * rubyzip 0.9.9 (http://github.com/aussiegeek/rubyzip) - rubyzip is a ruby module for reading and writing zip files
- # * httpclient 2.3.4.1 (http://github.com/nahi/httpclient) - gives something like the functionality of libwww-perl (LWP) in Ruby
- # * test-unit 2.5.5 (http://test-unit.rubyforge.org/) - test-unit - Improved version of Test::Unit bundled in Ruby 1.8.x.
- #
- #########################################################################################
- # Public domain - creative commons Licensed Libraries
- #########################################################################################
- #
- # * torquebox 3.1.2 (http://torquebox.org/) - TorqueBox Gem
- # * torquebox-cache 3.1.2 (http://torquebox.org/) - TorqueBox Cache Gem
- # * torquebox-configure 3.1.2 (http://torquebox.org/) - TorqueBox Configure Gem
- # * torquebox-core 3.1.2 (http://torquebox.org/) - TorqueBox Core Gem
- # * torquebox-messaging 3.1.2 (http://torquebox.org/) - TorqueBox Messaging Client
- # * torquebox-naming 3.1.2 (http://torquebox.org/) - TorqueBox Naming Client
- # * torquebox-rake-support 3.1.2 (http://torquebox.org/) - TorqueBox Rake Support
- # * torquebox-security 3.1.2 (http://torquebox.org/) - TorqueBox Security Gem
- # * torquebox-server 3.1.2 (http://torquebox.org/) - TorqueBox Server Gem
- # * torquebox-stomp 3.1.2 (http://torquebox.org/) - TorqueBox STOMP Support
- # * torquebox-transactions 3.1.2 (http://torquebox.org/) - TorqueBox Transactions Gem
- # * torquebox-web 3.1.2 (http://torquebox.org/) - TorqueBox Web Gem
- #
- #########################################################################################
- # Apache Licensed Libraries
- #########################################################################################
- #
- # * addressable 2.3.8 (https://github.com/sporkmonger/addressable) - URI Implementation
- # * bcrypt-ruby 3.0.1 (http://bcrypt-ruby.rubyforge.org) - OpenBSD's bcrypt() password hashing algorithm.
- # * database_cleaner 1.4.0 (http://github.com/bmabey/database_cleaner) - Strategies for cleaning databases. Can be used to ensure a clean state for testing.
- # * annotate 2.5.0 (http://github.com/ctran/annotate_models) - Annotates Rails Models, routes, fixtures, and others based on the database schema.
- # * nvd3 1.8.4 (http://nvd3.org/) Copeyright (c) 2014 Novus Partners - chart library based on d3js
- # * smack 3.3.1 (https://www.igniterealtime.org/projects/smack/) - XMPP library
- #
- #########################################################################################
- # LGPL
- #########################################################################################
- #
- # * jruby-1.7.4
- # * jruby-jars 1.7.4 (http://github.com/jruby/jruby/tree/master/gem/jruby-jars) - The core JRuby code and the JRuby stdlib as jar
- # ** JRuby is tri-licensed GPL, LGPL, and EPL.
- #
- #########################################################################################
- # MPL Licensed Libraries
- #########################################################################################
- #
- # * therubyrhino_jar 1.7.4 (http://github.com/cowboyd/therubyrhino) - Rhino's jars packed for therubyrhino
- #
- #########################################################################################
- # Artistic 2.0
- # * mime-types 1.23 (http://mime-types.rubyforge.org/) - This library allows for the identification of a file's likely MIME content type
- #
- #########################################################################################
- #
- #########################################################################################
- # GPL-2
- #########################################################################################
- # * mime-types 1.23 (http://mime-types.rubyforge.org/) - This library allows for the identification of a file's likely MIME content type
- #
- #########################################################################################
- # No License Given
- #########################################################################################
- #
- # * spork-testunit 0.0.8 (http://github.com/timcharper/spork-testunit) - spork-testunit
- # * sprockets 2.2.2 (http://getsprockets.org/) - Rack-based asset packaging system
- #
- #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- # Disable Rake-environment-task framework detection by uncommenting/setting to false
- # Warbler.framework_detection = false
- # Warbler web application assembly configuration file
- Warbler::Config.new do |config|
- # Features: additional options controlling how the jar is built.
- # Currently the following features are supported:
- # - gemjar: package the gem repository in a jar file in WEB-INF/lib
- # - executable: embed a web server and make the war executable
- # - compiled: compile .rb files to .class files
- # config.features = %w(gemjar)
- config.features = %w(runnable)
- # Application directories to be included in the webapp.
- # config.dirs = %w(app config db lib log script vendor tmp)
- # Additional files/directories to include, above those in config.dirs
- # config.includes = FileList["db"]
- # config.includes = FileList["public/images/epri-logo.jpg"]
- # Additional files/directories to exclude
- # config.excludes = FileList["lib/tasks/*"]
- # Additional Java .jar files to include. Note that if .jar files are placed
- # in lib (and not otherwise excluded) then they need not be mentioned here.
- # JRuby and JRuby-Rack are pre-loaded in this list. Be sure to include your
- # own versions if you directly set the value
- # config.java_libs += FileList["lib/java/*.jar"]
- config.java_libs += FileList["app/oadr/oadr2b.jar"]
- # Loose Java classes and miscellaneous files to be included.
- # config.java_classes = FileList["target/classes/**.*"]
- # One or more pathmaps defining how the java classes should be copied into
- # the archive. The example pathmap below accompanies the java_classes
- # configuration above. See http://rake.rubyforge.org/classes/String.html#M000017
- # for details of how to specify a pathmap.
- # config.pathmaps.java_classes << "%{target/classes/,}p"
- # Bundler support is built-in. If Warbler finds a Gemfile in the
- # project directory, it will be used to collect the gems to bundle
- # in your application. If you wish to explicitly disable this
- # functionality, uncomment here.
- # config.bundler = false
- # An array of Bundler groups to avoid including in the war file.
- # Defaults to ["development", "test", "assets"].
- # config.bundle_without = []
- config.bundle_without = ["development", "test"]
- # Other gems to be included. If you don't use Bundler or a gemspec
- # file, you need to tell Warbler which gems your application needs
- # so that they can be packaged in the archive.
- # For Rails applications, the Rails gems are included by default
- # unless the vendor/rails directory is present.
- # config.gems += ["activerecord-jdbcmysql-adapter", "jruby-openssl"]
- # config.gems << "tzinfo"
- config.gems += ["coffee-rails"]
- # Uncomment this if you don't want to package rails gem.
- # config.gems -= ["rails"]
- # The most recent versions of gems are used.
- # You can specify versions of gems by using a hash assignment:
- # config.gems["rails"] = "2.3.10"
- # You can also use regexps or Gem::Dependency objects for flexibility or
- # finer-grained control.
- # config.gems << /^merb-/
- # config.gems << Gem::Dependency.new("merb-core", "= 0.9.3")
- # Include gem dependencies not mentioned specifically. Default is
- # true, uncomment to turn off.
- # config.gem_dependencies = false
- # Array of regular expressions matching relative paths in gems to be
- # excluded from the war. Defaults to empty, but you can set it like
- # below, which excludes test files.
- # config.gem_excludes = [/^(test|spec)\//]
- # Pathmaps for controlling how application files are copied into the archive
- # config.pathmaps.application = ["WEB-INF/%p"]
- # Name of the archive (without the extension). Defaults to the basename
- # of the project directory.
- # config.jar_name = "mywar"
- # Name of the MANIFEST.MF template for the war file. Defaults to a simple
- # MANIFEST.MF that contains the version of Warbler used to create the war file.
- # config.manifest_file = "config/MANIFEST.MF"
- # When using the 'compiled' feature and specified, only these Ruby
- # files will be compiled. Default is to compile all \.rb files in
- # the application.
- # config.compiled_ruby_files = FileList['app/**/*.rb']
- # When set to true, Warbler will override the value of ENV['GEM_HOME'] even it
- # has already been set.
- # config.override_gem_home = false
- # === War files only below here ===
- # Path to the pre-bundled gem directory inside the war file. Default
- # is 'WEB-INF/gems'. Specify path if gems are already bundled
- # before running Warbler. This also sets 'gem.path' inside web.xml.
- # config.gem_path = "WEB-INF/vendor/bundler_gems"
- # Files for WEB-INF directory (next to web.xml). This contains
- # web.xml by default. If there is an .erb-File it will be processed
- # with webxml-config. You may want to exclude this file via
- # config.excludes.
- # config.webinf_files += FileList["jboss-web.xml"]
- # Files to be included in the root of the webapp. Note that files in public
- # will have the leading 'public/' part of the path stripped during staging.
- # config.public_html = FileList["public/**/*", "doc/**/*"]
- # Pathmaps for controlling how public HTML files are copied into the .war
- # config.pathmaps.public_html = ["%{public/,}p"]
- # Embedded webserver to use with the 'executable' feature. Currently supported
- # webservers are:
- # * <tt>winstone</tt> (default) - Winstone 0.9.10 from sourceforge
- # * <tt>jenkins-ci.winstone</tt> - Improved Winstone from Jenkins CI
- # * <tt>jetty</tt> - Embedded Jetty from Eclipse
- # config.webserver = 'jetty'
- # Value of RAILS_ENV for the webapp -- default as shown below
- # config.webxml.rails.env = ENV['RAILS_ENV'] || 'production'
- # Application booter to use, one of :rack, :rails, or :merb (autodetected by default)
- # config.webxml.booter = :rails
- # Set JRuby to run in 1.9 mode.
- # config.webxml.jruby.compat.version = "1.9"
- # When using the :rack booter, "Rackup" script to use.
- # - For 'rackup.path', the value points to the location of the rackup
- # script in the web archive file. You need to make sure this file
- # gets included in the war, possibly by adding it to config.includes
- # or config.webinf_files above.
- # - For 'rackup', the rackup script you provide as an inline string
- # is simply embedded in web.xml.
- # The script is evaluated in a Rack::Builder to load the application.
- # Examples:
- # config.webxml.rackup.path = 'WEB-INF/hello.ru'
- # config.webxml.rackup = %{require './lib/demo'; run Rack::Adapter::Camping.new(Demo)}
- # config.webxml.rackup = require 'cgi' && CGI::escapeHTML(File.read("config.ru"))
- # Control the pool of Rails runtimes. Leaving unspecified means
- # the pool will grow as needed to service requests. It is recommended
- # that you fix these values when running a production server!
- # If you're using threadsafe! mode, you probably don't want to set these values,
- # since 1 runtime(default for threadsafe mode) will be enough.
- # config.webxml.jruby.min.runtimes = 2
- # config.webxml.jruby.max.runtimes = 4
- # JNDI data source name
- # config.webxml.jndi = 'jdbc/rails'
- end
|