anvl-converter 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- 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: a19998a930ea3a44889f1dcdc7f706cd1d43072b7c2a6c93b16ea9426a61bd28
|
4
|
+
data.tar.gz: 9b35df17695f4846f454ceed692c8c7bb565155bca09769027c08dd76257fb5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eba729cf5503a31f4811d593a11f981c23a03ebbaca6fd58742376f6c8062c1e9582ed415bb9bedcc99901ad6339f67fa30e86f16b9d87a7e2827f2835305a4e
|
7
|
+
data.tar.gz: 6dae884dbb844c778e527d0d33d4adbf40e73f538c0699e00ed0cfe9e066d35ac01e982a2b841e898f8b112d9c8d0c27be01fb5e17448b30d8844f4de782add5
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
anvl-converter (0.2.
|
4
|
+
anvl-converter (0.2.3)
|
5
5
|
activesupport (>= 4.2.5, < 6)
|
6
6
|
|
7
7
|
GEM
|
@@ -21,7 +21,7 @@ GEM
|
|
21
21
|
concurrent-ruby (~> 1.0)
|
22
22
|
json (2.1.0)
|
23
23
|
minitest (5.11.3)
|
24
|
-
rake (12.3.
|
24
|
+
rake (12.3.1)
|
25
25
|
rspec (3.7.0)
|
26
26
|
rspec-core (~> 3.7.0)
|
27
27
|
rspec-expectations (~> 3.7.0)
|
data/lib/anvl/version.rb
CHANGED
data/spec/string_spec.rb
CHANGED
@@ -17,6 +17,11 @@ describe String do
|
|
17
17
|
expect(str.from_anvl).to eq("_status"=>"public")
|
18
18
|
end
|
19
19
|
|
20
|
+
it "https url" do
|
21
|
+
str = "_target: https://www.datacite.org"
|
22
|
+
expect(str.from_anvl).to eq("_target"=>"https://www.datacite.org")
|
23
|
+
end
|
24
|
+
|
20
25
|
it "escaped newlines" do
|
21
26
|
str = "name: Josiah%0ACarberry"
|
22
27
|
expect(str.from_anvl).to eq("name"=>"Josiah\nCarberry")
|
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: 0.2.
|
4
|
+
version: 0.2.3
|
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-06-
|
11
|
+
date: 2018-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|