toycol 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1599308369b344cecc36881661fdf60b1ffa8866903939d5ea1380f87ca5e36b
4
- data.tar.gz: b5a67a19b19a0357d13f3a55be989dd462f93a07981f5cb1d443cfd9af19be4c
3
+ metadata.gz: 102026f42040d677807fb5fe1cd08797f564951096c15ac2c0150a757cc82926
4
+ data.tar.gz: d7b4312381d610821b197f688c871acbe26a6d70146c67441d23cbd52a0ed697
5
5
  SHA512:
6
- metadata.gz: 7b9c04a590c8df7f1abfb0ffb7029a3ec55e0a26b4bb4c2fe54dd7b662b792ec1837460c6ba6b21d452bc5c1c0ee8cf5eed3b55b340d594145c4d0996e7a60bb
7
- data.tar.gz: 6be10814f2a7666b7a95ec77a6e737970db8c4f9f238fdb5f0accef6f03eb3cf1c9106401a47e81494fc17ad8393219d3c0f025e778576065f1b86b3eac5db51
6
+ metadata.gz: 11eb3611d926c804f1f0d632f40daf2a37b7f663bdb449c69c2353d608dba87161723f4380d5dedfa78a46f1d264dde625b9bdd30ba6dda6e64eed12964f83cf
7
+ data.tar.gz: 9c38815ef3861ad35ac635f713fb2f6b459ee6cbc64cbe9da56ec355381a5f21c30189e28ebe92f961406b99d9349631b52571729fd8c290d94cd61c0eefd4ea
@@ -0,0 +1,29 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: "[BUG]"
5
+ labels: bug
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ ## Describe the bug
11
+ A clear and concise description of what the bug is.
12
+
13
+ ## To Reproduce
14
+ Steps to reproduce the behavior:
15
+ 1. Go to '...'
16
+ 2. Click on '....'
17
+ 3. Scroll down to '....'
18
+ 4. See error
19
+
20
+ ## Expected behavior
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ ## Environment
24
+ - Ruby Version:
25
+ - Rack Version:
26
+ - Puma Version:
27
+
28
+ ## Additional context
29
+ Add any other context about the problem here.
@@ -29,13 +29,15 @@ module Rack
29
29
  when "puma"
30
30
  return "puma" if puma_requireable?
31
31
 
32
- puts "Puma is not installed in your environment."
33
- raise LoadError
32
+ raise LoadError, "Puma is not installed in your environment."
34
33
  when nil
35
34
  puma_requireable? ? "puma" : "build_in"
36
35
  else
37
36
  "build_in"
38
37
  end
38
+ rescue LoadError
39
+ Process.kill(:INT, Process.ppid)
40
+ abort
39
41
  end
40
42
 
41
43
  def puma_requireable?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Toycol
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toycol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Misaki Shioi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-23 00:00:00.000000000 Z
11
+ date: 2021-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -32,6 +32,7 @@ executables:
32
32
  extensions: []
33
33
  extra_rdoc_files: []
34
34
  files:
35
+ - ".github/ISSUE_TEMPLATE/bug_report.md"
35
36
  - ".github/dependabot.yml"
36
37
  - ".github/workflows/main.yml"
37
38
  - ".gitignore"