active_fedora-crosswalks 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Y2Q0OGFjNmNkNzU3NTJjODQ2NTc2ODljZmZjYWZlZTM1ZmQ4Mzk3Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTEwMGFkMjExNzgyMDU2MWIxZWMwMzJhOWNlMjhkNWE3MjI2MjBmYw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjU3OWZmOWE4OGYwNjc0ODM5ZTQ3NjQ1ZDVmZmY5NDk1YjdkY2ZhMWJhOWFm
|
10
|
+
ZTE3ZTVjYzk5MzU5Nzg0NjY0YjQ2ZjhlMjlkNjAzNDVjYTRiNmQ2MDk2MWY3
|
11
|
+
NDVhMTNjOGNhNmFkMmUzYzVmMDk2MWM0YzU0MjYyOWI1ZTA4NzM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTcxZTkxODRhMzkzMzk5ODA5MDVhNGEwMjNhMTM5YmQ2ZDE4ZmJiN2YyOTIz
|
14
|
+
MWQ5YTBiZjk3ZTVlZDdiMzRhNGY0YTM2MGQ3YmFmNjNhMTEwN2U4YTUwYWVl
|
15
|
+
NjViYzA0YTA4Y2Q2NGU0YjYxZGMxMTVjOTAyYTVhYWY5N2NhYjk=
|
@@ -42,7 +42,6 @@ module ActiveFedora
|
|
42
42
|
object, method, expected_args = source_accessor.get_reader
|
43
43
|
crosswalker = self
|
44
44
|
object.define_singleton_method(method) do |*args|
|
45
|
-
puts "Expected Arguments in Reader: #{expected_args}"
|
46
45
|
if !expected_args || args[0..-2] == expected_args || (args.last.kind_of?(Hash) && args.last.has_key?(expected_args))
|
47
46
|
crosswalker.source_accessor.set_value(crosswalker.target_accessor.get_value)
|
48
47
|
end
|
@@ -54,7 +53,6 @@ module ActiveFedora
|
|
54
53
|
object, method, expected_args = source_accessor.get_writer
|
55
54
|
crosswalker = self
|
56
55
|
object.define_singleton_method(method) do |*args|
|
57
|
-
puts "Expected Arguments in Writer: #{expected_args}"
|
58
56
|
if !expected_args || args[0..-2] == expected_args || (args.last.kind_of?(Hash) && args.last.has_key?(expected_args))
|
59
57
|
result = super(args.last)
|
60
58
|
crosswalker.target_accessor.set_value(result)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_fedora-crosswalks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trey Terrell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|