RubyApp 0.5.68 → 0.5.69
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 +5 -2
- data/lib/ruby_app/version.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/lib/ruby_app/session.rb
CHANGED
|
@@ -161,6 +161,9 @@ 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['REMOTE_PORT']=#{RubyApp::Request.environment['REMOTE_PORT']}")
|
|
164
167
|
end
|
|
165
168
|
Thread.current[:_session] = session
|
|
166
169
|
end
|
|
@@ -195,14 +198,14 @@ module RubyApp
|
|
|
195
198
|
end
|
|
196
199
|
end
|
|
197
200
|
|
|
198
|
-
RubyApp::Log.debug(RubyApp::Log.prefix(self, __method__))
|
|
201
|
+
RubyApp::Log.debug("SESSION #{RubyApp::Log.prefix(self, __method__)}")
|
|
199
202
|
|
|
200
203
|
end
|
|
201
204
|
end
|
|
202
205
|
|
|
203
206
|
def self.stop_thread!
|
|
204
207
|
if @@_thread ||= nil
|
|
205
|
-
RubyApp::Log.debug(RubyApp::Log.prefix(self, __method__))
|
|
208
|
+
RubyApp::Log.debug("SESSION #{RubyApp::Log.prefix(self, __method__)}")
|
|
206
209
|
@@_thread.exit
|
|
207
210
|
@@_thread = nil
|
|
208
211
|
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: 129
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 0.5.
|
|
9
|
+
- 69
|
|
10
|
+
version: 0.5.69
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Frank G. Ficnar
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-08-
|
|
18
|
+
date: 2012-08-21 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|