lockup 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. data/README.md +8 -2
  2. data/app/{assets/stylesheets/lockup/layout.css → views/layouts/lockup/_inline_css.html.erb} +0 -0
  3. data/app/views/layouts/lockup/application.html.erb +3 -1
  4. data/lib/lockup.rb +2 -2
  5. data/lib/lockup/engine.rb +1 -1
  6. data/lib/lockup/version.rb +1 -1
  7. metadata +69 -205
  8. data/app/assets/javascripts/lockup/application.js +0 -15
  9. data/app/assets/stylesheets/lockup/application.css +0 -13
  10. data/test/dummy/README.rdoc +0 -261
  11. data/test/dummy/Rakefile +0 -7
  12. data/test/dummy/app/assets/javascripts/application.js +0 -15
  13. data/test/dummy/app/assets/javascripts/posts.js +0 -2
  14. data/test/dummy/app/assets/stylesheets/application.css +0 -13
  15. data/test/dummy/app/assets/stylesheets/posts.css +0 -4
  16. data/test/dummy/app/assets/stylesheets/scaffold.css +0 -56
  17. data/test/dummy/app/controllers/application_controller.rb +0 -3
  18. data/test/dummy/app/controllers/posts_controller.rb +0 -83
  19. data/test/dummy/app/helpers/application_helper.rb +0 -2
  20. data/test/dummy/app/helpers/posts_helper.rb +0 -2
  21. data/test/dummy/app/models/post.rb +0 -3
  22. data/test/dummy/app/views/posts/_form.html.erb +0 -17
  23. data/test/dummy/app/views/posts/edit.html.erb +0 -6
  24. data/test/dummy/app/views/posts/index.html.erb +0 -21
  25. data/test/dummy/app/views/posts/new.html.erb +0 -5
  26. data/test/dummy/app/views/posts/show.html.erb +0 -5
  27. data/test/dummy/config.ru +0 -4
  28. data/test/dummy/config/application.rb +0 -59
  29. data/test/dummy/config/boot.rb +0 -10
  30. data/test/dummy/config/database.yml +0 -25
  31. data/test/dummy/config/environment.rb +0 -5
  32. data/test/dummy/config/environments/development.rb +0 -37
  33. data/test/dummy/config/environments/production.rb +0 -67
  34. data/test/dummy/config/environments/test.rb +0 -37
  35. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  36. data/test/dummy/config/initializers/inflections.rb +0 -15
  37. data/test/dummy/config/initializers/mime_types.rb +0 -5
  38. data/test/dummy/config/initializers/secret_token.rb +0 -7
  39. data/test/dummy/config/initializers/session_store.rb +0 -8
  40. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  41. data/test/dummy/config/locales/en.yml +0 -5
  42. data/test/dummy/config/routes.rb +0 -9
  43. data/test/dummy/db/development.sqlite3 +0 -0
  44. data/test/dummy/db/migrate/20130509023411_create_posts.rb +0 -8
  45. data/test/dummy/db/schema.rb +0 -21
  46. data/test/dummy/log/development.log +0 -4271
  47. data/test/dummy/public/404.html +0 -26
  48. data/test/dummy/public/422.html +0 -26
  49. data/test/dummy/public/500.html +0 -25
  50. data/test/dummy/public/favicon.ico +0 -0
  51. data/test/dummy/script/rails +0 -6
  52. data/test/dummy/test/fixtures/posts.yml +0 -11
  53. data/test/dummy/test/functional/posts_controller_test.rb +0 -49
  54. data/test/dummy/test/unit/helpers/posts_helper_test.rb +0 -4
  55. data/test/dummy/test/unit/post_test.rb +0 -7
  56. data/test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212 +0 -0
  57. data/test/dummy/tmp/cache/assets/CA2/B90/sprockets%2Fd5057be14242f909abb7946501241cf0 +0 -0
  58. data/test/dummy/tmp/cache/assets/CBB/A30/sprockets%2F35d582a476413fe8922740f51fca668e +0 -0
  59. data/test/dummy/tmp/cache/assets/CC4/090/sprockets%2F4a68d2ee97c29d4331984665f2f06a94 +0 -0
  60. data/test/dummy/tmp/cache/assets/CC7/220/sprockets%2Fd066c004d1fd26ae76a61303a7a18145 +0 -0
  61. data/test/dummy/tmp/cache/assets/CD5/B70/sprockets%2F416150dc3ac35079c94273cc46e90aa6 +0 -0
  62. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  63. data/test/dummy/tmp/cache/assets/CEC/250/sprockets%2Fe5b6884ad9163b19d26c96b787ce0035 +0 -0
  64. data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
  65. data/test/dummy/tmp/cache/assets/D13/DE0/sprockets%2F9eded750b033712e986c4e3d06b2439e +0 -0
  66. data/test/dummy/tmp/cache/assets/D13/F80/sprockets%2Fea61f46df9f7066133164054f6a7c6cc +0 -0
  67. data/test/dummy/tmp/cache/assets/D1A/310/sprockets%2F5384ad85f52d3272dbc64d46ef3876a4 +0 -0
  68. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  69. data/test/dummy/tmp/cache/assets/D38/110/sprockets%2F69fef092c21ae1a546c34042e4b56bd8 +0 -0
  70. data/test/dummy/tmp/cache/assets/D41/EF0/sprockets%2F5d8cab6dc1e5d8064d90822e03d75c66 +0 -0
  71. data/test/dummy/tmp/cache/assets/D46/E10/sprockets%2F0d0d7c4506cde94708f65e8bd3a5b864 +0 -0
  72. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  73. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  74. data/test/dummy/tmp/cache/assets/D9C/CD0/sprockets%2Fc85016e7bbd4f3adbb7635d01f85d39b +0 -0
  75. data/test/dummy/tmp/cache/assets/DB8/CF0/sprockets%2Fbb3db17916aaef05a30edd91ef00e703 +0 -0
  76. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  77. data/test/dummy/tmp/cache/assets/E01/5E0/sprockets%2F71a1c4bce0075db389efee818edffc60 +0 -0
  78. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  79. data/test/dummy/tmp/cache/assets/E2B/1E0/sprockets%2F15ebf39553d9aa1ffeab7edc3800cf5c +0 -0
  80. data/test/integration/navigation_test.rb +0 -10
  81. data/test/lockup_test.rb +0 -7
  82. data/test/test_helper.rb +0 -15
@@ -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,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'
@@ -1,11 +0,0 @@
1
- # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
-
3
- # This model initially had no columns defined. If you add columns to the
4
- # model remove the '{}' from the fixture names and add the columns immediately
5
- # below each fixture, per the syntax in the comments below
6
- #
7
- one: {}
8
- # column: value
9
- #
10
- two: {}
11
- # column: value
@@ -1,49 +0,0 @@
1
- require 'test_helper'
2
-
3
- class PostsControllerTest < ActionController::TestCase
4
- setup do
5
- @post = posts(:one)
6
- end
7
-
8
- test "should get index" do
9
- get :index
10
- assert_response :success
11
- assert_not_nil assigns(:posts)
12
- end
13
-
14
- test "should get new" do
15
- get :new
16
- assert_response :success
17
- end
18
-
19
- test "should create post" do
20
- assert_difference('Post.count') do
21
- post :create, post: { }
22
- end
23
-
24
- assert_redirected_to post_path(assigns(:post))
25
- end
26
-
27
- test "should show post" do
28
- get :show, id: @post
29
- assert_response :success
30
- end
31
-
32
- test "should get edit" do
33
- get :edit, id: @post
34
- assert_response :success
35
- end
36
-
37
- test "should update post" do
38
- put :update, id: @post, post: { }
39
- assert_redirected_to post_path(assigns(:post))
40
- end
41
-
42
- test "should destroy post" do
43
- assert_difference('Post.count', -1) do
44
- delete :destroy, id: @post
45
- end
46
-
47
- assert_redirected_to posts_path
48
- end
49
- end
@@ -1,4 +0,0 @@
1
- require 'test_helper'
2
-
3
- class PostsHelperTest < ActionView::TestCase
4
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class PostTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,10 +0,0 @@
1
- require 'test_helper'
2
-
3
- class NavigationTest < ActionDispatch::IntegrationTest
4
- fixtures :all
5
-
6
- # test "the truth" do
7
- # assert true
8
- # end
9
- end
10
-
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class LockupTest < ActiveSupport::TestCase
4
- test "truth" do
5
- assert_kind_of Module, Lockup
6
- end
7
- end
@@ -1,15 +0,0 @@
1
- # Configure Rails Environment
2
- ENV["RAILS_ENV"] = "test"
3
-
4
- require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
- require "rails/test_help"
6
-
7
- Rails.backtrace_cleaner.remove_silencers!
8
-
9
- # Load support files
10
- Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
-
12
- # Load fixtures from the engine
13
- if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
- ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
- end