sinarey 1.0.6 → 1.0.7

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
- SHA1:
3
- metadata.gz: 0aaf5cca3805ee320b7733844a9bf242cfa69d2f
4
- data.tar.gz: abab35928677fc386e25004032b25033e58b7a14
2
+ SHA256:
3
+ metadata.gz: 2cf1672c04ed2989c747633b14b7d3fc7d86a061ce5a8ebaaf3e909c3efd8ad6
4
+ data.tar.gz: 7b921573cbe52d4e8d2b34872d54175b17e6a07f9d9c3726fe2d1c808c3504c5
5
5
  SHA512:
6
- metadata.gz: c3b4842239d9e9fac3da1d2f32648561efbfe5a97c06c9e1dcf0af218f445f924766c6782fe7406b73c97b322b63be603e04ca886838ca2aa7b2124a48179710
7
- data.tar.gz: dce396f0a68b787700079b13e79d9a4c32b93d713046c53c5c14efb8b1185767305fc580bc2a5e8de5a4c02cf1f10d6ad4fd185d9eea3b9bc35958c11da06fb1
6
+ metadata.gz: 7ac59ac392767974d1c1ca6e6f65e8a8ce7bd6b46369247088e28417d1301fd769872eed45e5ac0a9e3ff2356c19433ae17178c43dd78199ee8e897fc1ec7f2f
7
+ data.tar.gz: 94099a2d251fc61431021937b0713331e1104be92145a47ce6a7ce5ed26dff3bd0ff623482bfa263f99f1f7d856bc69244746e4fca43558989c5a3942e635324
@@ -252,8 +252,8 @@ module Sinatra
252
252
  # Run the block with 'throw :halt' support and apply result to the response.
253
253
  def invoke
254
254
  res = catch(:halt) { yield }
255
- res = [res] if Fixnum === res or String === res
256
- if Array === res and Fixnum === res.first
255
+ res = [res] if Integer === res or String === res
256
+ if Array === res and Integer === res.first
257
257
  res = res.dup
258
258
  status(res.shift)
259
259
  body(res.pop)
@@ -1,3 +1,3 @@
1
1
  module Sinarey
2
- VERSION = '1.0.6'
2
+ VERSION = '1.0.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinarey
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeffrey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-17 00:00:00.000000000 Z
11
+ date: 2019-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  version: '0'
63
63
  requirements: []
64
64
  rubyforge_project:
65
- rubygems_version: 2.5.2
65
+ rubygems_version: 2.7.8
66
66
  signing_key:
67
67
  specification_version: 4
68
68
  summary: Sinarey, use for large rack project.