scms 2.1.8 → 2.1.9

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGFkN2Y3YjM3MjE4OTBlYjFlZjJhMTJjMGFlYjAyZjI2N2JiMzRmZg==
4
+ NTc2YTNmNTI2ZGViMzNmOTZlZmMxODRkMWIyOTBiY2NlZTAzYzEyMw==
5
5
  data.tar.gz: !binary |-
6
- NGVjMGQzOWQ0YzE3OGQwMzkxNmQ4ODQzMjcyOTI5OGU0MTE5MzczOQ==
6
+ MDc4NWJiZjM2ZDIxZjg5MjEwM2I1YmI4NDAxMTQyYWNhYzIwODBhNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MGU5ZWQxNWY0MWNlMjE2YjJjZWJlNjY2Y2E0NmQ3NjJiNTRmNWNiY2FjYTI0
10
- NGFmMjE0MWE2OTE1ODEwMTFlMjRkZTI4NmNiNWQ2MDFkMjFlMTZhYjVmZmMz
11
- MzlhZjA2NDMxMGZiMTQ5MWU1MDU0ZmYxYmM4MWE5ZDU1MWM3NGQ=
9
+ MjY1Mzg4ZmFiODdmY2YzMGRiZDg1OTNlYzczNjc2YTU1MDMzNTEyMDIxOGI1
10
+ OGQ5MWYxNDYwOWI2YzNjOGViZTc4MTE2ZmI5MzNiNjZkYmEwZWNiYjUwZDYw
11
+ ZTkxOWQ5YWU3MGExNGE5NGMzNzhmNmQ0MjM1OTNmZjgzYTY5MzI=
12
12
  data.tar.gz: !binary |-
13
- NTFmNGIyODQ2NTI0YmQxNTEzNDA3NjMyN2RkN2E3Yzc3Mzk4NTZhMDMwYTQ2
14
- MzI5MzE1ZDE3NDk3ZmVhMWY0YmNhYjVmZGM2ZGYyMDljODA5MDk2ZTAzYTdj
15
- ODQ2NTFkMzU0ZjMwNTA3OTk1MjZmOGM3ZGJjYzNjNjg0NDYwOTM=
13
+ ZDU1NjFkOGMyNDNjMDNhOTE0YjczZGNiNjU2YjMxMmM0NDk3NDU0N2Q5NGQw
14
+ ZDE3ZTExZWFkMzdkYWU3ODJlZjAxZDVjZGEyYjZlYjBjMjhlMTViNzM0MTRi
15
+ OWZjYzQ3YzM0ZDgxMzFlNzNjOWU1YWQ5YjNjMDJiZjQ5N2EzMjI=
@@ -1,12 +1,17 @@
1
- text/plain txt
2
- text/html htm html shtml
1
+ text/plain txt
2
+ text/html html htm shtml
3
3
  text/javascript js
4
4
  text/css css
5
- text/xml 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 jpeg jpe jpg
9
- image/tiff tiff tif
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
+
@@ -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}"
@@ -1,3 +1,3 @@
1
1
  module Scms
2
- VERSION = "2.1.8"
2
+ VERSION = "2.1.9"
3
3
  end
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.8
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-09 00:00:00.000000000 Z
11
+ date: 2013-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cprobert-s3sync