flash_policy_server 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,6 +24,15 @@ http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html
24
24
 
25
25
  gem install flash_policy_server
26
26
 
27
+ == RVM gotcha!
28
+
29
+ *Note*: If you're using Ruby 1.9 and RVM, you'll need to run the server as:
30
+
31
+ rvmsudo flash_policy_server
32
+
33
+ See http://ruby.about.com/od/rubyversionmanager/qt/Rvm-And-Sudo.htm for
34
+ an explanation.
35
+
27
36
  == Contributing to flash-policy-server
28
37
 
29
38
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.8
1
+ 0.0.9
@@ -8,7 +8,7 @@ if !File.exist?("crossdomain.xml")
8
8
  sample_policy = File.open("#{File.dirname(__FILE__)}/../generators/crossdomain.xml", "rb").read
9
9
  $stderr.puts %Q(#{sample_policy})
10
10
  $stderr.puts(" ")
11
- $stderr.puts("This is the most permissive setting, and may be insecure. If you don't understand Flash policy files, you should read up about them, at http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html")
11
+ $stderr.puts("This is the most permissive setting, and is insecure. If you don't understand Flash policy files, you should read up about them, at http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html")
12
12
 
13
13
  exit(1)
14
14
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "flash_policy_server"
8
- s.version = "0.0.8"
8
+ s.version = "0.0.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dave hrycyszyn"]
12
- s.date = "2011-12-26"
12
+ s.date = "2012-01-03"
13
13
  s.description = "\n This is a simple Ruby-based policy server to serve Flash's crossdomain.xml \n policy file.\n\n The web is increasingly realtime, but websockets still aren't supported on \n older browser clients. Many server push libraries (e.g. socket.io) attempt \n to use websockets, with a Flash fallback. Others (amqp.js, for instance) \n are Flash only.\n\n When using Flash sockets, it's necessary to have a policy server running on \n port 843, in order to set cross domain policy. This library does the job.\n "
14
14
  s.email = "dave.hrycyszyn@headlondon.com"
15
15
  s.executables = ["flash_policy_server"]
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
35
35
  s.homepage = "http://github.com/futurechimp/flash_policy_server"
36
36
  s.licenses = ["MIT"]
37
37
  s.require_paths = ["lib"]
38
- s.rubygems_version = "1.8.12"
38
+ s.rubygems_version = "1.8.10"
39
39
  s.summary = "A flash policy server."
40
40
 
41
41
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,108 +1,86 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: flash_policy_server
3
- version: !ruby/object:Gem::Version
4
- hash: 15
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.9
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 8
10
- version: 0.0.8
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Dave hrycyszyn
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-12-26 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- type: :development
22
- requirement: &id001 !ruby/object:Gem::Requirement
23
- none: false
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- hash: 3
28
- segments:
29
- - 0
30
- version: "0"
31
- version_requirements: *id001
12
+ date: 2012-01-03 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
32
15
  name: minitest
33
- prerelease: false
34
- - !ruby/object:Gem::Dependency
16
+ requirement: &2163571920 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
35
22
  type: :development
36
- requirement: &id002 !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ version_requirements: *2163571920
25
+ - !ruby/object:Gem::Dependency
26
+ name: yard
27
+ requirement: &2163571440 !ruby/object:Gem::Requirement
37
28
  none: false
38
- requirements:
29
+ requirements:
39
30
  - - ~>
40
- - !ruby/object:Gem::Version
41
- hash: 7
42
- segments:
43
- - 0
44
- - 6
45
- - 0
31
+ - !ruby/object:Gem::Version
46
32
  version: 0.6.0
47
- version_requirements: *id002
48
- name: yard
49
- prerelease: false
50
- - !ruby/object:Gem::Dependency
51
33
  type: :development
52
- requirement: &id003 !ruby/object:Gem::Requirement
34
+ prerelease: false
35
+ version_requirements: *2163571440
36
+ - !ruby/object:Gem::Dependency
37
+ name: bundler
38
+ requirement: &2163570960 !ruby/object:Gem::Requirement
53
39
  none: false
54
- requirements:
40
+ requirements:
55
41
  - - ~>
56
- - !ruby/object:Gem::Version
57
- hash: 23
58
- segments:
59
- - 1
60
- - 0
61
- - 0
42
+ - !ruby/object:Gem::Version
62
43
  version: 1.0.0
63
- version_requirements: *id003
64
- name: bundler
65
- prerelease: false
66
- - !ruby/object:Gem::Dependency
67
44
  type: :development
68
- requirement: &id004 !ruby/object:Gem::Requirement
45
+ prerelease: false
46
+ version_requirements: *2163570960
47
+ - !ruby/object:Gem::Dependency
48
+ name: jeweler
49
+ requirement: &2163570460 !ruby/object:Gem::Requirement
69
50
  none: false
70
- requirements:
51
+ requirements:
71
52
  - - ~>
72
- - !ruby/object:Gem::Version
73
- hash: 7
74
- segments:
75
- - 1
76
- - 6
77
- - 4
53
+ - !ruby/object:Gem::Version
78
54
  version: 1.6.4
79
- version_requirements: *id004
80
- name: jeweler
81
- prerelease: false
82
- - !ruby/object:Gem::Dependency
83
55
  type: :development
84
- requirement: &id005 !ruby/object:Gem::Requirement
85
- none: false
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- hash: 3
90
- segments:
91
- - 0
92
- version: "0"
93
- version_requirements: *id005
56
+ prerelease: false
57
+ version_requirements: *2163570460
58
+ - !ruby/object:Gem::Dependency
94
59
  name: rcov
60
+ requirement: &2163569980 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :development
95
67
  prerelease: false
96
- description: "\n This is a simple Ruby-based policy server to serve Flash's crossdomain.xml \n policy file.\n\n The web is increasingly realtime, but websockets still aren't supported on \n older browser clients. Many server push libraries (e.g. socket.io) attempt \n to use websockets, with a Flash fallback. Others (amqp.js, for instance) \n are Flash only.\n\n When using Flash sockets, it's necessary to have a policy server running on \n port 843, in order to set cross domain policy. This library does the job.\n "
68
+ version_requirements: *2163569980
69
+ description: ! "\n This is a simple Ruby-based policy server to serve Flash's crossdomain.xml
70
+ \n policy file.\n\n The web is increasingly realtime, but websockets still
71
+ aren't supported on \n older browser clients. Many server push libraries (e.g.
72
+ socket.io) attempt \n to use websockets, with a Flash fallback. Others (amqp.js,
73
+ for instance) \n are Flash only.\n\n When using Flash sockets, it's necessary
74
+ to have a policy server running on \n port 843, in order to set cross domain
75
+ policy. This library does the job.\n "
97
76
  email: dave.hrycyszyn@headlondon.com
98
- executables:
77
+ executables:
99
78
  - flash_policy_server
100
79
  extensions: []
101
-
102
- extra_rdoc_files:
80
+ extra_rdoc_files:
103
81
  - LICENSE.txt
104
82
  - README.rdoc
105
- files:
83
+ files:
106
84
  - .document
107
85
  - Gemfile
108
86
  - Gemfile.lock
@@ -117,37 +95,31 @@ files:
117
95
  - test/helper.rb
118
96
  - test/test_flash-policy-server.rb
119
97
  homepage: http://github.com/futurechimp/flash_policy_server
120
- licenses:
98
+ licenses:
121
99
  - MIT
122
100
  post_install_message:
123
101
  rdoc_options: []
124
-
125
- require_paths:
102
+ require_paths:
126
103
  - lib
127
- required_ruby_version: !ruby/object:Gem::Requirement
104
+ required_ruby_version: !ruby/object:Gem::Requirement
128
105
  none: false
129
- requirements:
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- hash: 3
133
- segments:
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ segments:
134
111
  - 0
135
- version: "0"
136
- required_rubygems_version: !ruby/object:Gem::Requirement
112
+ hash: -402914032746825850
113
+ required_rubygems_version: !ruby/object:Gem::Requirement
137
114
  none: false
138
- requirements:
139
- - - ">="
140
- - !ruby/object:Gem::Version
141
- hash: 3
142
- segments:
143
- - 0
144
- version: "0"
115
+ requirements:
116
+ - - ! '>='
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
145
119
  requirements: []
146
-
147
120
  rubyforge_project:
148
- rubygems_version: 1.8.12
121
+ rubygems_version: 1.8.10
149
122
  signing_key:
150
123
  specification_version: 3
151
124
  summary: A flash policy server.
152
125
  test_files: []
153
-