enju_flower 0.1.0.pre → 0.1.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/app/views/manifestations/_all_facet.html.erb +1 -1
  3. data/app/views/manifestations/_book_jacket.html.erb +1 -1
  4. data/app/views/manifestations/_classification_facet.html.erb +17 -0
  5. data/app/views/manifestations/_show_detail_librarian.html.erb +4 -0
  6. data/app/views/manifestations/_tab_menu.html.erb +1 -1
  7. data/app/views/manifestations/show.html.erb +1 -1
  8. data/app/views/page/_footer.html.erb +13 -0
  9. data/app/views/page/_footer.mobile.erb +3 -0
  10. data/app/views/page/add_on.html.erb +13 -0
  11. data/app/views/page/msie_acceralator.builder +15 -0
  12. data/lib/enju_flower/version.rb +1 -1
  13. data/lib/enju_flower.rb +1 -0
  14. data/spec/dummy/config/application.rb +0 -1
  15. data/spec/dummy/db/schema.rb +2 -3
  16. data/spec/dummy/db/test.sqlite3 +0 -0
  17. metadata +32 -118
  18. data/app/views/manifestations/_form.html.erb +0 -156
  19. data/app/views/manifestations/_serial_form.html.erb +0 -14
  20. data/app/views/manifestations/edit.html.erb +0 -21
  21. data/app/views/manifestations/new.html.erb +0 -16
  22. data/spec/dummy/db/migrate/20121119153944_add_manifestation_id_to_item.rb +0 -5
  23. data/spec/dummy/solr/data/test/index/_ev.fdt +0 -0
  24. data/spec/dummy/solr/data/test/index/_ev.fdx +0 -0
  25. data/spec/dummy/solr/data/test/index/_ev.fnm +0 -7
  26. data/spec/dummy/solr/data/test/index/_ev.frq +0 -0
  27. data/spec/dummy/solr/data/test/index/_ev.nrm +0 -1
  28. data/spec/dummy/solr/data/test/index/_ev.prx +0 -0
  29. data/spec/dummy/solr/data/test/index/_ev.tii +0 -0
  30. data/spec/dummy/solr/data/test/index/_ev.tis +0 -0
  31. data/spec/dummy/solr/data/test/index/_ew.fdt +0 -0
  32. data/spec/dummy/solr/data/test/index/_ew.fdx +0 -0
  33. data/spec/dummy/solr/data/test/index/_ew.fnm +0 -7
  34. data/spec/dummy/solr/data/test/index/_ew.frq +0 -0
  35. data/spec/dummy/solr/data/test/index/_ew.nrm +0 -1
  36. data/spec/dummy/solr/data/test/index/_ew.prx +0 -0
  37. data/spec/dummy/solr/data/test/index/_ew.tii +0 -0
  38. data/spec/dummy/solr/data/test/index/_ew.tis +0 -0
  39. data/spec/dummy/solr/data/test/index/_ex.fdt +0 -0
  40. data/spec/dummy/solr/data/test/index/_ex.fdx +0 -0
  41. data/spec/dummy/solr/data/test/index/_ex.fnm +0 -8
  42. data/spec/dummy/solr/data/test/index/_ex.frq +0 -0
  43. data/spec/dummy/solr/data/test/index/_ex.nrm +0 -1
  44. data/spec/dummy/solr/data/test/index/_ex.prx +0 -0
  45. data/spec/dummy/solr/data/test/index/_ex.tii +0 -0
  46. data/spec/dummy/solr/data/test/index/_ex.tis +0 -0
  47. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  48. data/spec/dummy/solr/data/test/index/segments_jz +0 -0
  49. data/spec/dummy/solr/data/test/spellchecker/segments.gen +0 -0
  50. data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
  51. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  52. data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9f9ef6cfba6dcb23b73d3a29760ed0f96c2811e9
4
+ data.tar.gz: df6677e3a38ba43b9e629165675130009897169e
5
+ SHA512:
6
+ metadata.gz: 182d6613b9540f00b1457ee7960e5c412e65c4c06d69903cd09caeeacb840e21a20ff62973ff30bfc3c0c65a2ac3f76af575a0d34ce3f6723fca75cfa2059674
7
+ data.tar.gz: 3926576e41b9c8f95bff18871d99ecea5d4d3cc4c51144c1a0af4cc12eb77b2305fbcee44599dbd6bf3758c559089685b082f79ad67447f8f13050d3e30e5050
@@ -3,6 +3,6 @@
3
3
  <%= render 'manifestations/language_facet' -%>
4
4
  <%= render 'manifestations/pub_year_facet' -%>
5
5
  <%=
6
- #render 'manifestations/subject_facet'
6
+ #render 'manifestations/classification_facet'
7
7
  -%>
8
8
  <%= render 'manifestations/reservable_facet' if defined?(EnjuCirculation) -%>
@@ -1,5 +1,5 @@
1
1
  <div id="manifestation_book_jacket">
2
- <%- if manifestation -%>
2
+ <%- if manifestation and defined?(EnjuBookJacket) -%>
3
3
  <%= book_jacket(manifestation) -%>
4
4
  <%- end -%>
5
5
  </div>
@@ -0,0 +1,17 @@
1
+ <h4><%= t('activerecord.models.classification') -%></h4>
2
+ <%- unless @classification_facet.blank? -%>
3
+ <ul>
4
+ <% @classification_facet.each do |category| %>
5
+ <li>
6
+ <% if category.value == params[:classification].to_s.downcase %><strong><% end %>
7
+ <%= link_to "#{t('classification.category', :number => category.value)} #{category_name(category.value)} (#{category.count})", url_for(params.merge(:classification => category.value, :page => nil, :view => nil, :only_path => true)) %>
8
+ <% if category.value == params[:classification].to_s.downcase %></strong><% end %>
9
+ </li>
10
+ <% end %>
11
+ <%- if params[:classification] -%>
12
+ <li><%= link_to t('page.remove_this_facet'), url_for(params.merge(:classification => nil, :page => nil, :view => nil, :only_path => true)) -%></li>
13
+ <%- end -%>
14
+ </ul>
15
+ <%- else -%>
16
+ <p><%= t('page.no_subject') -%></p>
17
+ <%- end -%>
@@ -73,6 +73,10 @@
73
73
  <%- end -%>
74
74
  </td>
75
75
  </tr>
76
+ <tr>
77
+ <td><%= t('activerecord.attributes.classification.category') %></td>
78
+ <td></td>
79
+ </tr>
76
80
  <% end %>
77
81
  <% if defined?(EnjuBookmark) %>
78
82
  <tr>
@@ -1,4 +1,4 @@
1
- <ul>
1
+ <ul class="hidden">
2
2
  <li class="selected"><a href="#detail"><em><%= t('page.detail') -%></em></a></li>
3
3
  <%- if manifestation.original_manifestations.exists? or manifestation.derived_manifestations.exists? -%>
4
4
  <li><a href="#related_manifestation"><em><%= t('page.related_manifestation') -%> (<%= manifestation.original_manifestations.size + manifestation.derived_manifestations.size -%>)</em></a></li>
@@ -94,7 +94,7 @@
94
94
  <%- end -%>
95
95
  </ul>
96
96
  </li>
97
- <% if can? :destroy, @manifestation %>
97
+ <% if can? :delete, @manifestation %>
98
98
  <li><%= link_to t('page.destroy'), @manifestation, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></li>
99
99
  <% end %>
100
100
  <li><%= link_to t('manifestation.add_derivation'), manifestation_manifestations_path(@manifestation, :mode => 'add') -%></li>
@@ -0,0 +1,13 @@
1
+ <div class="header_and_footer">
2
+ <div id="footer">
3
+ <a href="https://github.com/nabeta/enju_leaf/">Next-L Enju Leaf <%= EnjuLeaf::VERSION %></a>
4
+ + <a href="https://github.com/next-l/enju_flower/">Next-L Enju Flower <%= EnjuFlower::VERSION %></a>,
5
+ <%= t('page.open_source_integrated_library_system') -%>
6
+ <br />
7
+ Developed by <a href="http://mwr.mediacom.keio.ac.jp/~tanabe/">Kosuke Tanabe</a> and <a href="http://www.next-l.jp/">Project Next-L</a> |
8
+ <%= link_to t('page.report_bugs'), "https://github.com/nabeta/enju_leaf/issues" -%>
9
+ <% if is_mobile_request? %>
10
+ | <%= link_to t('page.mobile_view'), url_for(:mobile_view => 'true') %>
11
+ <% end %>
12
+ </div>
13
+ </div>
@@ -0,0 +1,3 @@
1
+ <div data-role="footer">
2
+ <%= link_to t('page.standard_view'), url_for(:mobile_view => 'false'), "data-ajax" => false %>
3
+ </div>
@@ -0,0 +1,13 @@
1
+ <div id="content_detail" class="ui-corner-all">
2
+ <h1 class="title"><%= t('page.add_on') -%></h1>
3
+ <div id="content_list">
4
+
5
+ <%= msie_acceralator -%>
6
+
7
+ </div>
8
+ </div>
9
+
10
+ <div id="submenu" class="ui-corner-all">
11
+ <ul>
12
+ </ul>
13
+ </div>
@@ -0,0 +1,15 @@
1
+ xml.openServiceDescription("xmlns" => "http://www.microsoft.com/schemas/openservicedescription/1.0") do
2
+ xml.homepageUrl LibraryGroup.site_config.url
3
+ xml.display do
4
+ xml.name LibraryGroup.system_name(@locale)
5
+ xml.description t('page.search_catalog_at', :library_name => LibraryGroup.system_name(@locale))
6
+ end
7
+ xml.activity("category" => t('page.search')) do
8
+ xml.activityAction do
9
+ xml.preview("action" => manifestations_url)
10
+ xml.execute("action" => manifestations_url) do
11
+ xml.parameter("name" => "query", "value" => "{selection}")
12
+ end
13
+ end
14
+ end
15
+ end
@@ -1,3 +1,3 @@
1
1
  module EnjuFlower
2
- VERSION = "0.1.0.pre"
2
+ VERSION = "0.1.0.pre2"
3
3
  end
data/lib/enju_flower.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require "enju_flower/engine"
2
+ require "enju_flower/version"
2
3
 
3
4
  module EnjuFlower
4
5
  end
@@ -59,6 +59,5 @@ end
59
59
 
60
60
  require 'enju_biblio'
61
61
  require 'enju_library'
62
- require 'lisbn'
63
62
  require 'mobylette'
64
63
  require 'plugins'
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20121119153944) do
14
+ ActiveRecord::Schema.define(:version => 20121116033446) do
15
15
 
16
16
  create_table "baskets", :force => true do |t|
17
17
  t.integer "user_id"
@@ -429,7 +429,6 @@ ActiveRecord::Schema.define(:version => 20121119153944) do
429
429
  t.datetime "acquired_at"
430
430
  t.integer "bookstore_id"
431
431
  t.integer "budget_type_id"
432
- t.integer "manifestation_id"
433
432
  end
434
433
 
435
434
  add_index "items", ["bookstore_id"], :name => "index_items_on_bookstore_id"
@@ -677,7 +676,7 @@ ActiveRecord::Schema.define(:version => 20121119153944) do
677
676
  t.text "title", :null => false
678
677
  t.text "body", :null => false
679
678
  t.integer "position"
680
- t.string "locale", :default => "en"
679
+ t.string "locale", :default => "ja"
681
680
  t.datetime "created_at", :null => false
682
681
  t.datetime "updated_at", :null => false
683
682
  end
Binary file
metadata CHANGED
@@ -1,174 +1,153 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_flower
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre
5
- prerelease: 6
4
+ version: 0.1.0.pre2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Kosuke Tanabe
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-25 00:00:00.000000000 Z
11
+ date: 2013-03-16 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
- version: 3.2.12
19
+ version: 3.2.13.rc2
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
- version: 3.2.12
26
+ version: 3.2.13.rc2
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: sqlite3
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rspec-rails
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: vcr
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: simplecov
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: factory_girl_rails
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - '>='
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - '>='
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: sunspot_solr
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
101
  - - ~>
116
102
  - !ruby/object:Gem::Version
117
- version: 2.0.0.pre.130115
103
+ version: 2.0.0
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
108
  - - ~>
124
109
  - !ruby/object:Gem::Version
125
- version: 2.0.0.pre.130115
110
+ version: 2.0.0
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: enju_biblio
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
115
  - - ~>
132
116
  - !ruby/object:Gem::Version
133
- version: 0.1.0.pre19
117
+ version: 0.1.0.pre25
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
122
  - - ~>
140
123
  - !ruby/object:Gem::Version
141
- version: 0.1.0.pre19
124
+ version: 0.1.0.pre25
142
125
  - !ruby/object:Gem::Dependency
143
126
  name: enju_library
144
127
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
128
  requirements:
147
129
  - - ~>
148
130
  - !ruby/object:Gem::Version
149
- version: 0.1.0.pre9
131
+ version: 0.1.0.pre13
150
132
  type: :development
151
133
  prerelease: false
152
134
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
135
  requirements:
155
136
  - - ~>
156
137
  - !ruby/object:Gem::Version
157
- version: 0.1.0.pre9
138
+ version: 0.1.0.pre13
158
139
  - !ruby/object:Gem::Dependency
159
140
  name: mobylette
160
141
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
142
  requirements:
163
- - - ! '>='
143
+ - - '>='
164
144
  - !ruby/object:Gem::Version
165
145
  version: '0'
166
146
  type: :development
167
147
  prerelease: false
168
148
  version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
149
  requirements:
171
- - - ! '>='
150
+ - - '>='
172
151
  - !ruby/object:Gem::Version
173
152
  version: '0'
174
153
  description: User interface for Next-L Enju
@@ -184,8 +163,8 @@ files:
184
163
  - app/views/manifestations/_book_jacket.html.erb
185
164
  - app/views/manifestations/_call_number.html.erb
186
165
  - app/views/manifestations/_carrier_type_facet.html.erb
166
+ - app/views/manifestations/_classification_facet.html.erb
187
167
  - app/views/manifestations/_edition_and_number.html.erb
188
- - app/views/manifestations/_form.html.erb
189
168
  - app/views/manifestations/_history_list.html.erb
190
169
  - app/views/manifestations/_holding.html.erb
191
170
  - app/views/manifestations/_index_form.html.erb
@@ -207,7 +186,6 @@ files:
207
186
  - app/views/manifestations/_question_list.html.erb
208
187
  - app/views/manifestations/_reservable_facet.html.erb
209
188
  - app/views/manifestations/_search_engine.html.erb
210
- - app/views/manifestations/_serial_form.html.erb
211
189
  - app/views/manifestations/_session_ids.html.erb
212
190
  - app/views/manifestations/_show.mods.builder
213
191
  - app/views/manifestations/_show.rdf.builder
@@ -228,7 +206,6 @@ files:
228
206
  - app/views/manifestations/_tab_menu.html.erb
229
207
  - app/views/manifestations/_title.html.erb
230
208
  - app/views/manifestations/_title.mobile.erb
231
- - app/views/manifestations/edit.html.erb
232
209
  - app/views/manifestations/error.xml
233
210
  - app/views/manifestations/explain.sru
234
211
  - app/views/manifestations/index.atom.builder
@@ -240,11 +217,14 @@ files:
240
217
  - app/views/manifestations/index.rdf.builder
241
218
  - app/views/manifestations/index.rss.builder
242
219
  - app/views/manifestations/index.sru.builder
243
- - app/views/manifestations/new.html.erb
244
220
  - app/views/manifestations/show.html.erb
245
221
  - app/views/manifestations/show.mobile.erb
246
222
  - app/views/manifestations/show.mods.builder
247
223
  - app/views/manifestations/show.rdf.builder
224
+ - app/views/page/_footer.html.erb
225
+ - app/views/page/_footer.mobile.erb
226
+ - app/views/page/add_on.html.erb
227
+ - app/views/page/msie_acceralator.builder
248
228
  - config/routes.rb
249
229
  - lib/enju_flower/engine.rb
250
230
  - lib/enju_flower/version.rb
@@ -446,7 +426,6 @@ files:
446
426
  - spec/dummy/db/migrate/20120728204337_create_series_statement_relationships.rb
447
427
  - spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
448
428
  - spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb
449
- - spec/dummy/db/migrate/20121119153944_add_manifestation_id_to_item.rb
450
429
  - spec/dummy/db/schema.rb
451
430
  - spec/dummy/db/test.sqlite3
452
431
  - spec/dummy/lib/plugins/ext/event-calendar.rb
@@ -473,36 +452,6 @@ files:
473
452
  - spec/dummy/solr/conf/spellings.txt
474
453
  - spec/dummy/solr/conf/stopwords.txt
475
454
  - spec/dummy/solr/conf/synonyms.txt
476
- - spec/dummy/solr/data/test/index/_ev.fdt
477
- - spec/dummy/solr/data/test/index/_ev.fdx
478
- - spec/dummy/solr/data/test/index/_ev.fnm
479
- - spec/dummy/solr/data/test/index/_ev.frq
480
- - spec/dummy/solr/data/test/index/_ev.nrm
481
- - spec/dummy/solr/data/test/index/_ev.prx
482
- - spec/dummy/solr/data/test/index/_ev.tii
483
- - spec/dummy/solr/data/test/index/_ev.tis
484
- - spec/dummy/solr/data/test/index/_ew.fdt
485
- - spec/dummy/solr/data/test/index/_ew.fdx
486
- - spec/dummy/solr/data/test/index/_ew.fnm
487
- - spec/dummy/solr/data/test/index/_ew.frq
488
- - spec/dummy/solr/data/test/index/_ew.nrm
489
- - spec/dummy/solr/data/test/index/_ew.prx
490
- - spec/dummy/solr/data/test/index/_ew.tii
491
- - spec/dummy/solr/data/test/index/_ew.tis
492
- - spec/dummy/solr/data/test/index/_ex.fdt
493
- - spec/dummy/solr/data/test/index/_ex.fdx
494
- - spec/dummy/solr/data/test/index/_ex.fnm
495
- - spec/dummy/solr/data/test/index/_ex.frq
496
- - spec/dummy/solr/data/test/index/_ex.nrm
497
- - spec/dummy/solr/data/test/index/_ex.prx
498
- - spec/dummy/solr/data/test/index/_ex.tii
499
- - spec/dummy/solr/data/test/index/_ex.tis
500
- - spec/dummy/solr/data/test/index/segments.gen
501
- - spec/dummy/solr/data/test/index/segments_jz
502
- - spec/dummy/solr/data/test/spellchecker/segments.gen
503
- - spec/dummy/solr/data/test/spellchecker/segments_1
504
- - spec/dummy/tmp/cache/4F7/F90/default_role
505
- - spec/dummy/tmp/cache/6E4/420/search_engine_all
506
455
  - spec/factories/basket.rb
507
456
  - spec/factories/carrier_type.rb
508
457
  - spec/factories/content_type.rb
@@ -586,30 +535,26 @@ files:
586
535
  - spec/support/devise.rb
587
536
  homepage: https://github.com/next-l/enju_flower
588
537
  licenses: []
538
+ metadata: {}
589
539
  post_install_message:
590
540
  rdoc_options: []
591
541
  require_paths:
592
542
  - lib
593
543
  required_ruby_version: !ruby/object:Gem::Requirement
594
- none: false
595
544
  requirements:
596
- - - ! '>='
545
+ - - '>='
597
546
  - !ruby/object:Gem::Version
598
547
  version: '0'
599
- segments:
600
- - 0
601
- hash: -1440502379055050159
602
548
  required_rubygems_version: !ruby/object:Gem::Requirement
603
- none: false
604
549
  requirements:
605
- - - ! '>'
550
+ - - '>'
606
551
  - !ruby/object:Gem::Version
607
552
  version: 1.3.1
608
553
  requirements: []
609
554
  rubyforge_project:
610
- rubygems_version: 1.8.23
555
+ rubygems_version: 2.0.0
611
556
  signing_key:
612
- specification_version: 3
557
+ specification_version: 4
613
558
  summary: Next-L Enju Flower
614
559
  test_files:
615
560
  - spec/controllers/manifestations_controller_spec.rb
@@ -802,7 +747,6 @@ test_files:
802
747
  - spec/dummy/db/migrate/20120728204337_create_series_statement_relationships.rb
803
748
  - spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
804
749
  - spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb
805
- - spec/dummy/db/migrate/20121119153944_add_manifestation_id_to_item.rb
806
750
  - spec/dummy/db/schema.rb
807
751
  - spec/dummy/db/test.sqlite3
808
752
  - spec/dummy/lib/plugins/ext/event-calendar.rb
@@ -829,36 +773,6 @@ test_files:
829
773
  - spec/dummy/solr/conf/spellings.txt
830
774
  - spec/dummy/solr/conf/stopwords.txt
831
775
  - spec/dummy/solr/conf/synonyms.txt
832
- - spec/dummy/solr/data/test/index/_ev.fdt
833
- - spec/dummy/solr/data/test/index/_ev.fdx
834
- - spec/dummy/solr/data/test/index/_ev.fnm
835
- - spec/dummy/solr/data/test/index/_ev.frq
836
- - spec/dummy/solr/data/test/index/_ev.nrm
837
- - spec/dummy/solr/data/test/index/_ev.prx
838
- - spec/dummy/solr/data/test/index/_ev.tii
839
- - spec/dummy/solr/data/test/index/_ev.tis
840
- - spec/dummy/solr/data/test/index/_ew.fdt
841
- - spec/dummy/solr/data/test/index/_ew.fdx
842
- - spec/dummy/solr/data/test/index/_ew.fnm
843
- - spec/dummy/solr/data/test/index/_ew.frq
844
- - spec/dummy/solr/data/test/index/_ew.nrm
845
- - spec/dummy/solr/data/test/index/_ew.prx
846
- - spec/dummy/solr/data/test/index/_ew.tii
847
- - spec/dummy/solr/data/test/index/_ew.tis
848
- - spec/dummy/solr/data/test/index/_ex.fdt
849
- - spec/dummy/solr/data/test/index/_ex.fdx
850
- - spec/dummy/solr/data/test/index/_ex.fnm
851
- - spec/dummy/solr/data/test/index/_ex.frq
852
- - spec/dummy/solr/data/test/index/_ex.nrm
853
- - spec/dummy/solr/data/test/index/_ex.prx
854
- - spec/dummy/solr/data/test/index/_ex.tii
855
- - spec/dummy/solr/data/test/index/_ex.tis
856
- - spec/dummy/solr/data/test/index/segments.gen
857
- - spec/dummy/solr/data/test/index/segments_jz
858
- - spec/dummy/solr/data/test/spellchecker/segments.gen
859
- - spec/dummy/solr/data/test/spellchecker/segments_1
860
- - spec/dummy/tmp/cache/4F7/F90/default_role
861
- - spec/dummy/tmp/cache/6E4/420/search_engine_all
862
776
  - spec/factories/basket.rb
863
777
  - spec/factories/carrier_type.rb
864
778
  - spec/factories/content_type.rb
@@ -1,156 +0,0 @@
1
- <%= render 'page/required_field' %>
2
- <%= simple_form_for(@manifestation, :html => { :multipart => true }) do |f| -%>
3
- <%= f.error_messages -%>
4
-
5
- <div class="field">
6
- <%- if @manifestation.series_has_manifestation.try(:series_statement) -%>
7
- <%= f.label t('activerecord.models.series_statement') -%>
8
- <%= link_to @manifestation.series_has_manifestation.series_statement.original_title, @manifestation.series_has_manifestation.series_statement -%>
9
- <% if @manifestation.new_record? %>
10
- (<%= link_to t('series_statement.edit'), series_statements_path %>)
11
- <% else %>
12
- (<%= link_to t('series_statement.edit'), series_statements_path(:manifestation_id => @manifestation.id) -%>)
13
- <% end %>
14
- <%- else -%>
15
- <%= f.label t('activerecord.models.series_statement') -%>
16
- <% if @manifestation.new_record? %>
17
- (<%= link_to t('page.listing', :model => t('activerecord.models.series_statement')), series_statements_path -%>)
18
- <% else %>
19
- (<%= link_to t('page.listing', :model => t('activerecord.models.series_statement')), manifestation_series_statements_path(@manifestation) -%>)
20
- <%- end -%>
21
- <%- end -%>
22
- <% if @series_statement %>
23
- <%= f.fields_for :series_has_manifestation do |s| %>
24
- <%= s.hidden_field :series_statement_id %>
25
- <% end %>
26
- <% end %>
27
- </div>
28
-
29
- <div class="field">
30
- <%= f.label :original_title -%><br />
31
- <%= f.text_field :original_title, :class => 'resource_title' -%>
32
- </div>
33
- <div class="field">
34
- <%= f.label :title_transcription -%><br />
35
- <%= f.text_field :title_transcription, :class => 'resource_title' -%>
36
- </div>
37
- <div class="field">
38
- <%= f.label :title_alternative -%><br />
39
- <%= f.text_field :title_alternative, :class => 'resource_title' -%>
40
- </div>
41
-
42
- <%- if @series_statement.try(:periodical?) -%>
43
- <%= render :partial => 'manifestations/serial_form', :locals => {:f => f, :manifestation => @manifestation} -%>
44
- <%- else -%>
45
- <div class="field">
46
- <%= f.label :edition_string -%>
47
- <%= f.text_field :edition_string %>
48
- <%= f.label :edition -%>
49
- <%= f.text_field :edition, :class => 'resource_integer' -%>
50
- <br />
51
- <%= f.label :volume_number_string -%>
52
- <%= f.text_field :volume_number_string %>
53
- <%= f.label :volume_number -%>
54
- <%= f.text_field :volume_number, :class => 'resource_integer' -%>
55
- </div>
56
- <% end %>
57
-
58
- <div class="field">
59
- <%= f.label t('page.file') -%><br />
60
- <%= f.file_field :attachment -%>
61
- </div>
62
-
63
- <div class="field">
64
- <%= f.label t('activerecord.models.content_type') -%>
65
- <%= f.select(:content_type_id, @content_types.collect{|c| [c.display_name.localize, c.id]}) -%>
66
- </div>
67
-
68
- <div class="field">
69
- <%= f.label t('activerecord.models.carrier_type') -%>
70
- <%= f.select(:carrier_type_id, @carrier_types.collect{|c| [c.display_name.localize, c.id]}) -%>
71
- <!-- TODO: Formの切り替え時に入力項目をAjaxで書き換える -->
72
- </div>
73
-
74
- <div class="field">
75
- <%= f.label t('activerecord.models.frequency') -%>
76
- <%= f.select(:frequency_id, @frequencies.collect{|frequency| [frequency.display_name.localize, frequency.id]}) -%>
77
- </div>
78
-
79
- <div class="field">
80
- <%= f.label :pub_date -%>
81
- <%= f.text_field :pub_date, :class => 'date_field', :placeholder => "#{t('page.example')}: 2011, 2011-04-12"-%>
82
- </div>
83
-
84
- <div class="field">
85
- <%= f.label t('activerecord.models.language') -%>
86
- <%= f.select(:language_id, @languages.collect{|language| [language.display_name.localize, language.id]}) -%>
87
- </div>
88
-
89
- <div class="field">
90
- <%= f.label :isbn -%>
91
- <%= f.text_field :isbn, :class => 'resource_isbn_issn', :style => 'ime-mode: disabled' -%>
92
- <%= link_to_function t('activerecord.attributes.manifestation.wrong_isbn'), "$('#manifestation_wrong_isbn').toggle()" -%>
93
- <%= f.text_field :wrong_isbn, :class => 'resource_isbn_issn', :style => 'ime-mode: disabled; display: none' -%>
94
- </div>
95
- <div class="field">
96
- <%= f.label :lccn -%>
97
- <%= f.text_field :lccn, :class => 'resource_isbn_issn', :style => 'ime-mode: disabled' -%>
98
- <%- if @series_statement.try(:periodical?) -%>
99
- <%= f.label :issn -%>
100
- <%= f.text_field :issn, :class => 'resource_isbn_issn', :style => 'ime-mode: disabled' -%>
101
- <% end %>
102
- </div>
103
-
104
- <div class="field">
105
- <%= f.label :start_page -%>
106
- <%= f.text_field :start_page, :class => 'resource_integer' -%>
107
- <%= f.label :end_page -%>
108
- <%= f.text_field :end_page, :class => 'resource_integer' -%>
109
- </div>
110
-
111
- <div class="field">
112
- <%= f.label :height -%>(cm)
113
- <%= f.text_field :height, :class => 'resource_integer' -%>
114
- <%= f.label :width -%>(cm)
115
- <%= f.text_field :width, :class => 'resource_integer' -%>
116
- <%= f.label :depth -%>(cm)
117
- <%= f.text_field :depth, :class => 'resource_integer' -%>
118
- </div>
119
-
120
- <div class="field">
121
- <%= f.label :price -%>
122
- <%= f.text_field :price, :class => 'resource_integer' -%>
123
- </div>
124
-
125
- <div class="field">
126
- <%= f.label :access_address -%><br />
127
- <%= f.url_field :access_address, :class => 'resource_url' -%>
128
- </div>
129
-
130
- <div class="field">
131
- <%= f.label :repository_content -%>
132
- <%= f.check_box :repository_content -%>
133
- </div>
134
-
135
- <div class="field">
136
- <%= f.label t('role.required_role') -%>
137
- <%= f.select(:required_role_id, @roles.collect{|r| [r.display_name.localize, r.id]}) -%>
138
- </div>
139
-
140
- <div class="field">
141
- <%= f.label :description -%><br />
142
- <%= f.text_area :description, :class => 'resource_textarea' -%>
143
- </div>
144
-
145
- <div class="field">
146
- <%= f.label :note -%><br />
147
- <%= f.text_area :note, :class => 'resource_textarea' -%>
148
- </div>
149
-
150
- <div class="actions">
151
- <%= hidden_field_tag :patron_id, @patron.id if @patron -%>
152
- <%= hidden_field_tag :manifestation_id, @original_manifestation.id if @original_manifestation -%>
153
- <%= f.submit %>
154
- </div>
155
- <%= javascript_tag("$(function(){$('#query').focus()})") %>
156
- <%- end -%>
@@ -1,14 +0,0 @@
1
- <div class="field">
2
- <%= f.label :volume_number_string -%>
3
- <%= f.text_field :volume_number_string -%>
4
- <%= f.label :volume_number -%>
5
- <%= f.text_field :volume_number, :class => 'resource_integer' -%>
6
- <br />
7
- <%= f.label :issue_number_string -%>
8
- <%= f.text_field :issue_number_string -%>
9
- <%= f.label :issue_number -%>
10
- <%= f.text_field :issue_number, :class => 'resource_integer' -%>
11
- <br />
12
- <%= f.label :serial_number -%>
13
- <%= f.text_field :serial_number, :class => 'resource_integer', :style => 'ime-mode: disabled' -%>
14
- </div>
@@ -1,21 +0,0 @@
1
- <div id="content_detail" class="ui-corner-all">
2
- <h1 class="title"><%= t('page.editing', :model => t('activerecord.models.manifestation')) -%></h1>
3
- <div id="content_list">
4
- <%= render 'manifestations/form' %>
5
- </div>
6
- </div>
7
-
8
- <div id="submenu" class="ui-corner-all">
9
- <%= render 'manifestations/book_jacket', :manifestation => @manifestation -%>
10
- <ul>
11
- <li><%= link_to t('page.show'), @manifestation -%></li>
12
- <% if can? :destroy, @manifestation %>
13
- <li><%= link_to t('page.destroy'), @manifestation, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></li>
14
- <% end %>
15
- <%- case when @patron -%>
16
- <li><%= link_to t('page.back'), publisher_manifestations_path(@patron) -%></li>
17
- <%- else -%>
18
- <li><%= link_to t('page.back'), manifestations_path -%></li>
19
- <%- end -%>
20
- </ul>
21
- </div>
@@ -1,16 +0,0 @@
1
- <div id="content_detail" class="ui-corner-all">
2
- <h1 class="title"><%= t('page.new', :model => t('activerecord.models.manifestation')) -%></h1>
3
- <div id="content_list">
4
- <%= render 'manifestations/form' %>
5
- </div>
6
- </div>
7
-
8
- <div id="submenu" class="ui-corner-all">
9
- <ul>
10
- <%- if @patron -%>
11
- <li><%= link_to t('page.back'), publisher_manifestations_path(@patron) -%></li>
12
- <%- else -%>
13
- <li><%= link_to t('page.back'), manifestations_path -%></li>
14
- <%- end -%>
15
- </ul>
16
- </div>
@@ -1,5 +0,0 @@
1
- class AddManifestationIdToItem < ActiveRecord::Migration
2
- def change
3
- add_column :items, :manifestation_id, :integer
4
- end
5
- end
@@ -1,7 +0,0 @@
1
- ����*idtype
2
- class_nametitle_smconnect_title_sconnect_creator_sconnect_publisher_sisbn_smcarrier_type_s
3
- library_sm
4
- language_sitem_identifier_smshelf_sm created_at_d updated_at_dcreator_ids_imcontributor_ids_impublisher_ids_im item_ids_imrequired_role_id_i start_page_i
5
- end_page_inumber_of_pages_iseries_statement_id_irepository_content_b
6
- creator_sm sort_title_s periodical_bperiodical_master_b
7
- title_text creator_textcontributor_textpublisher_textitem_identifier_text aulast_text aufirst_textau_text btitle_text isbn_textoriginal_manifestation_ids_im jtitle_text pub_date_dm
@@ -1 +0,0 @@
1
- NRM�turxtuxutrtwsssuuvyrttrvrrtxtxswuywtrtyvywtuwwttptxy|||||||||||tuuu|||||||||||||||||||||||||||||||||wxwwx|||||||||||||||||||||||||||||||||||||||||||||wxwwx|||||||||||||||||||||||||||u|||||||||||||||||uvw|||||||x|||||||||||||||||||||||||||||||||||||||y||||||||||||w���|||||||||||||||||||||||||||||||||��|||||||||||w���|||||||||||||||||||||||||||||||||xy|||||||||||tuuu|||||||||||||||||||||||||||||||||turxtuxutrtwsssuuvyrttrvrrtxtxswuywtrtyvywtuwwttpt||||��|||||��||||||||||||||||||||||||||||||||||||||tu|||||||||||||||||||||||||||||||||||||||||||||||
@@ -1,7 +0,0 @@
1
- ����*idtype
2
- class_nametitle_smconnect_title_sconnect_creator_sconnect_publisher_sisbn_smcarrier_type_s
3
- library_sm
4
- language_sitem_identifier_smshelf_sm created_at_d updated_at_dcreator_ids_imcontributor_ids_impublisher_ids_im item_ids_imrequired_role_id_i start_page_i
5
- end_page_inumber_of_pages_iseries_statement_id_irepository_content_b
6
- creator_sm sort_title_s periodical_bperiodical_master_b
7
- title_text creator_textcontributor_textpublisher_textitem_identifier_text aulast_text aufirst_textau_text btitle_text isbn_textoriginal_manifestation_ids_im jtitle_text pub_date_dm
@@ -1 +0,0 @@
1
- NRM�xuuwuyutxxvxvxwtyvxwxxxvvtwwxvytwxwrwvxxyxuyxyuysx||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||xuuwuyutxxvxvxwtyvxwxxxvvtwwxvytwxwrwvxxyxuyxyuysx||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@@ -1,8 +0,0 @@
1
- ����2idtype
2
- class_nametitle_smconnect_title_sconnect_creator_sconnect_publisher_sisbn_smcarrier_type_s
3
- library_sm
4
- language_sitem_identifier_smshelf_sm created_at_d updated_at_dcreator_ids_imcontributor_ids_impublisher_ids_im item_ids_imrequired_role_id_i start_page_i
5
- end_page_inumber_of_pages_iseries_statement_id_irepository_content_b
6
- creator_sm sort_title_s periodical_bperiodical_master_b
7
- title_text creator_textcontributor_textpublisher_textitem_identifier_text aulast_text aufirst_textau_text btitle_text isbn_textoriginal_manifestation_ids_im jtitle_text pub_date_dmissn_sm issn_textvolume_number_iissue_number_iserial_number_i atitle_textdate_of_publication_d
8
- pub_year_i
@@ -1 +0,0 @@
1
- NRM�vruwvvuur|xutttttwwuuuuuuxx||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||xtt|uuutt||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||vruwvvuur|xu||tttwwuuuuuuxx|||||y|||��|||||||���������||||||||||||xw|||||||||||||||||||||||||y||||||||||||||||||||||||||tt|||||||||||||