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
- Yjc3NDMwOTAwOWQyMmM2YTg0NGU5Y2QzOTk3M2I2YmZmMmU5YzQ5Ng==
4
+ Y2Q0OGFjNmNkNzU3NTJjODQ2NTc2ODljZmZjYWZlZTM1ZmQ4Mzk3Mw==
5
5
  data.tar.gz: !binary |-
6
- ODdhODBjZTFhY2I4YWFlNjRlNmJkMTcyZGFjMjIxM2U2ZWEyM2YzOA==
6
+ NTEwMGFkMjExNzgyMDU2MWIxZWMwMzJhOWNlMjhkNWE3MjI2MjBmYw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NDY5M2FjNDQxOGI3ZTA1MDE1OTgyMjA2Yjk4NzdiZWI3ZTI4YmJlMDE4NjNi
10
- YmM4MWZjNTk3NmExNzBiZTczYzJhNDI4M2NmZTU1YjAyYzM3NmJkZWQ0ZmM5
11
- OTI2YTM2OWNlMzk1ZGFiZjA1M2FmZTM1YWQ2ZDBhNGVjZjgwZWQ=
9
+ ZjU3OWZmOWE4OGYwNjc0ODM5ZTQ3NjQ1ZDVmZmY5NDk1YjdkY2ZhMWJhOWFm
10
+ ZTE3ZTVjYzk5MzU5Nzg0NjY0YjQ2ZjhlMjlkNjAzNDVjYTRiNmQ2MDk2MWY3
11
+ NDVhMTNjOGNhNmFkMmUzYzVmMDk2MWM0YzU0MjYyOWI1ZTA4NzM=
12
12
  data.tar.gz: !binary |-
13
- NzkzYWU0Y2UyMmI1OTJkOWJlNGQ4YmIxZDdlYzliMjRlZTJkZjM4NmJiMzcy
14
- NDcxMTA3MTVmYTQ0YTZhOGU2M2NlMzVjYWNkNTcxNDk5NzliOGQ3MzhkZmYz
15
- YWU4YjE2MjYzYWM1NzIzZjgyNzk5NmZiYzBiOWY5MDZiNmE2NDA=
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)
@@ -1,5 +1,5 @@
1
1
  module ActiveFedora
2
2
  module Crosswalks
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
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.1
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-09-26 00:00:00.000000000 Z
11
+ date: 2013-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler