magic_grid 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +19 -0
  3. data/Rakefile +44 -0
  4. data/lib/assets/javascripts/magic_grid.js +154 -0
  5. data/lib/locales/en.yml +7 -0
  6. data/lib/magic_grid.rb +7 -0
  7. data/lib/magic_grid/definition.rb +212 -0
  8. data/lib/magic_grid/engine.rb +14 -0
  9. data/lib/magic_grid/helpers.rb +243 -0
  10. data/lib/magic_grid/railtie.rb +9 -0
  11. data/lib/magic_grid/version.rb +3 -0
  12. data/lib/tasks/magic_grid_tasks.rake +4 -0
  13. data/test/dummy/Rakefile +7 -0
  14. data/test/dummy/app/assets/javascripts/application.js +9 -0
  15. data/test/dummy/app/assets/javascripts/posts.js +8 -0
  16. data/test/dummy/app/assets/javascripts/users.js +2 -0
  17. data/test/dummy/app/assets/stylesheets/application.css +7 -0
  18. data/test/dummy/app/assets/stylesheets/posts.css +4 -0
  19. data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
  20. data/test/dummy/app/assets/stylesheets/users.css +4 -0
  21. data/test/dummy/app/controllers/application_controller.rb +3 -0
  22. data/test/dummy/app/controllers/posts_controller.rb +104 -0
  23. data/test/dummy/app/controllers/users_controller.rb +84 -0
  24. data/test/dummy/app/helpers/application_helper.rb +2 -0
  25. data/test/dummy/app/helpers/posts_helper.rb +2 -0
  26. data/test/dummy/app/helpers/users_helper.rb +2 -0
  27. data/test/dummy/app/models/post.rb +6 -0
  28. data/test/dummy/app/models/user.rb +4 -0
  29. data/test/dummy/app/views/layouts/application.html.erb +19 -0
  30. data/test/dummy/app/views/posts/_form.html.erb +33 -0
  31. data/test/dummy/app/views/posts/by_user.html.erb +18 -0
  32. data/test/dummy/app/views/posts/edit.html.erb +6 -0
  33. data/test/dummy/app/views/posts/index.html.erb +76 -0
  34. data/test/dummy/app/views/posts/new.html.erb +5 -0
  35. data/test/dummy/app/views/posts/show.html.erb +25 -0
  36. data/test/dummy/app/views/users/_form.html.erb +25 -0
  37. data/test/dummy/app/views/users/edit.html.erb +6 -0
  38. data/test/dummy/app/views/users/index.html.erb +42 -0
  39. data/test/dummy/app/views/users/new.html.erb +5 -0
  40. data/test/dummy/app/views/users/show.html.erb +15 -0
  41. data/test/dummy/config.ru +4 -0
  42. data/test/dummy/config/application.rb +59 -0
  43. data/test/dummy/config/boot.rb +10 -0
  44. data/test/dummy/config/database.yml +25 -0
  45. data/test/dummy/config/environment.rb +5 -0
  46. data/test/dummy/config/environments/development.rb +40 -0
  47. data/test/dummy/config/environments/production.rb +67 -0
  48. data/test/dummy/config/environments/test.rb +37 -0
  49. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  50. data/test/dummy/config/initializers/inflections.rb +15 -0
  51. data/test/dummy/config/initializers/mime_types.rb +5 -0
  52. data/test/dummy/config/initializers/secret_token.rb +7 -0
  53. data/test/dummy/config/initializers/session_store.rb +8 -0
  54. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  55. data/test/dummy/config/locales/en.yml +5 -0
  56. data/test/dummy/config/routes.rb +68 -0
  57. data/test/dummy/db/development.sqlite3 +0 -0
  58. data/test/dummy/db/migrate/20111025191809_create_users.rb +10 -0
  59. data/test/dummy/db/migrate/20111025195229_create_posts.rb +13 -0
  60. data/test/dummy/db/schema.rb +34 -0
  61. data/test/dummy/db/test.sqlite3 +0 -0
  62. data/test/dummy/log/development.log +49565 -0
  63. data/test/dummy/log/passenger.3000.log +362 -0
  64. data/test/dummy/log/test.log +77 -0
  65. data/test/dummy/public/404.html +26 -0
  66. data/test/dummy/public/422.html +26 -0
  67. data/test/dummy/public/500.html +26 -0
  68. data/test/dummy/public/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  69. data/test/dummy/public/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  70. data/test/dummy/public/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  71. data/test/dummy/public/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  72. data/test/dummy/public/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  73. data/test/dummy/public/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  74. data/test/dummy/public/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  75. data/test/dummy/public/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  76. data/test/dummy/public/css/smoothness/images/ui-icons_222222_256x240.png +0 -0
  77. data/test/dummy/public/css/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  78. data/test/dummy/public/css/smoothness/images/ui-icons_454545_256x240.png +0 -0
  79. data/test/dummy/public/css/smoothness/images/ui-icons_888888_256x240.png +0 -0
  80. data/test/dummy/public/css/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  81. data/test/dummy/public/css/smoothness/jquery-ui-1.8.18.custom.css +565 -0
  82. data/test/dummy/public/favicon.ico +0 -0
  83. data/test/dummy/script/rails +6 -0
  84. data/test/dummy/test/fixtures/posts.yml +23 -0
  85. data/test/dummy/test/fixtures/users.yml +15 -0
  86. data/test/dummy/test/functional/posts_controller_test.rb +49 -0
  87. data/test/dummy/test/functional/users_controller_test.rb +50 -0
  88. data/test/dummy/test/integration/spider_test.rb +27 -0
  89. data/test/dummy/test/unit/helpers/posts_helper_test.rb +4 -0
  90. data/test/dummy/test/unit/helpers/users_helper_test.rb +4 -0
  91. data/test/dummy/test/unit/post_test.rb +7 -0
  92. data/test/dummy/test/unit/user_test.rb +7 -0
  93. data/test/magic_grid_test.rb +11 -0
  94. data/test/test_helper.rb +17 -0
  95. metadata +333 -0
File without changes
@@ -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,23 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
+
3
+ one:
4
+ title: MyString
5
+ body: MyText
6
+ published: false
7
+ user: one
8
+
9
+ two:
10
+ title: MyString
11
+ body: MyText
12
+ published: false
13
+ user: two
14
+
15
+ <% title = "The Best Title Ever, Really" %>
16
+ <% story = 'It was a dark and stormy night and the Captain said, "Tell me a story, son". So I began. ' * 100 %>
17
+ <% 500.times do |i| %>
18
+ post_<%= i %>:
19
+ title: <%= title.split.rotate(i).join " " %>
20
+ body: <%= story %>
21
+ published: <%= i.even? %>
22
+ user: user_<%= i % 100 %>
23
+ <% end %>
@@ -0,0 +1,15 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
+
3
+ one:
4
+ name: MyString
5
+ email: MyString
6
+
7
+ two:
8
+ name: MyString
9
+ email: MyString
10
+
11
+ <% 100.times do |i| %>
12
+ user_<%= i %>:
13
+ name: user <%= i %>
14
+ email: user_<%= i %>@company.com
15
+ <% end %>
@@ -0,0 +1,49 @@
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: @post.attributes
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.to_param
29
+ assert_response :success
30
+ end
31
+
32
+ test "should get edit" do
33
+ get :edit, id: @post.to_param
34
+ assert_response :success
35
+ end
36
+
37
+ test "should update post" do
38
+ put :update, id: @post.to_param, post: @post.attributes
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.to_param
45
+ end
46
+
47
+ assert_redirected_to posts_path
48
+ end
49
+ end
@@ -0,0 +1,50 @@
1
+ require 'test_helper'
2
+
3
+ class UsersControllerTest < ActionController::TestCase
4
+ setup do
5
+ @user = users(:one)
6
+ end
7
+
8
+ test "should get index" do
9
+ get :index
10
+ assert_response :success
11
+ assert_not_nil assigns(:basic_users)
12
+ assert_not_nil assigns(:optimized_users)
13
+ end
14
+
15
+ test "should get new" do
16
+ get :new
17
+ assert_response :success
18
+ end
19
+
20
+ test "should create user" do
21
+ assert_difference('User.count') do
22
+ post :create, user: @user.attributes
23
+ end
24
+
25
+ assert_redirected_to user_path(assigns(:user))
26
+ end
27
+
28
+ test "should show user" do
29
+ get :show, id: @user.to_param
30
+ assert_response :success
31
+ end
32
+
33
+ test "should get edit" do
34
+ get :edit, id: @user.to_param
35
+ assert_response :success
36
+ end
37
+
38
+ test "should update user" do
39
+ put :update, id: @user.to_param, user: @user.attributes
40
+ assert_redirected_to user_path(assigns(:user))
41
+ end
42
+
43
+ test "should destroy user" do
44
+ assert_difference('User.count', -1) do
45
+ delete :destroy, id: @user.to_param
46
+ end
47
+
48
+ assert_redirected_to users_path
49
+ end
50
+ end
@@ -0,0 +1,27 @@
1
+ require 'relevance/tarantula'
2
+ require 'test_helper'
3
+
4
+ class SpiderTest < ActionDispatch::IntegrationTest
5
+ fixtures :all
6
+
7
+ @@to_skip = [
8
+ /^\/(posts|users)\/\d+(\/edit)?$/,
9
+ ]
10
+
11
+ def test_users
12
+ t = tarantula_crawler(self)
13
+ #t.handlers << Relevance::Tarantula::TidyHandler.new
14
+ t.crawl_timeout = 15.seconds
15
+ t.skip_uri_patterns += @@to_skip
16
+ t.crawl '/users'
17
+ end
18
+
19
+ def test_posts
20
+ t = tarantula_crawler(self)
21
+ #t.handlers << Relevance::Tarantula::TidyHandler.new
22
+ t.crawl_timeout = 15.seconds
23
+ t.skip_uri_patterns += @@to_skip
24
+ t.crawl '/posts'
25
+ end
26
+
27
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class PostsHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class UsersHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class PostTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class UserTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,11 @@
1
+ require 'test_helper'
2
+
3
+ class MagicGridTest < ActiveSupport::TestCase
4
+ test "Module definition" do
5
+ assert_kind_of Module, MagicGrid
6
+ assert_kind_of Module, MagicGrid::Helpers
7
+ end
8
+ test "Class definition" do
9
+ assert_kind_of Class, MagicGrid::Definition
10
+ end
11
+ end
@@ -0,0 +1,17 @@
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
+ #Run any available migration
8
+ ActiveRecord::Migrator.migrate 'up'
9
+
10
+ # Set fixtures root
11
+ ActiveSupport::TestCase.fixture_path=(File.expand_path("../dummy/test/fixtures", __FILE__))
12
+ ActiveSupport::TestCase.fixtures :all
13
+
14
+ Rails.backtrace_cleaner.remove_silencers!
15
+
16
+ # Load support files
17
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
metadata ADDED
@@ -0,0 +1,333 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: magic_grid
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.2
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Ryan Graham
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-09-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 3.1.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 3.1.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: will_paginate
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 3.0.0
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 3.0.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: jquery-rails
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: 1.0.17
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 1.0.17
62
+ - !ruby/object:Gem::Dependency
63
+ name: sqlite3
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: rake
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: tarantula
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: rspec
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ description: Simple collection displaying with pagination using will_paginate
127
+ email:
128
+ - r.m.graham@gmail.com
129
+ executables: []
130
+ extensions: []
131
+ extra_rdoc_files: []
132
+ files:
133
+ - lib/magic_grid.rb
134
+ - lib/assets/javascripts/magic_grid.js
135
+ - lib/tasks/magic_grid_tasks.rake
136
+ - lib/magic_grid/version.rb
137
+ - lib/magic_grid/railtie.rb
138
+ - lib/magic_grid/helpers.rb
139
+ - lib/magic_grid/engine.rb
140
+ - lib/magic_grid/definition.rb
141
+ - lib/locales/en.yml
142
+ - MIT-LICENSE
143
+ - Rakefile
144
+ - README.rdoc
145
+ - test/magic_grid_test.rb
146
+ - test/test_helper.rb
147
+ - test/dummy/public/500.html
148
+ - test/dummy/public/favicon.ico
149
+ - test/dummy/public/css/smoothness/images/ui-icons_cd0a0a_256x240.png
150
+ - test/dummy/public/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
151
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
152
+ - test/dummy/public/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
153
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png
154
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
155
+ - test/dummy/public/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
156
+ - test/dummy/public/css/smoothness/images/ui-icons_888888_256x240.png
157
+ - test/dummy/public/css/smoothness/images/ui-icons_2e83ff_256x240.png
158
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
159
+ - test/dummy/public/css/smoothness/images/ui-icons_454545_256x240.png
160
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
161
+ - test/dummy/public/css/smoothness/images/ui-icons_222222_256x240.png
162
+ - test/dummy/public/css/smoothness/jquery-ui-1.8.18.custom.css
163
+ - test/dummy/public/404.html
164
+ - test/dummy/public/422.html
165
+ - test/dummy/log/development.log
166
+ - test/dummy/log/test.log
167
+ - test/dummy/log/passenger.3000.log
168
+ - test/dummy/app/models/post.rb
169
+ - test/dummy/app/models/user.rb
170
+ - test/dummy/app/helpers/users_helper.rb
171
+ - test/dummy/app/helpers/posts_helper.rb
172
+ - test/dummy/app/helpers/application_helper.rb
173
+ - test/dummy/app/assets/javascripts/application.js
174
+ - test/dummy/app/assets/javascripts/users.js
175
+ - test/dummy/app/assets/javascripts/posts.js
176
+ - test/dummy/app/assets/stylesheets/posts.css
177
+ - test/dummy/app/assets/stylesheets/users.css
178
+ - test/dummy/app/assets/stylesheets/scaffold.css
179
+ - test/dummy/app/assets/stylesheets/application.css
180
+ - test/dummy/app/views/layouts/application.html.erb
181
+ - test/dummy/app/views/users/index.html.erb
182
+ - test/dummy/app/views/users/show.html.erb
183
+ - test/dummy/app/views/users/_form.html.erb
184
+ - test/dummy/app/views/users/edit.html.erb
185
+ - test/dummy/app/views/users/new.html.erb
186
+ - test/dummy/app/views/posts/by_user.html.erb
187
+ - test/dummy/app/views/posts/index.html.erb
188
+ - test/dummy/app/views/posts/show.html.erb
189
+ - test/dummy/app/views/posts/_form.html.erb
190
+ - test/dummy/app/views/posts/edit.html.erb
191
+ - test/dummy/app/views/posts/new.html.erb
192
+ - test/dummy/app/controllers/users_controller.rb
193
+ - test/dummy/app/controllers/application_controller.rb
194
+ - test/dummy/app/controllers/posts_controller.rb
195
+ - test/dummy/test/unit/helpers/posts_helper_test.rb
196
+ - test/dummy/test/unit/helpers/users_helper_test.rb
197
+ - test/dummy/test/unit/post_test.rb
198
+ - test/dummy/test/unit/user_test.rb
199
+ - test/dummy/test/integration/spider_test.rb
200
+ - test/dummy/test/fixtures/users.yml
201
+ - test/dummy/test/fixtures/posts.yml
202
+ - test/dummy/test/functional/posts_controller_test.rb
203
+ - test/dummy/test/functional/users_controller_test.rb
204
+ - test/dummy/db/development.sqlite3
205
+ - test/dummy/db/migrate/20111025191809_create_users.rb
206
+ - test/dummy/db/migrate/20111025195229_create_posts.rb
207
+ - test/dummy/db/test.sqlite3
208
+ - test/dummy/db/schema.rb
209
+ - test/dummy/config.ru
210
+ - test/dummy/script/rails
211
+ - test/dummy/Rakefile
212
+ - test/dummy/config/application.rb
213
+ - test/dummy/config/database.yml
214
+ - test/dummy/config/routes.rb
215
+ - test/dummy/config/boot.rb
216
+ - test/dummy/config/environments/development.rb
217
+ - test/dummy/config/environments/production.rb
218
+ - test/dummy/config/environments/test.rb
219
+ - test/dummy/config/locales/en.yml
220
+ - test/dummy/config/initializers/wrap_parameters.rb
221
+ - test/dummy/config/initializers/session_store.rb
222
+ - test/dummy/config/initializers/inflections.rb
223
+ - test/dummy/config/initializers/secret_token.rb
224
+ - test/dummy/config/initializers/backtrace_silencers.rb
225
+ - test/dummy/config/initializers/mime_types.rb
226
+ - test/dummy/config/environment.rb
227
+ homepage: https://github.com/rmg/magic_grid
228
+ licenses: []
229
+ post_install_message:
230
+ rdoc_options: []
231
+ require_paths:
232
+ - lib
233
+ required_ruby_version: !ruby/object:Gem::Requirement
234
+ none: false
235
+ requirements:
236
+ - - ! '>='
237
+ - !ruby/object:Gem::Version
238
+ version: '0'
239
+ required_rubygems_version: !ruby/object:Gem::Requirement
240
+ none: false
241
+ requirements:
242
+ - - ! '>='
243
+ - !ruby/object:Gem::Version
244
+ version: '0'
245
+ requirements: []
246
+ rubyforge_project:
247
+ rubygems_version: 1.8.23
248
+ signing_key:
249
+ specification_version: 3
250
+ summary: Simple collection displaying with pagination using will_paginate
251
+ test_files:
252
+ - test/magic_grid_test.rb
253
+ - test/test_helper.rb
254
+ - test/dummy/public/500.html
255
+ - test/dummy/public/favicon.ico
256
+ - test/dummy/public/css/smoothness/images/ui-icons_cd0a0a_256x240.png
257
+ - test/dummy/public/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
258
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
259
+ - test/dummy/public/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
260
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png
261
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
262
+ - test/dummy/public/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
263
+ - test/dummy/public/css/smoothness/images/ui-icons_888888_256x240.png
264
+ - test/dummy/public/css/smoothness/images/ui-icons_2e83ff_256x240.png
265
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
266
+ - test/dummy/public/css/smoothness/images/ui-icons_454545_256x240.png
267
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
268
+ - test/dummy/public/css/smoothness/images/ui-icons_222222_256x240.png
269
+ - test/dummy/public/css/smoothness/jquery-ui-1.8.18.custom.css
270
+ - test/dummy/public/404.html
271
+ - test/dummy/public/422.html
272
+ - test/dummy/log/development.log
273
+ - test/dummy/log/test.log
274
+ - test/dummy/log/passenger.3000.log
275
+ - test/dummy/app/models/post.rb
276
+ - test/dummy/app/models/user.rb
277
+ - test/dummy/app/helpers/users_helper.rb
278
+ - test/dummy/app/helpers/posts_helper.rb
279
+ - test/dummy/app/helpers/application_helper.rb
280
+ - test/dummy/app/assets/javascripts/application.js
281
+ - test/dummy/app/assets/javascripts/users.js
282
+ - test/dummy/app/assets/javascripts/posts.js
283
+ - test/dummy/app/assets/stylesheets/posts.css
284
+ - test/dummy/app/assets/stylesheets/users.css
285
+ - test/dummy/app/assets/stylesheets/scaffold.css
286
+ - test/dummy/app/assets/stylesheets/application.css
287
+ - test/dummy/app/views/layouts/application.html.erb
288
+ - test/dummy/app/views/users/index.html.erb
289
+ - test/dummy/app/views/users/show.html.erb
290
+ - test/dummy/app/views/users/_form.html.erb
291
+ - test/dummy/app/views/users/edit.html.erb
292
+ - test/dummy/app/views/users/new.html.erb
293
+ - test/dummy/app/views/posts/by_user.html.erb
294
+ - test/dummy/app/views/posts/index.html.erb
295
+ - test/dummy/app/views/posts/show.html.erb
296
+ - test/dummy/app/views/posts/_form.html.erb
297
+ - test/dummy/app/views/posts/edit.html.erb
298
+ - test/dummy/app/views/posts/new.html.erb
299
+ - test/dummy/app/controllers/users_controller.rb
300
+ - test/dummy/app/controllers/application_controller.rb
301
+ - test/dummy/app/controllers/posts_controller.rb
302
+ - test/dummy/test/unit/helpers/posts_helper_test.rb
303
+ - test/dummy/test/unit/helpers/users_helper_test.rb
304
+ - test/dummy/test/unit/post_test.rb
305
+ - test/dummy/test/unit/user_test.rb
306
+ - test/dummy/test/integration/spider_test.rb
307
+ - test/dummy/test/fixtures/users.yml
308
+ - test/dummy/test/fixtures/posts.yml
309
+ - test/dummy/test/functional/posts_controller_test.rb
310
+ - test/dummy/test/functional/users_controller_test.rb
311
+ - test/dummy/db/development.sqlite3
312
+ - test/dummy/db/migrate/20111025191809_create_users.rb
313
+ - test/dummy/db/migrate/20111025195229_create_posts.rb
314
+ - test/dummy/db/test.sqlite3
315
+ - test/dummy/db/schema.rb
316
+ - test/dummy/config.ru
317
+ - test/dummy/script/rails
318
+ - test/dummy/Rakefile
319
+ - test/dummy/config/application.rb
320
+ - test/dummy/config/database.yml
321
+ - test/dummy/config/routes.rb
322
+ - test/dummy/config/boot.rb
323
+ - test/dummy/config/environments/development.rb
324
+ - test/dummy/config/environments/production.rb
325
+ - test/dummy/config/environments/test.rb
326
+ - test/dummy/config/locales/en.yml
327
+ - test/dummy/config/initializers/wrap_parameters.rb
328
+ - test/dummy/config/initializers/session_store.rb
329
+ - test/dummy/config/initializers/inflections.rb
330
+ - test/dummy/config/initializers/secret_token.rb
331
+ - test/dummy/config/initializers/backtrace_silencers.rb
332
+ - test/dummy/config/initializers/mime_types.rb
333
+ - test/dummy/config/environment.rb