rmthemegen 0.0.3 → 0.0.4

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.
@@ -1,6 +1,6 @@
1
1
  require 'color'
2
2
 
3
- module ColorThemeGen
3
+ class Color::RGB
4
4
 
5
5
  # Outputs how much contrast this color has with another rgb color. Computes the same
6
6
  # regardless of which one is considered foreground.
@@ -5,7 +5,7 @@ require File.dirname(__FILE__)+'/rgb_contrast_methods'
5
5
 
6
6
  module RMThemeGen
7
7
 
8
- class ThemeGenerator
8
+ class ThemeGenerator < RMThemeParent
9
9
 
10
10
  attr_reader :xmlout #a huge structure of xml that can be given to XmlSimple.xml_out() to create that actual color theme file
11
11
 
@@ -1,7 +1,6 @@
1
1
 
2
2
  module RMThemeGen
3
-
4
- class ThemeGenerator
3
+ class RMThemeParent
5
4
  @@doc_opt_keys = %w( LINE_SPACING EDITOR_FONT_SIZE EDITOR_FONT_NAME)
6
5
  @@doc_color_keys = %w(ANNOTATIONS_COLOR CARET_COLOR CARET_ROW_COLOR CONSOLE_BACKGROUND_KEY GUTTER_BACKGROUND INDENT_GUIDE LINE_NUMBERS_COLOR
7
6
  METHOD_SEPARATORS_COLOR MODIFIED_LINES_COLOR READONLY_BACKGROUND READONLY_FRAGMENT_BACKGROUND RECURSIVE_CALL_ATTRIBUTES RIGHT_MARGIN_COLOR
@@ -138,6 +137,5 @@ operator identifier modulename backticks instancevar classvar heredelim worddemo
138
137
  datasection regex here_q here_qq here_qx string_q string_qq string_qx string_qr string_qw upper_bound error
139
138
  pod }
140
139
 
141
-
142
- end #class
140
+ end #class
143
141
  end #module
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.3"
7
+ s.version = "0.0.4"
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["David Heitzman"]
10
10
  s.email = ["evolvemeans@gmail.com"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rmthemegen
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - David Heitzman
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-30 00:00:00 -05:00
13
+ date: 2011-05-02 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
@@ -28,6 +28,7 @@ files:
28
28
  - Gemfile
29
29
  - README
30
30
  - Rakefile
31
+ - lib/rmt_remote_rock.xml
31
32
  - lib/rmthemegen.rb
32
33
  - lib/rmthemegen/rgb_contrast_methods.rb
33
34
  - lib/rmthemegen/rmthemegen.rb