web-app-theme 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. data/{LICENSE → MIT-LICENSE} +0 -0
  2. data/README.md +17 -1
  3. data/Rakefile +21 -23
  4. data/{stylesheets → app/assets/images/web-app-theme}/themes/activo/images/arrow.png +0 -0
  5. data/{stylesheets → app/assets/images/web-app-theme}/themes/activo/images/boxbar-background.png +0 -0
  6. data/{stylesheets → app/assets/images/web-app-theme}/themes/activo/images/button-background-active.png +0 -0
  7. data/{stylesheets → app/assets/images/web-app-theme}/themes/activo/images/button-background.png +0 -0
  8. data/{stylesheets → app/assets/images/web-app-theme}/themes/activo/images/menubar-background.png +0 -0
  9. data/{stylesheets → app/assets/images/web-app-theme}/themes/default/images/arrow.png +0 -0
  10. data/{stylesheets → app/assets/images/web-app-theme}/themes/default/images/bgd.jpg +0 -0
  11. data/{stylesheets → app/assets/images/web-app-theme}/themes/default/images/boxbar-background.png +0 -0
  12. data/{stylesheets → app/assets/images/web-app-theme}/themes/default/images/button-background-active.png +0 -0
  13. data/{stylesheets → app/assets/images/web-app-theme}/themes/default/images/button-background.png +0 -0
  14. data/{stylesheets → app/assets/images/web-app-theme}/themes/default/images/messages/error.png +0 -0
  15. data/{stylesheets → app/assets/images/web-app-theme}/themes/default/images/messages/notice.png +0 -0
  16. data/{stylesheets → app/assets/images/web-app-theme}/themes/default/images/messages/warning.png +0 -0
  17. data/{stylesheets → app/assets/stylesheets/web-app-theme}/base.css +0 -0
  18. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/activo/style.css +0 -0
  19. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/amro/style.css +0 -0
  20. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/bec-green/style.css +0 -0
  21. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/bec/style.css +0 -0
  22. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/blue/style.css +0 -0
  23. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/default/fonts/museo700-regular-webfont.eot +0 -0
  24. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/default/fonts/museo700-regular-webfont.svg +0 -0
  25. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/default/fonts/museo700-regular-webfont.ttf +0 -0
  26. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/default/fonts/museo700-regular-webfont.woff +0 -0
  27. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/default/fonts/museosans_500-webfont.eot +0 -0
  28. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/default/fonts/museosans_500-webfont.svg +0 -0
  29. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/default/fonts/museosans_500-webfont.ttf +0 -0
  30. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/default/fonts/museosans_500-webfont.woff +0 -0
  31. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/default/fonts/museosans_500_italic-webfont.eot +0 -0
  32. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/default/fonts/museosans_500_italic-webfont.svg +0 -0
  33. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/default/fonts/museosans_500_italic-webfont.ttf +0 -0
  34. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/default/fonts/museosans_500_italic-webfont.woff +0 -0
  35. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/default/style.css +0 -0
  36. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/djime-cerulean/style.css +0 -0
  37. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/drastic-dark/style.css +0 -0
  38. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/kathleene/style.css +0 -0
  39. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/olive/style.css +0 -0
  40. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/orange/style.css +0 -0
  41. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/red/style.css +0 -0
  42. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/reidb-greenish/style.css +0 -0
  43. data/{stylesheets → app/assets/stylesheets/web-app-theme}/themes/warehouse/style.css +0 -0
  44. data/features/assets_generator.feature +18 -0
  45. data/features/step_definitions/assets_step.rb +11 -0
  46. data/features/step_definitions/common_steps.rb +82 -0
  47. data/features/step_definitions/theme_steps.rb +35 -0
  48. data/features/step_definitions/themed_steps.rb +12 -14
  49. data/features/support/env.rb +7 -80
  50. data/features/theme_generator.feature +15 -18
  51. data/features/themed_generator.feature +10 -10
  52. data/lib/generators/web_app_theme/assets/assets_generator.rb +17 -0
  53. data/lib/generators/web_app_theme/theme/templates/layout_admin.html.erb +1 -1
  54. data/lib/generators/web_app_theme/theme/templates/layout_sign.html.erb +1 -1
  55. data/lib/generators/web_app_theme/theme/templates/web_app_theme.css.erb +9 -0
  56. data/lib/generators/web_app_theme/theme/theme_generator.rb +3 -19
  57. data/lib/web-app-theme.rb +5 -0
  58. data/lib/web-app-theme/version.rb +3 -0
  59. data/spec/dummy/Rakefile +7 -0
  60. data/spec/dummy/app/assets/javascripts/application.js +9 -0
  61. data/spec/dummy/app/assets/javascripts/testing.js +2 -0
  62. data/spec/dummy/app/assets/stylesheets/web_app_theme.css +7 -0
  63. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  64. data/spec/dummy/app/controllers/testing_controller.rb +5 -0
  65. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  66. data/spec/dummy/app/helpers/testing_helper.rb +2 -0
  67. data/spec/dummy/app/models/post.rb +2 -0
  68. data/spec/dummy/app/views/articles/_form.html.erb +8 -0
  69. data/spec/dummy/app/views/articles/_sidebar.html.erb +13 -0
  70. data/spec/dummy/app/views/articles/edit.html.erb +19 -0
  71. data/spec/dummy/app/views/articles/index.html.erb +42 -0
  72. data/spec/dummy/app/views/articles/new.html.erb +18 -0
  73. data/spec/dummy/app/views/articles/show.html.erb +19 -0
  74. data/spec/dummy/app/views/layouts/application.html.erb +46 -0
  75. data/spec/dummy/app/views/posts/_form.html.erb +8 -0
  76. data/spec/dummy/app/views/posts/_sidebar.html.erb +13 -0
  77. data/spec/dummy/app/views/posts/edit.html.erb +19 -0
  78. data/spec/dummy/app/views/posts/index.html.erb +42 -0
  79. data/spec/dummy/app/views/posts/new.html.erb +18 -0
  80. data/spec/dummy/app/views/posts/show.html.erb +19 -0
  81. data/spec/dummy/app/views/testing/index.html.erb +2 -0
  82. data/spec/dummy/config.ru +4 -0
  83. data/spec/dummy/config/application.rb +42 -0
  84. data/spec/dummy/config/boot.rb +10 -0
  85. data/spec/dummy/config/database.yml +25 -0
  86. data/spec/dummy/config/environment.rb +5 -0
  87. data/spec/dummy/config/environments/development.rb +27 -0
  88. data/spec/dummy/config/environments/production.rb +51 -0
  89. data/spec/dummy/config/environments/test.rb +39 -0
  90. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  91. data/spec/dummy/config/initializers/inflections.rb +10 -0
  92. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  93. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  94. data/spec/dummy/config/initializers/session_store.rb +8 -0
  95. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  96. data/spec/dummy/config/locales/en.yml +5 -0
  97. data/spec/dummy/config/routes.rb +58 -0
  98. data/spec/dummy/db/development.sqlite3 +0 -0
  99. data/spec/dummy/db/migrate/20110827160301_create_posts.rb +8 -0
  100. data/spec/dummy/db/schema.rb +21 -0
  101. data/spec/dummy/db/test.sqlite3 +0 -0
  102. data/spec/dummy/public/404.html +26 -0
  103. data/spec/dummy/public/422.html +26 -0
  104. data/spec/dummy/public/500.html +26 -0
  105. data/spec/dummy/public/favicon.ico +0 -0
  106. data/{images → spec/dummy/public/images}/avatar.png +0 -0
  107. data/{images → spec/dummy/public/images}/icons/application_edit.png +0 -0
  108. data/{images → spec/dummy/public/images}/icons/cross.png +0 -0
  109. data/{images → spec/dummy/public/images}/icons/key.png +0 -0
  110. data/{images → spec/dummy/public/images}/icons/tick.png +0 -0
  111. data/{index.html → spec/dummy/public/index.html} +3 -3
  112. data/{javascripts → spec/dummy/public/javascripts}/jquery-1.3.min.js +0 -0
  113. data/{javascripts → spec/dummy/public/javascripts}/jquery.localscroll.js +0 -0
  114. data/{javascripts → spec/dummy/public/javascripts}/jquery.scrollTo.js +0 -0
  115. data/spec/dummy/script/rails +6 -0
  116. data/spec/dummy/spec/models/post_spec.rb +5 -0
  117. data/spec/dummy/test/functional/testing_controller_test.rb +9 -0
  118. data/spec/dummy/test/unit/helpers/testing_helper_test.rb +4 -0
  119. data/spec/spec_helper.rb +30 -0
  120. metadata +226 -71
  121. data/VERSION +0 -1
  122. data/features/step_definitions/layout_steps.rb +0 -59
  123. data/lib/web_app_theme.rb +0 -2
  124. data/stylesheets/override.css +0 -1
  125. data/test/spec_helper.rb +0 -5
  126. data/test/themed_generator_spec.rb +0 -115
  127. data/web-app-theme.gemspec +0 -117
@@ -0,0 +1,8 @@
1
+ class CreatePosts < ActiveRecord::Migration
2
+ def change
3
+ create_table :posts do |t|
4
+
5
+ t.timestamps
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,21 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20110827160301) do
15
+
16
+ create_table "posts", :force => true do |t|
17
+ t.datetime "created_at"
18
+ t.datetime "updated_at"
19
+ end
20
+
21
+ end
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ <p>We've been notified about this issue and we'll take a look at it shortly.</p>
24
+ </div>
25
+ </body>
26
+ </html>
File without changes
@@ -3,8 +3,8 @@
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/base.css" type="text/css" media="screen" />
7
- <link rel="stylesheet" id="current-theme" href="stylesheets/themes/default/style.css" type="text/css" media="screen" />
6
+ <link rel="stylesheet" href="assets/web-app-theme/base.css" type="text/css" media="screen" />
7
+ <link rel="stylesheet" id="current-theme" href="assets/web-app-theme/themes/default/style.css" type="text/css" media="screen" />
8
8
  <script type="text/javascript" charset="utf-8" src="javascripts/jquery-1.3.min.js"></script>
9
9
  <script type="text/javascript" charset="utf-8" src="javascripts/jquery.scrollTo.js"></script>
10
10
  <script type="text/javascript" charset="utf-8" src="javascripts/jquery.localscroll.js"></script>
@@ -21,7 +21,7 @@
21
21
  if (hash.length > 0) {
22
22
  matches = hash.match(/^#themes\/([a-z0-9\-_]+)$/);
23
23
  if (matches && matches.length > 1) {
24
- $('#current-theme').attr('href', 'stylesheets/themes/' + matches[1] + '/style.css');
24
+ $('#current-theme').attr('href', 'assets/web-app-theme/themes/' + matches[1] + '/style.css');
25
25
  } else {
26
26
  alert('theme not valid');
27
27
  }
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe Post do
4
+ pending "add some examples to (or delete) #{__FILE__}"
5
+ end
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ class TestingControllerTest < ActionController::TestCase
4
+ test "should get index" do
5
+ get :index
6
+ assert_response :success
7
+ end
8
+
9
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class TestingHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,30 @@
1
+ # Configure Rails Envinronment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+ require "rspec/rails"
7
+
8
+ ActionMailer::Base.delivery_method = :test
9
+ ActionMailer::Base.perform_deliveries = true
10
+ ActionMailer::Base.default_url_options[:host] = "test.com"
11
+
12
+ Rails.backtrace_cleaner.remove_silencers!
13
+
14
+ # Configure capybara for integration testing
15
+ require "capybara/rails"
16
+ Capybara.default_driver = :rack_test
17
+ Capybara.default_selector = :css
18
+
19
+ # Load support files
20
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
21
+
22
+ RSpec.configure do |config|
23
+ # Remove this line if you don't want RSpec's should and should_not
24
+ # methods or matchers
25
+ require 'rspec/expectations'
26
+ config.include RSpec::Matchers
27
+
28
+ # == Mock Framework
29
+ config.mock_with :rspec
30
+ end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: web-app-theme
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.7.0
5
+ version: 0.8.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Andrea Franz
@@ -10,10 +10,42 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-25 00:00:00 +02:00
13
+ date: 2011-08-28 00:00:00 +02:00
14
14
  default_executable:
15
- dependencies: []
16
-
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: rails
18
+ requirement: &id001 !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ~>
22
+ - !ruby/object:Gem::Version
23
+ version: 3.1.0.rc6
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: thor
29
+ requirement: &id002 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - ~>
33
+ - !ruby/object:Gem::Version
34
+ version: "0.14"
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: bundler
40
+ requirement: &id003 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 1.0.0
46
+ type: :development
47
+ prerelease: false
48
+ version_requirements: *id003
17
49
  description: Web app theme generator for rails projects
18
50
  email: andrea@gravityblast.com
19
51
  executables: []
@@ -21,31 +53,55 @@ executables: []
21
53
  extensions: []
22
54
 
23
55
  extra_rdoc_files:
24
- - LICENSE
56
+ - MIT-LICENSE
25
57
  - README.md
26
58
  files:
27
- - LICENSE
28
- - README.md
29
- - Rakefile
30
- - VERSION
59
+ - app/assets/images/web-app-theme/themes/activo/images/arrow.png
60
+ - app/assets/images/web-app-theme/themes/activo/images/boxbar-background.png
61
+ - app/assets/images/web-app-theme/themes/activo/images/button-background-active.png
62
+ - app/assets/images/web-app-theme/themes/activo/images/button-background.png
63
+ - app/assets/images/web-app-theme/themes/activo/images/menubar-background.png
64
+ - app/assets/images/web-app-theme/themes/default/images/arrow.png
65
+ - app/assets/images/web-app-theme/themes/default/images/bgd.jpg
66
+ - app/assets/images/web-app-theme/themes/default/images/boxbar-background.png
67
+ - app/assets/images/web-app-theme/themes/default/images/button-background-active.png
68
+ - app/assets/images/web-app-theme/themes/default/images/button-background.png
69
+ - app/assets/images/web-app-theme/themes/default/images/messages/error.png
70
+ - app/assets/images/web-app-theme/themes/default/images/messages/notice.png
71
+ - app/assets/images/web-app-theme/themes/default/images/messages/warning.png
72
+ - app/assets/stylesheets/web-app-theme/base.css
73
+ - app/assets/stylesheets/web-app-theme/themes/activo/style.css
74
+ - app/assets/stylesheets/web-app-theme/themes/amro/style.css
75
+ - app/assets/stylesheets/web-app-theme/themes/bec/style.css
76
+ - app/assets/stylesheets/web-app-theme/themes/bec-green/style.css
77
+ - app/assets/stylesheets/web-app-theme/themes/blue/style.css
78
+ - app/assets/stylesheets/web-app-theme/themes/default/fonts/museo700-regular-webfont.eot
79
+ - app/assets/stylesheets/web-app-theme/themes/default/fonts/museo700-regular-webfont.svg
80
+ - app/assets/stylesheets/web-app-theme/themes/default/fonts/museo700-regular-webfont.ttf
81
+ - app/assets/stylesheets/web-app-theme/themes/default/fonts/museo700-regular-webfont.woff
82
+ - app/assets/stylesheets/web-app-theme/themes/default/fonts/museosans_500-webfont.eot
83
+ - app/assets/stylesheets/web-app-theme/themes/default/fonts/museosans_500-webfont.svg
84
+ - app/assets/stylesheets/web-app-theme/themes/default/fonts/museosans_500-webfont.ttf
85
+ - app/assets/stylesheets/web-app-theme/themes/default/fonts/museosans_500-webfont.woff
86
+ - app/assets/stylesheets/web-app-theme/themes/default/fonts/museosans_500_italic-webfont.eot
87
+ - app/assets/stylesheets/web-app-theme/themes/default/fonts/museosans_500_italic-webfont.svg
88
+ - app/assets/stylesheets/web-app-theme/themes/default/fonts/museosans_500_italic-webfont.ttf
89
+ - app/assets/stylesheets/web-app-theme/themes/default/fonts/museosans_500_italic-webfont.woff
90
+ - app/assets/stylesheets/web-app-theme/themes/default/style.css
91
+ - app/assets/stylesheets/web-app-theme/themes/djime-cerulean/style.css
92
+ - app/assets/stylesheets/web-app-theme/themes/drastic-dark/style.css
93
+ - app/assets/stylesheets/web-app-theme/themes/kathleene/style.css
94
+ - app/assets/stylesheets/web-app-theme/themes/olive/style.css
95
+ - app/assets/stylesheets/web-app-theme/themes/orange/style.css
96
+ - app/assets/stylesheets/web-app-theme/themes/red/style.css
97
+ - app/assets/stylesheets/web-app-theme/themes/reidb-greenish/style.css
98
+ - app/assets/stylesheets/web-app-theme/themes/warehouse/style.css
31
99
  - config/locales/de_de.yml
32
100
  - config/locales/pt_br.yml
33
- - features/step_definitions/layout_steps.rb
34
- - features/step_definitions/themed_steps.rb
35
- - features/support/env.rb
36
- - features/theme_generator.feature
37
- - features/themed_generator.feature
38
- - images/avatar.png
39
- - images/icons/application_edit.png
40
- - images/icons/cross.png
41
- - images/icons/key.png
42
- - images/icons/tick.png
43
- - index.html
44
- - javascripts/jquery-1.3.min.js
45
- - javascripts/jquery.localscroll.js
46
- - javascripts/jquery.scrollTo.js
101
+ - lib/generators/web_app_theme/assets/assets_generator.rb
47
102
  - lib/generators/web_app_theme/theme/templates/layout_admin.html.erb
48
103
  - lib/generators/web_app_theme/theme/templates/layout_sign.html.erb
104
+ - lib/generators/web_app_theme/theme/templates/web_app_theme.css.erb
49
105
  - lib/generators/web_app_theme/theme/theme_generator.rb
50
106
  - lib/generators/web_app_theme/themed/templates/view_edit.html.erb
51
107
  - lib/generators/web_app_theme/themed/templates/view_form.html.erb
@@ -57,51 +113,80 @@ files:
57
113
  - lib/generators/web_app_theme/themed/templates/view_tables.html.erb
58
114
  - lib/generators/web_app_theme/themed/templates/view_text.html.erb
59
115
  - lib/generators/web_app_theme/themed/themed_generator.rb
60
- - lib/web_app_theme.rb
61
- - stylesheets/base.css
62
- - stylesheets/override.css
63
- - stylesheets/themes/activo/images/arrow.png
64
- - stylesheets/themes/activo/images/boxbar-background.png
65
- - stylesheets/themes/activo/images/button-background-active.png
66
- - stylesheets/themes/activo/images/button-background.png
67
- - stylesheets/themes/activo/images/menubar-background.png
68
- - stylesheets/themes/activo/style.css
69
- - stylesheets/themes/amro/style.css
70
- - stylesheets/themes/bec-green/style.css
71
- - stylesheets/themes/bec/style.css
72
- - stylesheets/themes/blue/style.css
73
- - stylesheets/themes/default/fonts/museo700-regular-webfont.eot
74
- - stylesheets/themes/default/fonts/museo700-regular-webfont.svg
75
- - stylesheets/themes/default/fonts/museo700-regular-webfont.ttf
76
- - stylesheets/themes/default/fonts/museo700-regular-webfont.woff
77
- - stylesheets/themes/default/fonts/museosans_500-webfont.eot
78
- - stylesheets/themes/default/fonts/museosans_500-webfont.svg
79
- - stylesheets/themes/default/fonts/museosans_500-webfont.ttf
80
- - stylesheets/themes/default/fonts/museosans_500-webfont.woff
81
- - stylesheets/themes/default/fonts/museosans_500_italic-webfont.eot
82
- - stylesheets/themes/default/fonts/museosans_500_italic-webfont.svg
83
- - stylesheets/themes/default/fonts/museosans_500_italic-webfont.ttf
84
- - stylesheets/themes/default/fonts/museosans_500_italic-webfont.woff
85
- - stylesheets/themes/default/images/arrow.png
86
- - stylesheets/themes/default/images/bgd.jpg
87
- - stylesheets/themes/default/images/boxbar-background.png
88
- - stylesheets/themes/default/images/button-background-active.png
89
- - stylesheets/themes/default/images/button-background.png
90
- - stylesheets/themes/default/images/messages/error.png
91
- - stylesheets/themes/default/images/messages/notice.png
92
- - stylesheets/themes/default/images/messages/warning.png
93
- - stylesheets/themes/default/style.css
94
- - stylesheets/themes/djime-cerulean/style.css
95
- - stylesheets/themes/drastic-dark/style.css
96
- - stylesheets/themes/kathleene/style.css
97
- - stylesheets/themes/olive/style.css
98
- - stylesheets/themes/orange/style.css
99
- - stylesheets/themes/red/style.css
100
- - stylesheets/themes/reidb-greenish/style.css
101
- - stylesheets/themes/warehouse/style.css
102
- - test/spec_helper.rb
103
- - test/themed_generator_spec.rb
104
- - web-app-theme.gemspec
116
+ - lib/web-app-theme/version.rb
117
+ - lib/web-app-theme.rb
118
+ - MIT-LICENSE
119
+ - Rakefile
120
+ - README.md
121
+ - spec/dummy/app/assets/javascripts/application.js
122
+ - spec/dummy/app/assets/javascripts/testing.js
123
+ - spec/dummy/app/assets/stylesheets/web_app_theme.css
124
+ - spec/dummy/app/controllers/application_controller.rb
125
+ - spec/dummy/app/controllers/testing_controller.rb
126
+ - spec/dummy/app/helpers/application_helper.rb
127
+ - spec/dummy/app/helpers/testing_helper.rb
128
+ - spec/dummy/app/models/post.rb
129
+ - spec/dummy/app/views/articles/_form.html.erb
130
+ - spec/dummy/app/views/articles/_sidebar.html.erb
131
+ - spec/dummy/app/views/articles/edit.html.erb
132
+ - spec/dummy/app/views/articles/index.html.erb
133
+ - spec/dummy/app/views/articles/new.html.erb
134
+ - spec/dummy/app/views/articles/show.html.erb
135
+ - spec/dummy/app/views/layouts/application.html.erb
136
+ - spec/dummy/app/views/posts/_form.html.erb
137
+ - spec/dummy/app/views/posts/_sidebar.html.erb
138
+ - spec/dummy/app/views/posts/edit.html.erb
139
+ - spec/dummy/app/views/posts/index.html.erb
140
+ - spec/dummy/app/views/posts/new.html.erb
141
+ - spec/dummy/app/views/posts/show.html.erb
142
+ - spec/dummy/app/views/testing/index.html.erb
143
+ - spec/dummy/config/application.rb
144
+ - spec/dummy/config/boot.rb
145
+ - spec/dummy/config/database.yml
146
+ - spec/dummy/config/environment.rb
147
+ - spec/dummy/config/environments/development.rb
148
+ - spec/dummy/config/environments/production.rb
149
+ - spec/dummy/config/environments/test.rb
150
+ - spec/dummy/config/initializers/backtrace_silencers.rb
151
+ - spec/dummy/config/initializers/inflections.rb
152
+ - spec/dummy/config/initializers/mime_types.rb
153
+ - spec/dummy/config/initializers/secret_token.rb
154
+ - spec/dummy/config/initializers/session_store.rb
155
+ - spec/dummy/config/initializers/wrap_parameters.rb
156
+ - spec/dummy/config/locales/en.yml
157
+ - spec/dummy/config/routes.rb
158
+ - spec/dummy/config.ru
159
+ - spec/dummy/db/development.sqlite3
160
+ - spec/dummy/db/migrate/20110827160301_create_posts.rb
161
+ - spec/dummy/db/schema.rb
162
+ - spec/dummy/db/test.sqlite3
163
+ - spec/dummy/public/404.html
164
+ - spec/dummy/public/422.html
165
+ - spec/dummy/public/500.html
166
+ - spec/dummy/public/favicon.ico
167
+ - spec/dummy/public/images/avatar.png
168
+ - spec/dummy/public/images/icons/application_edit.png
169
+ - spec/dummy/public/images/icons/cross.png
170
+ - spec/dummy/public/images/icons/key.png
171
+ - spec/dummy/public/images/icons/tick.png
172
+ - spec/dummy/public/index.html
173
+ - spec/dummy/public/javascripts/jquery-1.3.min.js
174
+ - spec/dummy/public/javascripts/jquery.localscroll.js
175
+ - spec/dummy/public/javascripts/jquery.scrollTo.js
176
+ - spec/dummy/Rakefile
177
+ - spec/dummy/script/rails
178
+ - spec/dummy/spec/models/post_spec.rb
179
+ - spec/dummy/test/functional/testing_controller_test.rb
180
+ - spec/dummy/test/unit/helpers/testing_helper_test.rb
181
+ - spec/spec_helper.rb
182
+ - features/assets_generator.feature
183
+ - features/step_definitions/assets_step.rb
184
+ - features/step_definitions/common_steps.rb
185
+ - features/step_definitions/theme_steps.rb
186
+ - features/step_definitions/themed_steps.rb
187
+ - features/support/env.rb
188
+ - features/theme_generator.feature
189
+ - features/themed_generator.feature
105
190
  has_rdoc: true
106
191
  homepage: http://github.com/pilu/web-app-theme
107
192
  licenses: []
@@ -116,13 +201,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
116
201
  requirements:
117
202
  - - ">="
118
203
  - !ruby/object:Gem::Version
204
+ hash: 2198596754305926938
205
+ segments:
206
+ - 0
119
207
  version: "0"
120
208
  required_rubygems_version: !ruby/object:Gem::Requirement
121
209
  none: false
122
210
  requirements:
123
211
  - - ">="
124
212
  - !ruby/object:Gem::Version
125
- version: "0"
213
+ version: 1.3.6
126
214
  requirements: []
127
215
 
128
216
  rubyforge_project:
@@ -131,5 +219,72 @@ signing_key:
131
219
  specification_version: 3
132
220
  summary: Web app theme generator
133
221
  test_files:
134
- - test/spec_helper.rb
135
- - test/themed_generator_spec.rb
222
+ - spec/dummy/app/assets/javascripts/application.js
223
+ - spec/dummy/app/assets/javascripts/testing.js
224
+ - spec/dummy/app/assets/stylesheets/web_app_theme.css
225
+ - spec/dummy/app/controllers/application_controller.rb
226
+ - spec/dummy/app/controllers/testing_controller.rb
227
+ - spec/dummy/app/helpers/application_helper.rb
228
+ - spec/dummy/app/helpers/testing_helper.rb
229
+ - spec/dummy/app/models/post.rb
230
+ - spec/dummy/app/views/articles/_form.html.erb
231
+ - spec/dummy/app/views/articles/_sidebar.html.erb
232
+ - spec/dummy/app/views/articles/edit.html.erb
233
+ - spec/dummy/app/views/articles/index.html.erb
234
+ - spec/dummy/app/views/articles/new.html.erb
235
+ - spec/dummy/app/views/articles/show.html.erb
236
+ - spec/dummy/app/views/layouts/application.html.erb
237
+ - spec/dummy/app/views/posts/_form.html.erb
238
+ - spec/dummy/app/views/posts/_sidebar.html.erb
239
+ - spec/dummy/app/views/posts/edit.html.erb
240
+ - spec/dummy/app/views/posts/index.html.erb
241
+ - spec/dummy/app/views/posts/new.html.erb
242
+ - spec/dummy/app/views/posts/show.html.erb
243
+ - spec/dummy/app/views/testing/index.html.erb
244
+ - spec/dummy/config/application.rb
245
+ - spec/dummy/config/boot.rb
246
+ - spec/dummy/config/database.yml
247
+ - spec/dummy/config/environment.rb
248
+ - spec/dummy/config/environments/development.rb
249
+ - spec/dummy/config/environments/production.rb
250
+ - spec/dummy/config/environments/test.rb
251
+ - spec/dummy/config/initializers/backtrace_silencers.rb
252
+ - spec/dummy/config/initializers/inflections.rb
253
+ - spec/dummy/config/initializers/mime_types.rb
254
+ - spec/dummy/config/initializers/secret_token.rb
255
+ - spec/dummy/config/initializers/session_store.rb
256
+ - spec/dummy/config/initializers/wrap_parameters.rb
257
+ - spec/dummy/config/locales/en.yml
258
+ - spec/dummy/config/routes.rb
259
+ - spec/dummy/config.ru
260
+ - spec/dummy/db/development.sqlite3
261
+ - spec/dummy/db/migrate/20110827160301_create_posts.rb
262
+ - spec/dummy/db/schema.rb
263
+ - spec/dummy/db/test.sqlite3
264
+ - spec/dummy/public/404.html
265
+ - spec/dummy/public/422.html
266
+ - spec/dummy/public/500.html
267
+ - spec/dummy/public/favicon.ico
268
+ - spec/dummy/public/images/avatar.png
269
+ - spec/dummy/public/images/icons/application_edit.png
270
+ - spec/dummy/public/images/icons/cross.png
271
+ - spec/dummy/public/images/icons/key.png
272
+ - spec/dummy/public/images/icons/tick.png
273
+ - spec/dummy/public/index.html
274
+ - spec/dummy/public/javascripts/jquery-1.3.min.js
275
+ - spec/dummy/public/javascripts/jquery.localscroll.js
276
+ - spec/dummy/public/javascripts/jquery.scrollTo.js
277
+ - spec/dummy/Rakefile
278
+ - spec/dummy/script/rails
279
+ - spec/dummy/spec/models/post_spec.rb
280
+ - spec/dummy/test/functional/testing_controller_test.rb
281
+ - spec/dummy/test/unit/helpers/testing_helper_test.rb
282
+ - spec/spec_helper.rb
283
+ - features/assets_generator.feature
284
+ - features/step_definitions/assets_step.rb
285
+ - features/step_definitions/common_steps.rb
286
+ - features/step_definitions/theme_steps.rb
287
+ - features/step_definitions/themed_steps.rb
288
+ - features/support/env.rb
289
+ - features/theme_generator.feature
290
+ - features/themed_generator.feature