capricorn 0.2.19 → 0.2.20
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/capricorn/actors/base_actor.rb +12 -0
- metadata +2 -2
|
@@ -55,6 +55,18 @@ module Capricorn
|
|
|
55
55
|
File.join(system.satellite_root, "public/vendor", satellite.module_name),
|
|
56
56
|
:verbose => true) rescue nil
|
|
57
57
|
|
|
58
|
+
if File.exist? 'public/crossdomain.xml'
|
|
59
|
+
File.unlink 'public/crossdomain.xml'
|
|
60
|
+
end
|
|
61
|
+
File.open('public/crossdomain.xml', 'w+') do |f|
|
|
62
|
+
f.write %{<?xml version="1.0" encoding="UTF-8"?>
|
|
63
|
+
<cross-domain-policy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.adobe.com/xml/schemas/PolicyFile.xsd">
|
|
64
|
+
<allow-access-from domain="*" />
|
|
65
|
+
<site-control permitted-cross-domain-policies="master-only"/>
|
|
66
|
+
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
|
|
67
|
+
</cross-domain-policy>}
|
|
68
|
+
end
|
|
69
|
+
|
|
58
70
|
end
|
|
59
71
|
run_migrations
|
|
60
72
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capricorn
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Simon Menke
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-07-
|
|
12
|
+
date: 2009-07-10 00:00:00 +02:00
|
|
13
13
|
default_executable: capricorn
|
|
14
14
|
dependencies: []
|
|
15
15
|
|