sportweb 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sportweb/application.rb +8 -0
- data/lib/sportweb/environment.rb +8 -0
- data/lib/sportweb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd421cb2f06ce6a1f7790114ea14facdb9d1df81
|
4
|
+
data.tar.gz: 1e90621b71e43484c7ceea119da2e3b2de0723fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84f6bf27c6ad0337b0099de3266fec1fd3e533d1de88a83220e8d55ee7382ed821e67ff5fd6f20ae8f5ea9689fa4e0424232f2f2dc7a02e7560de5d044568631
|
7
|
+
data.tar.gz: 78b3ae0b472cd32e98ea753c0a3b1956236a104ba9108ea278f7577d964ef6cd0c42c122a3f935eeb98e1e5f44059027952dd3e261078554127461c0bd9f6917
|
data/lib/sportweb/application.rb
CHANGED
@@ -122,6 +122,14 @@ class SportWebHost < Rails::Application
|
|
122
122
|
|
123
123
|
|
124
124
|
config.public_file_server.enabled = true
|
125
|
+
|
126
|
+
|
127
|
+
## set public path to built-in public
|
128
|
+
paths['public'] = "#{SportWebHost.root}/public"
|
129
|
+
## paths['log'] = File.expand_path( './log', Dir.pwd ) ## use working folder for logs
|
130
|
+
## log - check? is folder/dir or log file itself?
|
131
|
+
## >log<:
|
132
|
+
## expanded: ["C:/Sites/sportdb/sport.db.web/log/production.log"]
|
125
133
|
end
|
126
134
|
|
127
135
|
|
data/lib/sportweb/environment.rb
CHANGED
@@ -91,3 +91,11 @@ puts ">> Starting Rails stack:"
|
|
91
91
|
Rails.configuration.middleware.each do |middleware|
|
92
92
|
puts "use #{middleware.inspect}"
|
93
93
|
end
|
94
|
+
|
95
|
+
|
96
|
+
Rails.application.paths.keys.each do |k|
|
97
|
+
v = Rails.application.paths[ k ]
|
98
|
+
puts ">#{k}<:"
|
99
|
+
puts " expanded: #{v.expanded}"
|
100
|
+
puts "---"
|
101
|
+
end
|
data/lib/sportweb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sportweb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerald Bauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|