RubyApp 0.5.69 → 0.5.70
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.
- data/Gemfile.lock +1 -1
- data/lib/ruby_app/session.rb +8 -3
- data/lib/ruby_app/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/lib/ruby_app/session.rb
CHANGED
|
@@ -161,9 +161,14 @@ module RubyApp
|
|
|
161
161
|
unless session
|
|
162
162
|
session = Kernel.eval(RubyApp::Session.configuration._class).new
|
|
163
163
|
session.load_script!(script_path) if script_path
|
|
164
|
-
RubyApp::Log.debug("SESSION RubyApp::Session.session_id=#{session.session_id}")
|
|
165
|
-
RubyApp::Log.debug("SESSION RubyApp::Request.environment['REMOTE_ADDR']=#{RubyApp::Request.environment['REMOTE_ADDR']}")
|
|
166
|
-
RubyApp::Log.debug("SESSION RubyApp::Request.environment['
|
|
164
|
+
RubyApp::Log.debug("SESSION RubyApp::Session.session_id=#{session.session_id.inspect}")
|
|
165
|
+
RubyApp::Log.debug("SESSION RubyApp::Request.environment['REMOTE_ADDR']=#{RubyApp::Request.environment['REMOTE_ADDR'].inspect}")
|
|
166
|
+
RubyApp::Log.debug("SESSION RubyApp::Request.environment['REMOTE_HOST']=#{RubyApp::Request.environment['REMOTE_HOST'].inspect}")
|
|
167
|
+
RubyApp::Log.debug("SESSION RubyApp::Request.environment['LOCAL_ADDR']=#{RubyApp::Request.environment['LOCAL_ADDR'].inspect}")
|
|
168
|
+
RubyApp::Log.debug("SESSION RubyApp::Request.environment['SERVER_NAME']=#{RubyApp::Request.environment['SERVER_NAME'].inspect}")
|
|
169
|
+
RubyApp::Log.debug("SESSION RubyApp::Request.environment['SERVER_PORT']=#{RubyApp::Request.environment['SERVER_PORT'].inspect}")
|
|
170
|
+
RubyApp::Log.debug("SESSION RubyApp::Request.environment['HTTP_REFERER']=#{RubyApp::Request.environment['HTTP_REFERER'].inspect}")
|
|
171
|
+
RubyApp::Log.debug("SESSION RubyApp::Request.environment['HTTP_USER_AGENT']=#{RubyApp::Request.environment['HTTP_USER_AGENT'].inspect}")
|
|
167
172
|
end
|
|
168
173
|
Thread.current[:_session] = session
|
|
169
174
|
end
|
data/lib/ruby_app/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: RubyApp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 135
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 0.5.
|
|
9
|
+
- 70
|
|
10
|
+
version: 0.5.70
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Frank G. Ficnar
|