intranet-core 2.1.2 → 2.1.4

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: 10fd2a8804bad5b295e8b221378d9304f361fcf63b124a7f0c270f02eb9a6bc5
4
- data.tar.gz: 915c3b45711004bc17ce776e5ef40c4469679916369f7c66f3e4d2876242e8c8
3
+ metadata.gz: e1d7d91fa0a962e4835681a46f50c7e49b5aaa77327ab112d2999aa90b26a312
4
+ data.tar.gz: 3c67a863896c42b5b83de33863e372678bae92ee831c05f91a6484343ecff88e
5
5
  SHA512:
6
- metadata.gz: 7db13165a2a9591e592d8f8a75695845b661417990040e1c514fc651b56fa6c385fc5e6a9a2bb889158a83558995b356aed93342d43f5c29070cd955d87dd0c3
7
- data.tar.gz: 5e78a60222324510f2e768f7b9818884e5341b046e0cfcbcac01c76bb39cf689ca3bc3ca6bbbe8ccce3ac4e73978fbabf562c3e87cd8637b0575143799fb3d28
6
+ metadata.gz: 2df2d7de87df4c1a267c6fa39f3188ec8231b265c7206351bcde3a1203ad4c4c5d6b163a747888f1967e783c8fd1e1d0a1bbf5d081bd8d5f864eee83ae67ef03
7
+ data.tar.gz: 0ca99259824749ffe9f08c3c8c32a0faa7b7f6afaa063c5e45072fe883355ed684beb35af5ab878f94ff2a037ca391bb9a4a05c918ec3e31ea9e817b716531b7
@@ -80,6 +80,8 @@ module Intranet
80
80
  def stop
81
81
  @logger.info('Intranet::Runner: requesting system shutdown...')
82
82
  @server.shutdown
83
+ while @server.status != :Stop
84
+ end
83
85
  @builder.finalize
84
86
  @logger.close
85
87
  end
@@ -48,7 +48,7 @@ module Intranet
48
48
  target = redirects.fetch(path)
49
49
  location = URI.join(request.request_uri, target).to_s
50
50
  response.set_redirect(WEBrick::HTTPStatus[307], location) if path != target
51
- rescue KeyError # rubocop:disable Lint/HandleExceptions
51
+ rescue KeyError
52
52
  # nothing to do
53
53
  end
54
54
 
@@ -6,7 +6,7 @@ module Intranet
6
6
  NAME = 'intranet-core'
7
7
 
8
8
  # The version of the gem, according to semantic versionning.
9
- VERSION = '2.1.2'
9
+ VERSION = '2.1.4'
10
10
 
11
11
  # The URL of the gem homepage.
12
12
  HOMEPAGE_URL = 'https://rubygems.org/gems/intranet-core'
@@ -258,7 +258,7 @@ RSpec.describe Intranet::Core do
258
258
 
259
259
  # Returned HTML document: includes Intranet Core name, version and URL
260
260
  expect(html).to match(
261
- %r{<footer>.*<a href='#{Intranet::Core::HOMEPAGE_URL}'.*>#{Intranet::Core::NAME}</a>.*#{Intranet::Core::VERSION}.*</footer>}m # rubocop:disable Metrics/LineLength
261
+ %r{<footer>.*<a href='#{Intranet::Core::HOMEPAGE_URL}'.*>#{Intranet::Core::NAME}</a>.*#{Intranet::Core::VERSION}.*</footer>}m # rubocop:disable Layout/LineLength
262
262
  )
263
263
 
264
264
  # Returned HTML document: includes all registered modules version name, version and URL
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intranet-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ebling Mis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-31 00:00:00.000000000 Z
11
+ date: 2020-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.63.0
117
+ version: 0.81.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 0.63.0
124
+ version: 0.81.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: simplecov
127
127
  requirement: !ruby/object:Gem::Requirement