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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c5aa292584f0c1487db2c9e2b17fa323898697b
4
- data.tar.gz: ab29c00d3b4a55593a7d0fbe70b634c4c05d9965
3
+ metadata.gz: bd421cb2f06ce6a1f7790114ea14facdb9d1df81
4
+ data.tar.gz: 1e90621b71e43484c7ceea119da2e3b2de0723fb
5
5
  SHA512:
6
- metadata.gz: 7ff21eda8d87b248e67d729fd6a9284aaa0cab6cd6704bf28829a16f0c2eb2022f8f019364b0e4107b44a7b6e8d38e03e98f4d341bedee8644c882efd7379ff7
7
- data.tar.gz: 9d5bb217e2919978b2ff3b08a06a668df39fcdcc4d7663eee896232147b00ec491409319790663491fa11d4a93af7c51fe2843432c779bd1e74752a862659975
6
+ metadata.gz: 84f6bf27c6ad0337b0099de3266fec1fd3e533d1de88a83220e8d55ee7382ed821e67ff5fd6f20ae8f5ea9689fa4e0424232f2f2dc7a02e7560de5d044568631
7
+ data.tar.gz: 78b3ae0b472cd32e98ea753c0a3b1956236a104ba9108ea278f7577d964ef6cd0c42c122a3f935eeb98e1e5f44059027952dd3e261078554127461c0bd9f6917
@@ -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
 
@@ -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
@@ -1,6 +1,6 @@
1
1
 
2
2
  module SportWeb
3
- VERSION = '0.3.0'
3
+ VERSION = '0.3.1'
4
4
 
5
5
  def self.banner
6
6
  "sportweb/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
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.0
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-26 00:00:00.000000000 Z
11
+ date: 2018-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack