xhive 1.6.4 → 1.6.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,8 +26,8 @@ module Xhive
26
26
  end
27
27
 
28
28
  # Define content
29
- define_method("#{attr}_content") do
30
- self.send(attr.to_sym).present_content(self.class.name.downcase.to_sym => self)
29
+ define_method("#{attr}_content") do |opts={}|
30
+ self.send(attr.to_sym).present_content(opts.merge({self.class.name.downcase.to_sym => self}))
31
31
  end
32
32
  end
33
33
  end
data/lib/xhive/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Xhive
2
- VERSION = "1.6.4"
2
+ VERSION = "1.6.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xhive
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.4
4
+ version: 1.6.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -285,7 +285,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
285
285
  version: '0'
286
286
  segments:
287
287
  - 0
288
- hash: -803175819629715449
288
+ hash: 3760795886682600514
289
289
  required_rubygems_version: !ruby/object:Gem::Requirement
290
290
  none: false
291
291
  requirements:
@@ -294,7 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
294
294
  version: '0'
295
295
  segments:
296
296
  - 0
297
- hash: -803175819629715449
297
+ hash: 3760795886682600514
298
298
  requirements: []
299
299
  rubyforge_project:
300
300
  rubygems_version: 1.8.21