rmthemegen 0.0.17 → 0.0.19

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.
@@ -279,11 +279,11 @@ module RMThemeGen
279
279
  f.close
280
280
  end
281
281
 
282
- def make_theme_file(opts = {})
283
- defaults = Hash.new
284
- defaults[:outputdir] = ENV["PWD"]
285
- defaults[:bg_color_style] = 0
286
- opts = defaults.merge opts
282
+ def make_theme_file(outputdir = ENV["PWD"], bg_color_style=0)
283
+ defaults = {}
284
+ defaults[:outputdir] = outputdir
285
+ defaults[:bg_color_style] = bg_color_style
286
+ opts = defaults
287
287
  @bg_color_style = opts[:bg_color_style]
288
288
  @background_grey = (opts[:bg_color_style] < 2) #whitish or blackish bg are both "grey"
289
289
 
@@ -1,3 +1,3 @@
1
1
  module Rmthemegen
2
- VERSION = "0.0.17"
2
+ VERSION = "0.0.19"
3
3
  end
data/rmthemegen.gemspec CHANGED
@@ -4,7 +4,7 @@ require "rmthemegen/version"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "rmthemegen"
7
- s.version = "0.0.17"
7
+ s.version = "0.0.19"
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["David Heitzman"]
10
10
  s.email = ["evolvemeans@gmail.com"]