fume 0.4.3 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/VERSION.yml +2 -2
  2. data/fume.gemspec +41 -42
  3. data/{generators → rails_generators}/fume/fume_generator.rb +0 -0
  4. data/{generators → rails_generators}/fume/rspec/rspec_gen.rb +0 -0
  5. data/{generators → rails_generators}/fume/rspec/templates/spec/support/erb_macros.rb +0 -0
  6. data/{generators → rails_generators}/fume/rspec/templates/spec/support/fume_controller_macros.rb +0 -0
  7. data/rails_generators/fume/simple_theme/simple_theme_gen.rb +9 -0
  8. data/rails_generators/fume/simple_theme/templates/public/stylesheets/reset.css +89 -0
  9. data/rails_generators/fume/simple_theme/templates/public/stylesheets/reset.less +1 -0
  10. data/{generators/fume/simple_theme/templates/public → rails_generators/fume/simple_theme/templates/public/themes/simple_theme}/demo.html +8 -8
  11. data/{generators/fume/simple_theme/templates/public/javascripts → rails_generators/fume/simple_theme/templates/public/themes/simple_theme}/simple-theme-ie-patch.js +0 -0
  12. data/{generators/fume/simple_theme/templates/public/stylesheets → rails_generators/fume/simple_theme/templates/public/themes/simple_theme}/simple-theme.css +0 -0
  13. data/{generators/fume/simple_theme/templates/public/stylesheets → rails_generators/fume/simple_theme/templates/public/themes/simple_theme}/simple-theme.less +0 -0
  14. data/{generators/fume/simple_theme/templates/public/stylesheets → rails_generators/fume/simple_theme/templates/public/themes/simple_theme}/src/base.less +0 -0
  15. data/{generators/fume/simple_theme/templates/public/stylesheets → rails_generators/fume/simple_theme/templates/public/themes/simple_theme}/src/function.less +0 -0
  16. data/{generators/fume/simple_theme/templates/public/stylesheets → rails_generators/fume/simple_theme/templates/public/themes/simple_theme}/src/layout.less +0 -0
  17. data/{generators/fume/simple_theme/templates/public/stylesheets → rails_generators/fume/simple_theme/templates/public/themes/simple_theme}/src/reset.less +0 -0
  18. data/{generators/fume/simple_theme/templates/public/stylesheets → rails_generators/fume/simple_theme/templates/public/themes/simple_theme}/src/vendor/yui-3.0/base.css +0 -0
  19. data/{generators/fume/simple_theme/templates/public/stylesheets → rails_generators/fume/simple_theme/templates/public/themes/simple_theme}/src/vendor/yui-3.0/fonts.css +0 -0
  20. data/{generators/fume/simple_theme/templates/public/stylesheets → rails_generators/fume/simple_theme/templates/public/themes/simple_theme}/src/vendor/yui-3.0/reset.css +0 -0
  21. data/{generators/fume/simple_theme/templates/public/javascripts → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-1.3.2.js +0 -0
  22. data/{generators/fume/simple_theme/templates/public/javascripts → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.js +0 -0
  23. data/{generators/fume/simple_theme/templates/public/stylesheets → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.ui-darkness.css +17 -17
  24. data/{generators/fume/simple_theme/templates/public/images → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_30_cccccc_40x100.png +0 -0
  25. data/{generators/fume/simple_theme/templates/public/images → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  26. data/{generators/fume/simple_theme/templates/public/images → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_20_555555_1x400.png +0 -0
  27. data/{generators/fume/simple_theme/templates/public/images → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_0078a3_1x400.png +0 -0
  28. data/{generators/fume/simple_theme/templates/public/images → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  29. data/{generators/fume/simple_theme/templates/public/images → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  30. data/{generators/fume/simple_theme/templates/public/images → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  31. data/{generators/fume/simple_theme/templates/public/images → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  32. data/{generators/fume/simple_theme/templates/public/images → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  33. data/{generators/fume/simple_theme/templates/public/images → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.ui-darkness/ui-icons_222222_256x240.png +0 -0
  34. data/{generators/fume/simple_theme/templates/public/images → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.ui-darkness/ui-icons_4b8e0b_256x240.png +0 -0
  35. data/{generators/fume/simple_theme/templates/public/images → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.ui-darkness/ui-icons_a83300_256x240.png +0 -0
  36. data/{generators/fume/simple_theme/templates/public/images → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.ui-darkness/ui-icons_cccccc_256x240.png +0 -0
  37. data/{generators/fume/simple_theme/templates/public/images → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-1.7.2.ui-darkness/ui-icons_ffffff_256x240.png +0 -0
  38. data/{generators/fume/simple_theme/templates/public/javascripts → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery-ui-i18n-1.7.2.js +0 -0
  39. data/{generators/fume/simple_theme/templates/public/javascripts → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery.ba-url-1.11.js +0 -0
  40. data/{generators/fume/simple_theme/templates/public/javascripts → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery.corner-2.03.js +0 -0
  41. data/{generators/fume/simple_theme/templates/public/javascripts → rails_generators/fume/simple_theme/templates/public/themes/vendor}/jquery.timepicker-0.2.1.js +0 -0
  42. metadata +43 -44
  43. data/generators/fume/capify/capify_gen.rb +0 -8
  44. data/generators/fume/capify/templates/Capfile +0 -3
  45. data/generators/fume/capify/templates/config/deploy.rb +0 -33
  46. data/generators/fume/simple_theme/simple_theme_gen.rb +0 -15
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 3
2
+ :minor: 5
3
+ :patch: 0
3
4
  :major: 0
4
5
  :build:
5
- :minor: 4
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.4.3"
8
+ s.version = "0.5.0"
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{2010-03-30}
12
+ s.date = %q{2010-04-15}
13
13
  s.email = %q{Sunteya@gmail.com}
14
14
  s.extra_rdoc_files = [
15
15
  "README"
@@ -21,46 +21,6 @@ Gem::Specification.new do |s|
21
21
  "VERSION.yml",
22
22
  "depends.rb",
23
23
  "fume.gemspec",
24
- "generators/fume/capify/capify_gen.rb",
25
- "generators/fume/capify/templates/Capfile",
26
- "generators/fume/capify/templates/config/deploy.rb",
27
- "generators/fume/fume_generator.rb",
28
- "generators/fume/rspec/rspec_gen.rb",
29
- "generators/fume/rspec/templates/spec/support/erb_macros.rb",
30
- "generators/fume/rspec/templates/spec/support/fume_controller_macros.rb",
31
- "generators/fume/simple_theme/simple_theme_gen.rb",
32
- "generators/fume/simple_theme/templates/public/demo.html",
33
- "generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_30_cccccc_40x100.png",
34
- "generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png",
35
- "generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_20_555555_1x400.png",
36
- "generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_0078a3_1x400.png",
37
- "generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_ffc73d_1x400.png",
38
- "generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png",
39
- "generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png",
40
- "generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_25_000000_1x100.png",
41
- "generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png",
42
- "generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_222222_256x240.png",
43
- "generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_4b8e0b_256x240.png",
44
- "generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_a83300_256x240.png",
45
- "generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_cccccc_256x240.png",
46
- "generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_ffffff_256x240.png",
47
- "generators/fume/simple_theme/templates/public/javascripts/jquery-1.3.2.js",
48
- "generators/fume/simple_theme/templates/public/javascripts/jquery-ui-1.7.2.js",
49
- "generators/fume/simple_theme/templates/public/javascripts/jquery-ui-i18n-1.7.2.js",
50
- "generators/fume/simple_theme/templates/public/javascripts/jquery.ba-url-1.11.js",
51
- "generators/fume/simple_theme/templates/public/javascripts/jquery.corner-2.03.js",
52
- "generators/fume/simple_theme/templates/public/javascripts/jquery.timepicker-0.2.1.js",
53
- "generators/fume/simple_theme/templates/public/javascripts/simple-theme-ie-patch.js",
54
- "generators/fume/simple_theme/templates/public/stylesheets/jquery-ui-1.7.2.ui-darkness.css",
55
- "generators/fume/simple_theme/templates/public/stylesheets/simple-theme.css",
56
- "generators/fume/simple_theme/templates/public/stylesheets/simple-theme.less",
57
- "generators/fume/simple_theme/templates/public/stylesheets/src/base.less",
58
- "generators/fume/simple_theme/templates/public/stylesheets/src/function.less",
59
- "generators/fume/simple_theme/templates/public/stylesheets/src/layout.less",
60
- "generators/fume/simple_theme/templates/public/stylesheets/src/reset.less",
61
- "generators/fume/simple_theme/templates/public/stylesheets/src/vendor/yui-3.0/base.css",
62
- "generators/fume/simple_theme/templates/public/stylesheets/src/vendor/yui-3.0/fonts.css",
63
- "generators/fume/simple_theme/templates/public/stylesheets/src/vendor/yui-3.0/reset.css",
64
24
  "lib/fume.rb",
65
25
  "lib/fume/authlogic.rb",
66
26
  "lib/fume/daemon.rb",
@@ -71,6 +31,45 @@ Gem::Specification.new do |s|
71
31
  "lib/fume/simple_theme.rb",
72
32
  "lib/fume/smart_logger.rb",
73
33
  "rails/init.rb",
34
+ "rails_generators/fume/fume_generator.rb",
35
+ "rails_generators/fume/rspec/rspec_gen.rb",
36
+ "rails_generators/fume/rspec/templates/spec/support/erb_macros.rb",
37
+ "rails_generators/fume/rspec/templates/spec/support/fume_controller_macros.rb",
38
+ "rails_generators/fume/simple_theme/simple_theme_gen.rb",
39
+ "rails_generators/fume/simple_theme/templates/public/stylesheets/reset.css",
40
+ "rails_generators/fume/simple_theme/templates/public/stylesheets/reset.less",
41
+ "rails_generators/fume/simple_theme/templates/public/themes/simple_theme/demo.html",
42
+ "rails_generators/fume/simple_theme/templates/public/themes/simple_theme/simple-theme-ie-patch.js",
43
+ "rails_generators/fume/simple_theme/templates/public/themes/simple_theme/simple-theme.css",
44
+ "rails_generators/fume/simple_theme/templates/public/themes/simple_theme/simple-theme.less",
45
+ "rails_generators/fume/simple_theme/templates/public/themes/simple_theme/src/base.less",
46
+ "rails_generators/fume/simple_theme/templates/public/themes/simple_theme/src/function.less",
47
+ "rails_generators/fume/simple_theme/templates/public/themes/simple_theme/src/layout.less",
48
+ "rails_generators/fume/simple_theme/templates/public/themes/simple_theme/src/reset.less",
49
+ "rails_generators/fume/simple_theme/templates/public/themes/simple_theme/src/vendor/yui-3.0/base.css",
50
+ "rails_generators/fume/simple_theme/templates/public/themes/simple_theme/src/vendor/yui-3.0/fonts.css",
51
+ "rails_generators/fume/simple_theme/templates/public/themes/simple_theme/src/vendor/yui-3.0/reset.css",
52
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-1.3.2.js",
53
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.js",
54
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness.css",
55
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_30_cccccc_40x100.png",
56
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png",
57
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_20_555555_1x400.png",
58
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_0078a3_1x400.png",
59
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_ffc73d_1x400.png",
60
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png",
61
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png",
62
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_25_000000_1x100.png",
63
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png",
64
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-icons_222222_256x240.png",
65
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-icons_4b8e0b_256x240.png",
66
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-icons_a83300_256x240.png",
67
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-icons_cccccc_256x240.png",
68
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-icons_ffffff_256x240.png",
69
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-i18n-1.7.2.js",
70
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery.ba-url-1.11.js",
71
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery.corner-2.03.js",
72
+ "rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery.timepicker-0.2.1.js",
74
73
  "spec/fume/daemon_spec.rb",
75
74
  "spec/fume/logger_support_spec.rb",
76
75
  "spec/fume/smart_logger_spec.rb",
@@ -0,0 +1,9 @@
1
+ class SimpleThemeGen < Fume::Gen::Base
2
+
3
+ def manifest
4
+ record do |m|
5
+ cp_files m, File.join("public", "themes", "**", "*")
6
+ cp_files m, File.join("public", "stylesheets", "*.css")
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,89 @@
1
+ html {
2
+ color: #000000;
3
+ background: #ffffff;
4
+ }
5
+ body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
6
+ margin: 0;
7
+ padding: 0;
8
+ }
9
+ table {
10
+ border-collapse: collapse;
11
+ border-spacing: 0;
12
+ }
13
+ fieldset, img { border: 0; }
14
+ address, caption, cite, code, dfn, em, strong, th, var {
15
+ font-style: normal;
16
+ font-weight: normal;
17
+ }
18
+ li { list-style: none; }
19
+ caption, th { text-align: left; }
20
+ h1, h2, h3, h4, h5, h6 {
21
+ font-size: 100%;
22
+ font-weight: normal;
23
+ }
24
+ q:before { content: ''; }
25
+ q:after { content: ''; }
26
+ abbr, acronym {
27
+ border: 0;
28
+ font-variant: normal;
29
+ }
30
+ sup { vertical-align: text-top; }
31
+ sub { vertical-align: text-bottom; }
32
+ input, textarea, select {
33
+ font-family: inherit;
34
+ font-size: inherit;
35
+ font-weight: inherit;
36
+ }
37
+ input, textarea, select { *font-size: 100%; }
38
+ legend { color: #000000; }
39
+ body {
40
+ font: 13px/1.231 arial, helvetica, clean, sans-serif;
41
+ *font-size: small;
42
+ *font: x-small;
43
+ }
44
+ select, input, button, textarea { font: 99% arial, helvetica, clean, sans-serif; }
45
+ table {
46
+ font-size: inherit;
47
+ font: 100%;
48
+ }
49
+ pre, code, kbd, samp, tt {
50
+ font-family: monospace;
51
+ *font-size: 108%;
52
+ line-height: 100%;
53
+ }
54
+ h1 { font-size: 138.5%; }
55
+ h2 { font-size: 123.1%; }
56
+ h3 { font-size: 108%; }
57
+ h1, h2, h3 { margin: 1em 0; }
58
+ h1, h2, h3, h4, h5, h6, strong { font-weight: bold; }
59
+ abbr, acronym {
60
+ border-bottom: 1px dotted #000000;
61
+ cursor: help;
62
+ }
63
+ em { font-style: italic; }
64
+ blockquote, ul, ol, dl { margin: 1em; }
65
+ ol, ul, dl { margin-left: 2em; }
66
+ ol li { list-style: decimal outside; }
67
+ ul li { list-style: disc outside; }
68
+ dl dd { margin-left: 1em; }
69
+ th, td {
70
+ border: 1px solid #000000;
71
+ padding: 0.5em;
72
+ }
73
+ th {
74
+ font-weight: bold;
75
+ text-align: center;
76
+ }
77
+ caption {
78
+ margin-bottom: 0.5em;
79
+ text-align: center;
80
+ }
81
+ p, fieldset, table, pre { margin-bottom: 1em; }
82
+ input[type=text], input[type=password], textarea {
83
+ width: 12.25em;
84
+ *width: 11.9em;
85
+ }
86
+ ol li { list-style: none; }
87
+ ul li { list-style: none; }
88
+ th, td { border: none; }
89
+ input[type=text], input[type=password], textarea { width: auto; }
@@ -0,0 +1 @@
1
+ @import "../themes/simple_theme/src/reset.less";
@@ -3,15 +3,15 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
5
  <title>Web App Theme</title>
6
- <link rel="stylesheet" href="stylesheets/jquery-ui-1.7.2.ui-darkness.css" type="text/css" media="screen" charset="utf-8">
7
- <link rel="stylesheet" href="stylesheets/simple-theme.css" type="text/css" media="screen" />
6
+ <link rel="stylesheet" href="../vendor/jquery-ui-1.7.2.ui-darkness.css" type="text/css" media="screen" charset="utf-8">
7
+ <link rel="stylesheet" href="simple-theme.css" type="text/css" media="screen" />
8
8
 
9
- <script type="text/javascript" charset="utf-8" src="javascripts/jquery-1.3.2.js"></script>
10
- <script type="text/javascript" charset="utf-8" src="javascripts/jquery-ui-1.7.2.js"></script>
11
- <script type="text/javascript" charset="utf-8" src="javascripts/jquery-ui-i18n-1.7.2.js"></script>
12
- <script type="text/javascript" charset="utf-8" src="javascripts/jquery.corner-2.03.js"></script>
13
- <script type="text/javascript" charset="utf-8" src="javascripts/jquery.timepicker-0.2.1.js"></script>
14
- <script type="text/javascript" charset="utf-8" src="javascripts/simple-theme-ie-patch.js"></script>
9
+ <script type="text/javascript" charset="utf-8" src="../vendor/jquery-1.3.2.js"></script>
10
+ <script type="text/javascript" charset="utf-8" src="../vendor/jquery-ui-1.7.2.js"></script>
11
+ <script type="text/javascript" charset="utf-8" src="../vendor/jquery-ui-i18n-1.7.2.js"></script>
12
+ <script type="text/javascript" charset="utf-8" src="../vendor/jquery.corner-2.03.js"></script>
13
+ <script type="text/javascript" charset="utf-8" src="../vendor/jquery.timepicker-0.2.1.js"></script>
14
+ <script type="text/javascript" charset="utf-8" src="simple-theme-ie-patch.js"></script>
15
15
  <script type="text/javascript" charset="utf-8">
16
16
  $(function() {
17
17
  $.datepicker.setDefaults($.datepicker.regional['zh-CN']);
@@ -50,25 +50,25 @@
50
50
  ----------------------------------*/
51
51
  .ui-widget { font-family: Segoe UI, Arial, sans-serif; font-size: 1.1em; }
52
52
  .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Segoe UI, Arial, sans-serif; font-size: 1em; }
53
- .ui-widget-content { border: 1px solid #666666; background: #000000 url(../images/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_25_000000_1x100.png) 50% bottom repeat-x; color: #ffffff; }
53
+ .ui-widget-content { border: 1px solid #666666; background: #000000 url(jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_25_000000_1x100.png) 50% bottom repeat-x; color: #ffffff; }
54
54
  .ui-widget-content a { color: #ffffff; }
55
- .ui-widget-header { border: 1px solid #333333; background: #333333 url(../images/jquery-ui-1.7.2.ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
55
+ .ui-widget-header { border: 1px solid #333333; background: #333333 url(jquery-ui-1.7.2.ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
56
56
  .ui-widget-header a { color: #ffffff; }
57
57
 
58
58
  /* Interaction states
59
59
  ----------------------------------*/
60
- .ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #666666; background: #555555 url(../images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_20_555555_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eeeeee; outline: none; }
60
+ .ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #666666; background: #555555 url(jquery-ui-1.7.2.ui-darkness/ui-bg_glass_20_555555_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eeeeee; outline: none; }
61
61
  .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #eeeeee; text-decoration: none; outline: none; }
62
- .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #59b4d4; background: #0078a3 url(../images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_0078a3_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #ffffff; outline: none; }
62
+ .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #59b4d4; background: #0078a3 url(jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_0078a3_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #ffffff; outline: none; }
63
63
  .ui-state-hover a, .ui-state-hover a:hover { color: #ffffff; text-decoration: none; outline: none; }
64
- .ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #ffaf0f; background: #f58400 url(../images/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #ffffff; outline: none; }
64
+ .ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #ffaf0f; background: #f58400 url(jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #ffffff; outline: none; }
65
65
  .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #ffffff; outline: none; text-decoration: none; }
66
66
 
67
67
  /* Interaction Cues
68
68
  ----------------------------------*/
69
- .ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #cccccc; background: #eeeeee url(../images/jquery-ui-1.7.2.ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png) 50% top repeat-x; color: #2e7db2; }
69
+ .ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #cccccc; background: #eeeeee url(jquery-ui-1.7.2.ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png) 50% top repeat-x; color: #2e7db2; }
70
70
  .ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color: #2e7db2; }
71
- .ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #ffb73d; background: #ffc73d url(../images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_ffc73d_1x400.png) 50% 50% repeat-x; color: #111111; }
71
+ .ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #ffb73d; background: #ffc73d url(jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_ffc73d_1x400.png) 50% 50% repeat-x; color: #111111; }
72
72
  .ui-state-error a, .ui-widget-content .ui-state-error a { color: #111111; }
73
73
  .ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #111111; }
74
74
  .ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
@@ -79,14 +79,14 @@
79
79
  ----------------------------------*/
80
80
 
81
81
  /* states and images */
82
- .ui-icon { width: 16px; height: 16px; background-image: url(../images/jquery-ui-1.7.2.ui-darkness/ui-icons_cccccc_256x240.png); }
83
- .ui-widget-content .ui-icon {background-image: url(../images/jquery-ui-1.7.2.ui-darkness/ui-icons_cccccc_256x240.png); }
84
- .ui-widget-header .ui-icon {background-image: url(../images/jquery-ui-1.7.2.ui-darkness/ui-icons_ffffff_256x240.png); }
85
- .ui-state-default .ui-icon { background-image: url(../images/jquery-ui-1.7.2.ui-darkness/ui-icons_cccccc_256x240.png); }
86
- .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(../images/jquery-ui-1.7.2.ui-darkness/ui-icons_ffffff_256x240.png); }
87
- .ui-state-active .ui-icon {background-image: url(../images/jquery-ui-1.7.2.ui-darkness/ui-icons_222222_256x240.png); }
88
- .ui-state-highlight .ui-icon {background-image: url(../images/jquery-ui-1.7.2.ui-darkness/ui-icons_4b8e0b_256x240.png); }
89
- .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(../images/jquery-ui-1.7.2.ui-darkness/ui-icons_a83300_256x240.png); }
82
+ .ui-icon { width: 16px; height: 16px; background-image: url(jquery-ui-1.7.2.ui-darkness/ui-icons_cccccc_256x240.png); }
83
+ .ui-widget-content .ui-icon {background-image: url(jquery-ui-1.7.2.ui-darkness/ui-icons_cccccc_256x240.png); }
84
+ .ui-widget-header .ui-icon {background-image: url(jquery-ui-1.7.2.ui-darkness/ui-icons_ffffff_256x240.png); }
85
+ .ui-state-default .ui-icon { background-image: url(jquery-ui-1.7.2.ui-darkness/ui-icons_cccccc_256x240.png); }
86
+ .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(jquery-ui-1.7.2.ui-darkness/ui-icons_ffffff_256x240.png); }
87
+ .ui-state-active .ui-icon {background-image: url(jquery-ui-1.7.2.ui-darkness/ui-icons_222222_256x240.png); }
88
+ .ui-state-highlight .ui-icon {background-image: url(jquery-ui-1.7.2.ui-darkness/ui-icons_4b8e0b_256x240.png); }
89
+ .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(jquery-ui-1.7.2.ui-darkness/ui-icons_a83300_256x240.png); }
90
90
 
91
91
  /* positioning */
92
92
  .ui-icon-carat-1-n { background-position: 0 0; }
@@ -279,8 +279,8 @@
279
279
  .ui-corner-all { -moz-border-radius: 6px; -webkit-border-radius: 6px; }
280
280
 
281
281
  /* Overlays */
282
- .ui-widget-overlay { background: #5c5c5c url(../images/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png) 50% 50% repeat-x; opacity: .80;filter:Alpha(Opacity=80); }
283
- .ui-widget-shadow { margin: -7px 0 0 -7px; padding: 7px; background: #cccccc url(../images/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_30_cccccc_40x100.png) 50% 50% repeat-x; opacity: .60;filter:Alpha(Opacity=60); -moz-border-radius: 8px; -webkit-border-radius: 8px; }/* Accordion
282
+ .ui-widget-overlay { background: #5c5c5c url(jquery-ui-1.7.2.ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png) 50% 50% repeat-x; opacity: .80;filter:Alpha(Opacity=80); }
283
+ .ui-widget-shadow { margin: -7px 0 0 -7px; padding: 7px; background: #cccccc url(jquery-ui-1.7.2.ui-darkness/ui-bg_flat_30_cccccc_40x100.png) 50% 50% repeat-x; opacity: .60;filter:Alpha(Opacity=60); -moz-border-radius: 8px; -webkit-border-radius: 8px; }/* Accordion
284
284
  ----------------------------------*/
285
285
  .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
286
286
  .ui-accordion .ui-accordion-li-fix { display: inline; }
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 4
8
- - 3
9
- version: 0.4.3
7
+ - 5
8
+ - 0
9
+ version: 0.5.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sunteya
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-30 00:00:00 +08:00
17
+ date: 2010-04-15 00:00:00 +08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -116,46 +116,6 @@ files:
116
116
  - VERSION.yml
117
117
  - depends.rb
118
118
  - fume.gemspec
119
- - generators/fume/capify/capify_gen.rb
120
- - generators/fume/capify/templates/Capfile
121
- - generators/fume/capify/templates/config/deploy.rb
122
- - generators/fume/fume_generator.rb
123
- - generators/fume/rspec/rspec_gen.rb
124
- - generators/fume/rspec/templates/spec/support/erb_macros.rb
125
- - generators/fume/rspec/templates/spec/support/fume_controller_macros.rb
126
- - generators/fume/simple_theme/simple_theme_gen.rb
127
- - generators/fume/simple_theme/templates/public/demo.html
128
- - generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_30_cccccc_40x100.png
129
- - generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png
130
- - generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_20_555555_1x400.png
131
- - generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_0078a3_1x400.png
132
- - generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_ffc73d_1x400.png
133
- - generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png
134
- - generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png
135
- - generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_25_000000_1x100.png
136
- - generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png
137
- - generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_222222_256x240.png
138
- - generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_4b8e0b_256x240.png
139
- - generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_a83300_256x240.png
140
- - generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_cccccc_256x240.png
141
- - generators/fume/simple_theme/templates/public/images/jquery-ui-1.7.2.ui-darkness/ui-icons_ffffff_256x240.png
142
- - generators/fume/simple_theme/templates/public/javascripts/jquery-1.3.2.js
143
- - generators/fume/simple_theme/templates/public/javascripts/jquery-ui-1.7.2.js
144
- - generators/fume/simple_theme/templates/public/javascripts/jquery-ui-i18n-1.7.2.js
145
- - generators/fume/simple_theme/templates/public/javascripts/jquery.ba-url-1.11.js
146
- - generators/fume/simple_theme/templates/public/javascripts/jquery.corner-2.03.js
147
- - generators/fume/simple_theme/templates/public/javascripts/jquery.timepicker-0.2.1.js
148
- - generators/fume/simple_theme/templates/public/javascripts/simple-theme-ie-patch.js
149
- - generators/fume/simple_theme/templates/public/stylesheets/jquery-ui-1.7.2.ui-darkness.css
150
- - generators/fume/simple_theme/templates/public/stylesheets/simple-theme.css
151
- - generators/fume/simple_theme/templates/public/stylesheets/simple-theme.less
152
- - generators/fume/simple_theme/templates/public/stylesheets/src/base.less
153
- - generators/fume/simple_theme/templates/public/stylesheets/src/function.less
154
- - generators/fume/simple_theme/templates/public/stylesheets/src/layout.less
155
- - generators/fume/simple_theme/templates/public/stylesheets/src/reset.less
156
- - generators/fume/simple_theme/templates/public/stylesheets/src/vendor/yui-3.0/base.css
157
- - generators/fume/simple_theme/templates/public/stylesheets/src/vendor/yui-3.0/fonts.css
158
- - generators/fume/simple_theme/templates/public/stylesheets/src/vendor/yui-3.0/reset.css
159
119
  - lib/fume.rb
160
120
  - lib/fume/authlogic.rb
161
121
  - lib/fume/daemon.rb
@@ -166,6 +126,45 @@ files:
166
126
  - lib/fume/simple_theme.rb
167
127
  - lib/fume/smart_logger.rb
168
128
  - rails/init.rb
129
+ - rails_generators/fume/fume_generator.rb
130
+ - rails_generators/fume/rspec/rspec_gen.rb
131
+ - rails_generators/fume/rspec/templates/spec/support/erb_macros.rb
132
+ - rails_generators/fume/rspec/templates/spec/support/fume_controller_macros.rb
133
+ - rails_generators/fume/simple_theme/simple_theme_gen.rb
134
+ - rails_generators/fume/simple_theme/templates/public/stylesheets/reset.css
135
+ - rails_generators/fume/simple_theme/templates/public/stylesheets/reset.less
136
+ - rails_generators/fume/simple_theme/templates/public/themes/simple_theme/demo.html
137
+ - rails_generators/fume/simple_theme/templates/public/themes/simple_theme/simple-theme-ie-patch.js
138
+ - rails_generators/fume/simple_theme/templates/public/themes/simple_theme/simple-theme.css
139
+ - rails_generators/fume/simple_theme/templates/public/themes/simple_theme/simple-theme.less
140
+ - rails_generators/fume/simple_theme/templates/public/themes/simple_theme/src/base.less
141
+ - rails_generators/fume/simple_theme/templates/public/themes/simple_theme/src/function.less
142
+ - rails_generators/fume/simple_theme/templates/public/themes/simple_theme/src/layout.less
143
+ - rails_generators/fume/simple_theme/templates/public/themes/simple_theme/src/reset.less
144
+ - rails_generators/fume/simple_theme/templates/public/themes/simple_theme/src/vendor/yui-3.0/base.css
145
+ - rails_generators/fume/simple_theme/templates/public/themes/simple_theme/src/vendor/yui-3.0/fonts.css
146
+ - rails_generators/fume/simple_theme/templates/public/themes/simple_theme/src/vendor/yui-3.0/reset.css
147
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-1.3.2.js
148
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.js
149
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness.css
150
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_30_cccccc_40x100.png
151
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png
152
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_20_555555_1x400.png
153
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_0078a3_1x400.png
154
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_ffc73d_1x400.png
155
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png
156
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png
157
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_25_000000_1x100.png
158
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png
159
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-icons_222222_256x240.png
160
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-icons_4b8e0b_256x240.png
161
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-icons_a83300_256x240.png
162
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-icons_cccccc_256x240.png
163
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-1.7.2.ui-darkness/ui-icons_ffffff_256x240.png
164
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery-ui-i18n-1.7.2.js
165
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery.ba-url-1.11.js
166
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery.corner-2.03.js
167
+ - rails_generators/fume/simple_theme/templates/public/themes/vendor/jquery.timepicker-0.2.1.js
169
168
  - spec/fume/daemon_spec.rb
170
169
  - spec/fume/logger_support_spec.rb
171
170
  - spec/fume/smart_logger_spec.rb
@@ -1,8 +0,0 @@
1
- class CapifyGen < Fume::Gen::Base
2
-
3
- def manifest
4
- record do |m|
5
- cp_files m, File.join("**", "*")
6
- end
7
- end
8
- end
@@ -1,3 +0,0 @@
1
- load 'deploy' if respond_to?(:namespace) # cap2 differentiator
2
- Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
3
- load 'config/deploy'
@@ -1,33 +0,0 @@
1
- set :stages, Dir[File.join(File.dirname(__FILE__), "deploy", "*.rb")].map {|f| File.basename(f, ".rb") }
2
- require 'capistrano/ext/multistage'
3
-
4
- set :application, "application"
5
-
6
- set :scm, :subversion
7
- set :default_repo_path, "trunk"
8
- set :repository_root, "http://svn_repo_path"
9
- set(:tag) { Capistrano::CLI.ui.ask("Type a tag to deploy [default use /#{default_repo_path}]: ") }
10
- set(:repository) { (tag == "") ? "#{repository_root}/#{default_repo_path}" : "#{repository_root}/tags/#{tag}" }
11
-
12
- namespace :deploy do
13
- desc <<-DESC
14
- Deploy and run pending migrations.
15
- DESC
16
- task :migrations do
17
- set :migrate_target, :latest
18
- update_code
19
- symlink
20
- migrate
21
- restart
22
- end
23
- end
24
-
25
- after "deploy:symlink", :roles => :app do
26
- run "if [ -e #{shared_path}/database.yml ]; then rm -f #{current_path}/config/database.yml; ln -s #{shared_path}/database.yml #{release_path}/config/database.yml; fi"
27
- run "if [ -e #{shared_path}/application.yml ]; then rm -f #{current_path}/config/application.yml; ln -s #{shared_path}/application.yml #{release_path}/config/application.yml; fi"
28
- end
29
-
30
- desc "Update the crontab file"
31
- after "deploy:symlink", :roles => :db do
32
- run "if [ -e #{current_path}/config/schedule.rb ]; then cd #{current_path} && whenever --update-crontab #{application} --set environment=#{rails_env}; fi"
33
- end
@@ -1,15 +0,0 @@
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