request_recorder 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock
CHANGED
@@ -10,7 +10,7 @@ module RequestRecorder
|
|
10
10
|
if id
|
11
11
|
old = read(id)
|
12
12
|
else
|
13
|
-
id = "#{Time.now.utc.strftime("%Y-%m-%d %H:%M:%S
|
13
|
+
id = "#{Time.now.utc.strftime("%Y-%m-%d %H:%M:%S")}_#{rand(1000)}_#{Process.pid}"
|
14
14
|
end
|
15
15
|
@store.write(key(id), "#{old}#{text}")
|
16
16
|
id
|
@@ -10,7 +10,7 @@ module RequestRecorder
|
|
10
10
|
if id
|
11
11
|
old = read(id)
|
12
12
|
else
|
13
|
-
id = "#{Time.now.utc.strftime("%Y-%m-%d %H:%M:%S
|
13
|
+
id = "#{Time.now.utc.strftime("%Y-%m-%d %H:%M:%S")}_#{rand(1000)}_#{Process.pid}"
|
14
14
|
end
|
15
15
|
@store.hset(KEY, id, "#{old}#{text}")
|
16
16
|
id
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: request_recorder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -63,7 +63,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
63
|
version: '0'
|
64
64
|
segments:
|
65
65
|
- 0
|
66
|
-
hash:
|
66
|
+
hash: 3121116752566984075
|
67
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
68
|
none: false
|
69
69
|
requirements:
|
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
72
|
version: '0'
|
73
73
|
segments:
|
74
74
|
- 0
|
75
|
-
hash:
|
75
|
+
hash: 3121116752566984075
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
78
|
rubygems_version: 1.8.24
|