docman 0.0.55 → 0.0.56
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docman/commands/command.rb +1 -1
- data/lib/docman/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e04470ba7a7a4b6282b3b81c3104fabb734ea44b
|
4
|
+
data.tar.gz: 4e73ba9ca47a8c24ac039b5deaeea04f652b8f81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffda2daa8ae0ba2b9433448443c090266034500fe282690e527c12c91c3c98eda61441f3ca3c2d310953b8fc32d44f6a2996499c476ed085191038e6c9edbd71
|
7
|
+
data.tar.gz: 45abd1a5dafd66257ca7ce720864591416aac2a26e8f0f7174d7cb274dcbee1858377d10de17b14bb65653c3bef7cc78dd2d0f33de4854b51bdb846e934fe4a6
|
@@ -51,7 +51,7 @@ module Docman
|
|
51
51
|
if obj.has_key? 'hooks' and obj['hooks'].has_key? @type and not obj['hooks'][@type].nil?
|
52
52
|
obj['hooks'][@type].each_pair do |name, hooks|
|
53
53
|
hooks = Marshal::load(Marshal.dump(hooks))
|
54
|
-
unless context.nil?
|
54
|
+
unless context.nil? or hooks.nil?
|
55
55
|
hooks.each do |hook|
|
56
56
|
hook['context'] = context
|
57
57
|
end
|
data/lib/docman/version.rb
CHANGED