leifcr-refile 0.7.1 → 0.7.3

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
  SHA256:
3
- metadata.gz: '09cdf803473b5c41c118d33781ba8c53d5a4884588bb1e409cc5a19397cd8316'
4
- data.tar.gz: e2df56d6157976caf9f7d9dc9a7767669b44e3c254547d2abd442661ed54632b
3
+ metadata.gz: 20f65128eb65b7daf0bbf5656c998274f637d0fa6c9286241781652fb10d4df8
4
+ data.tar.gz: 4b9eaa66d2086ff10dad29d2d74b07cee6e4191f56ebe1fc5e49a4cf0f58dccb
5
5
  SHA512:
6
- metadata.gz: c4f680ce65d54cb60b5b0d124aee67eee4ab2ec74444834eb1b7e459f799098a81ce4e6bf6aa62ac75ccc519f730337c01b6fbeee12bf8285a6a2d451e7d82fe
7
- data.tar.gz: 7bad151f9f65c5a74dfe5003849517ff5a60b27dd68497bffeaa0184d8ec444b943f1cbe1444570058001a9b4e34cf0e5c02c1997aa7375ccbf3a63b9fba4108
6
+ metadata.gz: 377414dd779e3d35cf63720e99fd6a6b0f2a5b5a9250755f88d2bec14d8f931f20074f4f2fa2cd443e58cc62b33086426a57c4452bac087b82ef78ff22adebf9
7
+ data.tar.gz: 2b506739a316f249d2ab8bcbafc7768d583dedd4f27dbdf195d024780e927aa4c96972a61407c7e02ad8782e46d915f06b425ee06bd82999fa43c3197312ab27
data/lib/refile/app.rb CHANGED
@@ -165,8 +165,7 @@ module Refile
165
165
  end
166
166
 
167
167
  def log_error(message)
168
- h = { invoker: self.class.name, message: message }
169
- logger.error h.to_json
168
+ logger.error "#{self.class.name}: #{message}"
170
169
  end
171
170
 
172
171
  def verified?
@@ -3,8 +3,7 @@ require "rack/body_proxy"
3
3
  module Refile
4
4
  # @api private
5
5
  class CustomLogger
6
- # LOG_FORMAT = %(%s: [%s] %s "%s%s" %d %0.1fms\n)
7
- LOG_FORMAT= %({"invoker": "%s", "time": "%s", "method": "%s", "path": "%s", "params": "%s", "status": %d, "duration": %0.1f})
6
+ LOG_FORMAT = %(%s: [%s] %s "%s%s" %d %0.1fms\n)
8
7
 
9
8
  def initialize(app, prefix, logger_proc)
10
9
  @app = app
@@ -1,3 +1,3 @@
1
1
  module Refile
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leifcr-refile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Nicklas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-17 00:00:00.000000000 Z
11
+ date: 2023-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -17,9 +17,9 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 2.0.0
20
- - - "<="
20
+ - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 3.0.0
22
+ version: 4.0.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +27,9 @@ dependencies:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: 2.0.0
30
- - - "<="
30
+ - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 3.0.0
32
+ version: 4.0.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: mime-types
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -44,6 +44,96 @@ dependencies:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: pry
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rails
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: 5.2.0
68
+ - - "<"
69
+ - !ruby/object:Gem::Version
70
+ version: 6.0.0
71
+ type: :development
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: 5.2.0
78
+ - - "<"
79
+ - !ruby/object:Gem::Version
80
+ version: 6.0.0
81
+ - !ruby/object:Gem::Dependency
82
+ name: jquery-rails
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ - !ruby/object:Gem::Dependency
96
+ name: rspec-rails
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ - !ruby/object:Gem::Dependency
110
+ name: yard
111
+ requirement: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ type: :development
117
+ prerelease: false
118
+ version_requirements: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ - !ruby/object:Gem::Dependency
124
+ name: rubocop
125
+ requirement: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ type: :development
131
+ prerelease: false
132
+ version_requirements: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
47
137
  description:
48
138
  email:
49
139
  - jonas.nicklas@gmail.com
@@ -120,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
210
  - !ruby/object:Gem::Version
121
211
  version: '0'
122
212
  requirements: []
123
- rubygems_version: 3.0.3
213
+ rubygems_version: 3.1.6
124
214
  signing_key:
125
215
  specification_version: 4
126
216
  summary: Simple and powerful file upload library