atum 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/atum/core/schema/link_schema.rb +2 -0
- data/lib/atum/version.rb +1 -1
- data/spec/atum/core/schema/link_schema_spec.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2583740eec8e4d2ca40b08cd8192e1004315e7e8
|
4
|
+
data.tar.gz: dee7e86137256baf1bcd1ea07be9de360d62d393
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c477a2f4f437acc61b6186a9a8db90b599ee4f99e0459a16d21db4370e971069bee2288c9861b493267d4e7631b038a0422ad5835441cd068f736c5c34670017
|
7
|
+
data.tar.gz: cc6db2afb2f09f5c45ccb488a8ea068f7aa49b72b3ed99fcd3fb820030affd2327c096d0475cc3a37ed088c4d7ed7ad674f57c9c4be78f744fa0080c5509eaf7
|
data/lib/atum/version.rb
CHANGED
@@ -83,6 +83,11 @@ describe Atum::Core::Schema::LinkSchema do
|
|
83
83
|
it { is_expected.to raise_error(ArgumentError) }
|
84
84
|
end
|
85
85
|
|
86
|
+
it 'URL encodes href params' do
|
87
|
+
expect(update.construct_path('MD00006N30R4F0>'))
|
88
|
+
.to eq('/resource/MD00006N30R4F0%3E')
|
89
|
+
end
|
90
|
+
|
86
91
|
it 'returns relative url' do
|
87
92
|
expect(update.construct_path('4472831-bf66-4bc2-865f-e2c4c2b14c78'))
|
88
93
|
.to eq('/resource/4472831-bf66-4bc2-865f-e2c4c2b14c78')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- isaacseymour
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-10-
|
12
|
+
date: 2014-10-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|