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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc2ee8880920469db171ffad4c5039137a46e796
4
- data.tar.gz: 0d3790c53ea006a2180a78916173dfe84e9ea96a
3
+ metadata.gz: 3222d73b43ce75e77c9fa65792200ecdd44c0f2b
4
+ data.tar.gz: 8b39418761c0dbbe02b3b281f526565411b67c1f
5
5
  SHA512:
6
- metadata.gz: a33e640c5822d859f7bf466c9a62b9d42433f699ab8965e29f7da2e673ff9aa805f2bc035b068126aa43a0bb32ba0cffcb211c6eac66d492b771477e932010eb
7
- data.tar.gz: 4b89d671befc602a69c7769e308c0503026bd55413db50f27c55a4a5d3c4f94b7ad340996a11e58975a802f3eed4afa254a33c0140c9899cddd78e061c8b7035
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.4'
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
- #column = column_for_attribute(attribute_name)
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}'"
@@ -1,3 +1,3 @@
1
1
  module FedoraLens
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
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.8
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-22 00:00:00.000000000 Z
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.4
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.4
131
+ version: 0.0.5
132
132
  description: ''
133
133
  email:
134
134
  - justin@curationexperts.com