edgarj 0.01.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +23 -0
  4. data/Rakefile +40 -0
  5. data/app/assets/javascripts/edgarj/base.js +49 -0
  6. data/app/assets/javascripts/edgarj/menu.js +39 -0
  7. data/app/assets/javascripts/edgarj/operator_selection.js +133 -0
  8. data/app/assets/stylesheets/edgarj/base.css +304 -0
  9. data/app/assets/stylesheets/edgarj/menu.css +65 -0
  10. data/app/controllers/edgarj/authentication_mixin.rb.sample +30 -0
  11. data/app/controllers/edgarj/controller_mixin_common.rb +80 -0
  12. data/app/controllers/edgarj/controller_mixin_for_app.rb +71 -0
  13. data/app/controllers/edgarj/edgarj_controller.rb +535 -0
  14. data/app/controllers/edgarj/model_permissions_controller.rb +8 -0
  15. data/app/controllers/edgarj/permission_mixin.rb +84 -0
  16. data/app/controllers/edgarj/popup_controller.rb +128 -0
  17. data/app/controllers/edgarj/rescue_mixin.rb +37 -0
  18. data/app/controllers/edgarj/user_group_users_controller.rb +8 -0
  19. data/app/controllers/edgarj/user_groups_controller.rb +9 -0
  20. data/app/controllers/edgarj/user_groups_popup_controller.rb +8 -0
  21. data/app/helpers/edgarj/assoc_helper.rb +369 -0
  22. data/app/helpers/edgarj/common_helper.rb +37 -0
  23. data/app/helpers/edgarj/edgarj_helper.rb +20 -0
  24. data/app/helpers/edgarj/field_helper.rb +397 -0
  25. data/app/helpers/edgarj/form_drawer.rb +322 -0
  26. data/app/helpers/edgarj/list_drawer.rb +169 -0
  27. data/app/helpers/edgarj/menu_helper.rb +92 -0
  28. data/app/helpers/edgarj/model_permissions_helper.rb +9 -0
  29. data/app/helpers/edgarj/popup_helper.rb +40 -0
  30. data/app/helpers/edgarj/search_helper.rb +14 -0
  31. data/app/helpers/edgarj/sessions_helper.rb +9 -0
  32. data/app/helpers/edgarj/user_group_users_helper.rb +9 -0
  33. data/app/helpers/edgarj/user_groups_helper.rb +9 -0
  34. data/app/helpers/edgarj/user_groups_popup_helper.rb +9 -0
  35. data/app/models/edgarj/drawer/base.rb +234 -0
  36. data/app/models/edgarj/drawer/normal.rb +6 -0
  37. data/app/models/edgarj/drawer/popup.rb +47 -0
  38. data/app/models/edgarj/drawer.rb +13 -0
  39. data/app/models/edgarj/model_permission.rb +41 -0
  40. data/app/models/edgarj/page_info.rb +47 -0
  41. data/app/models/edgarj/search.rb +81 -0
  42. data/app/models/edgarj/search_form.rb +255 -0
  43. data/app/models/edgarj/search_popup.rb +44 -0
  44. data/app/models/edgarj/sssn.rb +120 -0
  45. data/app/models/edgarj/user_group.rb +67 -0
  46. data/app/models/edgarj/user_group_user.rb +18 -0
  47. data/app/models/edgarj.rb +5 -0
  48. data/app/views/edgarj/edgarj/_form.html.erb +25 -0
  49. data/app/views/edgarj/edgarj/_list.html.erb +52 -0
  50. data/app/views/edgarj/edgarj/_message_popup.html.erb +15 -0
  51. data/app/views/edgarj/edgarj/_search_form.html.erb +64 -0
  52. data/app/views/edgarj/edgarj/_search_operator.html.erb +17 -0
  53. data/app/views/edgarj/edgarj/_search_operator_selection.html.erb +12 -0
  54. data/app/views/edgarj/edgarj/clear.js.erb +1 -0
  55. data/app/views/edgarj/edgarj/create.js.erb +4 -0
  56. data/app/views/edgarj/edgarj/destroy.js.erb +2 -0
  57. data/app/views/edgarj/edgarj/index.html.erb +37 -0
  58. data/app/views/edgarj/edgarj/index.js.erb +1 -0
  59. data/app/views/edgarj/edgarj/message_popup.js.erb +3 -0
  60. data/app/views/edgarj/edgarj/page_info_save.js.erb +1 -0
  61. data/app/views/edgarj/edgarj/search.js.erb +4 -0
  62. data/app/views/edgarj/edgarj/search_clear.js.erb +1 -0
  63. data/app/views/edgarj/edgarj/show.js.erb +1 -0
  64. data/app/views/edgarj/edgarj/top.html.erb +4 -0
  65. data/app/views/edgarj/edgarj/update.js.erb +4 -0
  66. data/app/views/edgarj/popup/_index.html.erb +16 -0
  67. data/app/views/edgarj/popup/_list.html.erb +42 -0
  68. data/app/views/edgarj/popup/_message_popup.html.erb +15 -0
  69. data/app/views/edgarj/popup/_search.html.erb +42 -0
  70. data/app/views/edgarj/popup/_search_save_popup.html.erb +16 -0
  71. data/app/views/edgarj/popup/index.js.erb +5 -0
  72. data/app/views/edgarj/popup/message_popup.js.erb +3 -0
  73. data/app/views/edgarj/popup/page_info_save.js.erb +1 -0
  74. data/app/views/edgarj/popup/search.js.erb +15 -0
  75. data/app/views/edgarj/popup/view_status_save.js.erb +1 -0
  76. data/config/routes.rb +15 -0
  77. data/config/settings.yml +5 -0
  78. data/db/migrate/20131118084600_create_edgar_sssns.rb +14 -0
  79. data/db/migrate/20131123124730_create_edgar_page_infos.rb +15 -0
  80. data/db/migrate/20140116062252_create_edgar_user_groups.rb +18 -0
  81. data/db/migrate/20140116062327_create_edgar_user_group_users.rb +10 -0
  82. data/db/migrate/20140206222308_create_edgar_model_permissions.rb +14 -0
  83. data/db/migrate/20141209053055_rename_edgar_to_edgarj.rb +17 -0
  84. data/lib/core_ext/active_record.rb +123 -0
  85. data/lib/core_ext/resources.rb +71 -0
  86. data/lib/edgarj/engine.rb +64 -0
  87. data/lib/edgarj/enum_cache.rb +46 -0
  88. data/lib/edgarj/templates/rails/helper/helper.rb +10 -0
  89. data/lib/edgarj/templates/test_unit/scaffold/functional_test.rb +575 -0
  90. data/lib/edgarj/version.rb +3 -0
  91. data/lib/edgarj.rb +14 -0
  92. data/lib/generators/edgarj/popup_scaffold/USAGE +6 -0
  93. data/lib/generators/edgarj/popup_scaffold/popup_scaffold_generator.rb +35 -0
  94. data/lib/generators/edgarj/popup_scaffold/templates/controller.rb +13 -0
  95. data/lib/generators/edgarj/popup_scaffold/templates/functional_test.rb +197 -0
  96. data/lib/generators/edgarj/popup_scaffold/templates/helper.rb +9 -0
  97. data/lib/generators/edgarj/scaffold/USAGE +17 -0
  98. data/lib/generators/edgarj/scaffold/scaffold_generator.rb +40 -0
  99. data/lib/generators/edgarj/scaffold/templates/controller.rb +13 -0
  100. data/lib/tasks/edgarj_tasks.rake +32 -0
  101. data/lib/tasks/pakcage.rake +18 -0
  102. data/locale/en.yml +94 -0
  103. data/locale/ja.yml +100 -0
  104. data/test/dummy/README.rdoc +28 -0
  105. data/test/dummy/Rakefile +6 -0
  106. data/test/dummy/app/assets/javascripts/application.js +21 -0
  107. data/test/dummy/app/assets/javascripts/authors.js +2 -0
  108. data/test/dummy/app/assets/stylesheets/application.css +16 -0
  109. data/test/dummy/app/assets/stylesheets/authors.css +4 -0
  110. data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
  111. data/test/dummy/app/controllers/application_controller.rb +15 -0
  112. data/test/dummy/app/controllers/authors_controller.rb +6 -0
  113. data/test/dummy/app/controllers/authors_popup_controller.rb +6 -0
  114. data/test/dummy/app/controllers/books_controller.rb +6 -0
  115. data/test/dummy/app/controllers/dummy_auth_mixin.rb +36 -0
  116. data/test/dummy/app/decorators/models/edgarj/user_group_decorator.rb +1 -0
  117. data/test/dummy/app/helpers/application_helper.rb +3 -0
  118. data/test/dummy/app/helpers/authors_helper.rb +7 -0
  119. data/test/dummy/app/helpers/authors_popup_helper.rb +7 -0
  120. data/test/dummy/app/helpers/books_helper.rb +7 -0
  121. data/test/dummy/app/models/author.rb +32 -0
  122. data/test/dummy/app/models/book.rb +5 -0
  123. data/test/dummy/app/models/user.rb +13 -0
  124. data/test/dummy/app/views/layouts/application.html.erb +32 -0
  125. data/test/dummy/app/views/layouts/login.html.erb +20 -0
  126. data/test/dummy/bin/bundle +3 -0
  127. data/test/dummy/bin/rails +4 -0
  128. data/test/dummy/bin/rake +4 -0
  129. data/test/dummy/config/application.rb +59 -0
  130. data/test/dummy/config/boot.rb +10 -0
  131. data/test/dummy/config/database.yml +15 -0
  132. data/test/dummy/config/edgarj/menu_config.rb +28 -0
  133. data/test/dummy/config/environment.rb +5 -0
  134. data/test/dummy/config/environments/development.rb +42 -0
  135. data/test/dummy/config/environments/production.rb +79 -0
  136. data/test/dummy/config/environments/test.rb +34 -0
  137. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  138. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  139. data/test/dummy/config/initializers/inflections.rb +16 -0
  140. data/test/dummy/config/initializers/mime_types.rb +5 -0
  141. data/test/dummy/config/initializers/secret_token.rb +12 -0
  142. data/test/dummy/config/initializers/session_store.rb +3 -0
  143. data/test/dummy/config/initializers/strong_parameter.rb +3 -0
  144. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  145. data/test/dummy/config/locales/en.yml +26 -0
  146. data/test/dummy/config/routes.rb +60 -0
  147. data/test/dummy/config.ru +4 -0
  148. data/test/dummy/db/migrate/20131107120635_create_authors.rb +9 -0
  149. data/test/dummy/db/migrate/20131218011851_create_books.rb +10 -0
  150. data/test/dummy/db/migrate/20140201000000_add_user_group_id_to_authors.rb +5 -0
  151. data/test/dummy/db/migrate/20140807065420_create_users.rb +10 -0
  152. data/test/dummy/db/schema.rb +93 -0
  153. data/test/dummy/public/404.html +58 -0
  154. data/test/dummy/public/422.html +58 -0
  155. data/test/dummy/public/500.html +57 -0
  156. data/test/dummy/public/favicon.ico +0 -0
  157. data/test/dummy/script/rails +6 -0
  158. data/test/dummy/test/functional/authors_controller_test.rb +631 -0
  159. data/test/dummy/test/functional/books_controller_test.rb +516 -0
  160. data/test/dummy/test/helpers/authors_helper_test.rb +4 -0
  161. data/test/dummy/test/unit/author_test.rb +7 -0
  162. data/test/dummy/test/unit/book_test.rb +7 -0
  163. data/test/edgar_test.rb +7 -0
  164. data/test/fixtures/authors.yml +32 -0
  165. data/test/fixtures/books.yml +56 -0
  166. data/test/fixtures/edgarj/model_permissions.yml +97 -0
  167. data/test/fixtures/edgarj/page_infos.yml +84 -0
  168. data/test/fixtures/edgarj/sssns.yml +38 -0
  169. data/test/fixtures/edgarj/user_group_users.yml +114 -0
  170. data/test/fixtures/edgarj/user_groups.yml +95 -0
  171. data/test/fixtures/users.yml +49 -0
  172. data/test/functional/edgarj/edgarj_controller_test.rb +24 -0
  173. data/test/functional/edgarj/model_permissions_controller_test.rb +554 -0
  174. data/test/functional/edgarj/user_group_users_controller_test.rb +567 -0
  175. data/test/integration/navigation_test.rb +10 -0
  176. data/test/support/edgarj/controller_supporter.rb +23 -0
  177. data/test/test_helper.rb +23 -0
  178. data/test/unit/edgarj/model_permission_test.rb +27 -0
  179. data/test/unit/edgarj/page_info_test.rb +7 -0
  180. data/test/unit/edgarj/sssn_test.rb +10 -0
  181. data/test/unit/edgarj/user_group_test.rb +32 -0
  182. data/test/unit/edgarj/user_group_user_test.rb +9 -0
  183. data/test/unit/helpers/edgarj/model_permissions_helper_test.rb +6 -0
  184. data/test/unit/helpers/edgarj/user_group_users_helper_test.rb +6 -0
  185. metadata +456 -0
@@ -0,0 +1,32 @@
1
+ require 'test_helper'
2
+
3
+ module Edgarj
4
+ class UserGroupTest < ActiveSupport::TestCase
5
+ test "permitted?" do
6
+ TESTS = [
7
+ #expect fixture_entry model operation
8
+ [false, :user_org_top, 'any', :READ],
9
+ [true, :role_admin, 'any', :READ],
10
+ [true, :role_product_read_only, 'Product', :READ],
11
+ [false, :role_product_read_only, 'any', :READ],
12
+ [false, :role_product_read_only, 'Product', :CREATE],
13
+ [true, :role_customer_read_update, 'Customer', :READ],
14
+ [true, :role_customer_read_update, 'Customer', :UPDATE],
15
+ [false, :role_customer_read_update, 'Customer', :CREATE],
16
+ [false, :role_customer_read_update, 'Customer', :DELETE],
17
+ [false, :role_customer_read_update, 'any', :READ],
18
+ [false, :role_customer_read_update, 'any', :CREATE],
19
+ ]
20
+ for t in TESTS do
21
+ test = edgarj_user_groups(t[1]).permitted?(
22
+ t[2],
23
+ Edgarj::ModelPermission::FlagsBitset.const_get(t[3]))
24
+ if t[0]
25
+ assert test, t.inspect
26
+ else
27
+ assert !test, t.inspect
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ module Edgarj
4
+ class UserGroupUserTest < ActiveSupport::TestCase
5
+ test 'name' do
6
+ assert_not_nil edgarj_user_group_users(:role_admin).name
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,6 @@
1
+ require 'test_helper'
2
+
3
+ module Edgarj
4
+ class ModelPermissionsHelperTest < ActionView::TestCase
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ require 'test_helper'
2
+
3
+ module Edgarj
4
+ class UserGroupUsersHelperTest < ActionView::TestCase
5
+ end
6
+ end
metadata ADDED
@@ -0,0 +1,456 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: edgarj
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.01.12
5
+ platform: ruby
6
+ authors:
7
+ - Fuminori Ido
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-12-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.19
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 3.2.19
27
+ - !ruby/object:Gem::Dependency
28
+ name: jquery-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 3.1.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: 3.1.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: jquery-ui-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 5.0.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 5.0.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: kaminari
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '0.15'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '0.15'
69
+ - !ruby/object:Gem::Dependency
70
+ name: remotipart
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '1.2'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '1.2'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rails_config
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: awesome_nested_set
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: '2'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: '2'
111
+ - !ruby/object:Gem::Dependency
112
+ name: bcrypt-ruby
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: 3.0.1
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ version: 3.0.1
125
+ - !ruby/object:Gem::Dependency
126
+ name: strong_parameters
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: 0.2.3
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ~>
137
+ - !ruby/object:Gem::Version
138
+ version: 0.2.3
139
+ - !ruby/object:Gem::Dependency
140
+ name: mysql2
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ description: |
154
+ Edgarj provides CRUD functions on controller and view for any model
155
+ as follows:
156
+
157
+ * Ajax CRUD
158
+ * sort by clicking column header
159
+ * QBE(Query By Example) search (under construction, sorry)
160
+ * CSV download
161
+ * popup for belongs_to attribute
162
+ email:
163
+ - ido00 at sourceforge.net
164
+ executables: []
165
+ extensions: []
166
+ extra_rdoc_files: []
167
+ files:
168
+ - MIT-LICENSE
169
+ - README.rdoc
170
+ - Rakefile
171
+ - app/assets/javascripts/edgarj/base.js
172
+ - app/assets/javascripts/edgarj/menu.js
173
+ - app/assets/javascripts/edgarj/operator_selection.js
174
+ - app/assets/stylesheets/edgarj/base.css
175
+ - app/assets/stylesheets/edgarj/menu.css
176
+ - app/controllers/edgarj/authentication_mixin.rb.sample
177
+ - app/controllers/edgarj/controller_mixin_common.rb
178
+ - app/controllers/edgarj/controller_mixin_for_app.rb
179
+ - app/controllers/edgarj/edgarj_controller.rb
180
+ - app/controllers/edgarj/model_permissions_controller.rb
181
+ - app/controllers/edgarj/permission_mixin.rb
182
+ - app/controllers/edgarj/popup_controller.rb
183
+ - app/controllers/edgarj/rescue_mixin.rb
184
+ - app/controllers/edgarj/user_group_users_controller.rb
185
+ - app/controllers/edgarj/user_groups_controller.rb
186
+ - app/controllers/edgarj/user_groups_popup_controller.rb
187
+ - app/helpers/edgarj/assoc_helper.rb
188
+ - app/helpers/edgarj/common_helper.rb
189
+ - app/helpers/edgarj/edgarj_helper.rb
190
+ - app/helpers/edgarj/field_helper.rb
191
+ - app/helpers/edgarj/form_drawer.rb
192
+ - app/helpers/edgarj/list_drawer.rb
193
+ - app/helpers/edgarj/menu_helper.rb
194
+ - app/helpers/edgarj/model_permissions_helper.rb
195
+ - app/helpers/edgarj/popup_helper.rb
196
+ - app/helpers/edgarj/search_helper.rb
197
+ - app/helpers/edgarj/sessions_helper.rb
198
+ - app/helpers/edgarj/user_group_users_helper.rb
199
+ - app/helpers/edgarj/user_groups_helper.rb
200
+ - app/helpers/edgarj/user_groups_popup_helper.rb
201
+ - app/models/edgarj.rb
202
+ - app/models/edgarj/drawer.rb
203
+ - app/models/edgarj/drawer/base.rb
204
+ - app/models/edgarj/drawer/normal.rb
205
+ - app/models/edgarj/drawer/popup.rb
206
+ - app/models/edgarj/model_permission.rb
207
+ - app/models/edgarj/page_info.rb
208
+ - app/models/edgarj/search.rb
209
+ - app/models/edgarj/search_form.rb
210
+ - app/models/edgarj/search_popup.rb
211
+ - app/models/edgarj/sssn.rb
212
+ - app/models/edgarj/user_group.rb
213
+ - app/models/edgarj/user_group_user.rb
214
+ - app/views/edgarj/edgarj/_form.html.erb
215
+ - app/views/edgarj/edgarj/_list.html.erb
216
+ - app/views/edgarj/edgarj/_message_popup.html.erb
217
+ - app/views/edgarj/edgarj/_search_form.html.erb
218
+ - app/views/edgarj/edgarj/_search_operator.html.erb
219
+ - app/views/edgarj/edgarj/_search_operator_selection.html.erb
220
+ - app/views/edgarj/edgarj/clear.js.erb
221
+ - app/views/edgarj/edgarj/create.js.erb
222
+ - app/views/edgarj/edgarj/destroy.js.erb
223
+ - app/views/edgarj/edgarj/index.html.erb
224
+ - app/views/edgarj/edgarj/index.js.erb
225
+ - app/views/edgarj/edgarj/message_popup.js.erb
226
+ - app/views/edgarj/edgarj/page_info_save.js.erb
227
+ - app/views/edgarj/edgarj/search.js.erb
228
+ - app/views/edgarj/edgarj/search_clear.js.erb
229
+ - app/views/edgarj/edgarj/show.js.erb
230
+ - app/views/edgarj/edgarj/top.html.erb
231
+ - app/views/edgarj/edgarj/update.js.erb
232
+ - app/views/edgarj/popup/_index.html.erb
233
+ - app/views/edgarj/popup/_list.html.erb
234
+ - app/views/edgarj/popup/_message_popup.html.erb
235
+ - app/views/edgarj/popup/_search.html.erb
236
+ - app/views/edgarj/popup/_search_save_popup.html.erb
237
+ - app/views/edgarj/popup/index.js.erb
238
+ - app/views/edgarj/popup/message_popup.js.erb
239
+ - app/views/edgarj/popup/page_info_save.js.erb
240
+ - app/views/edgarj/popup/search.js.erb
241
+ - app/views/edgarj/popup/view_status_save.js.erb
242
+ - config/routes.rb
243
+ - config/settings.yml
244
+ - db/migrate/20131118084600_create_edgar_sssns.rb
245
+ - db/migrate/20131123124730_create_edgar_page_infos.rb
246
+ - db/migrate/20140116062252_create_edgar_user_groups.rb
247
+ - db/migrate/20140116062327_create_edgar_user_group_users.rb
248
+ - db/migrate/20140206222308_create_edgar_model_permissions.rb
249
+ - db/migrate/20141209053055_rename_edgar_to_edgarj.rb
250
+ - lib/core_ext/active_record.rb
251
+ - lib/core_ext/resources.rb
252
+ - lib/edgarj.rb
253
+ - lib/edgarj/engine.rb
254
+ - lib/edgarj/enum_cache.rb
255
+ - lib/edgarj/templates/rails/helper/helper.rb
256
+ - lib/edgarj/templates/test_unit/scaffold/functional_test.rb
257
+ - lib/edgarj/version.rb
258
+ - lib/generators/edgarj/popup_scaffold/USAGE
259
+ - lib/generators/edgarj/popup_scaffold/popup_scaffold_generator.rb
260
+ - lib/generators/edgarj/popup_scaffold/templates/controller.rb
261
+ - lib/generators/edgarj/popup_scaffold/templates/functional_test.rb
262
+ - lib/generators/edgarj/popup_scaffold/templates/helper.rb
263
+ - lib/generators/edgarj/scaffold/USAGE
264
+ - lib/generators/edgarj/scaffold/scaffold_generator.rb
265
+ - lib/generators/edgarj/scaffold/templates/controller.rb
266
+ - lib/tasks/edgarj_tasks.rake
267
+ - lib/tasks/pakcage.rake
268
+ - locale/en.yml
269
+ - locale/ja.yml
270
+ - test/dummy/README.rdoc
271
+ - test/dummy/Rakefile
272
+ - test/dummy/app/assets/javascripts/application.js
273
+ - test/dummy/app/assets/javascripts/authors.js
274
+ - test/dummy/app/assets/stylesheets/application.css
275
+ - test/dummy/app/assets/stylesheets/authors.css
276
+ - test/dummy/app/assets/stylesheets/scaffold.css
277
+ - test/dummy/app/controllers/application_controller.rb
278
+ - test/dummy/app/controllers/authors_controller.rb
279
+ - test/dummy/app/controllers/authors_popup_controller.rb
280
+ - test/dummy/app/controllers/books_controller.rb
281
+ - test/dummy/app/controllers/dummy_auth_mixin.rb
282
+ - test/dummy/app/decorators/models/edgarj/user_group_decorator.rb
283
+ - test/dummy/app/helpers/application_helper.rb
284
+ - test/dummy/app/helpers/authors_helper.rb
285
+ - test/dummy/app/helpers/authors_popup_helper.rb
286
+ - test/dummy/app/helpers/books_helper.rb
287
+ - test/dummy/app/models/author.rb
288
+ - test/dummy/app/models/book.rb
289
+ - test/dummy/app/models/user.rb
290
+ - test/dummy/app/views/layouts/application.html.erb
291
+ - test/dummy/app/views/layouts/login.html.erb
292
+ - test/dummy/bin/bundle
293
+ - test/dummy/bin/rails
294
+ - test/dummy/bin/rake
295
+ - test/dummy/config.ru
296
+ - test/dummy/config/application.rb
297
+ - test/dummy/config/boot.rb
298
+ - test/dummy/config/database.yml
299
+ - test/dummy/config/edgarj/menu_config.rb
300
+ - test/dummy/config/environment.rb
301
+ - test/dummy/config/environments/development.rb
302
+ - test/dummy/config/environments/production.rb
303
+ - test/dummy/config/environments/test.rb
304
+ - test/dummy/config/initializers/backtrace_silencers.rb
305
+ - test/dummy/config/initializers/filter_parameter_logging.rb
306
+ - test/dummy/config/initializers/inflections.rb
307
+ - test/dummy/config/initializers/mime_types.rb
308
+ - test/dummy/config/initializers/secret_token.rb
309
+ - test/dummy/config/initializers/session_store.rb
310
+ - test/dummy/config/initializers/strong_parameter.rb
311
+ - test/dummy/config/initializers/wrap_parameters.rb
312
+ - test/dummy/config/locales/en.yml
313
+ - test/dummy/config/routes.rb
314
+ - test/dummy/db/migrate/20131107120635_create_authors.rb
315
+ - test/dummy/db/migrate/20131218011851_create_books.rb
316
+ - test/dummy/db/migrate/20140201000000_add_user_group_id_to_authors.rb
317
+ - test/dummy/db/migrate/20140807065420_create_users.rb
318
+ - test/dummy/db/schema.rb
319
+ - test/dummy/public/404.html
320
+ - test/dummy/public/422.html
321
+ - test/dummy/public/500.html
322
+ - test/dummy/public/favicon.ico
323
+ - test/dummy/script/rails
324
+ - test/dummy/test/functional/authors_controller_test.rb
325
+ - test/dummy/test/functional/books_controller_test.rb
326
+ - test/dummy/test/helpers/authors_helper_test.rb
327
+ - test/dummy/test/unit/author_test.rb
328
+ - test/dummy/test/unit/book_test.rb
329
+ - test/edgar_test.rb
330
+ - test/fixtures/authors.yml
331
+ - test/fixtures/books.yml
332
+ - test/fixtures/edgarj/model_permissions.yml
333
+ - test/fixtures/edgarj/page_infos.yml
334
+ - test/fixtures/edgarj/sssns.yml
335
+ - test/fixtures/edgarj/user_group_users.yml
336
+ - test/fixtures/edgarj/user_groups.yml
337
+ - test/fixtures/users.yml
338
+ - test/functional/edgarj/edgarj_controller_test.rb
339
+ - test/functional/edgarj/model_permissions_controller_test.rb
340
+ - test/functional/edgarj/user_group_users_controller_test.rb
341
+ - test/integration/navigation_test.rb
342
+ - test/support/edgarj/controller_supporter.rb
343
+ - test/test_helper.rb
344
+ - test/unit/edgarj/model_permission_test.rb
345
+ - test/unit/edgarj/page_info_test.rb
346
+ - test/unit/edgarj/sssn_test.rb
347
+ - test/unit/edgarj/user_group_test.rb
348
+ - test/unit/edgarj/user_group_user_test.rb
349
+ - test/unit/helpers/edgarj/model_permissions_helper_test.rb
350
+ - test/unit/helpers/edgarj/user_group_users_helper_test.rb
351
+ homepage: https://sourceforge.net/projects/jjedgar/
352
+ licenses: []
353
+ metadata: {}
354
+ post_install_message:
355
+ rdoc_options: []
356
+ require_paths:
357
+ - lib
358
+ required_ruby_version: !ruby/object:Gem::Requirement
359
+ requirements:
360
+ - - '>='
361
+ - !ruby/object:Gem::Version
362
+ version: '0'
363
+ required_rubygems_version: !ruby/object:Gem::Requirement
364
+ requirements:
365
+ - - '>='
366
+ - !ruby/object:Gem::Version
367
+ version: '0'
368
+ requirements: []
369
+ rubyforge_project:
370
+ rubygems_version: 2.2.2
371
+ signing_key:
372
+ specification_version: 4
373
+ summary: Scaffold with Ajax, search, sort, 'belongs_to' popup, and more.
374
+ test_files:
375
+ - test/integration/navigation_test.rb
376
+ - test/unit/helpers/edgarj/model_permissions_helper_test.rb
377
+ - test/unit/helpers/edgarj/user_group_users_helper_test.rb
378
+ - test/unit/edgarj/user_group_user_test.rb
379
+ - test/unit/edgarj/sssn_test.rb
380
+ - test/unit/edgarj/user_group_test.rb
381
+ - test/unit/edgarj/page_info_test.rb
382
+ - test/unit/edgarj/model_permission_test.rb
383
+ - test/support/edgarj/controller_supporter.rb
384
+ - test/test_helper.rb
385
+ - test/dummy/test/helpers/authors_helper_test.rb
386
+ - test/dummy/test/unit/book_test.rb
387
+ - test/dummy/test/unit/author_test.rb
388
+ - test/dummy/test/functional/authors_controller_test.rb
389
+ - test/dummy/test/functional/books_controller_test.rb
390
+ - test/dummy/README.rdoc
391
+ - test/dummy/config.ru
392
+ - test/dummy/bin/bundle
393
+ - test/dummy/bin/rake
394
+ - test/dummy/bin/rails
395
+ - test/dummy/db/schema.rb
396
+ - test/dummy/db/migrate/20131218011851_create_books.rb
397
+ - test/dummy/db/migrate/20140807065420_create_users.rb
398
+ - test/dummy/db/migrate/20140201000000_add_user_group_id_to_authors.rb
399
+ - test/dummy/db/migrate/20131107120635_create_authors.rb
400
+ - test/dummy/Rakefile
401
+ - test/dummy/config/routes.rb
402
+ - test/dummy/config/boot.rb
403
+ - test/dummy/config/environment.rb
404
+ - test/dummy/config/database.yml
405
+ - test/dummy/config/environments/test.rb
406
+ - test/dummy/config/environments/production.rb
407
+ - test/dummy/config/environments/development.rb
408
+ - test/dummy/config/application.rb
409
+ - test/dummy/config/edgarj/menu_config.rb
410
+ - test/dummy/config/locales/en.yml
411
+ - test/dummy/config/initializers/strong_parameter.rb
412
+ - test/dummy/config/initializers/inflections.rb
413
+ - test/dummy/config/initializers/wrap_parameters.rb
414
+ - test/dummy/config/initializers/session_store.rb
415
+ - test/dummy/config/initializers/secret_token.rb
416
+ - test/dummy/config/initializers/filter_parameter_logging.rb
417
+ - test/dummy/config/initializers/mime_types.rb
418
+ - test/dummy/config/initializers/backtrace_silencers.rb
419
+ - test/dummy/script/rails
420
+ - test/dummy/public/favicon.ico
421
+ - test/dummy/public/404.html
422
+ - test/dummy/public/422.html
423
+ - test/dummy/public/500.html
424
+ - test/dummy/app/views/layouts/login.html.erb
425
+ - test/dummy/app/views/layouts/application.html.erb
426
+ - test/dummy/app/decorators/models/edgarj/user_group_decorator.rb
427
+ - test/dummy/app/helpers/authors_helper.rb
428
+ - test/dummy/app/helpers/books_helper.rb
429
+ - test/dummy/app/helpers/application_helper.rb
430
+ - test/dummy/app/helpers/authors_popup_helper.rb
431
+ - test/dummy/app/models/book.rb
432
+ - test/dummy/app/models/author.rb
433
+ - test/dummy/app/models/user.rb
434
+ - test/dummy/app/assets/javascripts/authors.js
435
+ - test/dummy/app/assets/javascripts/application.js
436
+ - test/dummy/app/assets/stylesheets/scaffold.css
437
+ - test/dummy/app/assets/stylesheets/authors.css
438
+ - test/dummy/app/assets/stylesheets/application.css
439
+ - test/dummy/app/controllers/authors_controller.rb
440
+ - test/dummy/app/controllers/books_controller.rb
441
+ - test/dummy/app/controllers/dummy_auth_mixin.rb
442
+ - test/dummy/app/controllers/application_controller.rb
443
+ - test/dummy/app/controllers/authors_popup_controller.rb
444
+ - test/edgar_test.rb
445
+ - test/fixtures/authors.yml
446
+ - test/fixtures/users.yml
447
+ - test/fixtures/edgarj/page_infos.yml
448
+ - test/fixtures/edgarj/user_group_users.yml
449
+ - test/fixtures/edgarj/user_groups.yml
450
+ - test/fixtures/edgarj/model_permissions.yml
451
+ - test/fixtures/edgarj/sssns.yml
452
+ - test/fixtures/books.yml
453
+ - test/functional/edgarj/user_group_users_controller_test.rb
454
+ - test/functional/edgarj/edgarj_controller_test.rb
455
+ - test/functional/edgarj/model_permissions_controller_test.rb
456
+ has_rdoc: