kyoyu_ishiki 0.1.0 → 0.2.0

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: 95b602695e3e50ad228253d0fabfbb6e6bd07608fa0797a5b570621c5b0e1151
4
- data.tar.gz: 827a38c86a344ed64e2ae230da7f16c04b02bfa08bc1f5696bec6a4d42154664
3
+ metadata.gz: dca507a8f471bfe24bf199caa4f0612b3f344d37c639d99fd6081001ac7e5af9
4
+ data.tar.gz: 072ae8a2684dce90504376696b31e61bd694f9922553f38d5c543b0fc635bbae
5
5
  SHA512:
6
- metadata.gz: 614001fec2923cbeddefefbd166395ec8306a6954c90d44f9c55d1f8701b6477e1ce174fff70afc46f70c2a8406d189fb06b4f5c582aaae00805d9c1f5a0317f
7
- data.tar.gz: 0a9be3de6ed33c00642724cea5b4734c61ed7c8a2dba450b8c120e99412ecdd3d6d8f2b0bba1ceb9e45925a74b97c076c5db3a61142d555312d037b14e14e8ad
6
+ metadata.gz: f20fb3b8da93c716179502047cf7e1ce5166459a194fdf0467fda8e0270aa4fb2848ca77a26e7fbcc3397942df0ee556f9179f23b7ad8298f4e3b4aef7a69992
7
+ data.tar.gz: 472d9a9b0379ef596de009cd268dd3660adf1d30f93c2939ec135845c33caad4e0998dac7937d429082d82287210bda2b9e6e04026cbfa6db2e520ba7ae9bd1c
@@ -4,7 +4,10 @@ class KyōyūIshiki::App
4
4
  end
5
5
 
6
6
  def call(env)
7
- Rack::Response.new { |response| handle(Rack::Request.new(env), response) }.finish
7
+ Rack::Response.new do |response|
8
+ response['Access-Control-Allow-Origin'] = '*'
9
+ handle(Rack::Request.new(env), response)
10
+ end.finish
8
11
  end
9
12
 
10
13
  def handle(request, response)
@@ -1,3 +1,3 @@
1
1
  module KyōyūIshiki
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kyoyu_ishiki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brenton "B-Train" Fletcher