rmthemegen 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,10 +22,10 @@ module RMThemeGen
22
22
  class ThemeGenerator < RMThemeParent
23
23
 
24
24
  def to_css
25
- fout = File.new("index.html", "w+")
25
+ #fout = File.new("index.html", "w+")
26
26
  s = ' <style type="text/css"> '
27
27
  s+= "#"+ @xmlout[:scheme][0][:name].to_s
28
- s+=" { background-color: \##{@xmlout[:scheme][0][:colors][0][:option][1][:value].to_s}; } "
28
+ s+=" { background-color: \##{@backgroundcolor.to_s}; } "
29
29
  @xmlout[:scheme][0][:attributes][0][:option].each do |o|
30
30
  if @@tokens_for_css.include? o[:name]
31
31
  s+= "#"+ @xmlout[:scheme][0][:name].to_s
@@ -41,9 +41,9 @@ module RMThemeGen
41
41
  y+= "<span class='#{o[:name]}'>"+ o[:name]+"</span>"
42
42
  end #if
43
43
  end
44
- fout.puts( s)
45
- fout.puts( y)
46
- fout.close
44
+ #fout.puts( s)
45
+ #fout.puts( y)
46
+ #fout.close
47
47
  return s
48
48
  end
49
49
  end #class ThemeGenerator < RMThemeParent
@@ -1,3 +1,3 @@
1
1
  module Rmthemegen
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
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.14"
7
+ s.version = "0.0.15"
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["David Heitzman"]
10
10
  s.email = ["evolvemeans@gmail.com"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rmthemegen
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 14
10
- version: 0.0.14
9
+ - 15
10
+ version: 0.0.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Heitzman