redirect_conf 0.5 → 0.6
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 +4 -4
- data/bin/redirect_conf +4 -0
- data/redirect_conf.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b67d50ecf12bf5dc57ef26e1528d023d5024621
|
|
4
|
+
data.tar.gz: d075378a5c82b6622946a4a4c8d386c4b6466c1a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0a1986695aeb118c556c74df8ccbc6f6717b55d1dc54383818c797625c5749554a9ed0d7ac4d2c3ba8d53d42998c13d67fecc6525a6461c5e8d5efe60330e7b
|
|
7
|
+
data.tar.gz: 833f846819fa6a971cc513068bc6ad1b1dda80d222cffc2a713d6cebd2987990b529cee53b9d9cec87b0dbd3367af4cdcea5b4a9f4764c42bd8549f3496a2c26
|
data/bin/redirect_conf
CHANGED
|
@@ -26,12 +26,16 @@ Creates RewriteRules for Apache web server from given CSVFILE as complementary t
|
|
|
26
26
|
nc = boolean in_row['NC']
|
|
27
27
|
ne = boolean in_row['NE']
|
|
28
28
|
re = boolean in_row['RE']
|
|
29
|
+
qsa = boolean in_row['QSA']
|
|
30
|
+
qsd = boolean in_row['QSD']
|
|
29
31
|
|
|
30
32
|
f = []
|
|
31
33
|
f << "r=#{r}" if r
|
|
32
34
|
f << "ne" if ne
|
|
33
35
|
f << "nc" if nc
|
|
34
36
|
f << "l" if l
|
|
37
|
+
f << "qsa" if qsa
|
|
38
|
+
f << "qsd" if qsd
|
|
35
39
|
flags = "[#{f.join(',')}]" unless f.empty?
|
|
36
40
|
|
|
37
41
|
pattern = "^#{Regexp.escape(pattern)}$" unless re
|
data/redirect_conf.gemspec
CHANGED