rack-request-object-logger 1.1.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d73de14f9c2ab393b7e8847378c163a24542616c
4
- data.tar.gz: d6c4ab97e336f8550f8986fd57f416ca37434c32
3
+ metadata.gz: 68113b8a402b14c8a318bf7f4d741b1cdea58b5d
4
+ data.tar.gz: f3b79f22b3c49915e445664b20bac57d603daebb
5
5
  SHA512:
6
- metadata.gz: f390810d5da7e2b24a8a13f0db342501b6ecf8072e08621b7b55e398f519d7755ec485c97df81f9f4a9341ea667e02c566e815cad4cf3a70122d254272a23d3c
7
- data.tar.gz: 0ae0aaed1d36641878d5185a459d310379789d311de965b5a3bc3a0f2419585798ea699daeee9560f4af78a0b3dec31f27b6abaf9ee161c1797172abd0b5c34b
6
+ metadata.gz: a5df959bfad13fd9df2acb70480fc5e8f59d7d058c5e0e6a250838eea9df3284240a8cccd3fce58889d542a9686ef8a19b7f7e2858edfe854333a64f25f2c5bc
7
+ data.tar.gz: 71f93253e15c2b0680be1ae37ceb318c4975260cc26046cccaff25df0813a17cf68ceb96bbaf8fa89df14f6966963dc97cab28ef964069118087597a2474d121
data/.travis.yml CHANGED
@@ -6,3 +6,10 @@ rvm:
6
6
  - 2.4.0
7
7
  - jruby-9.1.6.0
8
8
  before_install: gem install bundler -v 1.13.7
9
+ cache: bundler
10
+ matrix:
11
+ include:
12
+ - rvm: ruby-head
13
+ allow_failures:
14
+ - rvm: ruby-head
15
+ fast_finish: true
data/Gemfile CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  source 'https://rubygems.org'
2
3
 
3
4
  # Specify your gem's dependencies in rack-request-object-logger.gemspec
data/README.md CHANGED
@@ -1,5 +1,4 @@
1
1
  [![Build Status](http://img.shields.io/travis/starmammoth/rack-request-object-logger.svg?style=flat-square)](https://travis-ci.org/starmammoth/rack-request-object-logger)
2
- [![Dependency Status](http://img.shields.io/gemnasium/starmammoth/rack-request-object-logger.svg?style=flat-square)](https://gemnasium.com/starmammoth/rack-request-object-logger)
3
2
  [![Code Climate](http://img.shields.io/codeclimate/github/starmammoth/rack-request-object-logger.svg?style=flat-square)](https://codeclimate.com/github/starmammoth/rack-request-object-logger)
4
3
  [![Gem Version](http://img.shields.io/gem/v/rack-request-object-logger.svg?style=flat-square)](https://rubygems.org/gems/rack-request-object-logger)
5
4
  [![License](http://img.shields.io/:license-apache-blue.svg?style=flat-square)](http://www.apache.org/licenses/LICENSE-2.0.html)
@@ -26,20 +25,20 @@ gem 'rack-request-object-logger'
26
25
 
27
26
  ## Rubies Support
28
27
 
29
- Ruby 2.1+, jruby and rubinius...most likely, because the code is in pure Ruby
28
+ Ruby 2.1+, jRuby and Rubinius 3.69+
30
29
 
31
- ## TODO
30
+ ## Roadmap
32
31
 
33
- - the code work flawlessly
34
- - performance specs don't work on jruby, but works on MRI
35
- - I couldn't install rubinius yet, so it's untested
32
+ While the code works flawlessly
33
+
34
+ - performance specs don't work on jruby, but works on MRI and Rubinius 3.60
36
35
 
37
36
  ## Example - logging to SQL database in Rails
38
37
 
39
38
  generate a model for storage
40
39
 
41
40
  ```bash
42
- $ bin/rails g model Sql::HttpRequest uuid:string data:text
41
+ $ bin/rails g model Sql::HttpRequest uid:string data:text
43
42
 
44
43
  ```
45
44
 
data/bin/console CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require "bundler/setup"
4
5
  require "rack-request-object-logger"
data/bin/setup CHANGED
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env bash
2
+ # frozen_string_literal: true
3
+
2
4
  set -euo pipefail
3
5
  IFS=$'\n\t'
4
6
  set -vx
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'rack'
2
3
  require 'securerandom'
3
4
 
@@ -38,6 +39,7 @@ class RackRequestObjectLogger
38
39
  ['REQUEST_URI', 'ORIGINAL_FULLPATH', 'ORIGINAL_SCRIPT_NAME'].include?(header)
39
40
  end
40
41
  logger_object.uid = request.env['action_dispatch.request_id'] || SecureRandom.uuid
42
+ logger_object.status_code = app_result.first
41
43
  logger_object.save
42
44
  app_result
43
45
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  class RackRequestObjectLogger
2
- VERSION = "1.1.0"
3
+ VERSION = "2.0.1"
3
4
  end
@@ -1,75 +1,11 @@
1
+ # frozen_string_literal: true
1
2
  require_relative 'performance_helper'
3
+ require_relative '../spec/spec_data'
2
4
  require 'active_record'
3
5
 
4
- RSpec.describe "Performance testing with an ActiveRecord class", performance: true do
6
+ RSpec.describe "Performance testing with an ActiveRecord class and SQLite3 database", performance: true do
5
7
  include RSpec::Benchmark::Matchers
6
-
7
- let(:rails5_puma_headers) do
8
- {
9
- "rack.version" => [1, 3],
10
- "rack.errors" => StringIO.new('#<IO:<STDERR>>'),
11
- "rack.multithread" => true,
12
- "rack.multiprocess" => false,
13
- "rack.run_once" => false,
14
- "rack.hijack?" => true,
15
- "rack.hijack" => StringIO.new('#<Puma::Client:0x3fdb250638cc @ready=true>'),
16
- "rack.input" => StringIO.new('#<Puma::NullIO:0x007fb646f1db88>'),
17
- "rack.url_scheme" => "http",
18
- "rack.after_reply" => [],
19
- "rack.session" => StringIO.new('#<ActionDispatch::Request::Session:0x7fb64a073ae8 not yet loaded>'),
20
- "rack.request.query_string" => "",
21
- "rack.request.query_hash" => {},
22
- "rack.request.cookie_hash" => {},
23
- "SCRIPT_NAME" => "",
24
- "QUERY_STRING" => "",
25
- "SERVER_PROTOCOL" => "HTTP/1.1",
26
- "SERVER_SOFTWARE" => "puma 3.6.2 Sleepy Sunday Serenity",
27
- "GATEWAY_INTERFACE" => "CGI/1.2",
28
- "REQUEST_METHOD" => "GET",
29
- "REQUEST_PATH" => "/lol",
30
- "REQUEST_URI" => "/lol",
31
- "SERVER_NAME" => "localhost",
32
- "SERVER_PORT" => "4000",
33
- "PATH_INFO" => "/lol",
34
- "REMOTE_ADDR" => "::1",
35
- "ROUTES_70210414172620_SCRIPT_NAME" => "",
36
- "ORIGINAL_FULLPATH" => "/lol",
37
- "ORIGINAL_SCRIPT_NAME" => "",
38
- "HTTP_VERSION" => "HTTP/1.1",
39
- "HTTP_HOST" => "localhost:4000",
40
- "HTTP_UPGRADE_INSECURE_REQUESTS" => "1",
41
- "HTTP_ACCEPT" => "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
42
- "HTTP_USER_AGENT" => "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0.2 Safari/602.3.12",
43
- "HTTP_ACCEPT_LANGUAGE" => "en-us",
44
- "HTTP_ACCEPT_ENCODING" => "gzip, deflate",
45
- "HTTP_CONNECTION" => "keep-alive",
46
- "puma.socket" => StringIO.new('#<TCPSocket:fd 36>'),
47
- "action_dispatch.parameter_filter" => [:password],
48
- "action_dispatch.redirect_filter" => [],
49
- "action_dispatch.secret_token" => nil,
50
- "action_dispatch.secret_key_base" =>
51
- "1f6009534595b3497d036d11adaea7f0597f26bc153216c8ac961c2831e9585a21982feb8ecd6dd1a25eabfc4850d5e516482107c3d4e0fd46bad26f31ec5055",
52
- "action_dispatch.show_exceptions" => true,
53
- "action_dispatch.show_detailed_exceptions" => true,
54
- "action_dispatch.logger" => StringIO.new('some logger'),
55
- "action_dispatch.backtrace_cleaner" => StringIO.new('some backtrace silencer'),
56
- "action_dispatch.key_generator" => StringIO.new('some key generator'),
57
- "action_dispatch.http_auth_salt" => "http authentication",
58
- "action_dispatch.signed_cookie_salt" => "signed cookie",
59
- "action_dispatch.encrypted_cookie_salt" => "encrypted cookie",
60
- "action_dispatch.encrypted_signed_cookie_salt" => "signed encrypted cookie",
61
- "action_dispatch.cookies_serializer" => :json,
62
- "action_dispatch.cookies_digest" => nil,
63
- "action_dispatch.request_id" => "18f28286-d4d1-4378-b959-189db4a22754",
64
- "action_dispatch.request.path_parameters" => {:controller=>"greetings", :action=>"index"},
65
- "action_dispatch.request.content_type" => nil,
66
- "action_dispatch.request.request_parameters" => {},
67
- "action_dispatch.request.query_parameters" => {},
68
- "action_dispatch.request.parameters" => {"controller"=>"greetings", "action"=>"index"},
69
- "action_dispatch.request.formats" => StringIO.new('some formats'),
70
- "action_dispatch.request.unsigned_session_cookie" => {}
71
- }
72
- end
8
+ include_context 'spec_data'
73
9
 
74
10
  class RequestActiveRecordLog < ActiveRecord::Base
75
11
  serialize :headers, JSON
@@ -93,7 +29,7 @@ RSpec.describe "Performance testing with an ActiveRecord class", performance: tr
93
29
  after { File.unlink 'active_record_performance.sqlite3' }
94
30
 
95
31
  it 'much fast. wow' do
96
- stub_const("Rack::MockRequest::DEFAULT_ENV", rails5_puma_headers)
32
+ set_headers(rails5_puma_headers)
97
33
 
98
34
  ActiveRecord::Base.establish_connection(
99
35
  adapter: 'sqlite3',
@@ -1,82 +1,10 @@
1
+ # frozen_string_literal: true
1
2
  require_relative 'performance_helper'
2
-
3
- class RequestDummyLog
4
- attr_accessor :application_server_request_start, :application_server_request_end, :data, :uid
5
-
6
- def save
7
- true
8
- end
9
- end
3
+ require_relative '../spec/spec_data'
10
4
 
11
5
  RSpec.describe "Performance testing with a dummy class", performance: true do
12
6
  include RSpec::Benchmark::Matchers
13
-
14
- let(:rails5_puma_headers) do
15
- {
16
- "rack.version" => [1, 3],
17
- "rack.errors" => StringIO.new('#<IO:<STDERR>>'),
18
- "rack.multithread" => true,
19
- "rack.multiprocess" => false,
20
- "rack.run_once" => false,
21
- "rack.hijack?" => true,
22
- "rack.hijack" => StringIO.new('#<Puma::Client:0x3fdb250638cc @ready=true>'),
23
- "rack.input" => StringIO.new('#<Puma::NullIO:0x007fb646f1db88>'),
24
- "rack.url_scheme" => "http",
25
- "rack.after_reply" => [],
26
- "rack.session" => StringIO.new('#<ActionDispatch::Request::Session:0x7fb64a073ae8 not yet loaded>'),
27
- "rack.request.query_string" => "",
28
- "rack.request.query_hash" => {},
29
- "rack.request.cookie_hash" => {},
30
- "SCRIPT_NAME" => "",
31
- "QUERY_STRING" => "",
32
- "SERVER_PROTOCOL" => "HTTP/1.1",
33
- "SERVER_SOFTWARE" => "puma 3.6.2 Sleepy Sunday Serenity",
34
- "GATEWAY_INTERFACE" => "CGI/1.2",
35
- "REQUEST_METHOD" => "GET",
36
- "REQUEST_PATH" => "/lol",
37
- "REQUEST_URI" => "/lol",
38
- "SERVER_NAME" => "localhost",
39
- "SERVER_PORT" => "4000",
40
- "PATH_INFO" => "/lol",
41
- "REMOTE_ADDR" => "::1",
42
- "ROUTES_70210414172620_SCRIPT_NAME" => "",
43
- "ORIGINAL_FULLPATH" => "/lol",
44
- "ORIGINAL_SCRIPT_NAME" => "",
45
- "HTTP_VERSION" => "HTTP/1.1",
46
- "HTTP_HOST" => "localhost:4000",
47
- "HTTP_UPGRADE_INSECURE_REQUESTS" => "1",
48
- "HTTP_ACCEPT" => "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
49
- "HTTP_USER_AGENT" => "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0.2 Safari/602.3.12",
50
- "HTTP_ACCEPT_LANGUAGE" => "en-us",
51
- "HTTP_ACCEPT_ENCODING" => "gzip, deflate",
52
- "HTTP_CONNECTION" => "keep-alive",
53
- "puma.socket" => StringIO.new('#<TCPSocket:fd 36>'),
54
- "action_dispatch.parameter_filter" => [:password],
55
- "action_dispatch.redirect_filter" => [],
56
- "action_dispatch.secret_token" => nil,
57
- "action_dispatch.secret_key_base" =>
58
- "1f6009534595b3497d036d11adaea7f0597f26bc153216c8ac961c2831e9585a21982feb8ecd6dd1a25eabfc4850d5e516482107c3d4e0fd46bad26f31ec5055",
59
- "action_dispatch.show_exceptions" => true,
60
- "action_dispatch.show_detailed_exceptions" => true,
61
- "action_dispatch.logger" => StringIO.new('some logger'),
62
- "action_dispatch.backtrace_cleaner" => StringIO.new('some backtrace silencer'),
63
- "action_dispatch.key_generator" => StringIO.new('some key generator'),
64
- "action_dispatch.http_auth_salt" => "http authentication",
65
- "action_dispatch.signed_cookie_salt" => "signed cookie",
66
- "action_dispatch.encrypted_cookie_salt" => "encrypted cookie",
67
- "action_dispatch.encrypted_signed_cookie_salt" => "signed encrypted cookie",
68
- "action_dispatch.cookies_serializer" => :json,
69
- "action_dispatch.cookies_digest" => nil,
70
- "action_dispatch.request_id" => "18f28286-d4d1-4378-b959-189db4a22754",
71
- "action_dispatch.request.path_parameters" => {:controller=>"greetings", :action=>"index"},
72
- "action_dispatch.request.content_type" => nil,
73
- "action_dispatch.request.request_parameters" => {},
74
- "action_dispatch.request.query_parameters" => {},
75
- "action_dispatch.request.parameters" => {"controller"=>"greetings", "action"=>"index"},
76
- "action_dispatch.request.formats" => StringIO.new('some formats'),
77
- "action_dispatch.request.unsigned_session_cookie" => {}
78
- }
79
- end
7
+ include_context 'spec_data'
80
8
 
81
9
  let(:app) { proc{ [200, {}, ['Hello, world.']] } }
82
10
  let(:stack) { RackRequestObjectLogger.new(app, RequestDummyLog) }
@@ -86,7 +14,7 @@ RSpec.describe "Performance testing with a dummy class", performance: true do
86
14
  before { allow(RequestDummyLog).to receive(:new).and_return(logger_object) }
87
15
 
88
16
  it 'much fast. wow' do
89
- stub_const("Rack::MockRequest::DEFAULT_ENV", rails5_puma_headers)
17
+ set_headers(rails5_puma_headers)
90
18
  expect { request.get('http://localhost:4000/doge') }.to perform_at_least(5000).ips
91
19
  end
92
20
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'bundler/setup'
2
3
  require 'rspec-benchmark'
3
4
  $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
@@ -1,4 +1,6 @@
1
1
  # coding: utf-8
2
+ # frozen_string_literal: true
3
+
2
4
  lib = File.expand_path('../lib', __FILE__)
3
5
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
6
  require 'rack-request-object-logger/version'
@@ -12,7 +14,7 @@ Gem::Specification.new do |spec|
12
14
  spec.summary = %q{Log HTTP requests via Rack stack to an object. You can use any object.}
13
15
  spec.description = %q{Log HTTP requests via Rack stack to an object. You can use any object, i.e. ActiveRecord model}
14
16
  spec.homepage = "https://github.com/starmammoth/rack-request-object-logger"
15
- spec.license = "Apache 2.0"
17
+ spec.license = "Apache-2.0"
16
18
 
17
19
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
20
  f.match(%r{^(test|spec|features)/})
@@ -21,13 +23,13 @@ Gem::Specification.new do |spec|
21
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
24
  spec.require_paths = ["lib"]
23
25
 
24
- spec.add_dependency "rack"
25
- spec.add_development_dependency "bundler", "~> 1.13"
26
- spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_dependency "rack", "> 0", "< 3.0"
27
+ spec.add_development_dependency "bundler", "~> 1.14"
28
+ spec.add_development_dependency "rake", "~> 12.0"
27
29
  spec.add_development_dependency "rspec", "~> 3.5"
28
- spec.add_development_dependency "rspec-benchmark"
29
- spec.add_development_dependency "pry"
30
- spec.add_development_dependency "activerecord", '>= 4.2'
31
- spec.add_development_dependency "sqlite3" unless RUBY_PLATFORM == 'java'
32
- spec.add_development_dependency "activerecord-jdbcsqlite3-adapter" if RUBY_PLATFORM == 'java'
30
+ spec.add_development_dependency "rspec-benchmark", "~> 0"
31
+ spec.add_development_dependency "pry", "~> 0"
32
+ spec.add_development_dependency "activerecord", '>= 4.2', "< 6.0"
33
+ spec.add_development_dependency "sqlite3", "~> 1.3" unless RUBY_PLATFORM == 'java'
34
+ spec.add_development_dependency "activerecord-jdbcsqlite3-adapter", "~> 1.3" if RUBY_PLATFORM == 'java'
33
35
  end
metadata CHANGED
@@ -1,128 +1,141 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-request-object-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Stana
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-27 00:00:00.000000000 Z
11
+ date: 2017-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: rack
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
- - - ">="
17
+ - - ">"
17
18
  - !ruby/object:Gem::Version
18
19
  version: '0'
19
- name: rack
20
- prerelease: false
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '3.0'
21
23
  type: :runtime
24
+ prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ">="
27
+ - - ">"
25
28
  - !ruby/object:Gem::Version
26
29
  version: '0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '3.0'
27
33
  - !ruby/object:Gem::Dependency
34
+ name: bundler
28
35
  requirement: !ruby/object:Gem::Requirement
29
36
  requirements:
30
37
  - - "~>"
31
38
  - !ruby/object:Gem::Version
32
- version: '1.13'
33
- name: bundler
34
- prerelease: false
39
+ version: '1.14'
35
40
  type: :development
41
+ prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: '1.13'
46
+ version: '1.14'
41
47
  - !ruby/object:Gem::Dependency
48
+ name: rake
42
49
  requirement: !ruby/object:Gem::Requirement
43
50
  requirements:
44
51
  - - "~>"
45
52
  - !ruby/object:Gem::Version
46
- version: '10.0'
47
- name: rake
48
- prerelease: false
53
+ version: '12.0'
49
54
  type: :development
55
+ prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '10.0'
60
+ version: '12.0'
55
61
  - !ruby/object:Gem::Dependency
62
+ name: rspec
56
63
  requirement: !ruby/object:Gem::Requirement
57
64
  requirements:
58
65
  - - "~>"
59
66
  - !ruby/object:Gem::Version
60
67
  version: '3.5'
61
- name: rspec
62
- prerelease: false
63
68
  type: :development
69
+ prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
74
  version: '3.5'
69
75
  - !ruby/object:Gem::Dependency
76
+ name: rspec-benchmark
70
77
  requirement: !ruby/object:Gem::Requirement
71
78
  requirements:
72
- - - ">="
79
+ - - "~>"
73
80
  - !ruby/object:Gem::Version
74
81
  version: '0'
75
- name: rspec-benchmark
76
- prerelease: false
77
82
  type: :development
83
+ prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
- - - ">="
86
+ - - "~>"
81
87
  - !ruby/object:Gem::Version
82
88
  version: '0'
83
89
  - !ruby/object:Gem::Dependency
90
+ name: pry
84
91
  requirement: !ruby/object:Gem::Requirement
85
92
  requirements:
86
- - - ">="
93
+ - - "~>"
87
94
  - !ruby/object:Gem::Version
88
95
  version: '0'
89
- name: pry
90
- prerelease: false
91
96
  type: :development
97
+ prerelease: false
92
98
  version_requirements: !ruby/object:Gem::Requirement
93
99
  requirements:
94
- - - ">="
100
+ - - "~>"
95
101
  - !ruby/object:Gem::Version
96
102
  version: '0'
97
103
  - !ruby/object:Gem::Dependency
104
+ name: activerecord
98
105
  requirement: !ruby/object:Gem::Requirement
99
106
  requirements:
100
107
  - - ">="
101
108
  - !ruby/object:Gem::Version
102
109
  version: '4.2'
103
- name: activerecord
104
- prerelease: false
110
+ - - "<"
111
+ - !ruby/object:Gem::Version
112
+ version: '6.0'
105
113
  type: :development
114
+ prerelease: false
106
115
  version_requirements: !ruby/object:Gem::Requirement
107
116
  requirements:
108
117
  - - ">="
109
118
  - !ruby/object:Gem::Version
110
119
  version: '4.2'
120
+ - - "<"
121
+ - !ruby/object:Gem::Version
122
+ version: '6.0'
111
123
  - !ruby/object:Gem::Dependency
124
+ name: sqlite3
112
125
  requirement: !ruby/object:Gem::Requirement
113
126
  requirements:
114
- - - ">="
127
+ - - "~>"
115
128
  - !ruby/object:Gem::Version
116
- version: '0'
117
- name: activerecord-jdbcsqlite3-adapter
118
- prerelease: false
129
+ version: '1.3'
119
130
  type: :development
131
+ prerelease: false
120
132
  version_requirements: !ruby/object:Gem::Requirement
121
133
  requirements:
122
- - - ">="
134
+ - - "~>"
123
135
  - !ruby/object:Gem::Version
124
- version: '0'
125
- description: Log HTTP requests via Rack stack to an object. You can use any object, i.e. ActiveRecord model
136
+ version: '1.3'
137
+ description: Log HTTP requests via Rack stack to an object. You can use any object,
138
+ i.e. ActiveRecord model
126
139
  email:
127
140
  - ronon@myrtana.sk
128
141
  executables: []
@@ -147,9 +160,9 @@ files:
147
160
  - rack-request-object-logger.gemspec
148
161
  homepage: https://github.com/starmammoth/rack-request-object-logger
149
162
  licenses:
150
- - Apache 2.0
163
+ - Apache-2.0
151
164
  metadata: {}
152
- post_install_message:
165
+ post_install_message:
153
166
  rdoc_options: []
154
167
  require_paths:
155
168
  - lib
@@ -164,9 +177,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
177
  - !ruby/object:Gem::Version
165
178
  version: '0'
166
179
  requirements: []
167
- rubyforge_project:
180
+ rubyforge_project:
168
181
  rubygems_version: 2.6.8
169
- signing_key:
182
+ signing_key:
170
183
  specification_version: 4
171
184
  summary: Log HTTP requests via Rack stack to an object. You can use any object.
172
185
  test_files: []