rmthemegen 0.0.8 → 0.0.9

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.
data/README CHANGED
@@ -12,10 +12,10 @@ requirements :
12
12
  color
13
13
  xml-simple
14
14
 
15
- usage: ruby rmthemegen
16
- It will generate 1 or more files called: "rmt_something_something.xml"
15
+ usage: <rmthemegem gem directory>/bin/generate_themes
16
+ It will generate 1 or more files called: "<rmthemegen gem directory/generated_themes/rmt_something_something.xml"
17
17
  Place these in your ./RubyMine/config/colors directory and then go to File/Settings/Editor/Colors&Fonts
18
- you should see your theme(s) listed there.
18
+ you should see your newly generated theme(s) listed there.
19
19
 
20
20
 
21
21
 
@@ -1,3 +1,4 @@
1
+ #! /usr/bin/ruby
1
2
  #**********************************************************************
2
3
  #* *
3
4
  #* RmThemeGen - a ruby script to create random, usable themes for *
@@ -11,14 +12,23 @@
11
12
  #originally it was written and tested for ruby 1.9.2
12
13
 
13
14
 
14
- require File.dirname(__FILE__)+'/rmthemegen_187'
15
-
16
-
17
- puts "rmthemegen - creates theme files for use with rubymine (3.0.0 and up) "
18
- puts "by David Heitzman 2011 "
19
-
20
- puts "generating themes into current directory. Filenames: rmt_xyz.xml "
15
+ require File.dirname(__FILE__)+'./lib/rmthemegen/rmthemegen_187'
21
16
 
17
+ puts
18
+ puts " rmthemegen - creates theme files for use with rubymine (3.0.0 and up) "
19
+ puts " Note: colors apply only to editor, not the IDE "
20
+ puts
21
+ puts " by David Heitzman 2011 "
22
+ puts " dheitzman@aptifuge.com -- Questions / Comments welcome. "
23
+ puts
24
+ puts " usage: rmthemegen <number of themes you want> "
25
+ puts
26
+ puts " Instructions: Complete path of generated theme will be printed below "
27
+ puts " Copy the rmt_*_*.xml files to: "
28
+ puts " Linux: Copy xml files to ~/.RubyMine3x/config/color. New themes should be present when you go to Settings/editor/Colors&Fonts "
29
+ puts " Mac: Copy xml files to ~/Library/Preferences/RubyMine/color. You must restart RubyMine on the Mac, then look for new color schemes. "
30
+ puts
31
+
22
32
  l = RMThemeGen::ThemeGenerator.new
23
33
 
24
34
  @iterations = ARGV[0] || 1
@@ -27,3 +37,4 @@ l = RMThemeGen::ThemeGenerator.new
27
37
  @iterations.times do
28
38
  puts l.make_theme_file
29
39
  end
40
+ puts
@@ -276,7 +276,7 @@ module RMThemeGen
276
276
  f.close
277
277
  end
278
278
 
279
- def make_theme_file(outputdir = File.dirname(__FILE__) )
279
+ def make_theme_file(outputdir = File.dirname(__FILE__)+"/../../generated_themes" )
280
280
  @backgroundcolor= randcolor(:shade_of_grey=>@background_grey, :max_bright=>@background_max_brightness)# "0"
281
281
  @schemename = randthemename
282
282
  @xmlout = {:scheme=>
@@ -1,3 +1,3 @@
1
1
  module Rmthemegen
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
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: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Heitzman
@@ -17,13 +17,44 @@ cert_chain: []
17
17
 
18
18
  date: 2011-05-09 00:00:00 -05:00
19
19
  default_executable:
20
- dependencies: []
21
-
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: xml-simple
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 9
30
+ segments:
31
+ - 1
32
+ - 0
33
+ - 15
34
+ version: 1.0.15
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: color
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 5
46
+ segments:
47
+ - 1
48
+ - 4
49
+ - 1
50
+ version: 1.4.1
51
+ type: :runtime
52
+ version_requirements: *id002
22
53
  description: ""
23
54
  email:
24
55
  - evolvemeans@gmail.com
25
- executables: []
26
-
56
+ executables:
57
+ - generate_themes.rb
27
58
  extensions: []
28
59
 
29
60
  extra_rdoc_files: []
@@ -33,9 +64,9 @@ files:
33
64
  - Gemfile
34
65
  - README
35
66
  - Rakefile
67
+ - bin/generate_themes.rb
36
68
  - lib/rmthemegen.rb
37
69
  - lib/rmthemegen/geany_fix.rb
38
- - lib/rmthemegen/generate_themes.rb
39
70
  - lib/rmthemegen/rgb_contrast_methods.rb
40
71
  - lib/rmthemegen/rgb_contrast_test.rb
41
72
  - lib/rmthemegen/rmthemegen_187.rb
@@ -57,10 +88,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
57
88
  requirements:
58
89
  - - ">="
59
90
  - !ruby/object:Gem::Version
60
- hash: 3
91
+ hash: 57
61
92
  segments:
62
- - 0
63
- version: "0"
93
+ - 1
94
+ - 8
95
+ - 7
96
+ version: 1.8.7
64
97
  required_rubygems_version: !ruby/object:Gem::Requirement
65
98
  none: false
66
99
  requirements: