magic_grid 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,7 @@ module MagicGrid
13
13
  default_order: :asc,
14
14
  post_filter: false,
15
15
  collection_post_filter: true,
16
+ count: nil,
16
17
  }
17
18
 
18
19
  def initialize(collection, opts = {})
@@ -38,6 +39,10 @@ module MagicGrid
38
39
  @options = DEFAULTS.merge(opts || {})
39
40
  end
40
41
 
42
+ def count_options
43
+ @options[:count]
44
+ end
45
+
41
46
  def self.create_or_reuse(collection, opts = {})
42
47
  if collection.is_a?(self)
43
48
  collection.options = opts
@@ -167,7 +172,7 @@ module MagicGrid
167
172
  def count(collection = nil)
168
173
  count_or_hash = collection || @collection
169
174
  while count_or_hash.respond_to? :count
170
- count_or_hash = count_or_hash.count
175
+ count_or_hash = count_or_hash.send :count, *(Array([count_options]).compact)
171
176
  end
172
177
  count_or_hash
173
178
  end
@@ -203,7 +208,7 @@ module MagicGrid
203
208
  return collection unless @per_page
204
209
 
205
210
  if collection.respond_to? :paginate
206
- collection.paginate(page: @current_page, per_page: @per_page)
211
+ collection.paginate(page: @current_page, per_page: @per_page, total_entries: count(collection))
207
212
  elsif collection.respond_to? :page
208
213
  collection.page(@current_page).per(@per_page)
209
214
  elsif collection.is_a?(Array) and Module.const_defined?(:Kaminari)
@@ -5,25 +5,29 @@ module MagicGrid
5
5
  columns.map.each_with_index { |c, i|
6
6
  MagicGrid::Column.new(collection, c, i)
7
7
  }.tap do |cols|
8
- search_disabled = false
9
- collection.searchable_columns = Array(searchables).map { |searchable|
10
- case searchable
11
- when Symbol
12
- cols.find {|col| col.name == searchable} || FilterOnlyColumn.new(searchable, collection)
13
- when Integer
14
- cols[searchable]
15
- when String
16
- FilterOnlyColumn.new(searchable)
17
- when true
18
- nil
19
- when false
20
- search_disabled = true
21
- nil
22
- else
23
- raise "Searchable must be identifiable: #{searchable}"
24
- end
25
- }.compact
26
- collection.searchable_columns = [] if search_disabled
8
+ if searchables == false
9
+ searchables = []
10
+ else
11
+ searchables = Array(searchables).map { |s|
12
+ searchable_column(s, cols, collection)
13
+ }
14
+ end
15
+ collection.searchable_columns = searchables.compact
16
+ end
17
+ end
18
+
19
+ def self.searchable_column(searchable, columns, collection)
20
+ case searchable
21
+ when Symbol
22
+ columns.find {|col| col.name == searchable} || FilterOnlyColumn.new(searchable, collection)
23
+ when Integer
24
+ columns[searchable]
25
+ when String
26
+ FilterOnlyColumn.new(searchable)
27
+ when true
28
+ nil
29
+ else
30
+ raise "Searchable must be identifiable: #{searchable}"
27
31
  end
28
32
  end
29
33
 
@@ -62,12 +62,16 @@ module MagicGrid
62
62
  end
63
63
 
64
64
  def magic_grid_head
65
- thead = [] << searcher_block_if(@grid.needs_searcher?,
66
- &self.method(:spinner_generator))
67
- thead << pager_block_if(@grid.options[:per_page] && @grid.options[:top_pager],
68
- &self.method(:spinner_generator))
65
+ spinner = self.method(:spinner_generator)
66
+ thead = []
67
+ if @grid.needs_searcher?
68
+ thead << searcher_block(&spinner)
69
+ end
70
+ if @grid.options[:per_page] and @grid.options[:top_pager]
71
+ thead << magic_pager_block(&spinner)
72
+ end
69
73
  if thead.empty? and not @grid.options[:collapse_emtpy_header]
70
- thead << filler_block(&self.method(:spinner_generator))
74
+ thead << filler_block(&spinner)
71
75
  end
72
76
  thead << magic_column_headers
73
77
  thead.join.html_safe
@@ -205,13 +209,11 @@ module MagicGrid
205
209
  end
206
210
  end
207
211
 
208
- def searcher_block_if(conditional = true, &spinner)
209
- if conditional
210
- @view.content_tag('tr') do
211
- @view.content_tag('td', class: 'searcher full-width ui-widget-header',
212
- colspan: @grid.columns.count) do
213
- searcher_input(&spinner)
214
- end
212
+ def searcher_block(&spinner)
213
+ @view.content_tag('tr') do
214
+ @view.content_tag('td', class: 'searcher full-width ui-widget-header',
215
+ colspan: @grid.columns.count) do
216
+ searcher_input(&spinner)
215
217
  end
216
218
  end
217
219
  end
@@ -250,12 +252,6 @@ module MagicGrid
250
252
  end
251
253
  end
252
254
 
253
- def pager_block_if(conditional = true, &spinner)
254
- if conditional
255
- magic_pager_block(&spinner)
256
- end
257
- end
258
-
259
255
  def magic_pager_block(&spinner)
260
256
  @view.content_tag('tr') do
261
257
  @view.content_tag('td', class: 'full-width ui-widget-header magic-pager',
@@ -1,3 +1,3 @@
1
1
  module MagicGrid
2
- VERSION = "0.12.0"
2
+ VERSION = "0.12.1"
3
3
  end
@@ -104,7 +104,7 @@ describe MagicGrid::Collection do
104
104
  context "when #paginate (aka WillPaginate) is available" do
105
105
  it "should call paginate helper when it is detected" do
106
106
  array = [1].tap do |a|
107
- a.should_receive(:paginate).with(page: 1, per_page: 1) { a }
107
+ a.should_receive(:paginate).with(page: 1, per_page: 1, total_entries: 1) { a }
108
108
  end
109
109
  collection = MagicGrid::Collection.new(array, nil)
110
110
  collection.per_page = 1
data/spec/helpers_spec.rb CHANGED
@@ -25,6 +25,10 @@ describe MagicGrid::Helpers do
25
25
  expect( emtpy_grid ).to match(/<\/table>/)
26
26
  end
27
27
 
28
+ it "should always render one, and only one, spinner" do
29
+ emtpy_grid.should match_select(".magic_grid_spinner", 1)
30
+ end
31
+
28
32
  context "when given an empty collection" do
29
33
  subject { magic_grid empty_collection, column_list }
30
34
  it "should indicate there is no data" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_grid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-09 00:00:00.000000000 Z
12
+ date: 2012-11-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -102,105 +102,105 @@ executables: []
102
102
  extensions: []
103
103
  extra_rdoc_files: []
104
104
  files:
105
- - lib/tasks/magic_grid_tasks.rake
106
105
  - lib/magic_grid.rb
107
106
  - lib/assets/javascripts/magic_grid.js
108
- - lib/magic_grid/collection.rb
109
- - lib/magic_grid/definition.rb
107
+ - lib/tasks/magic_grid_tasks.rake
108
+ - lib/magic_grid/version.rb
109
+ - lib/magic_grid/column.rb
110
110
  - lib/magic_grid/html_grid.rb
111
111
  - lib/magic_grid/helpers.rb
112
- - lib/magic_grid/column.rb
113
- - lib/magic_grid/version.rb
114
- - lib/magic_grid/logger.rb
112
+ - lib/magic_grid/collection.rb
115
113
  - lib/magic_grid/engine.rb
114
+ - lib/magic_grid/logger.rb
115
+ - lib/magic_grid/definition.rb
116
116
  - lib/locales/en.yml
117
117
  - MIT-LICENSE
118
118
  - Rakefile
119
119
  - README.md
120
- - spec/column_spec.rb
120
+ - spec/collection_spec.rb
121
+ - spec/logger_spec.rb
121
122
  - spec/spec_helper.rb
122
- - spec/helpers_spec.rb
123
123
  - spec/html_grid_spec.rb
124
- - spec/collection_spec.rb
124
+ - spec/helpers_spec.rb
125
+ - spec/column_spec.rb
125
126
  - spec/definition_spec.rb
126
- - spec/logger_spec.rb
127
- - test/test_helper.rb
128
127
  - test/magic_grid_test.rb
129
- - test/dummy/config.ru
130
- - test/dummy/Rakefile
128
+ - test/test_helper.rb
129
+ - test/dummy/public/500.html
131
130
  - test/dummy/public/favicon.ico
132
- - test/dummy/public/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
133
- - test/dummy/public/css/smoothness/images/ui-icons_454545_256x240.png
131
+ - test/dummy/public/css/smoothness/images/ui-icons_cd0a0a_256x240.png
134
132
  - test/dummy/public/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
135
- - test/dummy/public/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
133
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
134
+ - test/dummy/public/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
136
135
  - test/dummy/public/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png
137
- - test/dummy/public/css/smoothness/images/ui-icons_222222_256x240.png
136
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
137
+ - test/dummy/public/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
138
138
  - test/dummy/public/css/smoothness/images/ui-icons_888888_256x240.png
139
- - test/dummy/public/css/smoothness/images/ui-icons_cd0a0a_256x240.png
140
139
  - test/dummy/public/css/smoothness/images/ui-icons_2e83ff_256x240.png
141
- - test/dummy/public/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
142
- - test/dummy/public/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
143
- - test/dummy/public/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
144
- - test/dummy/public/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
140
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
141
+ - test/dummy/public/css/smoothness/images/ui-icons_454545_256x240.png
142
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
143
+ - test/dummy/public/css/smoothness/images/ui-icons_222222_256x240.png
145
144
  - test/dummy/public/css/smoothness/jquery-ui-1.8.18.custom.css
146
- - test/dummy/public/422.html
147
145
  - test/dummy/public/404.html
148
- - test/dummy/public/500.html
146
+ - test/dummy/public/422.html
147
+ - test/dummy/app/models/post.rb
148
+ - test/dummy/app/models/user.rb
149
+ - test/dummy/app/helpers/users_helper.rb
149
150
  - test/dummy/app/helpers/posts_helper.rb
150
151
  - test/dummy/app/helpers/application_helper.rb
151
- - test/dummy/app/helpers/users_helper.rb
152
- - test/dummy/app/controllers/users_controller.rb
153
- - test/dummy/app/controllers/posts_controller.rb
154
- - test/dummy/app/controllers/application_controller.rb
155
- - test/dummy/app/models/user.rb
156
- - test/dummy/app/models/post.rb
157
152
  - test/dummy/app/assets/javascripts/application.js
158
153
  - test/dummy/app/assets/javascripts/users.js
159
154
  - test/dummy/app/assets/javascripts/posts.js
155
+ - test/dummy/app/assets/stylesheets/posts.css
160
156
  - test/dummy/app/assets/stylesheets/users.css
161
157
  - test/dummy/app/assets/stylesheets/scaffold.css
162
- - test/dummy/app/assets/stylesheets/posts.css
163
158
  - test/dummy/app/assets/stylesheets/application.css
164
- - test/dummy/app/views/users/_form.html.erb
159
+ - test/dummy/app/views/layouts/application.html.erb
165
160
  - test/dummy/app/views/users/index.html.erb
166
- - test/dummy/app/views/users/edit.html.erb
167
161
  - test/dummy/app/views/users/show.html.erb
162
+ - test/dummy/app/views/users/_form.html.erb
163
+ - test/dummy/app/views/users/edit.html.erb
168
164
  - test/dummy/app/views/users/new.html.erb
169
- - test/dummy/app/views/layouts/application.html.erb
170
- - test/dummy/app/views/posts/_form.html.erb
165
+ - test/dummy/app/views/posts/by_user.html.erb
171
166
  - test/dummy/app/views/posts/index.html.erb
172
- - test/dummy/app/views/posts/edit.html.erb
173
167
  - test/dummy/app/views/posts/show.html.erb
174
- - test/dummy/app/views/posts/by_user.html.erb
168
+ - test/dummy/app/views/posts/_form.html.erb
169
+ - test/dummy/app/views/posts/edit.html.erb
175
170
  - test/dummy/app/views/posts/new.html.erb
176
- - test/dummy/db/migrate/20111025195229_create_posts.rb
171
+ - test/dummy/app/controllers/users_controller.rb
172
+ - test/dummy/app/controllers/application_controller.rb
173
+ - test/dummy/app/controllers/posts_controller.rb
174
+ - test/dummy/test/unit/helpers/posts_helper_test.rb
175
+ - test/dummy/test/unit/helpers/users_helper_test.rb
176
+ - test/dummy/test/unit/post_test.rb
177
+ - test/dummy/test/unit/user_test.rb
178
+ - test/dummy/test/integration/spider_test.rb
179
+ - test/dummy/test/fixtures/users.yml
180
+ - test/dummy/test/fixtures/posts.yml
181
+ - test/dummy/test/functional/posts_controller_test.rb
182
+ - test/dummy/test/functional/users_controller_test.rb
177
183
  - test/dummy/db/migrate/20111025191809_create_users.rb
184
+ - test/dummy/db/migrate/20111025195229_create_posts.rb
178
185
  - test/dummy/db/schema.rb
186
+ - test/dummy/config.ru
179
187
  - test/dummy/script/rails
180
- - test/dummy/config/initializers/mime_types.rb
181
- - test/dummy/config/initializers/inflections.rb
182
- - test/dummy/config/initializers/wrap_parameters.rb
183
- - test/dummy/config/initializers/secret_token.rb
184
- - test/dummy/config/initializers/backtrace_silencers.rb
185
- - test/dummy/config/initializers/session_store.rb
186
- - test/dummy/config/boot.rb
188
+ - test/dummy/Rakefile
189
+ - test/dummy/config/application.rb
187
190
  - test/dummy/config/database.yml
188
- - test/dummy/config/environments/production.rb
191
+ - test/dummy/config/routes.rb
192
+ - test/dummy/config/boot.rb
189
193
  - test/dummy/config/environments/development.rb
194
+ - test/dummy/config/environments/production.rb
190
195
  - test/dummy/config/environments/test.rb
191
- - test/dummy/config/application.rb
192
- - test/dummy/config/routes.rb
193
- - test/dummy/config/environment.rb
194
196
  - test/dummy/config/locales/en.yml
195
- - test/dummy/test/integration/spider_test.rb
196
- - test/dummy/test/unit/user_test.rb
197
- - test/dummy/test/unit/helpers/posts_helper_test.rb
198
- - test/dummy/test/unit/helpers/users_helper_test.rb
199
- - test/dummy/test/unit/post_test.rb
200
- - test/dummy/test/functional/users_controller_test.rb
201
- - test/dummy/test/functional/posts_controller_test.rb
202
- - test/dummy/test/fixtures/users.yml
203
- - test/dummy/test/fixtures/posts.yml
197
+ - test/dummy/config/initializers/wrap_parameters.rb
198
+ - test/dummy/config/initializers/session_store.rb
199
+ - test/dummy/config/initializers/inflections.rb
200
+ - test/dummy/config/initializers/secret_token.rb
201
+ - test/dummy/config/initializers/backtrace_silencers.rb
202
+ - test/dummy/config/initializers/mime_types.rb
203
+ - test/dummy/config/environment.rb
204
204
  homepage: https://github.com/rmg/magic_grid
205
205
  licenses: []
206
206
  post_install_message:
@@ -215,7 +215,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
215
215
  version: '0'
216
216
  segments:
217
217
  - 0
218
- hash: 2920138496229125563
218
+ hash: -380472518145958618
219
219
  required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  none: false
221
221
  requirements:
@@ -224,96 +224,96 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  version: '0'
225
225
  segments:
226
226
  - 0
227
- hash: 2920138496229125563
227
+ hash: -380472518145958618
228
228
  requirements: []
229
229
  rubyforge_project:
230
- rubygems_version: 1.8.24
230
+ rubygems_version: 1.8.23
231
231
  signing_key:
232
232
  specification_version: 3
233
233
  summary: Easy collection display grid with column sorting and pagination
234
234
  test_files:
235
- - spec/column_spec.rb
235
+ - spec/collection_spec.rb
236
+ - spec/logger_spec.rb
236
237
  - spec/spec_helper.rb
237
- - spec/helpers_spec.rb
238
238
  - spec/html_grid_spec.rb
239
- - spec/collection_spec.rb
239
+ - spec/helpers_spec.rb
240
+ - spec/column_spec.rb
240
241
  - spec/definition_spec.rb
241
- - spec/logger_spec.rb
242
- - test/test_helper.rb
243
242
  - test/magic_grid_test.rb
244
- - test/dummy/config.ru
245
- - test/dummy/Rakefile
243
+ - test/test_helper.rb
244
+ - test/dummy/public/500.html
246
245
  - test/dummy/public/favicon.ico
247
- - test/dummy/public/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
248
- - test/dummy/public/css/smoothness/images/ui-icons_454545_256x240.png
246
+ - test/dummy/public/css/smoothness/images/ui-icons_cd0a0a_256x240.png
249
247
  - test/dummy/public/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
250
- - test/dummy/public/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
248
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
249
+ - test/dummy/public/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
251
250
  - test/dummy/public/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png
252
- - test/dummy/public/css/smoothness/images/ui-icons_222222_256x240.png
251
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
252
+ - test/dummy/public/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
253
253
  - test/dummy/public/css/smoothness/images/ui-icons_888888_256x240.png
254
- - test/dummy/public/css/smoothness/images/ui-icons_cd0a0a_256x240.png
255
254
  - test/dummy/public/css/smoothness/images/ui-icons_2e83ff_256x240.png
256
- - test/dummy/public/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
257
- - test/dummy/public/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
258
- - test/dummy/public/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
259
- - test/dummy/public/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
255
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
256
+ - test/dummy/public/css/smoothness/images/ui-icons_454545_256x240.png
257
+ - test/dummy/public/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
258
+ - test/dummy/public/css/smoothness/images/ui-icons_222222_256x240.png
260
259
  - test/dummy/public/css/smoothness/jquery-ui-1.8.18.custom.css
261
- - test/dummy/public/422.html
262
260
  - test/dummy/public/404.html
263
- - test/dummy/public/500.html
261
+ - test/dummy/public/422.html
262
+ - test/dummy/app/models/post.rb
263
+ - test/dummy/app/models/user.rb
264
+ - test/dummy/app/helpers/users_helper.rb
264
265
  - test/dummy/app/helpers/posts_helper.rb
265
266
  - test/dummy/app/helpers/application_helper.rb
266
- - test/dummy/app/helpers/users_helper.rb
267
- - test/dummy/app/controllers/users_controller.rb
268
- - test/dummy/app/controllers/posts_controller.rb
269
- - test/dummy/app/controllers/application_controller.rb
270
- - test/dummy/app/models/user.rb
271
- - test/dummy/app/models/post.rb
272
267
  - test/dummy/app/assets/javascripts/application.js
273
268
  - test/dummy/app/assets/javascripts/users.js
274
269
  - test/dummy/app/assets/javascripts/posts.js
270
+ - test/dummy/app/assets/stylesheets/posts.css
275
271
  - test/dummy/app/assets/stylesheets/users.css
276
272
  - test/dummy/app/assets/stylesheets/scaffold.css
277
- - test/dummy/app/assets/stylesheets/posts.css
278
273
  - test/dummy/app/assets/stylesheets/application.css
279
- - test/dummy/app/views/users/_form.html.erb
274
+ - test/dummy/app/views/layouts/application.html.erb
280
275
  - test/dummy/app/views/users/index.html.erb
281
- - test/dummy/app/views/users/edit.html.erb
282
276
  - test/dummy/app/views/users/show.html.erb
277
+ - test/dummy/app/views/users/_form.html.erb
278
+ - test/dummy/app/views/users/edit.html.erb
283
279
  - test/dummy/app/views/users/new.html.erb
284
- - test/dummy/app/views/layouts/application.html.erb
285
- - test/dummy/app/views/posts/_form.html.erb
280
+ - test/dummy/app/views/posts/by_user.html.erb
286
281
  - test/dummy/app/views/posts/index.html.erb
287
- - test/dummy/app/views/posts/edit.html.erb
288
282
  - test/dummy/app/views/posts/show.html.erb
289
- - test/dummy/app/views/posts/by_user.html.erb
283
+ - test/dummy/app/views/posts/_form.html.erb
284
+ - test/dummy/app/views/posts/edit.html.erb
290
285
  - test/dummy/app/views/posts/new.html.erb
291
- - test/dummy/db/migrate/20111025195229_create_posts.rb
286
+ - test/dummy/app/controllers/users_controller.rb
287
+ - test/dummy/app/controllers/application_controller.rb
288
+ - test/dummy/app/controllers/posts_controller.rb
289
+ - test/dummy/test/unit/helpers/posts_helper_test.rb
290
+ - test/dummy/test/unit/helpers/users_helper_test.rb
291
+ - test/dummy/test/unit/post_test.rb
292
+ - test/dummy/test/unit/user_test.rb
293
+ - test/dummy/test/integration/spider_test.rb
294
+ - test/dummy/test/fixtures/users.yml
295
+ - test/dummy/test/fixtures/posts.yml
296
+ - test/dummy/test/functional/posts_controller_test.rb
297
+ - test/dummy/test/functional/users_controller_test.rb
292
298
  - test/dummy/db/migrate/20111025191809_create_users.rb
299
+ - test/dummy/db/migrate/20111025195229_create_posts.rb
293
300
  - test/dummy/db/schema.rb
301
+ - test/dummy/config.ru
294
302
  - test/dummy/script/rails
295
- - test/dummy/config/initializers/mime_types.rb
296
- - test/dummy/config/initializers/inflections.rb
297
- - test/dummy/config/initializers/wrap_parameters.rb
298
- - test/dummy/config/initializers/secret_token.rb
299
- - test/dummy/config/initializers/backtrace_silencers.rb
300
- - test/dummy/config/initializers/session_store.rb
301
- - test/dummy/config/boot.rb
303
+ - test/dummy/Rakefile
304
+ - test/dummy/config/application.rb
302
305
  - test/dummy/config/database.yml
303
- - test/dummy/config/environments/production.rb
306
+ - test/dummy/config/routes.rb
307
+ - test/dummy/config/boot.rb
304
308
  - test/dummy/config/environments/development.rb
309
+ - test/dummy/config/environments/production.rb
305
310
  - test/dummy/config/environments/test.rb
306
- - test/dummy/config/application.rb
307
- - test/dummy/config/routes.rb
308
- - test/dummy/config/environment.rb
309
311
  - test/dummy/config/locales/en.yml
310
- - test/dummy/test/integration/spider_test.rb
311
- - test/dummy/test/unit/user_test.rb
312
- - test/dummy/test/unit/helpers/posts_helper_test.rb
313
- - test/dummy/test/unit/helpers/users_helper_test.rb
314
- - test/dummy/test/unit/post_test.rb
315
- - test/dummy/test/functional/users_controller_test.rb
316
- - test/dummy/test/functional/posts_controller_test.rb
317
- - test/dummy/test/fixtures/users.yml
318
- - test/dummy/test/fixtures/posts.yml
312
+ - test/dummy/config/initializers/wrap_parameters.rb
313
+ - test/dummy/config/initializers/session_store.rb
314
+ - test/dummy/config/initializers/inflections.rb
315
+ - test/dummy/config/initializers/secret_token.rb
316
+ - test/dummy/config/initializers/backtrace_silencers.rb
317
+ - test/dummy/config/initializers/mime_types.rb
318
+ - test/dummy/config/environment.rb
319
319
  has_rdoc: yard