padrino-core 0.15.0 → 0.15.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
  SHA256:
3
- metadata.gz: 5520efda2e9601c24dc69dbb5cb9bdb80cf27e615067349e29182c0dea990ea8
4
- data.tar.gz: a7051cfec9da81eda972e3d15c0d7fd8a740d06edb7ac4fc6626d66d33c9bf18
3
+ metadata.gz: 34666b69f252023ab8f1a972e23b14c060e4219834ad088dd13f04987087c700
4
+ data.tar.gz: dec853c3b9402dec32d39470da681522cc65245bf4e838c10893cd9a30b40310
5
5
  SHA512:
6
- metadata.gz: d671957c0b9c0812edfc15e25a0b6c55b161b3cfc0f7f6333095b5a854d2f5a322230bc8b5963e0a2d8e799f8776a98f53ac04f5e89a298fef202c5cdc80e378
7
- data.tar.gz: b60663258c732efbd194056184ff26328c6cf23c0800d46b13701f3a7bb8a3bc78c6b20772fa25bd834bfd83d94b8146ae9e4420c6aa77d43359fd001ff99f96
6
+ metadata.gz: e71c9a7c41a7ed7b28c9668424dd6757fed139b39ec4b481b1403328664ffd57446912665c90f66a60cc4ca6b36a483346ef6d83137c5fb395f5aae319764a7a
7
+ data.tar.gz: d7f454ef23ab20bfc18a4f041a8b7561ff6952da095549ff35919dcbb9395b0ab0a51e053af1d4bf533878c4c3ff0efcdc7408a8e6031795191a84510f3b4ed5
@@ -22,19 +22,28 @@ module Padrino
22
22
  # Set the padrino logger.
23
23
  #
24
24
  # @param [Object] value
25
- # an object that respond to <<, write, puts, debug, warn etc..
25
+ # an object that respond to <<, write, puts, debug, warn, devel, etc..
26
26
  #
27
27
  # @return [Object]
28
28
  # The given value.
29
29
  #
30
30
  # @example using ruby default logger
31
31
  # require 'logger'
32
- # Padrino.logger = Logger.new(STDOUT)
32
+ # new_logger = ::Logger.new(STDOUT)
33
+ # new_logger.extend(Padrino::Logger::Extensions)
34
+ # Padrino.logger = new_logger
33
35
  #
34
36
  # @example using ActiveSupport
35
37
  # require 'active_support/buffered_logger'
36
38
  # Padrino.logger = Buffered.new(STDOUT)
37
39
  #
40
+ # @example using custom logger class
41
+ # require 'logger'
42
+ # class CustomLogger < ::Logger
43
+ # include Padrino::Logger::Extensions
44
+ # end
45
+ # Padrino.logger = CustomLogger.new(STDOUT)
46
+ #
38
47
  def self.logger=(value)
39
48
  Padrino::Logger.logger = value
40
49
  end
@@ -6,7 +6,7 @@
6
6
  #
7
7
  module Padrino
8
8
  # The version constant for the current version of Padrino.
9
- VERSION = '0.15.0' unless defined?(Padrino::VERSION)
9
+ VERSION = '0.15.1' unless defined?(Padrino::VERSION)
10
10
 
11
11
  #
12
12
  # The current Padrino version.
data/padrino-core.gemspec CHANGED
@@ -24,5 +24,5 @@ Gem::Specification.new do |s|
24
24
 
25
25
  s.add_dependency("padrino-support", Padrino.version)
26
26
  s.add_dependency("sinatra", ">= 2.0.0")
27
- s.add_dependency("thor", "~> 0.18")
27
+ s.add_dependency("thor", "~> 1.0")
28
28
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
8
8
  - Nathan Esquenazi
9
9
  - Davide D'Agostino
10
10
  - Arthur Chiu
11
- autorequire:
11
+ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2020-05-14 00:00:00.000000000 Z
14
+ date: 2021-04-25 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: padrino-support
@@ -19,14 +19,14 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.15.0
22
+ version: 0.15.1
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.15.0
29
+ version: 0.15.1
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: sinatra
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -47,14 +47,14 @@ dependencies:
47
47
  requirements:
48
48
  - - "~>"
49
49
  - !ruby/object:Gem::Version
50
- version: '0.18'
50
+ version: '1.0'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - "~>"
56
56
  - !ruby/object:Gem::Version
57
- version: '0.18'
57
+ version: '1.0'
58
58
  description: The Padrino core gem required for use of this framework
59
59
  email: padrinorb@gmail.com
60
60
  executables:
@@ -191,7 +191,7 @@ homepage: http://www.padrinorb.com
191
191
  licenses:
192
192
  - MIT
193
193
  metadata: {}
194
- post_install_message:
194
+ post_install_message:
195
195
  rdoc_options:
196
196
  - "--charset=UTF-8"
197
197
  require_paths:
@@ -207,8 +207,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  - !ruby/object:Gem::Version
208
208
  version: 1.3.6
209
209
  requirements: []
210
- rubygems_version: 3.0.6
211
- signing_key:
210
+ rubygems_version: 3.0.8
211
+ signing_key:
212
212
  specification_version: 4
213
213
  summary: The required Padrino core gem
214
214
  test_files: