bormashino 0.1.1 → 0.1.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: 7bce2e8e56f0ea232175228fcf6f0bf08411e86fc8fba54fd2605e3cf2aef006
4
- data.tar.gz: 4deb87017b0c90a2efdcfdaacea53d4d38f91ac2177ac65a8e5e9c75380a7a7d
3
+ metadata.gz: 4bb956339d3b78078aeec64081c938defbd6a69a5badd5b8843f99558cd86cd1
4
+ data.tar.gz: ed1064233e5fb782c950490a4fd7286c173c6b3d5d7ae4d02c16ac746954ecf4
5
5
  SHA512:
6
- metadata.gz: 726ccaec4019d7a0c2ddfde142a0cec981d7b0c3691d1613a8a291650850696ef9d1f0eb5df9a0d22f11d37110f6bd7f9cf7c37bb3d33dec54e2cfe86947252b
7
- data.tar.gz: 5a8421e0cc26e1e9ee8b0acdf0bdde5afdec0502fe5edfb900ae4e79ebaa6bf665267842dd1b39b97d17524a1af782480a0660d7ca3126f1380f8c3db148580f
6
+ metadata.gz: 303157341955288cb15dae40e7b83fc822f9f36cc67ef8ae7d08714f2879dd2b25c87123be0549d1c49859aa487e4d89d09852403915eefd375e699408202c1a
7
+ data.tar.gz: 9e968e30bb4e7a6a3a77a6fac27af5ff974075c5ab3882df7a665c985906e38ae565baa57f7132a5c45dbd0ec1da514a644b99b4d1a650849a8e6dee50a6a808
@@ -12,7 +12,7 @@ module Bormashino
12
12
 
13
13
  @app.call({
14
14
  'HTTP_HOST' => 'example.com:0',
15
- 'REQUEST_METHOD' => method,
15
+ 'REQUEST_METHOD' => method.upcase,
16
16
  'CONTENT_TYPE' => 'application/x-www-form-urlencoded',
17
17
  'QUERY_STRING' => u.query,
18
18
  'PATH_INFO' => u.path,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bormashino
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
data/lib/bormashino.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  require_relative 'bormashino/version'
2
- require_relative 'bormashino/utils'
3
2
  require_relative 'bormashino/server'
4
3
 
5
4
  module Bormashino
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bormashino
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenichiro Yasuda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-01 00:00:00.000000000 Z
11
+ date: 2022-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json_pure
@@ -78,7 +78,6 @@ files:
78
78
  - lib/bormashino/stub/openssl.rb
79
79
  - lib/bormashino/stub/zlib.rb
80
80
  - lib/bormashino/tasks/bormashino.rake
81
- - lib/bormashino/utils.rb
82
81
  - lib/bormashino/version.rb
83
82
  homepage: https://github.com/keyasuda/bormashino
84
83
  licenses:
@@ -1,10 +0,0 @@
1
- require 'json/pure'
2
- require 'cgi'
3
-
4
- module Bormashino
5
- module Utils
6
- def self.to_rb_value(escaped_json)
7
- JSON.parse(CGI.unescape(escaped_json))
8
- end
9
- end
10
- end