time_bandits 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/time_bandits/railtie.rb +1 -1
- data/lib/time_bandits/version.rb +1 -1
- data/time_bandits.gemspec +2 -1
- metadata +60 -69
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MmFhZDNkN2U1OTY3NDExMWE1YTU3M2QxNDEyNWU3NGY3YmI0OGE4ZA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YjM2MjQ2YTdmMDQwNGJkNzQ0M2VmMDExY2FiN2U4NzI2MjBjNTdmOQ==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NDE1Mjc2NWZhMjgxZWYzMDc2NTBlNTcxNTBjNTYyNWZiN2ZhM2MyYTVmYjYy
|
10
|
+
OTU0MzkyMjRlYTY0YTU0YjQzZTMxZjdjNDY2NDAzNDBiOWU0YzgxMDE0OTY5
|
11
|
+
ZWRjYzY1N2NlMmUwOGY1YzJmMGViYjhkYmY1NGM2ZDE5ZDdlMDg=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MzlkMjA5MmM0MzJkYTNmOGFiYmJiNDRkMWFkNmRjMTU5NDBjOWQ5MGUzMzU3
|
14
|
+
ZjU1YjE4YTA2MDhmODYwOWE3Y2FiZmY2YzEzMWQ1MGIwZGU2ODVlYWNkZDc3
|
15
|
+
N2ExOWNjZWJmZDM2MzExYTRkYzBkYmI1NDcxMWNmNmYwOTA5MjQ=
|
data/lib/time_bandits/railtie.rb
CHANGED
@@ -17,7 +17,7 @@ module TimeBandits
|
|
17
17
|
# time bandits are not thread safe yet, so we insert the Rack::Lock middleware in production.
|
18
18
|
# TODO: make time_bandits thread safe
|
19
19
|
if Rails::VERSION::STRING >= "4.0" && Rails.env.production?
|
20
|
-
app.config.middleware.
|
20
|
+
app.config.middleware.insert_before("TimeBandits::Rack::Logger", "Rack::Lock")
|
21
21
|
end
|
22
22
|
|
23
23
|
ActiveSupport.on_load(:action_controller) do
|
data/lib/time_bandits/version.rb
CHANGED
data/time_bandits.gemspec
CHANGED
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.require_paths = ["lib"]
|
19
19
|
|
20
20
|
s.add_runtime_dependency("thread_variables")
|
21
|
-
s.add_runtime_dependency("activesupport",
|
21
|
+
s.add_runtime_dependency("activesupport", [">= 2.3.2"])
|
22
|
+
s.add_development_dependency("rake")
|
22
23
|
end
|
23
24
|
|
metadata
CHANGED
@@ -1,62 +1,64 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: time_bandits
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 0
|
10
|
-
version: 0.4.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.1
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Stefan Kaes
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
- 0
|
31
|
-
version: "0"
|
11
|
+
date: 2013-07-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - ! '>='
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '0'
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '0'
|
32
24
|
type: :runtime
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: activesupport
|
36
25
|
prerelease: false
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
26
|
+
name: thread_variables
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 2.3.2
|
33
|
+
version_requirements: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
47
37
|
version: 2.3.2
|
48
38
|
type: :runtime
|
49
|
-
|
39
|
+
prerelease: false
|
40
|
+
name: activesupport
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
version_requirements: !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - ! '>='
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '0'
|
52
|
+
type: :development
|
53
|
+
prerelease: false
|
54
|
+
name: rake
|
50
55
|
description: Rails Completed Line on Steroids
|
51
|
-
email:
|
56
|
+
email:
|
52
57
|
- skaes@railsexpress.de
|
53
58
|
executables: []
|
54
|
-
|
55
59
|
extensions: []
|
56
|
-
|
57
60
|
extra_rdoc_files: []
|
58
|
-
|
59
|
-
files:
|
61
|
+
files:
|
60
62
|
- .gitignore
|
61
63
|
- Gemfile
|
62
64
|
- README.rdoc
|
@@ -85,36 +87,25 @@ files:
|
|
85
87
|
- time_bandits.gemspec
|
86
88
|
homepage: https://github.com/skaes/time_bandits/
|
87
89
|
licenses: []
|
88
|
-
|
90
|
+
metadata: {}
|
89
91
|
post_install_message:
|
90
92
|
rdoc_options: []
|
91
|
-
|
92
|
-
require_paths:
|
93
|
+
require_paths:
|
93
94
|
- lib
|
94
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
none: false
|
105
|
-
requirements:
|
106
|
-
- - ">="
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
hash: 3
|
109
|
-
segments:
|
110
|
-
- 0
|
111
|
-
version: "0"
|
95
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ! '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ! '>='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
112
105
|
requirements: []
|
113
|
-
|
114
106
|
rubyforge_project:
|
115
|
-
rubygems_version:
|
107
|
+
rubygems_version: 2.0.5
|
116
108
|
signing_key:
|
117
|
-
specification_version:
|
109
|
+
specification_version: 4
|
118
110
|
summary: Custom performance logging for Rails
|
119
111
|
test_files: []
|
120
|
-
|