fume 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/fume.gemspec +56 -55
- data/generators/fume/fume_generator.rb +55 -0
- data/generators/fume/simple_theme/simple_theme_gen.rb +15 -0
- metadata +56 -55
- data/generators/fume_simple_theme/fume_simple_theme_generator.rb +0 -41
- /data/generators/{fume_simple_theme → fume/simple_theme}/USAGE +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/images/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_30_cccccc_40x100.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/images/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_20_555555_1x400.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_0078a3_1x400.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/images/jquery-ui-1.7.2.ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/images/jquery-ui-1.7.2.ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/images/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_25_000000_1x100.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/images/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/images/jquery-ui-1.7.2.ui-darkness/ui-icons_222222_256x240.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/images/jquery-ui-1.7.2.ui-darkness/ui-icons_4b8e0b_256x240.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/images/jquery-ui-1.7.2.ui-darkness/ui-icons_a83300_256x240.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/images/jquery-ui-1.7.2.ui-darkness/ui-icons_cccccc_256x240.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/images/jquery-ui-1.7.2.ui-darkness/ui-icons_ffffff_256x240.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/javascripts/jquery-1.3.2.min.js +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/javascripts/jquery-ui-1.7.2.full.min.js +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/javascripts/jquery-ui-i18n-1.7.2.js +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/base.less +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/ie.css +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/buttons/icons/cross.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/buttons/icons/key.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/buttons/icons/tick.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/buttons/readme.txt +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/buttons/screen.css +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/fancy-type/readme.txt +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/fancy-type/screen.css +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/doc.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/email.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/external.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/feed.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/im.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/pdf.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/visited.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/xls.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/link-icons/readme.txt +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/link-icons/screen.css +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/rtl/readme.txt +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/plugins/rtl/screen.css +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/print.css +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/screen.css +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/src/forms.css +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/src/grid.css +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/src/grid.png +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/src/ie.css +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/src/print.css +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/src/reset.css +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/blueprint-0.9.1/src/typography.css +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/drastic-dark.less +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/jquery-ui-1.7.2.ui-darkness.css +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/simple-theme.css +0 -0
- /data/generators/{fume_simple_theme/templates → fume/simple_theme/templates/public}/stylesheets/simple-theme.less +0 -0
data/VERSION.yml
CHANGED
data/fume.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{fume}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Sunteya"]
|
12
|
-
s.date = %q{2009-12-
|
12
|
+
s.date = %q{2009-12-17}
|
13
13
|
s.email = %q{Sunteya@gmail.com}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"README"
|
@@ -20,59 +20,60 @@ Gem::Specification.new do |s|
|
|
20
20
|
"Rakefile",
|
21
21
|
"VERSION.yml",
|
22
22
|
"fume.gemspec",
|
23
|
-
"generators/
|
24
|
-
"generators/
|
25
|
-
"generators/
|
26
|
-
"generators/
|
27
|
-
"generators/
|
28
|
-
"generators/
|
29
|
-
"generators/
|
30
|
-
"generators/
|
31
|
-
"generators/
|
32
|
-
"generators/
|
33
|
-
"generators/
|
34
|
-
"generators/
|
35
|
-
"generators/
|
36
|
-
"generators/
|
37
|
-
"generators/
|
38
|
-
"generators/
|
39
|
-
"generators/
|
40
|
-
"generators/
|
41
|
-
"generators/
|
42
|
-
"generators/
|
43
|
-
"generators/
|
44
|
-
"generators/
|
45
|
-
"generators/
|
46
|
-
"generators/
|
47
|
-
"generators/
|
48
|
-
"generators/
|
49
|
-
"generators/
|
50
|
-
"generators/
|
51
|
-
"generators/
|
52
|
-
"generators/
|
53
|
-
"generators/
|
54
|
-
"generators/
|
55
|
-
"generators/
|
56
|
-
"generators/
|
57
|
-
"generators/
|
58
|
-
"generators/
|
59
|
-
"generators/
|
60
|
-
"generators/
|
61
|
-
"generators/
|
62
|
-
"generators/
|
63
|
-
"generators/
|
64
|
-
"generators/
|
65
|
-
"generators/
|
66
|
-
"generators/
|
67
|
-
"generators/
|
68
|
-
"generators/
|
69
|
-
"generators/
|
70
|
-
"generators/
|
71
|
-
"generators/
|
72
|
-
"generators/
|
73
|
-
"generators/
|
74
|
-
"generators/
|
75
|
-
"generators/
|
23
|
+
"generators/fume/fume_generator.rb",
|
24
|
+
"generators/fume/simple_theme/USAGE",
|
25
|
+
"generators/fume/simple_theme/simple_theme_gen.rb",
|
26
|
+
"generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_30_cccccc_40x100.png",
|
27
|
+
"generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png",
|
28
|
+
"generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_20_555555_1x400.png",
|
29
|
+
"generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_0078a3_1x400.png",
|
30
|
+
"generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_ffc73d_1x400.png",
|
31
|
+
"generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png",
|
32
|
+
"generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png",
|
33
|
+
"generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_25_000000_1x100.png",
|
34
|
+
"generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png",
|
35
|
+
"generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_222222_256x240.png",
|
36
|
+
"generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_4b8e0b_256x240.png",
|
37
|
+
"generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_a83300_256x240.png",
|
38
|
+
"generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_cccccc_256x240.png",
|
39
|
+
"generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_ffffff_256x240.png",
|
40
|
+
"generators/fume/simple_theme/templates/public/javascripts/jquery-1.3.2.min.js",
|
41
|
+
"generators/fume/simple_theme/templates/public/javascripts/jquery-ui-1.7.2.full.min.js",
|
42
|
+
"generators/fume/simple_theme/templates/public/javascripts/jquery-ui-i18n-1.7.2.js",
|
43
|
+
"generators/fume/simple_theme/templates/public/stylesheets/base.less",
|
44
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/ie.css",
|
45
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/buttons/icons/cross.png",
|
46
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/buttons/icons/key.png",
|
47
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/buttons/icons/tick.png",
|
48
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/buttons/readme.txt",
|
49
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/buttons/screen.css",
|
50
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/fancy-type/readme.txt",
|
51
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/fancy-type/screen.css",
|
52
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/doc.png",
|
53
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/email.png",
|
54
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/external.png",
|
55
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/feed.png",
|
56
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/im.png",
|
57
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/pdf.png",
|
58
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/visited.png",
|
59
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/xls.png",
|
60
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/readme.txt",
|
61
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/screen.css",
|
62
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/rtl/readme.txt",
|
63
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/rtl/screen.css",
|
64
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/print.css",
|
65
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/screen.css",
|
66
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/forms.css",
|
67
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/grid.css",
|
68
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/grid.png",
|
69
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/ie.css",
|
70
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/print.css",
|
71
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/reset.css",
|
72
|
+
"generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/typography.css",
|
73
|
+
"generators/fume/simple_theme/templates/public/stylesheets/drastic-dark.less",
|
74
|
+
"generators/fume/simple_theme/templates/public/stylesheets/jquery-ui-1.7.2.ui-darkness.css",
|
75
|
+
"generators/fume/simple_theme/templates/public/stylesheets/simple-theme.css",
|
76
|
+
"generators/fume/simple_theme/templates/public/stylesheets/simple-theme.less",
|
76
77
|
"init.rb",
|
77
78
|
"lib/fume.rb",
|
78
79
|
"lib/fume/authlogic.rb",
|
@@ -0,0 +1,55 @@
|
|
1
|
+
class FumeGenerator < Rails::Generator::Base
|
2
|
+
|
3
|
+
attr_accessor :gen
|
4
|
+
delegate :source_path, :destination_path, :manifest, :after_generate, :replay, :to => :gen
|
5
|
+
|
6
|
+
def initialize(runtime_args, runtime_options = {})
|
7
|
+
super
|
8
|
+
|
9
|
+
usage if args.empty?
|
10
|
+
gen_name = args.shift
|
11
|
+
|
12
|
+
gen_path = File.join(spec.path, gen_name)
|
13
|
+
gen_spec = Fume::Gen::Spec.new(gen_name, gen_path, gen_path)
|
14
|
+
|
15
|
+
@gen = gen_spec.klass.new(runtime_args, runtime_options)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
|
20
|
+
module Fume
|
21
|
+
module Gen
|
22
|
+
class Base < Rails::Generator::Base
|
23
|
+
def destination_root_pathname
|
24
|
+
Pathname.new(self.destination_root)
|
25
|
+
end
|
26
|
+
|
27
|
+
def source_root_pathname
|
28
|
+
Pathname.new(self.source_root)
|
29
|
+
end
|
30
|
+
|
31
|
+
def cp_files(m, pattern)
|
32
|
+
Pathname.glob(source_root_pathname.join(pattern)) do |source_path|
|
33
|
+
relative_path = source_path.relative_path_from(source_root_pathname)
|
34
|
+
destination_path = destination_root_pathname.join(relative_path)
|
35
|
+
|
36
|
+
if source_path.directory?
|
37
|
+
m.directory relative_path unless destination_path.exist?
|
38
|
+
else
|
39
|
+
m.file relative_path.to_s, relative_path.to_s
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
class Spec < Rails::Generator::Spec
|
46
|
+
def class_file
|
47
|
+
"#{path}/#{name}_gen.rb"
|
48
|
+
end
|
49
|
+
|
50
|
+
def class_name
|
51
|
+
"#{name.camelize}Gen"
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
class SimpleThemeGen < Fume::Gen::Base
|
2
|
+
|
3
|
+
def manifest
|
4
|
+
record do |m|
|
5
|
+
# generate_images
|
6
|
+
cp_files m, File.join("public", "images", "**", "*")
|
7
|
+
|
8
|
+
# generate_stylesheets
|
9
|
+
cp_files m, File.join("public", "stylesheets", "*.css")
|
10
|
+
|
11
|
+
# generate_javascripts
|
12
|
+
cp_files m, File.join("public", "javascripts", "**", "*")
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fume
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sunteya
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-17 00:00:00 +08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -36,59 +36,60 @@ files:
|
|
36
36
|
- Rakefile
|
37
37
|
- VERSION.yml
|
38
38
|
- fume.gemspec
|
39
|
-
- generators/
|
40
|
-
- generators/
|
41
|
-
- generators/
|
42
|
-
- generators/
|
43
|
-
- generators/
|
44
|
-
- generators/
|
45
|
-
- generators/
|
46
|
-
- generators/
|
47
|
-
- generators/
|
48
|
-
- generators/
|
49
|
-
- generators/
|
50
|
-
- generators/
|
51
|
-
- generators/
|
52
|
-
- generators/
|
53
|
-
- generators/
|
54
|
-
- generators/
|
55
|
-
- generators/
|
56
|
-
- generators/
|
57
|
-
- generators/
|
58
|
-
- generators/
|
59
|
-
- generators/
|
60
|
-
- generators/
|
61
|
-
- generators/
|
62
|
-
- generators/
|
63
|
-
- generators/
|
64
|
-
- generators/
|
65
|
-
- generators/
|
66
|
-
- generators/
|
67
|
-
- generators/
|
68
|
-
- generators/
|
69
|
-
- generators/
|
70
|
-
- generators/
|
71
|
-
- generators/
|
72
|
-
- generators/
|
73
|
-
- generators/
|
74
|
-
- generators/
|
75
|
-
- generators/
|
76
|
-
- generators/
|
77
|
-
- generators/
|
78
|
-
- generators/
|
79
|
-
- generators/
|
80
|
-
- generators/
|
81
|
-
- generators/
|
82
|
-
- generators/
|
83
|
-
- generators/
|
84
|
-
- generators/
|
85
|
-
- generators/
|
86
|
-
- generators/
|
87
|
-
- generators/
|
88
|
-
- generators/
|
89
|
-
- generators/
|
90
|
-
- generators/
|
91
|
-
- generators/
|
39
|
+
- generators/fume/fume_generator.rb
|
40
|
+
- generators/fume/simple_theme/USAGE
|
41
|
+
- generators/fume/simple_theme/simple_theme_gen.rb
|
42
|
+
- generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_30_cccccc_40x100.png
|
43
|
+
- generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png
|
44
|
+
- generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_20_555555_1x400.png
|
45
|
+
- generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_0078a3_1x400.png
|
46
|
+
- generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_ffc73d_1x400.png
|
47
|
+
- generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png
|
48
|
+
- generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png
|
49
|
+
- generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_25_000000_1x100.png
|
50
|
+
- generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png
|
51
|
+
- generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_222222_256x240.png
|
52
|
+
- generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_4b8e0b_256x240.png
|
53
|
+
- generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_a83300_256x240.png
|
54
|
+
- generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_cccccc_256x240.png
|
55
|
+
- generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_ffffff_256x240.png
|
56
|
+
- generators/fume/simple_theme/templates/public/javascripts/jquery-1.3.2.min.js
|
57
|
+
- generators/fume/simple_theme/templates/public/javascripts/jquery-ui-1.7.2.full.min.js
|
58
|
+
- generators/fume/simple_theme/templates/public/javascripts/jquery-ui-i18n-1.7.2.js
|
59
|
+
- generators/fume/simple_theme/templates/public/stylesheets/base.less
|
60
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/ie.css
|
61
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/buttons/icons/cross.png
|
62
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/buttons/icons/key.png
|
63
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/buttons/icons/tick.png
|
64
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/buttons/readme.txt
|
65
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/buttons/screen.css
|
66
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/fancy-type/readme.txt
|
67
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/fancy-type/screen.css
|
68
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/doc.png
|
69
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/email.png
|
70
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/external.png
|
71
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/feed.png
|
72
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/im.png
|
73
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/pdf.png
|
74
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/visited.png
|
75
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/xls.png
|
76
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/readme.txt
|
77
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/screen.css
|
78
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/rtl/readme.txt
|
79
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/rtl/screen.css
|
80
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/print.css
|
81
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/screen.css
|
82
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/forms.css
|
83
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/grid.css
|
84
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/grid.png
|
85
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/ie.css
|
86
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/print.css
|
87
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/reset.css
|
88
|
+
- generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/typography.css
|
89
|
+
- generators/fume/simple_theme/templates/public/stylesheets/drastic-dark.less
|
90
|
+
- generators/fume/simple_theme/templates/public/stylesheets/jquery-ui-1.7.2.ui-darkness.css
|
91
|
+
- generators/fume/simple_theme/templates/public/stylesheets/simple-theme.css
|
92
|
+
- generators/fume/simple_theme/templates/public/stylesheets/simple-theme.less
|
92
93
|
- init.rb
|
93
94
|
- lib/fume.rb
|
94
95
|
- lib/fume/authlogic.rb
|
@@ -1,41 +0,0 @@
|
|
1
|
-
class FumeSimpleThemeGenerator < Rails::Generator::Base
|
2
|
-
|
3
|
-
def manifest
|
4
|
-
@manifest_util = Rails::Generator::Manifest.new(self)
|
5
|
-
|
6
|
-
# generate_images
|
7
|
-
cp_files orig_source_pathname.join("images"), orig_target_pathname.join("public", "images")
|
8
|
-
|
9
|
-
# generate_stylesheets
|
10
|
-
cp_files orig_source_pathname.join("stylesheets"), orig_target_pathname.join("public", "stylesheets"), [ "*.css" ]
|
11
|
-
|
12
|
-
# generate_javascripts
|
13
|
-
cp_files orig_source_pathname.join("javascripts"), orig_target_pathname.join("public", "javascripts")
|
14
|
-
|
15
|
-
@manifest_util
|
16
|
-
end
|
17
|
-
|
18
|
-
def orig_target_pathname
|
19
|
-
Pathname.new(self.destination_root)
|
20
|
-
end
|
21
|
-
|
22
|
-
def orig_source_pathname
|
23
|
-
Pathname.new(self.source_root)
|
24
|
-
end
|
25
|
-
|
26
|
-
def cp_files(source_pathname, target_pathname, patterns = ["**/*"])
|
27
|
-
patterns.each do |pattern|
|
28
|
-
Pathname.glob(source_pathname.join(pattern)) do |source_path|
|
29
|
-
relative_path = source_path.relative_path_from(source_pathname)
|
30
|
-
target_path = target_pathname.join(relative_path)
|
31
|
-
|
32
|
-
if source_path.directory?
|
33
|
-
@manifest_util.directory target_path.relative_path_from(orig_target_pathname) unless target_path.exist?
|
34
|
-
else
|
35
|
-
@manifest_util.directory target_path.dirname.relative_path_from(orig_target_pathname) unless target_path.dirname.exist?
|
36
|
-
@manifest_util.file source_path.relative_path_from(orig_source_pathname).to_s, target_path.relative_path_from(orig_target_pathname).to_s
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|