yaoc 0.0.11 → 0.0.12

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: b1d8b71655a2f448f78445bad0780255aabe5dbd
4
- data.tar.gz: 5888fd8a52a6aed1903541425bb32d8d74352343
3
+ metadata.gz: 3ccbf393e54fe0ddf71fa88ea5fc06801413c441
4
+ data.tar.gz: 7e903edc8bffc06266e8da21162533232e3b8071
5
5
  SHA512:
6
- metadata.gz: 83823a34c900b9a1c7f072a8668b2d7b271996777b49f20e8be0108daab48e2cfef16ce885c83dcce4ade8dc85797995fd24d6beec15306e9ce1aeec180ce97c
7
- data.tar.gz: dad524584b6d519d1e1b83e79f139c0343afe38667e804b7b868ddda4ae681ac73b4018817e43a89b619eb4f737c486d2bcd063b16af34db271f03fedd8c1fec
6
+ metadata.gz: 53b94a0ca841ee218140036df34b1e627180d3296eb863c08da1b8ee11a35f2a7f0dc45723f69c3c71267f84630814d5664e315deb12066017126ebc3ddfe266
7
+ data.tar.gz: 7481d47939d4ab1560f82155ba787340875976da3a5e6a2fbcbff1709eaad2ab89d5545d7bd2da9ae43de5b6dc401b021c0a097f8ae71fcda8449d66d42ea813
@@ -61,7 +61,7 @@ module Yaoc
61
61
  end
62
62
 
63
63
  def register_as(name)
64
- registry.add(name, self)
64
+ registry.add(name, self) unless name.nil?
65
65
  end
66
66
 
67
67
  end
@@ -1,3 +1,3 @@
1
1
  module Yaoc
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
@@ -193,7 +193,7 @@ describe Yaoc::ObjectMapper do
193
193
  end
194
194
  end
195
195
 
196
- it 'allows to register the mapper globaly' do
196
+ it 'allows to register the mapper globally' do
197
197
  registry_double=double('registry')
198
198
  subject.registry = registry_double
199
199
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yaoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dieter Späth
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-03 00:00:00.000000000 Z
11
+ date: 2014-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler