routing_data 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. data/README.md +1 -1
  2. data/lib/routing_data.rb +1 -1
  3. data/lib/routing_data/version.rb +1 -1
  4. metadata +2 -86
  5. data/dummy/Gemfile +0 -38
  6. data/dummy/README.rdoc +0 -261
  7. data/dummy/Rakefile +0 -7
  8. data/dummy/app/assets/images/rails.png +0 -0
  9. data/dummy/app/assets/javascripts/application.js +0 -14
  10. data/dummy/app/assets/javascripts/blogs.js.coffee +0 -3
  11. data/dummy/app/assets/javascripts/categories.js.coffee +0 -3
  12. data/dummy/app/assets/javascripts/home.js.coffee +0 -3
  13. data/dummy/app/assets/javascripts/posts.js.coffee +0 -3
  14. data/dummy/app/assets/javascripts/users.js.coffee +0 -3
  15. data/dummy/app/assets/stylesheets/application.css +0 -13
  16. data/dummy/app/assets/stylesheets/blogs.css.scss +0 -3
  17. data/dummy/app/assets/stylesheets/categories.css.scss +0 -3
  18. data/dummy/app/assets/stylesheets/home.css.scss +0 -3
  19. data/dummy/app/assets/stylesheets/posts.css.scss +0 -3
  20. data/dummy/app/assets/stylesheets/scaffolds.css.scss +0 -69
  21. data/dummy/app/assets/stylesheets/users.css.scss +0 -3
  22. data/dummy/app/controllers/application_controller.rb +0 -3
  23. data/dummy/app/controllers/blogs_controller.rb +0 -83
  24. data/dummy/app/controllers/categories_controller.rb +0 -83
  25. data/dummy/app/controllers/home_controller.rb +0 -5
  26. data/dummy/app/controllers/posts_controller.rb +0 -86
  27. data/dummy/app/controllers/users_controller.rb +0 -83
  28. data/dummy/app/helpers/application_helper.rb +0 -2
  29. data/dummy/app/helpers/blogs_helper.rb +0 -2
  30. data/dummy/app/helpers/categories_helper.rb +0 -2
  31. data/dummy/app/helpers/home_helper.rb +0 -2
  32. data/dummy/app/helpers/posts_helper.rb +0 -2
  33. data/dummy/app/helpers/users_helper.rb +0 -2
  34. data/dummy/app/models/blog.rb +0 -6
  35. data/dummy/app/models/category.rb +0 -5
  36. data/dummy/app/models/post.rb +0 -11
  37. data/dummy/app/models/user.rb +0 -7
  38. data/dummy/app/views/blogs/_form.html.erb +0 -33
  39. data/dummy/app/views/blogs/edit.html.erb +0 -6
  40. data/dummy/app/views/blogs/index.html.erb +0 -29
  41. data/dummy/app/views/blogs/new.html.erb +0 -5
  42. data/dummy/app/views/blogs/show.html.erb +0 -25
  43. data/dummy/app/views/categories/_form.html.erb +0 -25
  44. data/dummy/app/views/categories/edit.html.erb +0 -6
  45. data/dummy/app/views/categories/index.html.erb +0 -25
  46. data/dummy/app/views/categories/new.html.erb +0 -5
  47. data/dummy/app/views/categories/show.html.erb +0 -15
  48. data/dummy/app/views/home/index.html.erb +0 -29
  49. data/dummy/app/views/layouts/application.html.erb +0 -15
  50. data/dummy/app/views/posts/_form.html.erb +0 -37
  51. data/dummy/app/views/posts/edit.html.erb +0 -6
  52. data/dummy/app/views/posts/index.html.erb +0 -29
  53. data/dummy/app/views/posts/new.html.erb +0 -5
  54. data/dummy/app/views/posts/show.html.erb +0 -25
  55. data/dummy/app/views/users/_form.html.erb +0 -25
  56. data/dummy/app/views/users/edit.html.erb +0 -6
  57. data/dummy/app/views/users/index.html.erb +0 -25
  58. data/dummy/app/views/users/new.html.erb +0 -5
  59. data/dummy/app/views/users/show.html.erb +0 -15
  60. data/dummy/config.ru +0 -4
  61. data/dummy/config/application.rb +0 -68
  62. data/dummy/config/boot.rb +0 -6
  63. data/dummy/config/database.yml +0 -25
  64. data/dummy/config/environment.rb +0 -5
  65. data/dummy/config/environments/development.rb +0 -39
  66. data/dummy/config/environments/production.rb +0 -67
  67. data/dummy/config/environments/test.rb +0 -37
  68. data/dummy/config/initializers/backtrace_silencers.rb +0 -7
  69. data/dummy/config/initializers/inflections.rb +0 -15
  70. data/dummy/config/initializers/mime_types.rb +0 -5
  71. data/dummy/config/initializers/secret_token.rb +0 -7
  72. data/dummy/config/initializers/session_store.rb +0 -8
  73. data/dummy/config/initializers/wrap_parameters.rb +0 -14
  74. data/dummy/config/locales/en.yml +0 -5
  75. data/dummy/config/routes.rb +0 -10
  76. data/dummy/db/development.sqlite3 +0 -0
  77. data/dummy/db/migrate/20121118170847_create_users.rb +0 -11
  78. data/dummy/db/migrate/20121118170945_create_posts.rb +0 -13
  79. data/dummy/db/migrate/20121118171015_create_categories.rb +0 -10
  80. data/dummy/db/migrate/20121118171532_create_blogs.rb +0 -12
  81. data/dummy/db/schema.rb +0 -50
  82. data/dummy/db/seeds.rb +0 -7
  83. data/dummy/public/404.html +0 -26
  84. data/dummy/public/422.html +0 -26
  85. data/dummy/public/500.html +0 -25
  86. data/dummy/public/favicon.ico +0 -0
  87. data/dummy/public/robots.txt +0 -5
  88. data/dummy/script/rails +0 -6
@@ -1,12 +0,0 @@
1
- class CreateBlogs < ActiveRecord::Migration
2
- def change
3
- create_table :blogs do |t|
4
- t.integer :admin_id, null: false
5
- t.string :name, null: false
6
- t.string :description, null: false
7
- t.integer :posts_count, null: false, default: 0
8
-
9
- t.timestamps
10
- end
11
- end
12
- end
data/dummy/db/schema.rb DELETED
@@ -1,50 +0,0 @@
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 => 20121118171532) do
15
-
16
- create_table "blogs", :force => true do |t|
17
- t.integer "admin_id", :null => false
18
- t.string "name", :null => false
19
- t.string "description", :null => false
20
- t.integer "posts_count", :default => 0, :null => false
21
- t.datetime "created_at", :null => false
22
- t.datetime "updated_at", :null => false
23
- end
24
-
25
- create_table "categories", :force => true do |t|
26
- t.string "name", :null => false
27
- t.integer "posts_count", :default => 0, :null => false
28
- t.datetime "created_at", :null => false
29
- t.datetime "updated_at", :null => false
30
- end
31
-
32
- create_table "posts", :force => true do |t|
33
- t.string "title", :null => false
34
- t.text "content", :null => false
35
- t.integer "author_id", :null => false
36
- t.integer "category_id", :null => false
37
- t.integer "blog_id", :null => false
38
- t.datetime "created_at", :null => false
39
- t.datetime "updated_at", :null => false
40
- end
41
-
42
- create_table "users", :force => true do |t|
43
- t.string "name", :null => false
44
- t.string "email", :null => false
45
- t.integer "role", :default => 0, :null => false
46
- t.datetime "created_at", :null => false
47
- t.datetime "updated_at", :null => false
48
- end
49
-
50
- end
data/dummy/db/seeds.rb DELETED
@@ -1,7 +0,0 @@
1
- # This file should contain all the record creation needed to seed the database with its default values.
2
- # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
- #
4
- # Examples:
5
- #
6
- # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
7
- # Mayor.create(name: 'Emanuel', city: cities.first)
@@ -1,26 +0,0 @@
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>
@@ -1,26 +0,0 @@
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>
@@ -1,25 +0,0 @@
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
- </div>
24
- </body>
25
- </html>
File without changes
@@ -1,5 +0,0 @@
1
- # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
- #
3
- # To ban all spiders from the entire site uncomment the next two lines:
4
- # User-Agent: *
5
- # Disallow: /
data/dummy/script/rails DELETED
@@ -1,6 +0,0 @@
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'