left_side 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/README.md +30 -5
  2. data/Rakefile +5 -0
  3. data/left_side.gemspec +9 -0
  4. data/lib/assets/stylesheets/left-side.css.scss +55 -0
  5. data/lib/left_side/base.rb +3 -3
  6. data/lib/left_side/cells/left_side/base.html.erb +1 -1
  7. data/lib/left_side/cells/left_side_cell.rb +3 -2
  8. data/lib/left_side/rails.rb +2 -2
  9. data/lib/left_side/section.yml +3 -5
  10. data/lib/left_side/version.rb +1 -1
  11. data/spec/dummy/.sass-cache/77b12a84de3c9aab14bc1e241ef001cd6fe973e0/left-side.css.scssc +0 -0
  12. data/spec/dummy/Rakefile +7 -0
  13. data/spec/dummy/app/assets/images/rails.png +0 -0
  14. data/spec/dummy/app/assets/javascripts/application.js +12 -0
  15. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  16. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  17. data/spec/dummy/app/controllers/tasks_controller.rb +7 -0
  18. data/spec/dummy/app/controllers/todos_controller.rb +7 -0
  19. data/spec/dummy/app/models/.gitkeep +0 -0
  20. data/spec/dummy/app/models/task.rb +3 -0
  21. data/spec/dummy/app/models/todo.rb +3 -0
  22. data/spec/dummy/app/views/layouts/application.html.erb +18 -0
  23. data/spec/dummy/app/views/tasks/index.html.erb +0 -0
  24. data/spec/dummy/app/views/tasks/new.html.erb +0 -0
  25. data/spec/dummy/app/views/todos/index.html.erb +0 -0
  26. data/spec/dummy/app/views/todos/new.html.erb +0 -0
  27. data/spec/dummy/config/application.rb +62 -0
  28. data/spec/dummy/config/boot.rb +8 -0
  29. data/spec/dummy/config/database.yml +25 -0
  30. data/spec/dummy/config/environment.rb +5 -0
  31. data/spec/dummy/config/environments/development.rb +37 -0
  32. data/spec/dummy/config/environments/production.rb +67 -0
  33. data/spec/dummy/config/environments/test.rb +37 -0
  34. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  35. data/spec/dummy/config/initializers/inflections.rb +15 -0
  36. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  37. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  38. data/spec/dummy/config/initializers/session_store.rb +8 -0
  39. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  40. data/spec/dummy/config/left_side/section.yml +6 -0
  41. data/spec/dummy/config/locales/en.yml +5 -0
  42. data/spec/dummy/config/routes.rb +5 -0
  43. data/spec/dummy/config.ru +4 -0
  44. data/spec/dummy/db/development.sqlite3 +0 -0
  45. data/spec/dummy/db/migrate/20130129091246_create_todos.rb +8 -0
  46. data/spec/dummy/db/migrate/20130204072342_create_tasks.rb +8 -0
  47. data/spec/dummy/db/schema.rb +21 -0
  48. data/spec/dummy/db/seeds.rb +7 -0
  49. data/spec/dummy/db/test.sqlite3 +0 -0
  50. data/spec/dummy/log/.gitkeep +0 -0
  51. data/spec/dummy/log/development.log +2269 -0
  52. data/spec/dummy/log/test.log +640 -0
  53. data/spec/dummy/public/404.html +26 -0
  54. data/spec/dummy/public/422.html +26 -0
  55. data/spec/dummy/public/500.html +25 -0
  56. data/spec/dummy/public/favicon.ico +0 -0
  57. data/spec/dummy/public/robots.txt +5 -0
  58. data/spec/dummy/script/rails +6 -0
  59. data/spec/left_side/feature/left_side_spec.rb +47 -0
  60. data/spec/spec_helper.rb +14 -0
  61. metadata +217 -4
  62. data/lib/assets/stylesheets/left-side.scss +0 -8
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
Binary file
@@ -0,0 +1,8 @@
1
+ class CreateTodos < ActiveRecord::Migration
2
+ def change
3
+ create_table :todos do |t|
4
+
5
+ t.timestamps
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ class CreateTasks < ActiveRecord::Migration
2
+ def change
3
+ create_table :tasks 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 => 20130129091246) do
15
+
16
+ create_table "todos", :force => true do |t|
17
+ t.datetime "created_at", :null => false
18
+ t.datetime "updated_at", :null => false
19
+ end
20
+
21
+ end
@@ -0,0 +1,7 @@
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)
Binary file
File without changes