enju_nii 0.1.0.pre13 → 0.1.0.pre14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/cinii_books_helper.rb +1 -1
- data/lib/enju_nii/version.rb +1 -1
- data/spec/cassette_library/CiniiBook/should_import_a_bibliographic_record.yml +390 -387
- data/spec/cassette_library/CiniiBook/should_import_a_bibliographic_record_with_dual_languages.yml +282 -180
- data/spec/cassette_library/CiniiBook/should_search_bibliographic_records.yml +25 -25
- data/spec/cassette_library/CiniiBook/should_search_with_ncid.yml +15 -10
- data/spec/cassette_library/CiniiBooksController/GET_index/should_get_index.yml +14 -14
- data/spec/dummy/app/assets/javascripts/application.js +10 -6
- data/spec/models/cinii_book_spec.rb +1 -1
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6556a6aa1f1970cc511472985268b900c20cdf62
|
4
|
+
data.tar.gz: 87946ad0a4e1b6661146790fc649091c7caabbc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4942c3a46d0312032db392f3fc70b32579a0e33b0c06abb13e5fa16ee9d4a81cbd3b5ee8e9edba4fd1df3ebf51b850cd3102dba2c36504426956f250e3749983
|
7
|
+
data.tar.gz: ddd9d78ebc385f5093467d26c3826a252c604ec94edbead981fa0cc87b37e8ded389f2d01eddbd848887c19da1c1e805992ae7c96a1d8cd7c7c5ff303f10d841
|
@@ -9,7 +9,7 @@ module CiniiBooksHelper
|
|
9
9
|
manifestation = Identifier.where(:body => ncid, :identifier_type_id => identifier_type.id).first.try(:manifestation)
|
10
10
|
end
|
11
11
|
unless manifestation
|
12
|
-
|
12
|
+
button_to t('enju_nii.add'), cinii_books_path(book: {ncid: ncid}), method: :post, data: {disable_with: t('page.saving')}
|
13
13
|
else
|
14
14
|
link_to t('enju_nii.already_exists'), manifestation
|
15
15
|
end
|
data/lib/enju_nii/version.rb
CHANGED