soar_sc_core 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86abfab3c4979e7d95cedcd30c632f9caa0af847
4
- data.tar.gz: 8c6d44188e0ccf47f1770b7798f78720e501dd1d
3
+ metadata.gz: a01f96ad92c44ff4ae2bc7d6c5dee8e26f874a60
4
+ data.tar.gz: 314ab1350a32c15f44d3ea535a554438ad59cb6c
5
5
  SHA512:
6
- metadata.gz: 1d06e18afedb937755ffb916943950500326d95d5f0c4187a20224d2d3a2bfbe4225ab5a662543662695a78b998448a6c5de10bcf057de0f8c063fa9b5e27255
7
- data.tar.gz: e943ad3924c92932fdf4e6cd78cfa5aefc5cc50844ef9431714eb27972faceb4a0a5ec527f3a7d8c672e0389070495fb53c1a1fbb531d33cd9f9c27e48eb592b
6
+ metadata.gz: 76966946f457cddbe53f61791cfa0c21120e3fccb986260f16fea752fdab7980c37cf1704d0ab64fc9e0d97dbac56dae7c6a144dcfe50a14c35a2f59ff6adef2
7
+ data.tar.gz: eb2af9e19e5d0d599455877e3cfc5eb9de64576b3ec81e6602f1a0871bce538eebc8b063b60f4ca71b85cb60420bed0019fdc70a1c41e8cbe4e43d94ee55f31c
@@ -1,3 +1,3 @@
1
1
  module SoarScCore
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
data/lib/soar_sc_core.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'pathname'
2
2
  $: << Pathname('.') + 'lib'
3
3
 
4
- DEFAULT_STATIC_OPTIONS = { :urls => ["/wadl", "/fonts", "/css", "/img", "/modernizr", "/jquery", "/foundation", "/js", "/favicon.ico"], :root => "public" } if not defined? DEFAULT_STATIC_OPTIONS; DEFAULT_STATIC_OPTIONS.freeze
4
+ DEFAULT_STATIC_OPTIONS = { "urls" => ["/wadl", "/fonts", "/css", "/img", "/modernizr", "/jquery", "/foundation", "/js", "/favicon.ico"], "root" => "public" } if not defined? DEFAULT_STATIC_OPTIONS; DEFAULT_STATIC_OPTIONS.freeze
5
5
 
6
6
  def require_technology
7
7
  require 'byebug' if ENV['SOAR_TECH'] == 'debug'
@@ -170,6 +170,8 @@ module SoarSc
170
170
 
171
171
  def self.static_options
172
172
  static_options = SoarSc::configuration['static_options'] || DEFAULT_STATIC_OPTIONS
173
+
174
+ { :urls => static_options['urls'], :root => static_options['root'] }
173
175
  end
174
176
 
175
177
  def self.self_test
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar_sc_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernst Van Graan