edgarj 0.01.22 → 0.01.24

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
  SHA1:
3
- metadata.gz: b0eda9922434a94f760aad1bd2abc1a1dfc0f916
4
- data.tar.gz: 7f6c4d0e0184a2f8744558a4ef0bbf965364c63b
3
+ metadata.gz: 44b8ac432896b422487264012ce5a5912c4e433e
4
+ data.tar.gz: d598b3e628cb44d8f5d1eed92b0824c333ec7f80
5
5
  SHA512:
6
- metadata.gz: 2fd098c60063a214c6af73a74aabae7cd36018560edbc77aa86bb26dd7100163d6a82d92540a5ef5e1d88a93e1919fba026339954a96f2d5d6d96132ca3eee1b
7
- data.tar.gz: 937b28340f7e2ce9477a2c032114fc53a1dc5d43193d88c8bf1187a2d6bc7f1f532a4e2a6d514b127ae4c00efc848ae8105771e796dc97655232808d7458b9c8
6
+ metadata.gz: 761b2e0fc1c84ebbb801161f5bcf899e916241a0e4080dbf74d80a1c5a46ceb185ab6b530a09c6f8020476b63d532ad0ad2f55a8a6b8024735fc7fdaa0c3c97d
7
+ data.tar.gz: 4eaadadb89f92ad1df0fba63019efd2d785e321950d34a5b2824d2d0c58dec522d16999e9fb4790d3268330a4599f9dc5d9068af88768ab208e950d7716fa6a1
data/README.rdoc CHANGED
@@ -21,3 +21,13 @@ Edgarj is an Ajax-based scaffold with:
21
21
 
22
22
  * "rake scaffold" (not "rake edgarj:scaffold") generates
23
23
  WRONG functional test, which uses Edgarj's functional test template.
24
+
25
+ == Building Package
26
+
27
+ 1. check if all tests are passed:
28
+ $ rake test
29
+ 1. Gem package is built under pkg/edgarj-N.NN.NN.gem by:
30
+ $ rake app:edgarj:build_gem
31
+ 1. commit Gemfile.lock (I don't know why Gemfile.lock is updated here).
32
+ 1. puch the package to rubygems site by:
33
+ $ gem push pkg/edgarj-N.NN.NN.gem
@@ -8,7 +8,7 @@ module Edgarj
8
8
  if !sssn || !(page_info = sssn.page_infos.find_by_view(view))
9
9
  page_info = sssn.page_infos.build(
10
10
  view: view,
11
- lines: 10,
11
+ lines: Settings.edgarj.page_info.default_lines,
12
12
  order_by: '',
13
13
  dir: '',
14
14
  page: 1)
data/config/settings.yml CHANGED
@@ -8,3 +8,6 @@ edgarj:
8
8
  # to the file. Default is that only owner read+write.
9
9
  csv_permission: 0600
10
10
  _overwrite_test: 'hello'
11
+
12
+ page_info:
13
+ default_lines: 10
@@ -1,3 +1,3 @@
1
1
  module Edgarj
2
- VERSION = "0.01.22"
2
+ VERSION = "0.01.24"
3
3
  end
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.01.22
4
+ version: 0.01.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fuminori Ido
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-16 00:00:00.000000000 Z
11
+ date: 2015-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -400,94 +400,94 @@ required_rubygems_version: !ruby/object:Gem::Requirement
400
400
  version: '0'
401
401
  requirements: []
402
402
  rubyforge_project:
403
- rubygems_version: 2.4.1
403
+ rubygems_version: 2.2.2
404
404
  signing_key:
405
405
  specification_version: 4
406
406
  summary: Scaffold with Ajax, search, sort, 'belongs_to' popup, and more.
407
407
  test_files:
408
- - test/fixtures/users.yml
409
- - test/fixtures/edgarj/model_permissions.yml
410
- - test/fixtures/edgarj/sssns.yml
411
- - test/fixtures/edgarj/user_group_users.yml
412
- - test/fixtures/edgarj/page_infos.yml
413
- - test/fixtures/edgarj/user_groups.yml
414
- - test/fixtures/authors.yml
415
- - test/fixtures/books.yml
416
- - test/dummy/Rakefile
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
417
426
  - test/dummy/config.ru
418
- - test/dummy/bin/rails
419
427
  - test/dummy/bin/bundle
420
428
  - test/dummy/bin/rake
421
- - test/dummy/app/decorators/models/edgarj/user_group_decorator.rb
422
- - test/dummy/app/assets/stylesheets/application.css
423
- - test/dummy/app/assets/stylesheets/authors.css
424
- - test/dummy/app/assets/stylesheets/scaffold.css
425
- - test/dummy/app/assets/javascripts/application.js
426
- - test/dummy/app/assets/javascripts/authors.js
427
- - test/dummy/app/views/layouts/login.html.erb
428
- - test/dummy/app/views/layouts/application.html.erb
429
- - test/dummy/app/models/author.rb
430
- - test/dummy/app/models/book.rb
431
- - test/dummy/app/models/user.rb
432
- - test/dummy/app/controllers/dummy_auth_mixin.rb
433
- - test/dummy/app/controllers/application_controller.rb
434
- - test/dummy/app/controllers/authors_popup_controller.rb
435
- - test/dummy/app/controllers/books_controller.rb
436
- - test/dummy/app/controllers/authors_controller.rb
437
- - test/dummy/app/helpers/authors_helper.rb
438
- - test/dummy/app/helpers/authors_popup_helper.rb
439
- - test/dummy/app/helpers/application_helper.rb
440
- - test/dummy/app/helpers/books_helper.rb
441
- - test/dummy/config/locales/en.yml
442
- - test/dummy/config/locales/ja.yml
443
- - test/dummy/config/application.rb
444
- - test/dummy/config/edgarj/menu_config.rb
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
435
+ - test/dummy/Rakefile
436
+ - test/dummy/config/routes.rb
437
+ - test/dummy/config/boot.rb
438
+ - test/dummy/config/environment.rb
439
+ - test/dummy/config/database.yml
440
+ - test/dummy/config/settings.yml
441
+ - test/dummy/config/environments/test.rb
445
442
  - test/dummy/config/environments/production.rb
446
443
  - test/dummy/config/environments/development.rb
447
- - test/dummy/config/environments/test.rb
448
- - test/dummy/config/environment.rb
444
+ - test/dummy/config/application.rb
445
+ - test/dummy/config/edgarj/menu_config.rb
446
+ - test/dummy/config/locales/en.yml
447
+ - test/dummy/config/locales/ja.yml
448
+ - test/dummy/config/initializers/strong_parameter.rb
449
+ - test/dummy/config/initializers/inflections.rb
449
450
  - test/dummy/config/initializers/wrap_parameters.rb
450
- - test/dummy/config/initializers/mime_types.rb
451
- - test/dummy/config/initializers/backtrace_silencers.rb
451
+ - test/dummy/config/initializers/session_store.rb
452
452
  - test/dummy/config/initializers/secret_token.rb
453
453
  - test/dummy/config/initializers/filter_parameter_logging.rb
454
- - test/dummy/config/initializers/inflections.rb
455
- - test/dummy/config/initializers/strong_parameter.rb
456
- - test/dummy/config/initializers/session_store.rb
457
- - test/dummy/config/routes.rb
458
- - test/dummy/config/settings.yml
459
- - test/dummy/config/database.yml
460
- - test/dummy/config/boot.rb
454
+ - test/dummy/config/initializers/mime_types.rb
455
+ - test/dummy/config/initializers/backtrace_silencers.rb
456
+ - test/dummy/script/rails
461
457
  - test/dummy/public/favicon.ico
458
+ - test/dummy/public/404.html
462
459
  - test/dummy/public/422.html
463
460
  - test/dummy/public/500.html
464
- - test/dummy/public/404.html
465
- - test/dummy/README.rdoc
466
- - test/dummy/db/schema.rb
467
- - test/dummy/db/migrate/20131218011851_create_books.rb
468
- - test/dummy/db/migrate/20131107120635_create_authors.rb
469
- - test/dummy/db/migrate/20140201000000_add_user_group_id_to_authors.rb
470
- - test/dummy/db/migrate/20140807065420_create_users.rb
471
- - test/dummy/test/unit/author_test.rb
472
- - test/dummy/test/unit/rails_config_test.rb
473
- - test/dummy/test/unit/book_test.rb
474
- - test/dummy/test/functional/books_controller_test.rb
475
- - test/dummy/test/functional/authors_popup_controller_test.rb
476
- - test/dummy/test/functional/authors_controller_test.rb
477
- - test/dummy/test/helpers/authors_helper_test.rb
478
- - test/dummy/script/rails
479
- - test/unit/edgarj/sssn_test.rb
480
- - test/unit/edgarj/model_permission_test.rb
481
- - test/unit/edgarj/user_group_test.rb
482
- - test/unit/edgarj/user_group_user_test.rb
483
- - test/unit/edgarj/page_info_test.rb
484
- - test/unit/helpers/edgarj/user_group_users_helper_test.rb
485
- - test/unit/helpers/edgarj/model_permissions_helper_test.rb
486
- - test/support/edgarj/controller_supporter.rb
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
487
481
  - test/edgar_test.rb
488
- - test/test_helper.rb
489
- - test/integration/navigation_test.rb
482
+ - test/fixtures/authors.yml
483
+ - test/fixtures/users.yml
484
+ - test/fixtures/edgarj/page_infos.yml
485
+ - test/fixtures/edgarj/user_group_users.yml
486
+ - test/fixtures/edgarj/user_groups.yml
487
+ - test/fixtures/edgarj/model_permissions.yml
488
+ - test/fixtures/edgarj/sssns.yml
489
+ - test/fixtures/books.yml
490
490
  - test/functional/edgarj/user_group_users_controller_test.rb
491
- - test/functional/edgarj/model_permissions_controller_test.rb
492
491
  - test/functional/edgarj/edgarj_controller_test.rb
492
+ - test/functional/edgarj/model_permissions_controller_test.rb
493
493
  has_rdoc: