kelredd-useful 0.1.8.4 → 0.1.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,8 +12,7 @@ module Sinatra
12
12
  #
13
13
  # foo will be rendered once for each element in the array, passing in a local variable named "foo"
14
14
  # Usage: partial :foo, :collection => @my_foos
15
- def partial(template, *args)
16
- options = args.extract_options!
15
+ def partial(template, options={})
17
16
  options.merge!(:layout => false)
18
17
  path = template.to_s.split(File::SEPARATOR)
19
18
  object = path[-1].to_sym
@@ -4,7 +4,7 @@ module Useful
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
6
  TINY = 8
7
- FIX = 4
7
+ FIX = 5
8
8
 
9
9
  def self.to_s # :nodoc:
10
10
  [MAJOR, MINOR, TINY, FIX].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kelredd-useful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.4
4
+ version: 0.1.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelredd