temper 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/temper/version.rb +1 -1
  2. data/lib/temper.rb +2 -1
  3. metadata +3 -3
@@ -1,3 +1,3 @@
1
1
  module Temper
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
data/lib/temper.rb CHANGED
@@ -74,7 +74,8 @@ module Temper
74
74
  class StringIO < Base
75
75
  def initialize(options = {})
76
76
  @storage = ::StringIO.new(options[:content].to_s)
77
- super options.merge(:original_filename => "stringio.txt")
77
+ options[:original_filename] ||= "stringio.txt"
78
+ super options.merge(options)
78
79
  end
79
80
  end
80
81
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: temper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 59
4
+ hash: 57
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 0
10
- version: 0.9.0
9
+ - 1
10
+ version: 0.9.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrew Eberbach