edgarj 0.02.00 → 4.00.01

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.rdoc +8 -2
  4. data/Rakefile +3 -9
  5. data/app/views/edgarj/popup/_message_popup.html.erb +1 -0
  6. data/app/views/edgarj/popup/message_popup.js.erb +1 -0
  7. data/lib/edgarj.rb +2 -2
  8. data/lib/edgarj/engine.rb +4 -6
  9. data/lib/edgarj/version.rb +1 -1
  10. data/lib/tasks/edgarj_tasks.rake +4 -32
  11. data/lib/tasks/{pakcage.rake → package.rake} +1 -1
  12. data/test/{functional → controllers}/edgarj/edgarj_controller_test.rb +0 -0
  13. data/test/{functional → controllers}/edgarj/model_permissions_controller_test.rb +0 -0
  14. data/test/{functional → controllers}/edgarj/user_group_users_controller_test.rb +0 -0
  15. data/test/dummy/app/models/user.rb +0 -2
  16. data/test/dummy/config.ru +1 -1
  17. data/test/dummy/config/application.rb +0 -36
  18. data/test/dummy/config/boot.rb +4 -9
  19. data/test/dummy/config/database.yml +8 -8
  20. data/test/dummy/config/environments/development.rb +7 -17
  21. data/test/dummy/config/environments/production.rb +2 -1
  22. data/test/dummy/config/environments/test.rb +7 -2
  23. data/test/dummy/config/initializers/config.rb +3 -0
  24. data/test/dummy/config/initializers/secret_token.rb +1 -1
  25. data/test/dummy/config/settings/development.yml +0 -0
  26. data/test/dummy/config/settings/production.yml +0 -0
  27. data/test/dummy/config/settings/test.yml +0 -0
  28. data/test/dummy/db/schema.rb +34 -34
  29. data/test/dummy/test/{functional → controllers}/authors_controller_test.rb +0 -0
  30. data/test/dummy/test/{functional → controllers}/authors_popup_controller_test.rb +0 -0
  31. data/test/dummy/test/{functional → controllers}/books_controller_test.rb +0 -0
  32. data/test/dummy/test/{unit → models}/author_test.rb +0 -0
  33. data/test/dummy/test/{unit → models}/book_test.rb +0 -0
  34. data/test/dummy/test/{unit → models}/rails_config_test.rb +0 -0
  35. data/test/{edgar_test.rb → edgarj_test.rb} +0 -0
  36. data/test/fixtures/edgarj/model_permissions.yml +14 -14
  37. data/test/fixtures/edgarj/page_infos.yml +3 -3
  38. data/test/{unit → models}/edgarj/model_permission_test.rb +0 -0
  39. data/test/{unit → models}/edgarj/page_info_test.rb +0 -0
  40. data/test/{unit → models}/edgarj/sssn_test.rb +1 -1
  41. data/test/{unit → models}/edgarj/user_group_test.rb +0 -0
  42. data/test/{unit → models}/edgarj/user_group_user_test.rb +0 -0
  43. data/test/{unit → models}/helpers/edgarj/model_permissions_helper_test.rb +0 -0
  44. data/test/{unit → models}/helpers/edgarj/user_group_users_helper_test.rb +0 -0
  45. data/test/test_helper.rb +3 -3
  46. metadata +115 -154
  47. data/app/views/edgarj/popup/_message_popup.html.erb +0 -15
  48. data/app/views/edgarj/popup/message_popup.js.erb +0 -3
  49. data/lib/core_ext/rails_config.rb +0 -10
  50. data/lib/edgarj/templates/rails/helper/helper.rb +0 -10
  51. data/lib/edgarj/templates/test_unit/scaffold/functional_test.rb +0 -575
  52. data/lib/generators/edgarj/popup_scaffold/USAGE +0 -6
  53. data/lib/generators/edgarj/popup_scaffold/popup_scaffold_generator.rb +0 -35
  54. data/lib/generators/edgarj/popup_scaffold/templates/controller.rb +0 -13
  55. data/lib/generators/edgarj/popup_scaffold/templates/functional_test.rb +0 -207
  56. data/lib/generators/edgarj/popup_scaffold/templates/helper.rb +0 -9
  57. data/lib/generators/edgarj/scaffold/USAGE +0 -17
  58. data/lib/generators/edgarj/scaffold/scaffold_generator.rb +0 -40
  59. data/lib/generators/edgarj/scaffold/templates/controller.rb +0 -13
  60. data/test/dummy/config/initializers/strong_parameter.rb +0 -3
  61. data/test/dummy/script/rails +0 -6
File without changes
@@ -3,19 +3,19 @@ f = Edgarj::ModelPermission::FlagsBitset
3
3
  %>
4
4
 
5
5
  product_read_only:
6
- user_group_id: <%= ActiveRecord::Fixtures.identify(:role_product_read_only) %>
6
+ user_group_id: <%= ActiveRecord::FixtureSet.identify(:role_product_read_only) %>
7
7
  name: 'product read only'
8
8
  model: Product
9
9
  flags: <%= f::READ %>
10
10
 
11
11
  customer_read_update:
12
- user_group_id: <%= ActiveRecord::Fixtures.identify(:role_customer_read_update) %>
12
+ user_group_id: <%= ActiveRecord::FixtureSet.identify(:role_customer_read_update) %>
13
13
  name: 'customer read/update'
14
14
  model: Customer
15
15
  flags: <%= f::READ + f::UPDATE %>
16
16
 
17
17
  album_viewer:
18
- user_group_id: <%= ActiveRecord::Fixtures.identify(:role_album_viewer) %>
18
+ user_group_id: <%= ActiveRecord::FixtureSet.identify(:role_album_viewer) %>
19
19
  name: 'album viewr'
20
20
  model: Album::Viewer
21
21
  flags: <%= f::READ %>
@@ -23,19 +23,19 @@ album_viewer:
23
23
  #= Question
24
24
 
25
25
  question_admin:
26
- user_group_id: <%= ActiveRecord::Fixtures.identify(:role_question_admin) %>
26
+ user_group_id: <%= ActiveRecord::FixtureSet.identify(:role_question_admin) %>
27
27
  name: 'question admin'
28
28
  model: Question
29
29
  flags: <%= Edgarj::ModelPermission::FLAGS_ALL %>
30
30
 
31
31
  question_forwarder:
32
- user_group_id: <%= ActiveRecord::Fixtures.identify(:role_question_forwarder) %>
32
+ user_group_id: <%= ActiveRecord::FixtureSet.identify(:role_question_forwarder) %>
33
33
  name: 'question forwarder'
34
34
  model: Question
35
35
  flags: <%= f::READ %>
36
36
 
37
37
  question_user:
38
- user_group_id: <%= ActiveRecord::Fixtures.identify(:role_question_user) %>
38
+ user_group_id: <%= ActiveRecord::FixtureSet.identify(:role_question_user) %>
39
39
  name: 'question user'
40
40
  model: Question
41
41
  flags: <%= f::READ %>
@@ -43,19 +43,19 @@ question_user:
43
43
  #= Book
44
44
 
45
45
  book_admin:
46
- user_group_id: <%= ActiveRecord::Fixtures.identify(:role_book_admin) %>
46
+ user_group_id: <%= ActiveRecord::FixtureSet.identify(:role_book_admin) %>
47
47
  name: 'book admin'
48
48
  model: Book
49
49
  flags: <%= Edgarj::ModelPermission::FLAGS_ALL %>
50
50
 
51
51
  book_admin_author_popup:
52
- user_group_id: <%= ActiveRecord::Fixtures.identify(:role_book_admin) %>
52
+ user_group_id: <%= ActiveRecord::FixtureSet.identify(:role_book_admin) %>
53
53
  name: 'author popup for book admin'
54
54
  model: Author
55
55
  flags: <%= f::READ %>
56
56
 
57
57
  book_reader:
58
- user_group_id: <%= ActiveRecord::Fixtures.identify(:role_book_reader) %>
58
+ user_group_id: <%= ActiveRecord::FixtureSet.identify(:role_book_reader) %>
59
59
  name: 'book reader'
60
60
  model: Book
61
61
  flags: <%= f::READ %>
@@ -63,13 +63,13 @@ book_reader:
63
63
  # book_reader does *NOT* have author-popup read permission.
64
64
 
65
65
  book_updater:
66
- user_group_id: <%= ActiveRecord::Fixtures.identify(:role_book_updater) %>
66
+ user_group_id: <%= ActiveRecord::FixtureSet.identify(:role_book_updater) %>
67
67
  name: 'book updater'
68
68
  model: Book
69
69
  flags: <%= f::READ + f::UPDATE %>
70
70
 
71
71
  book_updater_author_popup:
72
- user_group_id: <%= ActiveRecord::Fixtures.identify(:role_book_updater) %>
72
+ user_group_id: <%= ActiveRecord::FixtureSet.identify(:role_book_updater) %>
73
73
  name: 'author popup for book updater'
74
74
  model: Author
75
75
  flags: <%= f::READ %>
@@ -77,13 +77,13 @@ book_updater_author_popup:
77
77
  #= Author
78
78
 
79
79
  author_admin:
80
- user_group_id: <%= ActiveRecord::Fixtures.identify(:role_author_admin) %>
80
+ user_group_id: <%= ActiveRecord::FixtureSet.identify(:role_author_admin) %>
81
81
  name: 'author admin'
82
82
  model: Author
83
83
  flags: <%= Edgarj::ModelPermission::FLAGS_ALL %>
84
84
 
85
85
  author_reader:
86
- user_group_id: <%= ActiveRecord::Fixtures.identify(:role_author_reader) %>
86
+ user_group_id: <%= ActiveRecord::FixtureSet.identify(:role_author_reader) %>
87
87
  name: 'author reader'
88
88
  model: Author
89
89
  flags: <%= f::READ %>
@@ -91,7 +91,7 @@ author_reader:
91
91
  #= Author-assignee
92
92
 
93
93
  author_assignee_author_page:
94
- user_group_id: <%= ActiveRecord::Fixtures.identify(:role_author_assignee_author_page) %>
94
+ user_group_id: <%= ActiveRecord::FixtureSet.identify(:role_author_assignee_author_page) %>
95
95
  name: 'author assignee'
96
96
  model: Author
97
97
  flags: <%= f::CREATE + f::READ + f::UPDATE + f::DELETE %>
@@ -24,7 +24,7 @@ root_authors:
24
24
  record_data: '<%= Base64.encode64(Marshal.dump(Edgarj::SearchForm.new(Author))) %>'
25
25
 
26
26
  book_reader_authors:
27
- sssn_id: <%= ActiveRecord::Fixtures.identify(:book_reader) %>
27
+ sssn_id: <%= ActiveRecord::FixtureSet.identify(:book_reader) %>
28
28
  view: authors
29
29
  lines: 2
30
30
  order_by: id
@@ -34,7 +34,7 @@ book_reader_authors:
34
34
  updated_at: 2012-07-17 00:00:00
35
35
 
36
36
  author_reader_authors:
37
- sssn_id: <%= ActiveRecord::Fixtures.identify(:author_reader) %>
37
+ sssn_id: <%= ActiveRecord::FixtureSet.identify(:author_reader) %>
38
38
  view: authors
39
39
  lines: 2
40
40
  order_by: updated_at
@@ -44,7 +44,7 @@ author_reader_authors:
44
44
  updated_at: 2012-07-17 00:00:00
45
45
 
46
46
  comic_rep_01_authors:
47
- sssn_id: <%= ActiveRecord::Fixtures.identify(:comic_rep_01) %>
47
+ sssn_id: <%= ActiveRecord::FixtureSet.identify(:comic_rep_01) %>
48
48
  view: authors
49
49
  lines: 2
50
50
  order_by: updated_at
@@ -3,7 +3,7 @@ require 'test_helper'
3
3
  module Edgarj
4
4
  class Edgarj::SssnTest < ActiveSupport::TestCase
5
5
  test 'belongs_to :user' do
6
- pending 'now'
6
+ skip 'now'
7
7
  assert_equal edgarj_users(:root), edgarj_sssns(:root).user
8
8
  end
9
9
  end
@@ -3,7 +3,6 @@ ENV["RAILS_ENV"] = "test"
3
3
 
4
4
  require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
5
  require "rails/test_help"
6
- require 'shoulda-context'
7
6
 
8
7
  Rails.backtrace_cleaner.remove_silencers!
9
8
 
@@ -11,8 +10,9 @@ Rails.backtrace_cleaner.remove_silencers!
11
10
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
12
11
 
13
12
  # Load fixtures from the engine
14
- # https://github.com/rails/rails/issues/4971#issuecomment-20129088
15
- ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
13
+ #if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
+ #end
16
16
 
17
17
  class ActiveSupport::TestCase
18
18
  fixtures :all
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edgarj
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.02.00
4
+ version: 4.00.01
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fuminori Ido
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-10 00:00:00.000000000 Z
11
+ date: 2016-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '3.2'
20
- - - '>='
21
- - !ruby/object:Gem::Version
22
- version: 3.2.19
19
+ version: 4.0.13
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
- version: '3.2'
30
- - - '>='
31
- - !ruby/object:Gem::Version
32
- version: 3.2.19
26
+ version: 4.0.13
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: jquery-rails
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -71,115 +65,89 @@ dependencies:
71
65
  - !ruby/object:Gem::Version
72
66
  version: 5.0.0
73
67
  - !ruby/object:Gem::Dependency
74
- name: rails_config
68
+ name: config
75
69
  requirement: !ruby/object:Gem::Requirement
76
70
  requirements:
77
71
  - - ~>
78
72
  - !ruby/object:Gem::Version
79
- version: '0'
80
- type: :runtime
81
- prerelease: false
82
- version_requirements: !ruby/object:Gem::Requirement
83
- requirements:
84
- - - ~>
85
- - !ruby/object:Gem::Version
86
- version: '0'
87
- - !ruby/object:Gem::Dependency
88
- name: bcrypt-ruby
89
- requirement: !ruby/object:Gem::Requirement
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- version: '3.0'
94
- - - '>='
95
- - !ruby/object:Gem::Version
96
- version: 3.0.1
73
+ version: 1.0.0
97
74
  type: :runtime
98
75
  prerelease: false
99
76
  version_requirements: !ruby/object:Gem::Requirement
100
77
  requirements:
101
78
  - - ~>
102
79
  - !ruby/object:Gem::Version
103
- version: '3.0'
104
- - - '>='
105
- - !ruby/object:Gem::Version
106
- version: 3.0.1
80
+ version: 1.0.0
107
81
  - !ruby/object:Gem::Dependency
108
- name: strong_parameters
82
+ name: kaminari
109
83
  requirement: !ruby/object:Gem::Requirement
110
84
  requirements:
111
85
  - - ~>
112
86
  - !ruby/object:Gem::Version
113
- version: '0.2'
114
- - - '>='
115
- - !ruby/object:Gem::Version
116
- version: 0.2.3
87
+ version: '0.15'
117
88
  type: :runtime
118
89
  prerelease: false
119
90
  version_requirements: !ruby/object:Gem::Requirement
120
91
  requirements:
121
92
  - - ~>
122
93
  - !ruby/object:Gem::Version
123
- version: '0.2'
124
- - - '>='
125
- - !ruby/object:Gem::Version
126
- version: 0.2.3
94
+ version: '0.15'
127
95
  - !ruby/object:Gem::Dependency
128
- name: kaminari
96
+ name: remotipart
129
97
  requirement: !ruby/object:Gem::Requirement
130
98
  requirements:
131
99
  - - ~>
132
100
  - !ruby/object:Gem::Version
133
- version: '0.15'
101
+ version: '1.2'
134
102
  type: :runtime
135
103
  prerelease: false
136
104
  version_requirements: !ruby/object:Gem::Requirement
137
105
  requirements:
138
106
  - - ~>
139
107
  - !ruby/object:Gem::Version
140
- version: '0.15'
108
+ version: '1.2'
141
109
  - !ruby/object:Gem::Dependency
142
- name: remotipart
110
+ name: awesome_nested_set
143
111
  requirement: !ruby/object:Gem::Requirement
144
112
  requirements:
145
113
  - - ~>
146
114
  - !ruby/object:Gem::Version
147
- version: '1.2'
115
+ version: '3'
148
116
  type: :runtime
149
117
  prerelease: false
150
118
  version_requirements: !ruby/object:Gem::Requirement
151
119
  requirements:
152
120
  - - ~>
153
121
  - !ruby/object:Gem::Version
154
- version: '1.2'
122
+ version: '3'
155
123
  - !ruby/object:Gem::Dependency
156
- name: awesome_nested_set
124
+ name: activerecord-session_store
157
125
  requirement: !ruby/object:Gem::Requirement
158
126
  requirements:
159
127
  - - ~>
160
128
  - !ruby/object:Gem::Version
161
- version: '2'
129
+ version: '0.1'
162
130
  type: :runtime
163
131
  prerelease: false
164
132
  version_requirements: !ruby/object:Gem::Requirement
165
133
  requirements:
166
134
  - - ~>
167
135
  - !ruby/object:Gem::Version
168
- version: '2'
136
+ version: '0.1'
169
137
  - !ruby/object:Gem::Dependency
170
138
  name: mysql2
171
139
  requirement: !ruby/object:Gem::Requirement
172
140
  requirements:
173
141
  - - ~>
174
142
  - !ruby/object:Gem::Version
175
- version: '0'
143
+ version: 0.3.20
176
144
  type: :development
177
145
  prerelease: false
178
146
  version_requirements: !ruby/object:Gem::Requirement
179
147
  requirements:
180
148
  - - ~>
181
149
  - !ruby/object:Gem::Version
182
- version: '0'
150
+ version: 0.3.20
183
151
  description: |
184
152
  Edgarj is an Ajax-based scaffold with QBE(Query By Example) search form,
185
153
  column sort on record list,
@@ -187,7 +155,7 @@ description: |
187
155
  csv download, and
188
156
  user-role based access control.
189
157
  email:
190
- - ido00 at sourceforge.net
158
+ - fuminori_ido@yahoo.co.jp
191
159
  executables: []
192
160
  extensions: []
193
161
  extra_rdoc_files: []
@@ -275,26 +243,18 @@ files:
275
243
  - db/migrate/20140206222308_create_edgar_model_permissions.rb
276
244
  - db/migrate/20141209053055_rename_edgar_to_edgarj.rb
277
245
  - lib/core_ext/active_record.rb
278
- - lib/core_ext/rails_config.rb
279
246
  - lib/core_ext/resources.rb
280
247
  - lib/edgarj.rb
281
248
  - lib/edgarj/engine.rb
282
249
  - lib/edgarj/enum_cache.rb
283
- - lib/edgarj/templates/rails/helper/helper.rb
284
- - lib/edgarj/templates/test_unit/scaffold/functional_test.rb
285
250
  - lib/edgarj/version.rb
286
- - lib/generators/edgarj/popup_scaffold/USAGE
287
- - lib/generators/edgarj/popup_scaffold/popup_scaffold_generator.rb
288
- - lib/generators/edgarj/popup_scaffold/templates/controller.rb
289
- - lib/generators/edgarj/popup_scaffold/templates/functional_test.rb
290
- - lib/generators/edgarj/popup_scaffold/templates/helper.rb
291
- - lib/generators/edgarj/scaffold/USAGE
292
- - lib/generators/edgarj/scaffold/scaffold_generator.rb
293
- - lib/generators/edgarj/scaffold/templates/controller.rb
294
251
  - lib/tasks/edgarj_tasks.rake
295
- - lib/tasks/pakcage.rake
252
+ - lib/tasks/package.rake
296
253
  - locale/en.yml
297
254
  - locale/ja.yml
255
+ - test/controllers/edgarj/edgarj_controller_test.rb
256
+ - test/controllers/edgarj/model_permissions_controller_test.rb
257
+ - test/controllers/edgarj/user_group_users_controller_test.rb
298
258
  - test/dummy/README.rdoc
299
259
  - test/dummy/Rakefile
300
260
  - test/dummy/app/assets/javascripts/application.js
@@ -330,17 +290,20 @@ files:
330
290
  - test/dummy/config/environments/production.rb
331
291
  - test/dummy/config/environments/test.rb
332
292
  - test/dummy/config/initializers/backtrace_silencers.rb
293
+ - test/dummy/config/initializers/config.rb
333
294
  - test/dummy/config/initializers/filter_parameter_logging.rb
334
295
  - test/dummy/config/initializers/inflections.rb
335
296
  - test/dummy/config/initializers/mime_types.rb
336
297
  - test/dummy/config/initializers/secret_token.rb
337
298
  - test/dummy/config/initializers/session_store.rb
338
- - test/dummy/config/initializers/strong_parameter.rb
339
299
  - test/dummy/config/initializers/wrap_parameters.rb
340
300
  - test/dummy/config/locales/en.yml
341
301
  - test/dummy/config/locales/ja.yml
342
302
  - test/dummy/config/routes.rb
343
303
  - test/dummy/config/settings.yml
304
+ - test/dummy/config/settings/development.yml
305
+ - test/dummy/config/settings/production.yml
306
+ - test/dummy/config/settings/test.yml
344
307
  - test/dummy/db/migrate/20131107120635_create_authors.rb
345
308
  - test/dummy/db/migrate/20131218011851_create_books.rb
346
309
  - test/dummy/db/migrate/20140201000000_add_user_group_id_to_authors.rb
@@ -350,15 +313,14 @@ files:
350
313
  - test/dummy/public/422.html
351
314
  - test/dummy/public/500.html
352
315
  - test/dummy/public/favicon.ico
353
- - test/dummy/script/rails
354
- - test/dummy/test/functional/authors_controller_test.rb
355
- - test/dummy/test/functional/authors_popup_controller_test.rb
356
- - test/dummy/test/functional/books_controller_test.rb
316
+ - test/dummy/test/controllers/authors_controller_test.rb
317
+ - test/dummy/test/controllers/authors_popup_controller_test.rb
318
+ - test/dummy/test/controllers/books_controller_test.rb
357
319
  - test/dummy/test/helpers/authors_helper_test.rb
358
- - test/dummy/test/unit/author_test.rb
359
- - test/dummy/test/unit/book_test.rb
360
- - test/dummy/test/unit/rails_config_test.rb
361
- - test/edgar_test.rb
320
+ - test/dummy/test/models/author_test.rb
321
+ - test/dummy/test/models/book_test.rb
322
+ - test/dummy/test/models/rails_config_test.rb
323
+ - test/edgarj_test.rb
362
324
  - test/fixtures/authors.yml
363
325
  - test/fixtures/books.yml
364
326
  - test/fixtures/edgarj/model_permissions.yml
@@ -367,19 +329,16 @@ files:
367
329
  - test/fixtures/edgarj/user_group_users.yml
368
330
  - test/fixtures/edgarj/user_groups.yml
369
331
  - test/fixtures/users.yml
370
- - test/functional/edgarj/edgarj_controller_test.rb
371
- - test/functional/edgarj/model_permissions_controller_test.rb
372
- - test/functional/edgarj/user_group_users_controller_test.rb
373
332
  - test/integration/navigation_test.rb
333
+ - test/models/edgarj/model_permission_test.rb
334
+ - test/models/edgarj/page_info_test.rb
335
+ - test/models/edgarj/sssn_test.rb
336
+ - test/models/edgarj/user_group_test.rb
337
+ - test/models/edgarj/user_group_user_test.rb
338
+ - test/models/helpers/edgarj/model_permissions_helper_test.rb
339
+ - test/models/helpers/edgarj/user_group_users_helper_test.rb
374
340
  - test/support/edgarj/controller_supporter.rb
375
341
  - test/test_helper.rb
376
- - test/unit/edgarj/model_permission_test.rb
377
- - test/unit/edgarj/page_info_test.rb
378
- - test/unit/edgarj/sssn_test.rb
379
- - test/unit/edgarj/user_group_test.rb
380
- - test/unit/edgarj/user_group_user_test.rb
381
- - test/unit/helpers/edgarj/model_permissions_helper_test.rb
382
- - test/unit/helpers/edgarj/user_group_users_helper_test.rb
383
342
  homepage: https://sourceforge.net/projects/jjedgar/
384
343
  licenses:
385
344
  - MIT
@@ -400,94 +359,96 @@ required_rubygems_version: !ruby/object:Gem::Requirement
400
359
  version: '0'
401
360
  requirements: []
402
361
  rubyforge_project:
403
- rubygems_version: 2.2.2
362
+ rubygems_version: 2.5.1
404
363
  signing_key:
405
364
  specification_version: 4
406
365
  summary: Scaffold with Ajax, search, sort, 'belongs_to' popup, and more.
407
366
  test_files:
408
- - test/integration/navigation_test.rb
409
- - test/unit/helpers/edgarj/model_permissions_helper_test.rb
410
- - test/unit/helpers/edgarj/user_group_users_helper_test.rb
411
- - test/unit/edgarj/user_group_user_test.rb
412
- - test/unit/edgarj/sssn_test.rb
413
- - test/unit/edgarj/user_group_test.rb
414
- - test/unit/edgarj/page_info_test.rb
415
- - test/unit/edgarj/model_permission_test.rb
416
- - test/support/edgarj/controller_supporter.rb
417
- - test/test_helper.rb
418
- - test/dummy/test/helpers/authors_helper_test.rb
419
- - test/dummy/test/unit/book_test.rb
420
- - test/dummy/test/unit/author_test.rb
421
- - test/dummy/test/unit/rails_config_test.rb
422
- - test/dummy/test/functional/authors_controller_test.rb
423
- - test/dummy/test/functional/books_controller_test.rb
424
- - test/dummy/test/functional/authors_popup_controller_test.rb
425
- - test/dummy/README.rdoc
426
367
  - test/dummy/config.ru
427
- - test/dummy/bin/bundle
428
- - test/dummy/bin/rake
429
- - test/dummy/bin/rails
430
- - test/dummy/db/schema.rb
431
- - test/dummy/db/migrate/20131218011851_create_books.rb
432
- - test/dummy/db/migrate/20140807065420_create_users.rb
433
- - test/dummy/db/migrate/20140201000000_add_user_group_id_to_authors.rb
434
- - test/dummy/db/migrate/20131107120635_create_authors.rb
368
+ - test/dummy/test/controllers/books_controller_test.rb
369
+ - test/dummy/test/controllers/authors_controller_test.rb
370
+ - test/dummy/test/controllers/authors_popup_controller_test.rb
371
+ - test/dummy/test/helpers/authors_helper_test.rb
372
+ - test/dummy/test/models/author_test.rb
373
+ - test/dummy/test/models/rails_config_test.rb
374
+ - test/dummy/test/models/book_test.rb
375
+ - test/dummy/app/assets/javascripts/application.js
376
+ - test/dummy/app/assets/javascripts/authors.js
377
+ - test/dummy/app/assets/stylesheets/authors.css
378
+ - test/dummy/app/assets/stylesheets/scaffold.css
379
+ - test/dummy/app/assets/stylesheets/application.css
380
+ - test/dummy/app/decorators/models/edgarj/user_group_decorator.rb
381
+ - test/dummy/app/controllers/authors_popup_controller.rb
382
+ - test/dummy/app/controllers/dummy_auth_mixin.rb
383
+ - test/dummy/app/controllers/application_controller.rb
384
+ - test/dummy/app/controllers/books_controller.rb
385
+ - test/dummy/app/controllers/authors_controller.rb
386
+ - test/dummy/app/helpers/authors_popup_helper.rb
387
+ - test/dummy/app/helpers/authors_helper.rb
388
+ - test/dummy/app/helpers/books_helper.rb
389
+ - test/dummy/app/helpers/application_helper.rb
390
+ - test/dummy/app/models/author.rb
391
+ - test/dummy/app/models/user.rb
392
+ - test/dummy/app/models/book.rb
393
+ - test/dummy/app/views/layouts/application.html.erb
394
+ - test/dummy/app/views/layouts/login.html.erb
435
395
  - test/dummy/Rakefile
436
- - test/dummy/config/routes.rb
437
- - test/dummy/config/boot.rb
438
- - test/dummy/config/environment.rb
439
396
  - test/dummy/config/database.yml
440
397
  - test/dummy/config/settings.yml
441
- - test/dummy/config/environments/test.rb
442
- - test/dummy/config/environments/production.rb
443
- - test/dummy/config/environments/development.rb
398
+ - test/dummy/config/boot.rb
399
+ - test/dummy/config/environment.rb
400
+ - test/dummy/config/settings/production.yml
401
+ - test/dummy/config/settings/development.yml
402
+ - test/dummy/config/settings/test.yml
403
+ - test/dummy/config/routes.rb
444
404
  - test/dummy/config/application.rb
445
- - test/dummy/config/edgarj/menu_config.rb
446
405
  - test/dummy/config/locales/en.yml
447
406
  - test/dummy/config/locales/ja.yml
448
- - test/dummy/config/initializers/strong_parameter.rb
449
- - test/dummy/config/initializers/inflections.rb
407
+ - test/dummy/config/initializers/backtrace_silencers.rb
408
+ - test/dummy/config/initializers/filter_parameter_logging.rb
450
409
  - test/dummy/config/initializers/wrap_parameters.rb
451
- - test/dummy/config/initializers/session_store.rb
452
410
  - test/dummy/config/initializers/secret_token.rb
453
- - test/dummy/config/initializers/filter_parameter_logging.rb
454
411
  - test/dummy/config/initializers/mime_types.rb
455
- - test/dummy/config/initializers/backtrace_silencers.rb
456
- - test/dummy/script/rails
457
- - test/dummy/public/favicon.ico
412
+ - test/dummy/config/initializers/session_store.rb
413
+ - test/dummy/config/initializers/inflections.rb
414
+ - test/dummy/config/initializers/config.rb
415
+ - test/dummy/config/edgarj/menu_config.rb
416
+ - test/dummy/config/environments/production.rb
417
+ - test/dummy/config/environments/development.rb
418
+ - test/dummy/config/environments/test.rb
458
419
  - test/dummy/public/404.html
459
- - test/dummy/public/422.html
420
+ - test/dummy/public/favicon.ico
460
421
  - test/dummy/public/500.html
461
- - test/dummy/app/views/layouts/login.html.erb
462
- - test/dummy/app/views/layouts/application.html.erb
463
- - test/dummy/app/decorators/models/edgarj/user_group_decorator.rb
464
- - test/dummy/app/helpers/authors_helper.rb
465
- - test/dummy/app/helpers/books_helper.rb
466
- - test/dummy/app/helpers/application_helper.rb
467
- - test/dummy/app/helpers/authors_popup_helper.rb
468
- - test/dummy/app/models/book.rb
469
- - test/dummy/app/models/author.rb
470
- - test/dummy/app/models/user.rb
471
- - test/dummy/app/assets/javascripts/authors.js
472
- - test/dummy/app/assets/javascripts/application.js
473
- - test/dummy/app/assets/stylesheets/scaffold.css
474
- - test/dummy/app/assets/stylesheets/authors.css
475
- - test/dummy/app/assets/stylesheets/application.css
476
- - test/dummy/app/controllers/authors_controller.rb
477
- - test/dummy/app/controllers/books_controller.rb
478
- - test/dummy/app/controllers/dummy_auth_mixin.rb
479
- - test/dummy/app/controllers/application_controller.rb
480
- - test/dummy/app/controllers/authors_popup_controller.rb
481
- - test/edgar_test.rb
422
+ - test/dummy/public/422.html
423
+ - test/dummy/README.rdoc
424
+ - test/dummy/bin/bundle
425
+ - test/dummy/bin/rake
426
+ - test/dummy/bin/rails
427
+ - test/dummy/db/schema.rb
428
+ - test/dummy/db/migrate/20140807065420_create_users.rb
429
+ - test/dummy/db/migrate/20131218011851_create_books.rb
430
+ - test/dummy/db/migrate/20131107120635_create_authors.rb
431
+ - test/dummy/db/migrate/20140201000000_add_user_group_id_to_authors.rb
432
+ - test/test_helper.rb
433
+ - test/integration/navigation_test.rb
434
+ - test/controllers/edgarj/user_group_users_controller_test.rb
435
+ - test/controllers/edgarj/edgarj_controller_test.rb
436
+ - test/controllers/edgarj/model_permissions_controller_test.rb
482
437
  - test/fixtures/authors.yml
438
+ - test/fixtures/books.yml
483
439
  - test/fixtures/users.yml
484
- - test/fixtures/edgarj/page_infos.yml
485
440
  - test/fixtures/edgarj/user_group_users.yml
486
441
  - test/fixtures/edgarj/user_groups.yml
487
- - test/fixtures/edgarj/model_permissions.yml
442
+ - test/fixtures/edgarj/page_infos.yml
488
443
  - test/fixtures/edgarj/sssns.yml
489
- - test/fixtures/books.yml
490
- - test/functional/edgarj/user_group_users_controller_test.rb
491
- - test/functional/edgarj/edgarj_controller_test.rb
492
- - test/functional/edgarj/model_permissions_controller_test.rb
444
+ - test/fixtures/edgarj/model_permissions.yml
445
+ - test/edgarj_test.rb
446
+ - test/support/edgarj/controller_supporter.rb
447
+ - test/models/helpers/edgarj/model_permissions_helper_test.rb
448
+ - test/models/helpers/edgarj/user_group_users_helper_test.rb
449
+ - test/models/edgarj/user_group_test.rb
450
+ - test/models/edgarj/sssn_test.rb
451
+ - test/models/edgarj/model_permission_test.rb
452
+ - test/models/edgarj/page_info_test.rb
453
+ - test/models/edgarj/user_group_user_test.rb
493
454
  has_rdoc: