fedora_lens 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fedora_lens.gemspec +1 -1
- data/lib/fedora_lens/attribute_methods/write.rb +1 -4
- data/lib/fedora_lens/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3222d73b43ce75e77c9fa65792200ecdd44c0f2b
|
4
|
+
data.tar.gz: 8b39418761c0dbbe02b3b281f526565411b67c1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f67898563c473ff9e6d3de1d136dc83d0ca9c55da614d9b635895396c2440daea8b9ff1c4d22f2ce22d5f0249f03edd96e2b7043d8281f20c6b72cfacb9cc43d
|
7
|
+
data.tar.gz: 037b06ad821e55d3248d4d60ecc80b0cdfdf3b28ac984eeb4238adf09dffb2b316de472111e1f4ef611ca712e3ca45d855fedd3e266f39515a15db5a06a4554a
|
data/fedora_lens.gemspec
CHANGED
@@ -26,5 +26,5 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_dependency 'rdf-turtle', '~> 1.1.2'
|
27
27
|
spec.add_dependency 'activemodel', '>= 4.0.2', "< 5.0"
|
28
28
|
spec.add_dependency 'nokogiri', '~> 1.6.1'
|
29
|
-
spec.add_dependency 'ldp', '0.0.
|
29
|
+
spec.add_dependency 'ldp', '0.0.5'
|
30
30
|
end
|
@@ -21,10 +21,7 @@ module FedoraLens
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def write_attribute(attribute_name, value)
|
24
|
-
|
25
|
-
column = true # TODO check that attribute_name is valid
|
26
|
-
|
27
|
-
if column
|
24
|
+
if attributes_as_lenses.key?(attribute_name)
|
28
25
|
@attributes[attribute_name] = value
|
29
26
|
else
|
30
27
|
raise ActiveModel::MissingAttributeError, "can't write unknown attribute `#{attribute_name}'"
|
data/lib/fedora_lens/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fedora_lens
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-04-
|
12
|
+
date: 2014-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -121,14 +121,14 @@ dependencies:
|
|
121
121
|
requirements:
|
122
122
|
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.0.
|
124
|
+
version: 0.0.5
|
125
125
|
type: :runtime
|
126
126
|
prerelease: false
|
127
127
|
version_requirements: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - '='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.0.
|
131
|
+
version: 0.0.5
|
132
132
|
description: ''
|
133
133
|
email:
|
134
134
|
- justin@curationexperts.com
|