RUL 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Gemfile +0 -1
  2. data/lib/rul/rul.rb +1 -4
  3. data/rul.gemspec +1 -1
  4. metadata +1 -1
data/Gemfile CHANGED
@@ -1,2 +1 @@
1
1
  source :rubygems
2
- gem 'uuid'
@@ -1,8 +1,5 @@
1
- require 'uuid'
2
-
3
1
  module RUL
4
2
  module Logging
5
- @@uuid = UUID.new
6
3
 
7
4
  def self.included(base)
8
5
  base.class_eval do
@@ -11,7 +8,7 @@ module RUL
11
8
  end
12
9
 
13
10
  def add_with_uuid_info severity, message=nil, progname=nil, &block
14
- uuid = (Thread.current[:uuid] ||= @@uuid.generate)
11
+ uuid = session['session_id']
15
12
  unless message.include?(uuid)
16
13
  message = "#{uuid} - #{message}"
17
14
  end
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "RUL"
6
- s.version = "0.0.3"
6
+ s.version = "0.0.4"
7
7
  s.authors = ["Jason Rogers"]
8
8
  s.email = ["jacaetevha@gmail.com"]
9
9
  s.homepage = "https://github.com/jacaetevha/RUL"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RUL
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: