convert_theme 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +16 -0
- data/Manifest.txt +0 -71
- data/README.rdoc +9 -1
- data/lib/convert_theme/cli.rb +10 -5
- data/lib/convert_theme.rb +49 -35
- data/spec/convert_theme_cli_spec.rb +6 -4
- data/spec/convert_theme_spec.rb +4 -1
- data/spec/expected/rails/bloganje/app/views/layouts/application.html.erb +2 -1
- data/spec/expected/rails/webresourcedepot/app/views/layouts/application.html.erb +1 -0
- metadata +2 -74
- data/PostInstall.txt +0 -7
- data/spec/tmp/my_app/README +0 -243
- data/spec/tmp/my_app/Rakefile +0 -10
- data/spec/tmp/my_app/app/controllers/application_controller.rb +0 -10
- data/spec/tmp/my_app/app/helpers/application_helper.rb +0 -3
- data/spec/tmp/my_app/app/views/layouts/application.html.erb +0 -47
- data/spec/tmp/my_app/config/boot.rb +0 -110
- data/spec/tmp/my_app/config/database.yml +0 -22
- data/spec/tmp/my_app/config/environment.rb +0 -41
- data/spec/tmp/my_app/config/environments/development.rb +0 -17
- data/spec/tmp/my_app/config/environments/production.rb +0 -28
- data/spec/tmp/my_app/config/environments/test.rb +0 -28
- data/spec/tmp/my_app/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/tmp/my_app/config/initializers/inflections.rb +0 -10
- data/spec/tmp/my_app/config/initializers/mime_types.rb +0 -5
- data/spec/tmp/my_app/config/initializers/new_rails_defaults.rb +0 -21
- data/spec/tmp/my_app/config/initializers/session_store.rb +0 -15
- data/spec/tmp/my_app/config/locales/en.yml +0 -5
- data/spec/tmp/my_app/config/routes.rb +0 -43
- data/spec/tmp/my_app/db/seeds.rb +0 -7
- data/spec/tmp/my_app/doc/README_FOR_APP +0 -2
- data/spec/tmp/my_app/public/404.html +0 -30
- data/spec/tmp/my_app/public/422.html +0 -30
- data/spec/tmp/my_app/public/500.html +0 -30
- data/spec/tmp/my_app/public/favicon.ico +0 -0
- data/spec/tmp/my_app/public/images/Thumbs.db +0 -0
- data/spec/tmp/my_app/public/images/add-icon.gif +0 -0
- data/spec/tmp/my_app/public/images/arrow.gif +0 -0
- data/spec/tmp/my_app/public/images/bg-center-column.jpg +0 -0
- data/spec/tmp/my_app/public/images/bg-dotted.gif +0 -0
- data/spec/tmp/my_app/public/images/bg-footer.gif +0 -0
- data/spec/tmp/my_app/public/images/bg-header.gif +0 -0
- data/spec/tmp/my_app/public/images/bg-left-header.gif +0 -0
- data/spec/tmp/my_app/public/images/bg-left-link.gif +0 -0
- data/spec/tmp/my_app/public/images/bg-middle.gif +0 -0
- data/spec/tmp/my_app/public/images/bg-orange-button.gif +0 -0
- data/spec/tmp/my_app/public/images/bg-select.gif +0 -0
- data/spec/tmp/my_app/public/images/bg-th-left.gif +0 -0
- data/spec/tmp/my_app/public/images/bg-th-right.gif +0 -0
- data/spec/tmp/my_app/public/images/edit-icon.gif +0 -0
- data/spec/tmp/my_app/public/images/hr.gif +0 -0
- data/spec/tmp/my_app/public/images/login-icon.gif +0 -0
- data/spec/tmp/my_app/public/images/logo.gif +0 -0
- data/spec/tmp/my_app/public/images/rails.png +0 -0
- data/spec/tmp/my_app/public/images/save-icon.gif +0 -0
- data/spec/tmp/my_app/public/images/tab-active-left.gif +0 -0
- data/spec/tmp/my_app/public/images/tab-active-right.gif +0 -0
- data/spec/tmp/my_app/public/images/tab-active.gif +0 -0
- data/spec/tmp/my_app/public/images/tab-left.gif +0 -0
- data/spec/tmp/my_app/public/images/tab-right.gif +0 -0
- data/spec/tmp/my_app/public/images/tab.gif +0 -0
- data/spec/tmp/my_app/public/index.html +0 -275
- data/spec/tmp/my_app/public/javascripts/application.js +0 -2
- data/spec/tmp/my_app/public/javascripts/controls.js +0 -963
- data/spec/tmp/my_app/public/javascripts/dragdrop.js +0 -973
- data/spec/tmp/my_app/public/javascripts/effects.js +0 -1128
- data/spec/tmp/my_app/public/javascripts/prototype.js +0 -4320
- data/spec/tmp/my_app/public/robots.txt +0 -5
- data/spec/tmp/my_app/public/stylesheets/all.css +0 -334
- data/spec/tmp/my_app/script/about +0 -4
- data/spec/tmp/my_app/script/console +0 -3
- data/spec/tmp/my_app/script/dbconsole +0 -3
- data/spec/tmp/my_app/script/destroy +0 -3
- data/spec/tmp/my_app/script/generate +0 -3
- data/spec/tmp/my_app/script/performance/benchmarker +0 -3
- data/spec/tmp/my_app/script/performance/profiler +0 -3
- data/spec/tmp/my_app/script/plugin +0 -3
- data/spec/tmp/my_app/script/runner +0 -3
- data/spec/tmp/my_app/script/server +0 -3
- data/spec/tmp/my_app/test/performance/browsing_test.rb +0 -9
- data/spec/tmp/my_app/test/test_helper.rb +0 -38
data/History.txt
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
=== 0.3.0 / 2009-09-27
|
2
|
+
|
3
|
+
Major:
|
4
|
+
* content_id is now a required argument of the CLI; instead of --content_id flag
|
5
|
+
* Replace some DOM content with <%= yield :some_label %> with --inside_yields:
|
6
|
+
convert_theme path/to/app path/to/rails_app content_box \
|
7
|
+
"--inside_yield=header=>#header h2" \
|
8
|
+
--inside_yield=sidebar=>#sidebar
|
9
|
+
* insert <%= yield(:head) %> at the end of the <head> section of layouts
|
10
|
+
|
11
|
+
Minor:
|
12
|
+
* Can use css paths to identify inner html to replace with <%= yield :some_header %>.
|
13
|
+
For example, to constructor pass :inside_yields => { :some_header => "header h3" }
|
14
|
+
* removing PostInstall.txt from project
|
15
|
+
* Remove the current spec/tmp from the gem
|
16
|
+
|
1
17
|
=== 0.2.0 / 2009-09-26
|
2
18
|
|
3
19
|
Major:
|
data/Manifest.txt
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
History.txt
|
2
2
|
Manifest.txt
|
3
|
-
PostInstall.txt
|
4
3
|
README.rdoc
|
5
4
|
Rakefile
|
6
5
|
bin/convert_theme
|
@@ -340,74 +339,4 @@ spec/fixtures/webresourcedepot/index.html
|
|
340
339
|
spec/matchers/have_same_contents_as.rb
|
341
340
|
spec/spec.opts
|
342
341
|
spec/spec_helper.rb
|
343
|
-
spec/tmp/my_app/README
|
344
|
-
spec/tmp/my_app/Rakefile
|
345
|
-
spec/tmp/my_app/app/controllers/application_controller.rb
|
346
|
-
spec/tmp/my_app/app/helpers/application_helper.rb
|
347
|
-
spec/tmp/my_app/app/views/layouts/application.html.erb
|
348
|
-
spec/tmp/my_app/config/boot.rb
|
349
|
-
spec/tmp/my_app/config/database.yml
|
350
|
-
spec/tmp/my_app/config/environment.rb
|
351
|
-
spec/tmp/my_app/config/environments/development.rb
|
352
|
-
spec/tmp/my_app/config/environments/production.rb
|
353
|
-
spec/tmp/my_app/config/environments/test.rb
|
354
|
-
spec/tmp/my_app/config/initializers/backtrace_silencers.rb
|
355
|
-
spec/tmp/my_app/config/initializers/inflections.rb
|
356
|
-
spec/tmp/my_app/config/initializers/mime_types.rb
|
357
|
-
spec/tmp/my_app/config/initializers/new_rails_defaults.rb
|
358
|
-
spec/tmp/my_app/config/initializers/session_store.rb
|
359
|
-
spec/tmp/my_app/config/locales/en.yml
|
360
|
-
spec/tmp/my_app/config/routes.rb
|
361
|
-
spec/tmp/my_app/db/seeds.rb
|
362
|
-
spec/tmp/my_app/doc/README_FOR_APP
|
363
|
-
spec/tmp/my_app/public/404.html
|
364
|
-
spec/tmp/my_app/public/422.html
|
365
|
-
spec/tmp/my_app/public/500.html
|
366
|
-
spec/tmp/my_app/public/favicon.ico
|
367
|
-
spec/tmp/my_app/public/images/Thumbs.db
|
368
|
-
spec/tmp/my_app/public/images/add-icon.gif
|
369
|
-
spec/tmp/my_app/public/images/arrow.gif
|
370
|
-
spec/tmp/my_app/public/images/bg-center-column.jpg
|
371
|
-
spec/tmp/my_app/public/images/bg-dotted.gif
|
372
|
-
spec/tmp/my_app/public/images/bg-footer.gif
|
373
|
-
spec/tmp/my_app/public/images/bg-header.gif
|
374
|
-
spec/tmp/my_app/public/images/bg-left-header.gif
|
375
|
-
spec/tmp/my_app/public/images/bg-left-link.gif
|
376
|
-
spec/tmp/my_app/public/images/bg-middle.gif
|
377
|
-
spec/tmp/my_app/public/images/bg-orange-button.gif
|
378
|
-
spec/tmp/my_app/public/images/bg-select.gif
|
379
|
-
spec/tmp/my_app/public/images/bg-th-left.gif
|
380
|
-
spec/tmp/my_app/public/images/bg-th-right.gif
|
381
|
-
spec/tmp/my_app/public/images/edit-icon.gif
|
382
|
-
spec/tmp/my_app/public/images/hr.gif
|
383
|
-
spec/tmp/my_app/public/images/login-icon.gif
|
384
|
-
spec/tmp/my_app/public/images/logo.gif
|
385
|
-
spec/tmp/my_app/public/images/rails.png
|
386
|
-
spec/tmp/my_app/public/images/save-icon.gif
|
387
|
-
spec/tmp/my_app/public/images/tab-active-left.gif
|
388
|
-
spec/tmp/my_app/public/images/tab-active-right.gif
|
389
|
-
spec/tmp/my_app/public/images/tab-active.gif
|
390
|
-
spec/tmp/my_app/public/images/tab-left.gif
|
391
|
-
spec/tmp/my_app/public/images/tab-right.gif
|
392
|
-
spec/tmp/my_app/public/images/tab.gif
|
393
|
-
spec/tmp/my_app/public/index.html
|
394
|
-
spec/tmp/my_app/public/javascripts/application.js
|
395
|
-
spec/tmp/my_app/public/javascripts/controls.js
|
396
|
-
spec/tmp/my_app/public/javascripts/dragdrop.js
|
397
|
-
spec/tmp/my_app/public/javascripts/effects.js
|
398
|
-
spec/tmp/my_app/public/javascripts/prototype.js
|
399
|
-
spec/tmp/my_app/public/robots.txt
|
400
|
-
spec/tmp/my_app/public/stylesheets/all.css
|
401
|
-
spec/tmp/my_app/script/about
|
402
|
-
spec/tmp/my_app/script/console
|
403
|
-
spec/tmp/my_app/script/dbconsole
|
404
|
-
spec/tmp/my_app/script/destroy
|
405
|
-
spec/tmp/my_app/script/generate
|
406
|
-
spec/tmp/my_app/script/performance/benchmarker
|
407
|
-
spec/tmp/my_app/script/performance/profiler
|
408
|
-
spec/tmp/my_app/script/plugin
|
409
|
-
spec/tmp/my_app/script/runner
|
410
|
-
spec/tmp/my_app/script/server
|
411
|
-
spec/tmp/my_app/test/performance/browsing_test.rb
|
412
|
-
spec/tmp/my_app/test/test_helper.rb
|
413
342
|
tasks/rspec.rake
|
data/README.rdoc
CHANGED
@@ -15,7 +15,15 @@ in action.
|
|
15
15
|
|
16
16
|
== USAGE:
|
17
17
|
|
18
|
-
|
18
|
+
Simple case:
|
19
|
+
|
20
|
+
convert_theme path/to/template path/to/rails_app content_id
|
21
|
+
|
22
|
+
Replace some DOM content with <%= yield :some_label %> with --inside_yields:
|
23
|
+
|
24
|
+
convert_theme path/to/app path/to/rails_app content_box \
|
25
|
+
"--inside_yield=header=>#header h2" \
|
26
|
+
--inside_yield=sidebar=>#sidebar
|
19
27
|
|
20
28
|
== INSTALL:
|
21
29
|
|
data/lib/convert_theme/cli.rb
CHANGED
@@ -5,24 +5,29 @@ class ConvertTheme
|
|
5
5
|
def self.execute(stdout, arguments=[])
|
6
6
|
options = {}
|
7
7
|
options[:template_root] = arguments.shift
|
8
|
-
path_to_rails_app
|
8
|
+
path_to_rails_app = arguments.shift
|
9
|
+
options[:content_id] = arguments.shift
|
9
10
|
parser = OptionParser.new do |opts|
|
10
11
|
opts.banner = <<-BANNER.gsub(/^ /,'')
|
11
12
|
Use any HTML template as a theme generator for your Rails app.
|
12
13
|
|
13
|
-
Usage: #{File.basename($0)} path/to/template path/to/rails_app [options]
|
14
|
+
Usage: #{File.basename($0)} path/to/template path/to/rails_app content_id [options]
|
14
15
|
|
15
16
|
Options are:
|
16
17
|
BANNER
|
17
18
|
opts.separator ""
|
18
|
-
opts.on("--content_id=CONTENT_ID", String,
|
19
|
-
"DOM id for the main DOM element for the <%= yield %>.",
|
20
|
-
"Default: content") { |arg| options[:content_id] = arg }
|
21
19
|
opts.on("--haml",
|
22
20
|
"Generate HAML templates.") { |arg| options[:template_type] = 'haml' }
|
23
21
|
opts.on("--index_path=index.html", String,
|
24
22
|
"HTML page to use for application layout.",
|
25
23
|
"Default: index.html") { |arg| options[:index_path] = arg }
|
24
|
+
opts.on("--inside_yield=KEY_AND_CSS_PATH", String,
|
25
|
+
"Replace the inner HTML of an element with <%= yield :key %>",
|
26
|
+
"Default: nil") do |arg|
|
27
|
+
options[:inside_yields] ||= {}
|
28
|
+
key, css_path = arg.split(/\s*=>\s*/)[0..1]
|
29
|
+
options[:inside_yields][key.strip.to_sym] = css_path.strip
|
30
|
+
end
|
26
31
|
opts.on("-h", "--help",
|
27
32
|
"Show this help message.") { stdout.puts opts; exit }
|
28
33
|
opts.parse!(arguments)
|
data/lib/convert_theme.rb
CHANGED
@@ -6,16 +6,17 @@ require "rubigen"
|
|
6
6
|
require 'rubigen/scripts/generate'
|
7
7
|
|
8
8
|
class ConvertTheme
|
9
|
-
VERSION = "0.
|
9
|
+
VERSION = "0.3.0"
|
10
10
|
|
11
11
|
attr_reader :template_root, :index_path, :rails_path, :template_type
|
12
12
|
attr_reader :stylesheet_dir, :javascript_dir, :image_dir
|
13
|
-
attr_reader :content_id
|
13
|
+
attr_reader :content_id, :inside_yields
|
14
14
|
|
15
15
|
def initialize(options = {})
|
16
16
|
@template_root = File.expand_path(options[:template_root] || File.dirname('.'))
|
17
17
|
@index_path = options[:index_path] || "index.html"
|
18
18
|
@content_id = options[:content_id] || "content"
|
19
|
+
@inside_yields = options[:inside_yields] || {}
|
19
20
|
@stylesheet_dir = options[:stylesheet_dir] || detect_stylesheet_dir
|
20
21
|
@javascript_dir = options[:javascript_dir] || detect_javascript_dir
|
21
22
|
@image_dir = options[:image_dir] || detect_image_dir
|
@@ -28,19 +29,56 @@ class ConvertTheme
|
|
28
29
|
@rails_path = rails_path
|
29
30
|
@template_type = (options[:template_type] || detect_template).to_s
|
30
31
|
|
31
|
-
|
32
|
-
|
32
|
+
convert_file_to_layout(index_path, 'app/views/layouts/application.html.erb')
|
33
|
+
prepare_assets
|
34
|
+
run_generator(options)
|
35
|
+
end
|
36
|
+
|
37
|
+
# This generator's templates folder is temporary
|
38
|
+
# and is accessed via source_root within the generator.
|
39
|
+
def template_temp_path
|
40
|
+
@template_temp_path ||= begin
|
41
|
+
tmp_dir = ENV['TMPDIR'] || '/tmp'
|
42
|
+
template_path = File.join(tmp_dir, "convert_theme", "templates")
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
def setup_template_temp_path
|
47
|
+
FileUtils.rm_rf(template_temp_path)
|
48
|
+
FileUtils.mkdir_p(template_temp_path)
|
49
|
+
%w[app/views/layouts public/images public/javascripts public/stylesheets].each do |app_path|
|
50
|
+
FileUtils.mkdir_p(File.join(template_temp_path, app_path))
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
def haml?
|
55
|
+
template_type == 'haml'
|
56
|
+
end
|
57
|
+
|
58
|
+
def erb?
|
59
|
+
template_type == 'erb'
|
60
|
+
end
|
61
|
+
|
62
|
+
protected
|
63
|
+
|
64
|
+
def convert_file_to_layout(html_path, layout_path)
|
65
|
+
File.open(File.join(template_temp_path, layout_path), "w") do |file|
|
66
|
+
index_file = File.read(File.join(template_root, html_path)).gsub(/\r/, '')
|
33
67
|
doc = Hpricot(index_file)
|
34
|
-
doc.search("##{content_id}").each
|
35
|
-
|
68
|
+
doc.search("##{content_id}").each { |elm| elm.inner_html = "<%= yield %>" }
|
69
|
+
inside_yields.to_a.each do |name, css_path|
|
70
|
+
doc.search(css_path).each { |elm| elm.inner_html = "<%= yield(:#{name}) %>"}
|
36
71
|
end
|
37
72
|
contents = doc.to_html
|
38
73
|
contents.gsub!(%r{(["'])/?#{image_dir}}, '\1/images')
|
39
74
|
contents.gsub!(%r{(["'])/?#{stylesheet_dir}}, '\1/stylesheets')
|
40
75
|
contents.gsub!(%r{(["'])/?#{javascript_dir}}, '\1/javascripts')
|
76
|
+
contents.sub!(%r{\s*</head>}, "\n <%= yield(:head) %>\n</head>")
|
41
77
|
file << contents
|
42
78
|
end
|
43
|
-
|
79
|
+
end
|
80
|
+
|
81
|
+
def prepare_assets
|
44
82
|
template_stylesheets.each do |file|
|
45
83
|
File.open(File.join(template_temp_path, 'public/stylesheets', File.basename(file)), "w") do |f|
|
46
84
|
contents = File.read(file)
|
@@ -54,7 +92,9 @@ class ConvertTheme
|
|
54
92
|
template_images.each do |file|
|
55
93
|
FileUtils.cp_r(file, File.join(template_temp_path, 'public/images'))
|
56
94
|
end
|
57
|
-
|
95
|
+
end
|
96
|
+
|
97
|
+
def run_generator(options)
|
58
98
|
# now use rubigen to install the files into the rails app
|
59
99
|
# so users can get conflict resolution options from command line
|
60
100
|
RubiGen::Base.reset_sources
|
@@ -64,33 +104,7 @@ class ConvertTheme
|
|
64
104
|
:source => template_temp_path, :destination => rails_path)
|
65
105
|
RubiGen::Scripts::Generate.new.run(["convert_theme"], generator_options)
|
66
106
|
end
|
67
|
-
|
68
|
-
# This generator's templates folder is temporary
|
69
|
-
# and is accessed via source_root within the generator.
|
70
|
-
def template_temp_path
|
71
|
-
@template_temp_path ||= begin
|
72
|
-
tmp_dir = ENV['TMPDIR'] || '/tmp'
|
73
|
-
template_path = File.join(tmp_dir, "convert_theme", "templates")
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
def setup_template_temp_path
|
78
|
-
FileUtils.rm_rf(template_temp_path)
|
79
|
-
FileUtils.mkdir_p(template_temp_path)
|
80
|
-
%w[app/views/layouts public/images public/javascripts public/stylesheets].each do |app_path|
|
81
|
-
FileUtils.mkdir_p(File.join(template_temp_path, app_path))
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
def haml?
|
86
|
-
template_type == 'haml'
|
87
|
-
end
|
88
|
-
|
89
|
-
def erb?
|
90
|
-
template_type == 'erb'
|
91
|
-
end
|
92
|
-
|
93
|
-
protected
|
107
|
+
|
94
108
|
def in_template_root(&block)
|
95
109
|
FileUtils.chdir(template_root, &block)
|
96
110
|
end
|
@@ -8,15 +8,17 @@ describe ConvertTheme::CLI, "execute" do
|
|
8
8
|
with(:template_root => "path/to/app",
|
9
9
|
:content_id => "content_box",
|
10
10
|
:index_path => "root.html",
|
11
|
-
:template_type => "haml"
|
11
|
+
:template_type => "haml",
|
12
|
+
:inside_yields => { :header => '#header h2', :sidebar => '#sidebar' }
|
12
13
|
).
|
13
14
|
and_return(theme)
|
14
|
-
theme.should_receive(:apply_to).with("
|
15
|
+
theme.should_receive(:apply_to).with("path/to/rails_app")
|
15
16
|
@stdout = stdout do |stdout_io|
|
16
|
-
ConvertTheme::CLI.execute(stdout_io, %w[path/to/app
|
17
|
-
--content_id=content_box
|
17
|
+
ConvertTheme::CLI.execute(stdout_io, %w[path/to/app path/to/rails_app content_box
|
18
18
|
--index_path=root.html
|
19
19
|
--haml
|
20
|
+
--inside_yield=header=>#header\ h2
|
21
|
+
--inside_yield=sidebar=>#sidebar
|
20
22
|
])
|
21
23
|
end
|
22
24
|
end
|
data/spec/convert_theme_spec.rb
CHANGED
@@ -5,7 +5,10 @@ describe ConvertTheme do
|
|
5
5
|
before do
|
6
6
|
setup_base_rails
|
7
7
|
stdout do |stdout|
|
8
|
-
@theme = ConvertTheme.new(:template_root => File.dirname(__FILE__) + "/fixtures/bloganje",
|
8
|
+
@theme = ConvertTheme.new(:template_root => File.dirname(__FILE__) + "/fixtures/bloganje",
|
9
|
+
:content_id => "content",
|
10
|
+
:inside_yields => { :header => '#header h2' },
|
11
|
+
:stdout => stdout)
|
9
12
|
@theme.apply_to(@target_application, :generator => {:collision => :force, :quiet => true})
|
10
13
|
end
|
11
14
|
@expected_application = File.dirname(__FILE__) + "/expected/rails/bloganje"
|
@@ -12,12 +12,13 @@
|
|
12
12
|
<!--[if IE]>
|
13
13
|
<link rel="stylesheet" type="text/css" href="/stylesheets/ie-sucks.css" />
|
14
14
|
<![endif]-->
|
15
|
+
<%= yield(:head) %>
|
15
16
|
</head>
|
16
17
|
|
17
18
|
<body>
|
18
19
|
<div id="container">
|
19
20
|
<div id="header">
|
20
|
-
<h2
|
21
|
+
<h2><%= yield(:header) %></h2>
|
21
22
|
<div id="topmenu">
|
22
23
|
<ul>
|
23
24
|
<li class="current"><a href="index.html">Dashboard</a></li>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: convert_theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dr Nic Williams
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-09-
|
12
|
+
date: 2009-09-27 00:00:00 +10:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -80,11 +80,9 @@ extensions: []
|
|
80
80
|
extra_rdoc_files:
|
81
81
|
- History.txt
|
82
82
|
- Manifest.txt
|
83
|
-
- PostInstall.txt
|
84
83
|
files:
|
85
84
|
- History.txt
|
86
85
|
- Manifest.txt
|
87
|
-
- PostInstall.txt
|
88
86
|
- README.rdoc
|
89
87
|
- Rakefile
|
90
88
|
- bin/convert_theme
|
@@ -424,76 +422,6 @@ files:
|
|
424
422
|
- spec/matchers/have_same_contents_as.rb
|
425
423
|
- spec/spec.opts
|
426
424
|
- spec/spec_helper.rb
|
427
|
-
- spec/tmp/my_app/README
|
428
|
-
- spec/tmp/my_app/Rakefile
|
429
|
-
- spec/tmp/my_app/app/controllers/application_controller.rb
|
430
|
-
- spec/tmp/my_app/app/helpers/application_helper.rb
|
431
|
-
- spec/tmp/my_app/app/views/layouts/application.html.erb
|
432
|
-
- spec/tmp/my_app/config/boot.rb
|
433
|
-
- spec/tmp/my_app/config/database.yml
|
434
|
-
- spec/tmp/my_app/config/environment.rb
|
435
|
-
- spec/tmp/my_app/config/environments/development.rb
|
436
|
-
- spec/tmp/my_app/config/environments/production.rb
|
437
|
-
- spec/tmp/my_app/config/environments/test.rb
|
438
|
-
- spec/tmp/my_app/config/initializers/backtrace_silencers.rb
|
439
|
-
- spec/tmp/my_app/config/initializers/inflections.rb
|
440
|
-
- spec/tmp/my_app/config/initializers/mime_types.rb
|
441
|
-
- spec/tmp/my_app/config/initializers/new_rails_defaults.rb
|
442
|
-
- spec/tmp/my_app/config/initializers/session_store.rb
|
443
|
-
- spec/tmp/my_app/config/locales/en.yml
|
444
|
-
- spec/tmp/my_app/config/routes.rb
|
445
|
-
- spec/tmp/my_app/db/seeds.rb
|
446
|
-
- spec/tmp/my_app/doc/README_FOR_APP
|
447
|
-
- spec/tmp/my_app/public/404.html
|
448
|
-
- spec/tmp/my_app/public/422.html
|
449
|
-
- spec/tmp/my_app/public/500.html
|
450
|
-
- spec/tmp/my_app/public/favicon.ico
|
451
|
-
- spec/tmp/my_app/public/images/Thumbs.db
|
452
|
-
- spec/tmp/my_app/public/images/add-icon.gif
|
453
|
-
- spec/tmp/my_app/public/images/arrow.gif
|
454
|
-
- spec/tmp/my_app/public/images/bg-center-column.jpg
|
455
|
-
- spec/tmp/my_app/public/images/bg-dotted.gif
|
456
|
-
- spec/tmp/my_app/public/images/bg-footer.gif
|
457
|
-
- spec/tmp/my_app/public/images/bg-header.gif
|
458
|
-
- spec/tmp/my_app/public/images/bg-left-header.gif
|
459
|
-
- spec/tmp/my_app/public/images/bg-left-link.gif
|
460
|
-
- spec/tmp/my_app/public/images/bg-middle.gif
|
461
|
-
- spec/tmp/my_app/public/images/bg-orange-button.gif
|
462
|
-
- spec/tmp/my_app/public/images/bg-select.gif
|
463
|
-
- spec/tmp/my_app/public/images/bg-th-left.gif
|
464
|
-
- spec/tmp/my_app/public/images/bg-th-right.gif
|
465
|
-
- spec/tmp/my_app/public/images/edit-icon.gif
|
466
|
-
- spec/tmp/my_app/public/images/hr.gif
|
467
|
-
- spec/tmp/my_app/public/images/login-icon.gif
|
468
|
-
- spec/tmp/my_app/public/images/logo.gif
|
469
|
-
- spec/tmp/my_app/public/images/rails.png
|
470
|
-
- spec/tmp/my_app/public/images/save-icon.gif
|
471
|
-
- spec/tmp/my_app/public/images/tab-active-left.gif
|
472
|
-
- spec/tmp/my_app/public/images/tab-active-right.gif
|
473
|
-
- spec/tmp/my_app/public/images/tab-active.gif
|
474
|
-
- spec/tmp/my_app/public/images/tab-left.gif
|
475
|
-
- spec/tmp/my_app/public/images/tab-right.gif
|
476
|
-
- spec/tmp/my_app/public/images/tab.gif
|
477
|
-
- spec/tmp/my_app/public/index.html
|
478
|
-
- spec/tmp/my_app/public/javascripts/application.js
|
479
|
-
- spec/tmp/my_app/public/javascripts/controls.js
|
480
|
-
- spec/tmp/my_app/public/javascripts/dragdrop.js
|
481
|
-
- spec/tmp/my_app/public/javascripts/effects.js
|
482
|
-
- spec/tmp/my_app/public/javascripts/prototype.js
|
483
|
-
- spec/tmp/my_app/public/robots.txt
|
484
|
-
- spec/tmp/my_app/public/stylesheets/all.css
|
485
|
-
- spec/tmp/my_app/script/about
|
486
|
-
- spec/tmp/my_app/script/console
|
487
|
-
- spec/tmp/my_app/script/dbconsole
|
488
|
-
- spec/tmp/my_app/script/destroy
|
489
|
-
- spec/tmp/my_app/script/generate
|
490
|
-
- spec/tmp/my_app/script/performance/benchmarker
|
491
|
-
- spec/tmp/my_app/script/performance/profiler
|
492
|
-
- spec/tmp/my_app/script/plugin
|
493
|
-
- spec/tmp/my_app/script/runner
|
494
|
-
- spec/tmp/my_app/script/server
|
495
|
-
- spec/tmp/my_app/test/performance/browsing_test.rb
|
496
|
-
- spec/tmp/my_app/test/test_helper.rb
|
497
425
|
- tasks/rspec.rake
|
498
426
|
has_rdoc: true
|
499
427
|
homepage: http://github.com/drnic/convert_theme
|