sportweb 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd421cb2f06ce6a1f7790114ea14facdb9d1df81
4
- data.tar.gz: 1e90621b71e43484c7ceea119da2e3b2de0723fb
3
+ metadata.gz: bbdfb9023cce09cffd8875e81242b1ca50a7d3d7
4
+ data.tar.gz: 875f70dabd3fcfa1810a96101b88c7e030c3117f
5
5
  SHA512:
6
- metadata.gz: 84f6bf27c6ad0337b0099de3266fec1fd3e533d1de88a83220e8d55ee7382ed821e67ff5fd6f20ae8f5ea9689fa4e0424232f2f2dc7a02e7560de5d044568631
7
- data.tar.gz: 78b3ae0b472cd32e98ea753c0a3b1956236a104ba9108ea278f7577d964ef6cd0c42c122a3f935eeb98e1e5f44059027952dd3e261078554127461c0bd9f6917
6
+ metadata.gz: 459a29714c2b420cdc3fbe19ddd7c8481fd1eaac6754a9886a7c478220524e693ec7dd0cce10cf5b7d51e8f956892d789ea47319f57b05db8e96d8e0f91ee155
7
+ data.tar.gz: 833b60ee73dc605cff5ea95d67c8c03ac3430a025c7f3c5485091eb987f92ca7b1b4d0a3058e5ee6d8692a7c0238f8d7299bd5c008b4c9ce3a9a7ca21d05298f
@@ -126,7 +126,12 @@ class SportWebHost < Rails::Application
126
126
 
127
127
  ## set public path to built-in public
128
128
  paths['public'] = "#{SportWebHost.root}/public"
129
- ## paths['log'] = File.expand_path( './log', Dir.pwd ) ## use working folder for logs
129
+ ## note: gets overwritten!? try again (later) after initialize - why? why not?
130
+
131
+ ## test hello path
132
+ paths['hello'] = "#{SportWebHost.root}/hello"
133
+
134
+ paths['log'] = File.expand_path( "./log/#{Rails.env}.log", Dir.pwd ) ## use working folder for logs
130
135
  ## log - check? is folder/dir or log file itself?
131
136
  ## >log<:
132
137
  ## expanded: ["C:/Sites/sportdb/sport.db.web/log/production.log"]
@@ -99,3 +99,6 @@ Rails.application.paths.keys.each do |k|
99
99
  puts " expanded: #{v.expanded}"
100
100
  puts "---"
101
101
  end
102
+
103
+ Rails.application.paths['public'] = "#{SportWebHost.root}/public"
104
+ puts "public: #{Rails.application.paths['public'].expanded}"
@@ -1,6 +1,6 @@
1
1
 
2
2
  module SportWeb
3
- VERSION = '0.3.1'
3
+ VERSION = '0.3.2'
4
4
 
5
5
  def self.banner
6
6
  "sportweb/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sportweb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer