anmo 0.0.25 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -91,11 +91,11 @@ module Anmo
91
91
  private
92
92
 
93
93
  def text text, status = 200
94
- [status, {"Content-Type" => "text/html"}, [text]]
94
+ [status, {"Content-Type" => "text/html", "Access-Control-Allow-Origin" => "*"}, [text]]
95
95
  end
96
96
 
97
97
  def json json, status = 200
98
- [status, {"Content-Type" => "application/json"}, [json]]
98
+ [status, {"Content-Type" => "application/json", "Access-Control-Allow-Origin" => "*"}, [json]]
99
99
  end
100
100
 
101
101
  def alive request
@@ -1,3 +1,3 @@
1
1
  module Anmo
2
- VERSION = "0.0.25"
2
+ VERSION = "0.0.26"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anmo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.26
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-26 00:00:00.000000000 Z
12
+ date: 2012-11-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  version: '0'
198
198
  requirements: []
199
199
  rubyforge_project: anmo
200
- rubygems_version: 1.8.24
200
+ rubygems_version: 1.8.23
201
201
  signing_key:
202
202
  specification_version: 3
203
203
  summary: ''