anvl-converter 0.2 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/anvl.rb +1 -0
- data/lib/anvl/core_ext/ruby/string.rb +1 -1
- data/lib/anvl/version.rb +1 -1
- data/spec/string_spec.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c26551769c00964196526b98ada691d927ee2d0c6192be03aeec98d17e8c378a
|
4
|
+
data.tar.gz: f0f67ed7298bade6b1eb110f92fb00fd97875b4df85e1f67c1c1f7b3d8fa2eef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77353bd1b40500a9da3c5ed7a1e9d200b65facc11931e38af2f949ce8d3c0c37210d9303a398faac046bcf1af79fe4f43b1748b452f0491bd877e07914c31c49
|
7
|
+
data.tar.gz: 12b48541b577556f8f975d43416842d931e8cd2038572d02a3b0b8cdf1a901562ec098f13b704dfc617180633cc089eda8d1b9a4146767bdf448a2adf0f01a3e
|
data/Gemfile.lock
CHANGED
data/lib/anvl.rb
CHANGED
data/lib/anvl/version.rb
CHANGED
data/spec/string_spec.rb
CHANGED
@@ -12,6 +12,11 @@ describe String do
|
|
12
12
|
expect(str.from_anvl).to eq("name"=>"Josiah\nCarberry")
|
13
13
|
end
|
14
14
|
|
15
|
+
it "escaped newlines and empty line" do
|
16
|
+
str = "name: Josiah%0ACarberry%0A "
|
17
|
+
expect(str.from_anvl).to eq("name"=>"Josiah\nCarberry\n")
|
18
|
+
end
|
19
|
+
|
15
20
|
it "ignore comment" do
|
16
21
|
str = "# first draft"
|
17
22
|
expect(str.from_anvl).to eq({})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anvl-converter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Fenner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|