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 +4 -4
- data/lib/soar_sc_core/version.rb +1 -1
- data/lib/soar_sc_core.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a01f96ad92c44ff4ae2bc7d6c5dee8e26f874a60
|
4
|
+
data.tar.gz: 314ab1350a32c15f44d3ea535a554438ad59cb6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76966946f457cddbe53f61791cfa0c21120e3fccb986260f16fea752fdab7980c37cf1704d0ab64fc9e0d97dbac56dae7c6a144dcfe50a14c35a2f59ff6adef2
|
7
|
+
data.tar.gz: eb2af9e19e5d0d599455877e3cfc5eb9de64576b3ec81e6602f1a0871bce538eebc8b063b60f4ca71b85cb60420bed0019fdc70a1c41e8cbe4e43d94ee55f31c
|
data/lib/soar_sc_core/version.rb
CHANGED
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 = {
|
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
|