enju_biblio 0.1.0.pre41 → 0.1.0.pre42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/manifestations_controller.rb +22 -17
  3. data/app/controllers/patron_import_results_controller.rb +1 -1
  4. data/app/controllers/resource_import_results_controller.rb +1 -1
  5. data/app/models/item.rb +0 -1
  6. data/app/models/manifestation.rb +1 -2
  7. data/app/models/patron.rb +0 -8
  8. data/app/views/notifier/manifestation_info.en.text.erb +18 -0
  9. data/app/views/notifier/manifestation_info.ja.text.erb +18 -0
  10. data/lib/enju_biblio/version.rb +1 -1
  11. data/spec/cassette_library/ImportRequest/import/should_import_bibliographic_record.yml +12 -12
  12. data/spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Administrator/with_isbn_which_is_already_imported/redirects_to_the_created_import_request.yml +12 -12
  13. data/spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Administrator/with_valid_params/assigns_a_newly_created_import_request_as_import_request.yml +12 -12
  14. data/spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Administrator/with_valid_params/redirects_to_the_created_import_request.yml +13 -13
  15. data/spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Librarian/with_valid_params/assigns_a_newly_created_import_request_as_import_request.yml +13 -13
  16. data/spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Librarian/with_valid_params/redirects_to_the_created_import_request.yml +12 -12
  17. data/spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_has_only_isbn/should_be_imported.yml +613 -0
  18. data/spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_is_written_in_shift_jis/should_be_imported.yml +431 -0
  19. data/spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_is_written_in_utf-8/should_be_imported.yml +431 -0
  20. data/spec/controllers/items_controller_spec.rb +16 -8
  21. data/spec/controllers/patrons_controller_spec.rb +8 -4
  22. data/spec/dummy/app/controllers/application_controller.rb +1 -174
  23. data/spec/dummy/config/application.rb +1 -1
  24. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  25. data/spec/dummy/db/test.sqlite3 +0 -0
  26. data/spec/dummy/private/system/picture_files/pictures/000/000/005/medium/spinner.gif +0 -0
  27. data/spec/dummy/private/system/picture_files/pictures/000/000/005/thumb/spinner.gif +0 -0
  28. data/spec/dummy/solr/data/test/index/_goc.fdt +0 -0
  29. data/spec/dummy/solr/data/test/index/_goc.fdx +0 -0
  30. data/spec/dummy/solr/data/test/index/_goc.fnm +7 -0
  31. data/spec/dummy/solr/data/test/index/_goc.frq +0 -0
  32. data/spec/dummy/solr/data/test/index/_goc.nrm +1 -0
  33. data/spec/dummy/solr/data/test/index/_goc.prx +0 -0
  34. data/spec/dummy/solr/data/test/index/_goc.tii +0 -0
  35. data/spec/dummy/solr/data/test/index/_goc.tis +0 -0
  36. data/spec/dummy/solr/data/test/index/_god.fdt +0 -0
  37. data/spec/dummy/solr/data/test/index/_god.fdx +0 -0
  38. data/spec/dummy/solr/data/test/index/_god.fnm +7 -0
  39. data/spec/dummy/solr/data/test/index/_god.frq +0 -0
  40. data/spec/dummy/solr/data/test/index/_god.nrm +1 -0
  41. data/spec/dummy/solr/data/test/index/_god.prx +0 -0
  42. data/spec/dummy/solr/data/test/index/_god.tii +0 -0
  43. data/spec/dummy/solr/data/test/index/_god.tis +0 -0
  44. data/spec/dummy/solr/data/test/index/_goe.fdt +0 -0
  45. data/spec/dummy/solr/data/test/index/_goe.fdx +0 -0
  46. data/spec/dummy/solr/data/test/index/_goe.fnm +8 -0
  47. data/spec/dummy/solr/data/test/index/_goe.frq +0 -0
  48. data/spec/dummy/solr/data/test/index/_goe.nrm +1 -0
  49. data/spec/dummy/solr/data/test/index/_goe.prx +0 -0
  50. data/spec/dummy/solr/data/test/index/_goe.tii +0 -0
  51. data/spec/dummy/solr/data/test/index/_goe.tis +0 -0
  52. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  53. data/spec/dummy/solr/data/test/index/segments_otc +0 -0
  54. data/spec/dummy/tmp/cache/4AD/470/country_all +0 -0
  55. data/spec/fixtures/manifestations.yml +1 -1
  56. data/spec/models/manifestation_spec.rb +1 -1
  57. data/spec/models/resource_import_file_spec.rb +135 -137
  58. metadata +73 -39
  59. data/spec/cassette_library/Manifestation/should_import_isbn.yml +0 -3643
  60. data/spec/dummy/app/models/role.rb +0 -46
  61. data/spec/dummy/app/models/user_group.rb +0 -40
  62. data/spec/dummy/app/models/user_has_role.rb +0 -5
  63. data/spec/dummy/solr/data/test/index/segments_nq2 +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_biblio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre41
4
+ version: 0.1.0.pre42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-16 00:00:00.000000000 Z
11
+ date: 2013-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: enju_core
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: aws-sdk
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
- version: 1.9.5
61
+ version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
- version: 1.9.5
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: marc
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -277,33 +277,33 @@ dependencies:
277
277
  - !ruby/object:Gem::Version
278
278
  version: 2.0.0
279
279
  - !ruby/object:Gem::Dependency
280
- name: enju_library
280
+ name: enju_leaf
281
281
  requirement: !ruby/object:Gem::Requirement
282
282
  requirements:
283
283
  - - ~>
284
284
  - !ruby/object:Gem::Version
285
- version: 0.1.0.pre23
285
+ version: 1.1.0.rc3
286
286
  type: :development
287
287
  prerelease: false
288
288
  version_requirements: !ruby/object:Gem::Requirement
289
289
  requirements:
290
290
  - - ~>
291
291
  - !ruby/object:Gem::Version
292
- version: 0.1.0.pre23
292
+ version: 1.1.0.rc3
293
293
  - !ruby/object:Gem::Dependency
294
294
  name: enju_subject
295
295
  requirement: !ruby/object:Gem::Requirement
296
296
  requirements:
297
297
  - - ~>
298
298
  - !ruby/object:Gem::Version
299
- version: 0.1.0.pre19
299
+ version: 0.1.0.pre20
300
300
  type: :development
301
301
  prerelease: false
302
302
  version_requirements: !ruby/object:Gem::Requirement
303
303
  requirements:
304
304
  - - ~>
305
305
  - !ruby/object:Gem::Version
306
- version: 0.1.0.pre19
306
+ version: 0.1.0.pre20
307
307
  - !ruby/object:Gem::Dependency
308
308
  name: enju_inventory
309
309
  requirement: !ruby/object:Gem::Requirement
@@ -380,42 +380,28 @@ dependencies:
380
380
  requirements:
381
381
  - - ~>
382
382
  - !ruby/object:Gem::Version
383
- version: 0.1.0.pre26
383
+ version: 0.1.0.pre28
384
384
  type: :development
385
385
  prerelease: false
386
386
  version_requirements: !ruby/object:Gem::Requirement
387
387
  requirements:
388
388
  - - ~>
389
389
  - !ruby/object:Gem::Version
390
- version: 0.1.0.pre26
390
+ version: 0.1.0.pre28
391
391
  - !ruby/object:Gem::Dependency
392
392
  name: enju_ndl
393
393
  requirement: !ruby/object:Gem::Requirement
394
394
  requirements:
395
395
  - - ~>
396
396
  - !ruby/object:Gem::Version
397
- version: 0.1.0.pre23
397
+ version: 0.1.0.pre24
398
398
  type: :development
399
399
  prerelease: false
400
400
  version_requirements: !ruby/object:Gem::Requirement
401
401
  requirements:
402
402
  - - ~>
403
403
  - !ruby/object:Gem::Version
404
- version: 0.1.0.pre23
405
- - !ruby/object:Gem::Dependency
406
- name: mobylette
407
- requirement: !ruby/object:Gem::Requirement
408
- requirements:
409
- - - '>='
410
- - !ruby/object:Gem::Version
411
- version: '0'
412
- type: :development
413
- prerelease: false
414
- version_requirements: !ruby/object:Gem::Requirement
415
- requirements:
416
- - - '>='
417
- - !ruby/object:Gem::Version
418
- version: '0'
404
+ version: 0.1.0.pre24
419
405
  - !ruby/object:Gem::Dependency
420
406
  name: simplecov
421
407
  requirement: !ruby/object:Gem::Requirement
@@ -715,6 +701,8 @@ files:
715
701
  - app/views/medium_of_performances/index.html.erb
716
702
  - app/views/medium_of_performances/new.html.erb
717
703
  - app/views/medium_of_performances/show.html.erb
704
+ - app/views/notifier/manifestation_info.en.text.erb
705
+ - app/views/notifier/manifestation_info.ja.text.erb
718
706
  - app/views/owns/_form.html.erb
719
707
  - app/views/owns/edit.html.erb
720
708
  - app/views/owns/index.html.erb
@@ -936,7 +924,9 @@ files:
936
924
  - spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Administrator/with_valid_params/redirects_to_the_created_import_request.yml
937
925
  - spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Librarian/with_valid_params/assigns_a_newly_created_import_request_as_import_request.yml
938
926
  - spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Librarian/with_valid_params/redirects_to_the_created_import_request.yml
939
- - spec/cassette_library/Manifestation/should_import_isbn.yml
927
+ - spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_has_only_isbn/should_be_imported.yml
928
+ - spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_is_written_in_shift_jis/should_be_imported.yml
929
+ - spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_is_written_in_utf-8/should_be_imported.yml
940
930
  - spec/controllers/carrier_types_controller_spec.rb
941
931
  - spec/controllers/content_types_controller_spec.rb
942
932
  - spec/controllers/countries_controller_spec.rb
@@ -978,11 +968,8 @@ files:
978
968
  - spec/dummy/app/mailers/notifier.rb
979
969
  - spec/dummy/app/models/ability.rb
980
970
  - spec/dummy/app/models/local_patron.rb
981
- - spec/dummy/app/models/role.rb
982
971
  - spec/dummy/app/models/setting.rb
983
972
  - spec/dummy/app/models/user.rb
984
- - spec/dummy/app/models/user_group.rb
985
- - spec/dummy/app/models/user_has_role.rb
986
973
  - spec/dummy/app/views/layouts/application.html.erb
987
974
  - spec/dummy/app/views/page/403.html.erb
988
975
  - spec/dummy/app/views/page/403.mobile.erb
@@ -1147,8 +1134,32 @@ files:
1147
1134
  - spec/dummy/solr/conf/spellings.txt
1148
1135
  - spec/dummy/solr/conf/stopwords.txt
1149
1136
  - spec/dummy/solr/conf/synonyms.txt
1137
+ - spec/dummy/solr/data/test/index/_goc.fdt
1138
+ - spec/dummy/solr/data/test/index/_goc.fdx
1139
+ - spec/dummy/solr/data/test/index/_goc.fnm
1140
+ - spec/dummy/solr/data/test/index/_goc.frq
1141
+ - spec/dummy/solr/data/test/index/_goc.nrm
1142
+ - spec/dummy/solr/data/test/index/_goc.prx
1143
+ - spec/dummy/solr/data/test/index/_goc.tii
1144
+ - spec/dummy/solr/data/test/index/_goc.tis
1145
+ - spec/dummy/solr/data/test/index/_god.fdt
1146
+ - spec/dummy/solr/data/test/index/_god.fdx
1147
+ - spec/dummy/solr/data/test/index/_god.fnm
1148
+ - spec/dummy/solr/data/test/index/_god.frq
1149
+ - spec/dummy/solr/data/test/index/_god.nrm
1150
+ - spec/dummy/solr/data/test/index/_god.prx
1151
+ - spec/dummy/solr/data/test/index/_god.tii
1152
+ - spec/dummy/solr/data/test/index/_god.tis
1153
+ - spec/dummy/solr/data/test/index/_goe.fdt
1154
+ - spec/dummy/solr/data/test/index/_goe.fdx
1155
+ - spec/dummy/solr/data/test/index/_goe.fnm
1156
+ - spec/dummy/solr/data/test/index/_goe.frq
1157
+ - spec/dummy/solr/data/test/index/_goe.nrm
1158
+ - spec/dummy/solr/data/test/index/_goe.prx
1159
+ - spec/dummy/solr/data/test/index/_goe.tii
1160
+ - spec/dummy/solr/data/test/index/_goe.tis
1150
1161
  - spec/dummy/solr/data/test/index/segments.gen
1151
- - spec/dummy/solr/data/test/index/segments_nq2
1162
+ - spec/dummy/solr/data/test/index/segments_otc
1152
1163
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1153
1164
  - spec/dummy/solr/data/test/spellchecker/segments_1
1154
1165
  - spec/dummy/tmp/cache/4AD/470/country_all
@@ -1383,7 +1394,9 @@ test_files:
1383
1394
  - spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Administrator/with_valid_params/redirects_to_the_created_import_request.yml
1384
1395
  - spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Librarian/with_valid_params/assigns_a_newly_created_import_request_as_import_request.yml
1385
1396
  - spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Librarian/with_valid_params/redirects_to_the_created_import_request.yml
1386
- - spec/cassette_library/Manifestation/should_import_isbn.yml
1397
+ - spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_has_only_isbn/should_be_imported.yml
1398
+ - spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_is_written_in_shift_jis/should_be_imported.yml
1399
+ - spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_is_written_in_utf-8/should_be_imported.yml
1387
1400
  - spec/controllers/carrier_types_controller_spec.rb
1388
1401
  - spec/controllers/content_types_controller_spec.rb
1389
1402
  - spec/controllers/countries_controller_spec.rb
@@ -1425,11 +1438,8 @@ test_files:
1425
1438
  - spec/dummy/app/mailers/notifier.rb
1426
1439
  - spec/dummy/app/models/ability.rb
1427
1440
  - spec/dummy/app/models/local_patron.rb
1428
- - spec/dummy/app/models/role.rb
1429
1441
  - spec/dummy/app/models/setting.rb
1430
1442
  - spec/dummy/app/models/user.rb
1431
- - spec/dummy/app/models/user_group.rb
1432
- - spec/dummy/app/models/user_has_role.rb
1433
1443
  - spec/dummy/app/views/layouts/application.html.erb
1434
1444
  - spec/dummy/app/views/page/403.html.erb
1435
1445
  - spec/dummy/app/views/page/403.mobile.erb
@@ -1594,8 +1604,32 @@ test_files:
1594
1604
  - spec/dummy/solr/conf/spellings.txt
1595
1605
  - spec/dummy/solr/conf/stopwords.txt
1596
1606
  - spec/dummy/solr/conf/synonyms.txt
1607
+ - spec/dummy/solr/data/test/index/_goc.fdt
1608
+ - spec/dummy/solr/data/test/index/_goc.fdx
1609
+ - spec/dummy/solr/data/test/index/_goc.fnm
1610
+ - spec/dummy/solr/data/test/index/_goc.frq
1611
+ - spec/dummy/solr/data/test/index/_goc.nrm
1612
+ - spec/dummy/solr/data/test/index/_goc.prx
1613
+ - spec/dummy/solr/data/test/index/_goc.tii
1614
+ - spec/dummy/solr/data/test/index/_goc.tis
1615
+ - spec/dummy/solr/data/test/index/_god.fdt
1616
+ - spec/dummy/solr/data/test/index/_god.fdx
1617
+ - spec/dummy/solr/data/test/index/_god.fnm
1618
+ - spec/dummy/solr/data/test/index/_god.frq
1619
+ - spec/dummy/solr/data/test/index/_god.nrm
1620
+ - spec/dummy/solr/data/test/index/_god.prx
1621
+ - spec/dummy/solr/data/test/index/_god.tii
1622
+ - spec/dummy/solr/data/test/index/_god.tis
1623
+ - spec/dummy/solr/data/test/index/_goe.fdt
1624
+ - spec/dummy/solr/data/test/index/_goe.fdx
1625
+ - spec/dummy/solr/data/test/index/_goe.fnm
1626
+ - spec/dummy/solr/data/test/index/_goe.frq
1627
+ - spec/dummy/solr/data/test/index/_goe.nrm
1628
+ - spec/dummy/solr/data/test/index/_goe.prx
1629
+ - spec/dummy/solr/data/test/index/_goe.tii
1630
+ - spec/dummy/solr/data/test/index/_goe.tis
1597
1631
  - spec/dummy/solr/data/test/index/segments.gen
1598
- - spec/dummy/solr/data/test/index/segments_nq2
1632
+ - spec/dummy/solr/data/test/index/segments_otc
1599
1633
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1600
1634
  - spec/dummy/solr/data/test/spellchecker/segments_1
1601
1635
  - spec/dummy/tmp/cache/4AD/470/country_all