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 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=
@@ -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.insert_after("Rack::Sendfile", "Rack::Lock")
20
+ app.config.middleware.insert_before("TimeBandits::Rack::Logger", "Rack::Lock")
21
21
  end
22
22
 
23
23
  ActiveSupport.on_load(:action_controller) do
@@ -1,3 +1,3 @@
1
1
  module TimeBandits
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
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", [">= 2.3.2"])
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
- hash: 15
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
- date: 2013-07-20 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: thread_variables
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
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
- requirement: &id002 !ruby/object:Gem::Requirement
38
- none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 7
43
- segments:
44
- - 2
45
- - 3
46
- - 2
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
- version_requirements: *id002
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
- none: false
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- hash: 3
100
- segments:
101
- - 0
102
- version: "0"
103
- required_rubygems_version: !ruby/object:Gem::Requirement
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: 1.8.24
107
+ rubygems_version: 2.0.5
116
108
  signing_key:
117
- specification_version: 3
109
+ specification_version: 4
118
110
  summary: Custom performance logging for Rails
119
111
  test_files: []
120
-