scms 2.1.8 → 2.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/assets/mime.types +28 -5
- data/bin/scms-server +4 -0
- data/lib/scms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTc2YTNmNTI2ZGViMzNmOTZlZmMxODRkMWIyOTBiY2NlZTAzYzEyMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDc4NWJiZjM2ZDIxZjg5MjEwM2I1YmI4NDAxMTQyYWNhYzIwODBhNA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjY1Mzg4ZmFiODdmY2YzMGRiZDg1OTNlYzczNjc2YTU1MDMzNTEyMDIxOGI1
|
10
|
+
OGQ5MWYxNDYwOWI2YzNjOGViZTc4MTE2ZmI5MzNiNjZkYmEwZWNiYjUwZDYw
|
11
|
+
ZTkxOWQ5YWU3MGExNGE5NGMzNzhmNmQ0MjM1OTNmZjgzYTY5MzI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDU1NjFkOGMyNDNjMDNhOTE0YjczZGNiNjU2YjMxMmM0NDk3NDU0N2Q5NGQw
|
14
|
+
ZDE3ZTExZWFkMzdkYWU3ODJlZjAxZDVjZGEyYjZlYjBjMjhlMTViNzM0MTRi
|
15
|
+
OWZjYzQ3YzM0ZDgxMzFlNzNjOWU1YWQ5YjNjMDJiZjQ5N2EzMjI=
|
data/assets/mime.types
CHANGED
@@ -1,12 +1,17 @@
|
|
1
|
-
text/plain
|
2
|
-
text/html
|
1
|
+
text/plain txt
|
2
|
+
text/html html htm shtml
|
3
3
|
text/javascript js
|
4
4
|
text/css css
|
5
|
-
text/xml
|
5
|
+
text/xml xml rss xsl
|
6
|
+
text/vnd.wap.wml wml
|
7
|
+
text/coffeescript coffee
|
8
|
+
text/plain pde
|
9
|
+
text/plain md markdown
|
10
|
+
text/vcard vcf vcard
|
6
11
|
|
7
12
|
image/gif gif
|
8
|
-
image/jpeg
|
9
|
-
image/tiff
|
13
|
+
image/jpeg jpeg jpg
|
14
|
+
image/tiff tif tiff
|
10
15
|
image/png png
|
11
16
|
image/vnd.wap.wbmp wbmp
|
12
17
|
image/x-icon ico
|
@@ -53,11 +58,15 @@ application/pdf pdf
|
|
53
58
|
application/zip zip
|
54
59
|
application/x-tar tar
|
55
60
|
application/x-7z-compressed 7z
|
61
|
+
application/x-zip war
|
56
62
|
application/x-rar-compressed rar
|
57
63
|
application/x-stuffit sit
|
58
64
|
application/octet-stream dmg
|
59
65
|
application/octet-stream iso img
|
66
|
+
application/rdf+xml rdf
|
67
|
+
application/x-chrome-extension crx
|
60
68
|
application/octet-stream msi msp msm
|
69
|
+
application/x-x509-ca-cert der pem crt
|
61
70
|
application/msword doc dot
|
62
71
|
application/vnd.ms-excel xls xlt xla
|
63
72
|
application/vnd.ms-powerpoint ppt pot pps ppa
|
@@ -68,3 +77,17 @@ application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
|
|
68
77
|
application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
|
69
78
|
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
|
70
79
|
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
data/bin/scms-server
CHANGED
@@ -56,6 +56,10 @@ port = options[:port]
|
|
56
56
|
puts "Starting server: http://#{Socket.gethostname}:#{port}"
|
57
57
|
#:BindAddress
|
58
58
|
server = HTTPServer.new(:Port=>port,:DocumentRoot=>options[:dir])
|
59
|
+
mime_types_file = File.expand_path('../assets/mime.types', File.dirname(__FILE__))
|
60
|
+
puts mime_types_file
|
61
|
+
WEBrick::HTTPUtils::load_mime_types(mime_types_file)
|
62
|
+
|
59
63
|
trap("INT"){ server.shutdown }
|
60
64
|
|
61
65
|
uri = "http://localhost:#{port}"
|
data/lib/scms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Courtenay Probert
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cprobert-s3sync
|