edgarj 4.06.03 → 4.06.07

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ca5385e56ac724b43daf83f407ea37956d5f8df8a6539c636e9df677c20bdca
4
- data.tar.gz: 0dd6a1955de82a65ebfe53555f5b72f54be23eaf52f085a8e39f412091fbded3
3
+ metadata.gz: 89af6f3fa1a69afd9923df642c2a632143d71e4a55b7a906a69a6594b2403486
4
+ data.tar.gz: b69638c270f49cb12698131426cd425db7fc17f4d41f66fe58cd97b434ed9949
5
5
  SHA512:
6
- metadata.gz: bde78228b31d97f96eadd3816c1b5ada31fd16897ec1cd4bf18b2c9c45cd15daeab42d5ad3581dd757d0f7e0a3848426039d093b238bb5b37de1973796a50839
7
- data.tar.gz: 964c03621ec460d208b0544e8d395b6af64cb501d19df6e29fece09c99f6d650beb07d080b4f10ceaad1304d4b4cbcfe4e3625f9ed9b318eb2bb9da6b686ea77
6
+ metadata.gz: e31a1d25e649ba50907f8d01b83644bec0d49b49fe4160aa347acd0e399baec61376dc305050b88142b69b235c2e22bce94c53722f5be0072141a5d3304f2e57
7
+ data.tar.gz: 400a75d325a8f989fef4d56afcb1f2d4593157079fdb9bef4ca000a09603a24e96f265f6a3fca74a8a81ed708e9d726c45bdb5dafa7ff0733e075a1283d66e77
@@ -1,3 +1,3 @@
1
1
  module Edgarj
2
- VERSION = '4.06.02'
2
+ VERSION = '4.06.06'
3
3
  end
@@ -13,47 +13,47 @@
13
13
 
14
14
  ActiveRecord::Schema.define(version: 20160119053447) do
15
15
 
16
- create_table "authors", force: true do |t|
17
- t.string "name"
16
+ create_table "authors", force: :cascade do |t|
17
+ t.string "name", limit: 255
18
18
  t.datetime "created_at"
19
19
  t.datetime "updated_at"
20
- t.integer "user_group_id"
20
+ t.integer "user_group_id", limit: 4
21
21
  end
22
22
 
23
- create_table "books", force: true do |t|
24
- t.integer "author_id"
25
- t.string "name"
23
+ create_table "books", force: :cascade do |t|
24
+ t.integer "author_id", limit: 4
25
+ t.string "name", limit: 255
26
26
  t.datetime "created_at"
27
27
  t.datetime "updated_at"
28
28
  end
29
29
 
30
- create_table "edgarj_model_permissions", force: true do |t|
31
- t.integer "user_group_id"
32
- t.string "name"
33
- t.integer "flags"
34
- t.datetime "created_at", null: false
35
- t.datetime "updated_at", null: false
36
- t.string "model"
30
+ create_table "edgarj_model_permissions", force: :cascade do |t|
31
+ t.integer "user_group_id", limit: 4
32
+ t.string "name", limit: 255
33
+ t.integer "flags", limit: 4
34
+ t.datetime "created_at", null: false
35
+ t.datetime "updated_at", null: false
36
+ t.string "model", limit: 255
37
37
  end
38
38
 
39
39
  add_index "edgarj_model_permissions", ["model"], name: "index_edgarj_model_permissions_on_model", using: :btree
40
40
 
41
- create_table "edgarj_page_infos", force: true do |t|
42
- t.integer "sssn_id"
43
- t.string "view"
44
- t.string "order_by"
45
- t.string "dir"
46
- t.integer "page"
47
- t.integer "lines"
48
- t.text "record_data"
41
+ create_table "edgarj_page_infos", force: :cascade do |t|
42
+ t.integer "sssn_id", limit: 4
43
+ t.string "view", limit: 255
44
+ t.string "order_by", limit: 255
45
+ t.string "dir", limit: 255
46
+ t.integer "page", limit: 4
47
+ t.integer "lines", limit: 4
48
+ t.text "record_data", limit: 65535
49
49
  t.datetime "created_at"
50
50
  t.datetime "updated_at"
51
51
  end
52
52
 
53
- create_table "edgarj_sssns", force: true do |t|
54
- t.string "session_id", null: false
55
- t.text "data"
56
- t.integer "user_id"
53
+ create_table "edgarj_sssns", force: :cascade do |t|
54
+ t.string "session_id", limit: 255, null: false
55
+ t.text "data", limit: 65535
56
+ t.integer "user_id", limit: 4
57
57
  t.datetime "created_at"
58
58
  t.datetime "updated_at"
59
59
  end
@@ -61,19 +61,19 @@ ActiveRecord::Schema.define(version: 20160119053447) do
61
61
  add_index "edgarj_sssns", ["session_id"], name: "index_edgarj_sssns_on_session_id", using: :btree
62
62
  add_index "edgarj_sssns", ["updated_at"], name: "index_edgarj_sssns_on_updated_at", using: :btree
63
63
 
64
- create_table "edgarj_user_group_users", force: true do |t|
65
- t.integer "user_group_id"
66
- t.integer "user_id"
64
+ create_table "edgarj_user_group_users", force: :cascade do |t|
65
+ t.integer "user_group_id", limit: 4
66
+ t.integer "user_id", limit: 4
67
67
  t.datetime "created_at"
68
68
  t.datetime "updated_at"
69
69
  end
70
70
 
71
- create_table "edgarj_user_groups", force: true do |t|
72
- t.integer "kind"
73
- t.string "name"
74
- t.integer "parent_id"
75
- t.integer "lft"
76
- t.integer "rgt"
71
+ create_table "edgarj_user_groups", force: :cascade do |t|
72
+ t.integer "kind", limit: 4
73
+ t.string "name", limit: 255
74
+ t.integer "parent_id", limit: 4
75
+ t.integer "lft", limit: 4
76
+ t.integer "rgt", limit: 4
77
77
  t.datetime "created_at"
78
78
  t.datetime "updated_at"
79
79
  end
@@ -83,9 +83,9 @@ ActiveRecord::Schema.define(version: 20160119053447) do
83
83
  add_index "edgarj_user_groups", ["parent_id"], name: "index_edgarj_user_groups_on_parent_id", using: :btree
84
84
  add_index "edgarj_user_groups", ["rgt"], name: "index_edgarj_user_groups_on_rgt", using: :btree
85
85
 
86
- create_table "users", force: true do |t|
87
- t.string "code"
88
- t.string "name"
86
+ create_table "users", force: :cascade do |t|
87
+ t.string "code", limit: 255
88
+ t.string "name", limit: 255
89
89
  t.datetime "created_at"
90
90
  t.datetime "updated_at"
91
91
  end
data/test/test_helper.rb CHANGED
@@ -1,21 +1,22 @@
1
1
  # Configure Rails Environment
2
2
  ENV["RAILS_ENV"] = "test"
3
3
 
4
- require File.expand_path("../dummy/config/environment.rb", __FILE__)
4
+ require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
5
+ ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
5
6
  require "rails/test_help"
6
7
 
7
- Rails.backtrace_cleaner.remove_silencers!
8
+ # Filter out Minitest backtrace while allowing backtrace from other libraries
9
+ # to be shown.
10
+ Minitest.backtrace_filter = Minitest::BacktraceFilter.new
8
11
 
9
12
  # Load support files
10
13
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
14
 
12
15
  # Load fixtures from the engine
13
- #if ActiveSupport::TestCase.method_defined?(:fixture_path=)
16
+ if ActiveSupport::TestCase.respond_to?(:fixture_path=)
14
17
  ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
- #end
16
-
17
- class ActiveSupport::TestCase
18
- fixtures :all
18
+ ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
19
+ ActiveSupport::TestCase.fixtures :all
19
20
  end
20
21
 
21
22
  class ActionController::TestCase
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: 4.06.03
4
+ version: 4.06.07
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fuminori Ido
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-24 00:00:00.000000000 Z
11
+ date: 2022-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -28,42 +28,42 @@ dependencies:
28
28
  name: jquery-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 3.1.0
34
31
  - - "~>"
35
32
  - !ruby/object:Gem::Version
36
- version: '3.1'
33
+ version: '4.4'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 4.4.0
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: 3.1.0
44
41
  - - "~>"
45
42
  - !ruby/object:Gem::Version
46
- version: '3.1'
43
+ version: '4.4'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 4.4.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: jquery-ui-rails
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: 5.0.0
54
51
  - - "~>"
55
52
  - !ruby/object:Gem::Version
56
53
  version: '5.0'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 5.0.0
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- version: 5.0.0
64
61
  - - "~>"
65
62
  - !ruby/object:Gem::Version
66
63
  version: '5.0'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 5.0.0
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: config
69
69
  requirement: !ruby/object:Gem::Requirement
@@ -82,16 +82,22 @@ dependencies:
82
82
  name: kaminari
83
83
  requirement: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - "~>"
85
+ - - ">="
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0.15'
88
+ - - "<"
89
+ - !ruby/object:Gem::Version
90
+ version: '2.0'
88
91
  type: :runtime
89
92
  prerelease: false
90
93
  version_requirements: !ruby/object:Gem::Requirement
91
94
  requirements:
92
- - - "~>"
95
+ - - ">="
93
96
  - !ruby/object:Gem::Version
94
97
  version: '0.15'
98
+ - - "<"
99
+ - !ruby/object:Gem::Version
100
+ version: '2.0'
95
101
  - !ruby/object:Gem::Dependency
96
102
  name: remotipart
97
103
  requirement: !ruby/object:Gem::Requirement
@@ -134,6 +140,20 @@ dependencies:
134
140
  - - "~>"
135
141
  - !ruby/object:Gem::Version
136
142
  version: '0.1'
143
+ - !ruby/object:Gem::Dependency
144
+ name: sprockets
145
+ requirement: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: 3.7.2
150
+ type: :runtime
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - "~>"
155
+ - !ruby/object:Gem::Version
156
+ version: 3.7.2
137
157
  - !ruby/object:Gem::Dependency
138
158
  name: mysql2
139
159
  requirement: !ruby/object:Gem::Requirement
@@ -358,95 +378,95 @@ required_rubygems_version: !ruby/object:Gem::Requirement
358
378
  - !ruby/object:Gem::Version
359
379
  version: '0'
360
380
  requirements: []
361
- rubygems_version: 3.0.2
381
+ rubygems_version: 3.3.11
362
382
  signing_key:
363
383
  specification_version: 4
364
384
  summary: Scaffold with Ajax, search, sort, 'belongs_to' popup, and more.
365
385
  test_files:
366
- - test/dummy/config.ru
367
- - test/dummy/test/controllers/books_controller_test.rb
368
- - test/dummy/test/controllers/authors_controller_test.rb
369
- - test/dummy/test/controllers/authors_popup_controller_test.rb
370
- - test/dummy/test/helpers/authors_helper_test.rb
386
+ - test/models/helpers/edgarj/model_permissions_helper_test.rb
387
+ - test/models/helpers/edgarj/user_group_users_helper_test.rb
388
+ - test/models/edgarj/user_group_test.rb
389
+ - test/models/edgarj/user_group_user_test.rb
390
+ - test/models/edgarj/model_permission_test.rb
391
+ - test/models/edgarj/page_info_test.rb
392
+ - test/models/edgarj/sssn_test.rb
393
+ - test/edgarj_test.rb
394
+ - test/integration/navigation_test.rb
395
+ - test/controllers/edgarj/model_permissions_controller_test.rb
396
+ - test/controllers/edgarj/user_group_users_controller_test.rb
397
+ - test/controllers/edgarj/edgarj_controller_test.rb
398
+ - test/support/edgarj/controller_supporter.rb
399
+ - test/dummy/README.rdoc
400
+ - test/dummy/bin/rails
401
+ - test/dummy/bin/bundle
402
+ - test/dummy/bin/rake
371
403
  - test/dummy/test/models/author_test.rb
372
404
  - test/dummy/test/models/rails_config_test.rb
373
405
  - test/dummy/test/models/book_test.rb
374
- - test/dummy/app/assets/javascripts/application.js
375
- - test/dummy/app/assets/javascripts/authors.js
376
- - test/dummy/app/assets/stylesheets/authors.css
377
- - test/dummy/app/assets/stylesheets/scaffold.css
378
- - test/dummy/app/assets/stylesheets/application.css
379
- - test/dummy/app/decorators/models/edgarj/user_group_decorator.rb
380
- - test/dummy/app/controllers/authors_popup_controller.rb
381
- - test/dummy/app/controllers/dummy_auth_mixin.rb
382
- - test/dummy/app/controllers/application_controller.rb
383
- - test/dummy/app/controllers/books_controller.rb
384
- - test/dummy/app/controllers/authors_controller.rb
385
- - test/dummy/app/helpers/authors_popup_helper.rb
386
- - test/dummy/app/helpers/authors_helper.rb
387
- - test/dummy/app/helpers/books_helper.rb
388
- - test/dummy/app/helpers/application_helper.rb
389
- - test/dummy/app/models/author.rb
390
- - test/dummy/app/models/user.rb
391
- - test/dummy/app/models/book.rb
392
- - test/dummy/app/views/layouts/application.html.erb
393
- - test/dummy/app/views/layouts/login.html.erb
406
+ - test/dummy/test/helpers/authors_helper_test.rb
407
+ - test/dummy/test/controllers/authors_controller_test.rb
408
+ - test/dummy/test/controllers/books_controller_test.rb
409
+ - test/dummy/test/controllers/authors_popup_controller_test.rb
394
410
  - test/dummy/Rakefile
395
- - test/dummy/config/database.yml
396
- - test/dummy/config/settings.yml
397
- - test/dummy/config/boot.rb
398
- - test/dummy/config/environment.rb
399
- - test/dummy/config/settings/production.yml
400
- - test/dummy/config/settings/development.yml
401
- - test/dummy/config/settings/test.yml
402
- - test/dummy/config/routes.rb
403
- - test/dummy/config/application.rb
404
- - test/dummy/config/locales/en.yml
405
- - test/dummy/config/locales/ja.yml
406
- - test/dummy/config/initializers/backtrace_silencers.rb
407
- - test/dummy/config/initializers/filter_parameter_logging.rb
408
- - test/dummy/config/initializers/wrap_parameters.rb
409
- - test/dummy/config/initializers/secret_token.rb
410
- - test/dummy/config/initializers/mime_types.rb
411
+ - test/dummy/db/migrate/20131218011851_create_books.rb
412
+ - test/dummy/db/migrate/20140201000000_add_user_group_id_to_authors.rb
413
+ - test/dummy/db/migrate/20140807065420_create_users.rb
414
+ - test/dummy/db/migrate/20131107120635_create_authors.rb
415
+ - test/dummy/db/schema.rb
411
416
  - test/dummy/config/initializers/session_store.rb
417
+ - test/dummy/config/initializers/mime_types.rb
418
+ - test/dummy/config/initializers/secret_token.rb
419
+ - test/dummy/config/initializers/wrap_parameters.rb
420
+ - test/dummy/config/initializers/filter_parameter_logging.rb
412
421
  - test/dummy/config/initializers/inflections.rb
413
422
  - test/dummy/config/initializers/config.rb
414
- - test/dummy/config/edgarj/menu_config.rb
415
- - test/dummy/config/environments/production.rb
423
+ - test/dummy/config/initializers/backtrace_silencers.rb
424
+ - test/dummy/config/environment.rb
425
+ - test/dummy/config/locales/en.yml
426
+ - test/dummy/config/locales/ja.yml
416
427
  - test/dummy/config/environments/development.rb
417
428
  - test/dummy/config/environments/test.rb
429
+ - test/dummy/config/environments/production.rb
430
+ - test/dummy/config/boot.rb
431
+ - test/dummy/config/edgarj/menu_config.rb
432
+ - test/dummy/config/routes.rb
433
+ - test/dummy/config/settings.yml
434
+ - test/dummy/config/settings/development.yml
435
+ - test/dummy/config/settings/production.yml
436
+ - test/dummy/config/settings/test.yml
437
+ - test/dummy/config/application.rb
438
+ - test/dummy/config/database.yml
439
+ - test/dummy/app/models/user.rb
440
+ - test/dummy/app/models/book.rb
441
+ - test/dummy/app/models/author.rb
442
+ - test/dummy/app/helpers/authors_popup_helper.rb
443
+ - test/dummy/app/helpers/authors_helper.rb
444
+ - test/dummy/app/helpers/application_helper.rb
445
+ - test/dummy/app/helpers/books_helper.rb
446
+ - test/dummy/app/decorators/models/edgarj/user_group_decorator.rb
447
+ - test/dummy/app/controllers/authors_popup_controller.rb
448
+ - test/dummy/app/controllers/books_controller.rb
449
+ - test/dummy/app/controllers/application_controller.rb
450
+ - test/dummy/app/controllers/dummy_auth_mixin.rb
451
+ - test/dummy/app/controllers/authors_controller.rb
452
+ - test/dummy/app/assets/javascripts/application.js
453
+ - test/dummy/app/assets/javascripts/authors.js
454
+ - test/dummy/app/assets/stylesheets/scaffold.css
455
+ - test/dummy/app/assets/stylesheets/application.css
456
+ - test/dummy/app/assets/stylesheets/authors.css
457
+ - test/dummy/app/views/layouts/login.html.erb
458
+ - test/dummy/app/views/layouts/application.html.erb
459
+ - test/dummy/public/422.html
418
460
  - test/dummy/public/404.html
419
- - test/dummy/public/favicon.ico
420
461
  - test/dummy/public/500.html
421
- - test/dummy/public/422.html
422
- - test/dummy/README.rdoc
423
- - test/dummy/bin/bundle
424
- - test/dummy/bin/rake
425
- - test/dummy/bin/rails
426
- - test/dummy/db/schema.rb
427
- - test/dummy/db/migrate/20140807065420_create_users.rb
428
- - test/dummy/db/migrate/20131218011851_create_books.rb
429
- - test/dummy/db/migrate/20131107120635_create_authors.rb
430
- - test/dummy/db/migrate/20140201000000_add_user_group_id_to_authors.rb
462
+ - test/dummy/public/favicon.ico
463
+ - test/dummy/config.ru
431
464
  - test/test_helper.rb
432
- - test/integration/navigation_test.rb
433
- - test/controllers/edgarj/user_group_users_controller_test.rb
434
- - test/controllers/edgarj/edgarj_controller_test.rb
435
- - test/controllers/edgarj/model_permissions_controller_test.rb
436
465
  - test/fixtures/authors.yml
437
- - test/fixtures/books.yml
438
466
  - test/fixtures/users.yml
439
- - test/fixtures/edgarj/user_group_users.yml
440
- - test/fixtures/edgarj/user_groups.yml
441
- - test/fixtures/edgarj/page_infos.yml
442
- - test/fixtures/edgarj/sssns.yml
443
467
  - test/fixtures/edgarj/model_permissions.yml
444
- - test/edgarj_test.rb
445
- - test/support/edgarj/controller_supporter.rb
446
- - test/models/helpers/edgarj/model_permissions_helper_test.rb
447
- - test/models/helpers/edgarj/user_group_users_helper_test.rb
448
- - test/models/edgarj/user_group_test.rb
449
- - test/models/edgarj/sssn_test.rb
450
- - test/models/edgarj/model_permission_test.rb
451
- - test/models/edgarj/page_info_test.rb
452
- - test/models/edgarj/user_group_user_test.rb
468
+ - test/fixtures/edgarj/sssns.yml
469
+ - test/fixtures/edgarj/page_infos.yml
470
+ - test/fixtures/edgarj/user_groups.yml
471
+ - test/fixtures/edgarj/user_group_users.yml
472
+ - test/fixtures/books.yml