anmo 0.0.25 → 0.0.26
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.
- data/lib/anmo/application.rb +2 -2
- data/lib/anmo/version.rb +1 -1
- metadata +3 -3
data/lib/anmo/application.rb
CHANGED
|
@@ -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
|
data/lib/anmo/version.rb
CHANGED
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.
|
|
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-
|
|
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.
|
|
200
|
+
rubygems_version: 1.8.23
|
|
201
201
|
signing_key:
|
|
202
202
|
specification_version: 3
|
|
203
203
|
summary: ''
|