rsync_config 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rsync_config/parser/config_file.treetop +5 -0
- data/lib/rsync_config/version.rb +1 -1
- data/test/test_rsync_config.rb +14 -0
- 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: 4cd270330ad8254f82aad7aac5675aa8f4307634
|
4
|
+
data.tar.gz: df548daca589d99d58be213addb1fbb901e10496
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed121211361350f2146251f007d5585499809817aed4c6b8ba2523f268010b50767fb85db35365e055797ee21029273c809d0f8ca6ea008be07bfc588438d928
|
7
|
+
data.tar.gz: 268c974d7e770e068874b69dc665f3559c797fc9896ce80a48c33c29bdc39022866b0da47ada0731642e53775e219cb1c5f92d35a79db79c7fd683996639ebeb
|
data/lib/rsync_config/version.rb
CHANGED
data/test/test_rsync_config.rb
CHANGED
@@ -243,4 +243,18 @@ EOL
|
|
243
243
|
end
|
244
244
|
end
|
245
245
|
|
246
|
+
def test_failing_to_parse_bug_2
|
247
|
+
content = <<EOL
|
248
|
+
[TEST0001]
|
249
|
+
uid = user
|
250
|
+
[TEST0002]
|
251
|
+
uid = user
|
252
|
+
EOL
|
253
|
+
|
254
|
+
content.strip!
|
255
|
+
|
256
|
+
assert_nothing_raised do
|
257
|
+
RsyncConfig.parse content
|
258
|
+
end
|
259
|
+
end
|
246
260
|
end
|