enju_biblio 0.2.0.beta.1 → 0.2.0.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/picture_files_helper.rb +5 -5
- data/app/models/picture_file.rb +10 -1
- data/app/views/manifestations/show.html.erb +1 -1
- data/app/views/picture_files/show.html+phone.erb +2 -2
- data/app/views/picture_files/show.html.erb +2 -2
- data/db/migrate/20091012101112_add_dcndl_schema.rb +2 -2
- data/db/migrate/20160811102604_add_picture_width_to_picture_file.rb +6 -0
- data/lib/enju_biblio/engine.rb +1 -3
- data/lib/enju_biblio/version.rb +1 -1
- data/spec/dummy/app/controllers/application_controller.rb +1 -2
- data/spec/dummy/config/application.rb +3 -2
- data/spec/dummy/db/schema.rb +4 -2
- data/spec/fixtures/library_groups.yml +2 -4
- data/spec/rails_helper.rb +1 -1
- data/spec/routing/resource_import_files_routing_spec.rb +35 -0
- metadata +99 -82
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50d129df29fd20bd177861de5f04438006af46a9
|
4
|
+
data.tar.gz: fd340579d9a396a70bada80b8005113911ea68df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c73cfc96f9b2eccf7d852065d4913398b96382dc097d221e12a38222e38f454b1cb8e04f2fc5dfb9a59267bffb06f3c5043b68696ece4cc7168d6c4149e7c45
|
7
|
+
data.tar.gz: b096f74133b6efff51c95c3eaedde1a57e58ca7f99c1f403b1a6210d726ecbecb6d00411213bad7aaed95ed7563ab1549ed20559ec05dada23d22007433b3c16
|
@@ -2,14 +2,14 @@ module PictureFilesHelper
|
|
2
2
|
def show_image(picture_file, options = {size: :medium})
|
3
3
|
case options[:size]
|
4
4
|
when :medium
|
5
|
-
if picture_file.
|
6
|
-
return image_tag picture_file_path(picture_file, format: :download, size: :medium), alt: "*", width:
|
5
|
+
if picture_file.picture_width.to_i >= 600
|
6
|
+
return image_tag picture_file_path(picture_file, format: :download, size: :medium), alt: "*", width: 600
|
7
7
|
end
|
8
8
|
when :thumb
|
9
|
-
if picture_file.
|
10
|
-
return image_tag picture_file_path(picture_file, format: :download, size: :thumb), alt: "*", width:
|
9
|
+
if picture_file.picture_width.to_i >= 100
|
10
|
+
return image_tag picture_file_path(picture_file, format: :download, size: :thumb), alt: "*", width: 100
|
11
11
|
end
|
12
12
|
end
|
13
|
-
image_tag picture_file_path(picture_file, format: :download, size: :original), alt: "*", width: picture_file.
|
13
|
+
image_tag picture_file_path(picture_file, format: :download, size: :original), alt: "*", width: picture_file.picture_width, height: picture_file.picture_height
|
14
14
|
end
|
15
15
|
end
|
data/app/models/picture_file.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
class PictureFile < ActiveRecord::Base
|
2
2
|
scope :attached, -> { where('picture_attachable_id IS NOT NULL') }
|
3
3
|
belongs_to :picture_attachable, polymorphic: true, validate: true
|
4
|
+
before_save :extract_dimensions
|
4
5
|
|
5
6
|
if ENV['ENJU_STORAGE'] == 's3'
|
6
7
|
has_attached_file :picture, storage: :s3, styles: { medium: "600x600>", thumb: "100x100>" },
|
@@ -16,7 +17,7 @@ class PictureFile < ActiveRecord::Base
|
|
16
17
|
path: ":rails_root/private/system/:class/:attachment/:id_partition/:style/:filename"
|
17
18
|
end
|
18
19
|
validates_attachment_presence :picture
|
19
|
-
validates_attachment_content_type :picture, content_type:
|
20
|
+
validates_attachment_content_type :picture, content_type: /\Aimage\/.*\Z/
|
20
21
|
|
21
22
|
validates :picture_attachable_type, presence: true, inclusion: { in: ['Event', 'Manifestation', 'Agent', 'Shelf'] }
|
22
23
|
validates_associated :picture_attachable
|
@@ -26,6 +27,14 @@ class PictureFile < ActiveRecord::Base
|
|
26
27
|
strip_attributes only: :picture_attachable_type
|
27
28
|
|
28
29
|
paginates_per 10
|
30
|
+
|
31
|
+
private
|
32
|
+
def extract_dimensions
|
33
|
+
return nil unless picture.queued_for_write[:original]
|
34
|
+
geometry = Paperclip::Geometry.from_file(picture.queued_for_write[:original])
|
35
|
+
self.picture_width = geometry.width.to_i
|
36
|
+
self.picture_height = geometry.height.to_i
|
37
|
+
end
|
29
38
|
end
|
30
39
|
|
31
40
|
# == Schema Information
|
@@ -42,7 +42,7 @@
|
|
42
42
|
<ul>
|
43
43
|
<%- if user_signed_in? -%>
|
44
44
|
<%- if current_user.email.present? -%>
|
45
|
-
<li><%= link_to t('manifestation.send_email'), manifestation_path(mode: 'send_email'), data: {confirm: t('page.are_you_sure')} -%></li>
|
45
|
+
<li><%= link_to t('manifestation.send_email'), manifestation_path(@manifestation, mode: 'send_email'), data: {confirm: t('page.are_you_sure')} -%></li>
|
46
46
|
<%- end -%>
|
47
47
|
<% if defined?(EnjuBookmark) %>
|
48
48
|
<li><%= link_to_bookmark(@manifestation) %></li>
|
@@ -27,12 +27,12 @@
|
|
27
27
|
|
28
28
|
<p>
|
29
29
|
<strong><%= t('activerecord.attributes.picture_file.width') -%>:</strong>
|
30
|
-
<%= @picture_file.
|
30
|
+
<%= @picture_file.picture_width -%>
|
31
31
|
</p>
|
32
32
|
|
33
33
|
<p>
|
34
34
|
<strong><%= t('activerecord.attributes.picture_file.height') -%>:</strong>
|
35
|
-
<%= @picture_file.
|
35
|
+
<%= @picture_file.picture_height -%>
|
36
36
|
</p>
|
37
37
|
|
38
38
|
<p>
|
@@ -26,12 +26,12 @@
|
|
26
26
|
|
27
27
|
<p>
|
28
28
|
<strong><%= t('activerecord.attributes.picture_file.width') -%>:</strong>
|
29
|
-
<%= @picture_file.
|
29
|
+
<%= @picture_file.picture_width -%>
|
30
30
|
</p>
|
31
31
|
|
32
32
|
<p>
|
33
33
|
<strong><%= t('activerecord.attributes.picture_file.height') -%>:</strong>
|
34
|
-
<%= @picture_file.
|
34
|
+
<%= @picture_file.picture_height -%>
|
35
35
|
</p>
|
36
36
|
|
37
37
|
<p>
|
@@ -8,7 +8,7 @@ class AddDcndlSchema < ActiveRecord::Migration
|
|
8
8
|
add_column :manifestations, :valid_until, :timestamp
|
9
9
|
add_column :manifestations, :date_submitted, :timestamp
|
10
10
|
add_column :manifestations, :date_accepted, :timestamp
|
11
|
-
add_column :manifestations, :
|
11
|
+
add_column :manifestations, :date_captured, :timestamp
|
12
12
|
rename_column :manifestations, :copyright_date, :date_copyrighted
|
13
13
|
end
|
14
14
|
|
@@ -21,7 +21,7 @@ class AddDcndlSchema < ActiveRecord::Migration
|
|
21
21
|
remove_column :manifestations, :valid_until
|
22
22
|
remove_column :manifestations, :date_submitted
|
23
23
|
remove_column :manifestations, :date_accepted
|
24
|
-
remove_column :manifestations, :
|
24
|
+
remove_column :manifestations, :date_captured
|
25
25
|
rename_column :manifestations, :date_copyrighted, :copyright_date
|
26
26
|
end
|
27
27
|
end
|
data/lib/enju_biblio/engine.rb
CHANGED
data/lib/enju_biblio/version.rb
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
class ApplicationController < ActionController::Base
|
2
2
|
protect_from_forgery
|
3
3
|
|
4
|
-
include EnjuLeaf::Controller
|
5
|
-
include EnjuBiblio::Controller
|
6
4
|
include EnjuLibrary::Controller
|
5
|
+
include EnjuBiblio::Controller
|
7
6
|
include EnjuEvent::Controller
|
8
7
|
include EnjuSubject::Controller
|
9
8
|
include EnjuInventory::Controller
|
@@ -3,11 +3,12 @@ require File.expand_path('../boot', __FILE__)
|
|
3
3
|
require 'rails/all'
|
4
4
|
|
5
5
|
Bundler.require(*Rails.groups)
|
6
|
-
require 'enju_biblio'
|
7
6
|
require 'enju_leaf'
|
7
|
+
require 'enju_biblio'
|
8
|
+
require 'enju_manifestation_viewer'
|
8
9
|
require 'enju_inventory'
|
9
10
|
require 'enju_subject'
|
10
|
-
|
11
|
+
require 'enju_circulation'
|
11
12
|
require 'enju_ndl'
|
12
13
|
require 'enju_bookmark'
|
13
14
|
require 'resque/server'
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20160811102604) do
|
15
15
|
|
16
16
|
create_table "accepts", force: :cascade do |t|
|
17
17
|
t.integer "basket_id"
|
@@ -895,7 +895,7 @@ ActiveRecord::Schema.define(version: 20151213072705) do
|
|
895
895
|
t.datetime "valid_until"
|
896
896
|
t.datetime "date_submitted"
|
897
897
|
t.datetime "date_accepted"
|
898
|
-
t.datetime "
|
898
|
+
t.datetime "date_captured"
|
899
899
|
t.string "pub_date"
|
900
900
|
t.string "edition_string"
|
901
901
|
t.integer "volume_number"
|
@@ -1031,6 +1031,8 @@ ActiveRecord::Schema.define(version: 20151213072705) do
|
|
1031
1031
|
t.datetime "picture_updated_at"
|
1032
1032
|
t.text "picture_meta"
|
1033
1033
|
t.string "picture_fingerprint"
|
1034
|
+
t.integer "picture_width"
|
1035
|
+
t.integer "picture_height"
|
1034
1036
|
end
|
1035
1037
|
|
1036
1038
|
add_index "picture_files", ["picture_attachable_id", "picture_attachable_type"], name: "index_picture_files_on_picture_attachable_id_and_type"
|
@@ -12,11 +12,9 @@ one:
|
|
12
12
|
login_banner: "*Next-L Enju*"
|
13
13
|
admin_networks: "0.0.0.0/0\r\n\
|
14
14
|
::/0"
|
15
|
-
settings:
|
15
|
+
settings:
|
16
16
|
"{\"max_number_of_results\":200,\"family_name_first\":true}"
|
17
|
-
|
18
|
-
"---\n:max_number_of_results: 200\n:family_name_first: true\n"
|
19
|
-
<% end %>
|
17
|
+
|
20
18
|
# == Schema Information
|
21
19
|
#
|
22
20
|
# Table name: library_groups
|
data/spec/rails_helper.rb
CHANGED
@@ -62,7 +62,7 @@ RSpec.configure do |config|
|
|
62
62
|
# https://relishapp.com/rspec/rspec-rails/docs
|
63
63
|
config.infer_spec_type_from_file_location!
|
64
64
|
|
65
|
-
config.extend ControllerMacros, :
|
65
|
+
config.extend ControllerMacros, type: :controller
|
66
66
|
|
67
67
|
$original_sunspot_session = Sunspot.session
|
68
68
|
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe UserImportFilesController do
|
4
|
+
describe "routing" do
|
5
|
+
|
6
|
+
it "routes to #index" do
|
7
|
+
get("/user_import_files").should route_to("user_import_files#index")
|
8
|
+
end
|
9
|
+
|
10
|
+
it "routes to #new" do
|
11
|
+
get("/user_import_files/new").should route_to("user_import_files#new")
|
12
|
+
end
|
13
|
+
|
14
|
+
it "routes to #show" do
|
15
|
+
get("/user_import_files/1").should route_to("user_import_files#show", id: "1")
|
16
|
+
end
|
17
|
+
|
18
|
+
it "routes to #edit" do
|
19
|
+
get("/user_import_files/1/edit").should route_to("user_import_files#edit", id: "1")
|
20
|
+
end
|
21
|
+
|
22
|
+
it "routes to #create" do
|
23
|
+
post("/user_import_files").should route_to("user_import_files#create")
|
24
|
+
end
|
25
|
+
|
26
|
+
it "routes to #update" do
|
27
|
+
put("/user_import_files/1").should route_to("user_import_files#update", id: "1")
|
28
|
+
end
|
29
|
+
|
30
|
+
it "routes to #destroy" do
|
31
|
+
delete("/user_import_files/1").should route_to("user_import_files#destroy", id: "1")
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
35
|
+
end
|
metadata
CHANGED
@@ -1,31 +1,31 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_biblio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0.beta.
|
4
|
+
version: 0.2.0.beta.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: enju_library
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.2.0.beta.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.2.0.beta.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: marc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -39,21 +39,21 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: validates_timeliness
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
47
|
+
version: '4.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
54
|
+
version: '4.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: simple_form
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -67,35 +67,35 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: dynamic_form
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: library_stdnums
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: lisbn
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: faraday
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
@@ -123,75 +123,117 @@ dependencies:
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: enju_manifestation_viewer
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
132
|
-
type: :
|
131
|
+
version: 0.2.0.beta.1
|
132
|
+
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - "
|
136
|
+
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 0.2.0.beta.1
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: enju_subject
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
146
|
-
type: :
|
145
|
+
version: 0.2.0.beta.1
|
146
|
+
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - "
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
152
|
+
version: 0.2.0.beta.1
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
154
|
+
name: enju_inventory
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
160
|
-
type: :
|
159
|
+
version: 0.2.0.beta.1
|
160
|
+
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
166
|
+
version: 0.2.0.beta.1
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
168
|
+
name: enju_bookmark
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - "
|
171
|
+
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
174
|
-
type: :
|
173
|
+
version: 0.2.0.beta.1
|
174
|
+
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - "
|
178
|
+
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
180
|
+
version: 0.2.0.beta.1
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
182
|
+
name: enju_event
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- - "
|
185
|
+
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
188
|
-
type: :
|
187
|
+
version: 0.2.0.beta.1
|
188
|
+
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- - "
|
192
|
+
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
194
|
+
version: 0.2.0.beta.1
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: enju_circulation
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: 0.2.0.beta.1
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 0.2.0.beta.1
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: enju_ndl
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: 0.2.0.beta.1
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 0.2.0.beta.1
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: enju_oai
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 0.2.0.beta.1
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 0.2.0.beta.1
|
195
237
|
- !ruby/object:Gem::Dependency
|
196
238
|
name: sqlite3
|
197
239
|
requirement: !ruby/object:Gem::Requirement
|
@@ -290,34 +332,6 @@ dependencies:
|
|
290
332
|
- - '='
|
291
333
|
- !ruby/object:Gem::Version
|
292
334
|
version: 2.2.0
|
293
|
-
- !ruby/object:Gem::Dependency
|
294
|
-
name: enju_leaf
|
295
|
-
requirement: !ruby/object:Gem::Requirement
|
296
|
-
requirements:
|
297
|
-
- - "~>"
|
298
|
-
- !ruby/object:Gem::Version
|
299
|
-
version: 1.2.0.beta.1
|
300
|
-
type: :development
|
301
|
-
prerelease: false
|
302
|
-
version_requirements: !ruby/object:Gem::Requirement
|
303
|
-
requirements:
|
304
|
-
- - "~>"
|
305
|
-
- !ruby/object:Gem::Version
|
306
|
-
version: 1.2.0.beta.1
|
307
|
-
- !ruby/object:Gem::Dependency
|
308
|
-
name: enju_library
|
309
|
-
requirement: !ruby/object:Gem::Requirement
|
310
|
-
requirements:
|
311
|
-
- - "~>"
|
312
|
-
- !ruby/object:Gem::Version
|
313
|
-
version: 0.2.0.beta.1
|
314
|
-
type: :development
|
315
|
-
prerelease: false
|
316
|
-
version_requirements: !ruby/object:Gem::Requirement
|
317
|
-
requirements:
|
318
|
-
- - "~>"
|
319
|
-
- !ruby/object:Gem::Version
|
320
|
-
version: 0.2.0.beta.1
|
321
335
|
- !ruby/object:Gem::Dependency
|
322
336
|
name: simplecov
|
323
337
|
requirement: !ruby/object:Gem::Requirement
|
@@ -988,6 +1002,7 @@ files:
|
|
988
1002
|
- db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
|
989
1003
|
- db/migrate/20150117111136_add_foreign_key_to_items_referencing_manifestations.rb
|
990
1004
|
- db/migrate/20151125004028_add_profile_id_to_agent.rb
|
1005
|
+
- db/migrate/20160811102604_add_picture_width_to_picture_file.rb
|
991
1006
|
- lib/enju_biblio.rb
|
992
1007
|
- lib/enju_biblio/biblio_helper.rb
|
993
1008
|
- lib/enju_biblio/engine.rb
|
@@ -1432,6 +1447,7 @@ files:
|
|
1432
1447
|
- spec/routing/realize_types_routing_spec.rb
|
1433
1448
|
- spec/routing/realizes_routing_spec.rb
|
1434
1449
|
- spec/routing/resource_export_files_routing_spec.rb
|
1450
|
+
- spec/routing/resource_import_files_routing_spec.rb
|
1435
1451
|
- spec/routing/series_statement_merge_lists_routing_spec.rb
|
1436
1452
|
- spec/routing/series_statement_merges_routing_spec.rb
|
1437
1453
|
- spec/spec_helper.rb
|
@@ -1933,6 +1949,7 @@ test_files:
|
|
1933
1949
|
- spec/routing/realize_types_routing_spec.rb
|
1934
1950
|
- spec/routing/realizes_routing_spec.rb
|
1935
1951
|
- spec/routing/resource_export_files_routing_spec.rb
|
1952
|
+
- spec/routing/resource_import_files_routing_spec.rb
|
1936
1953
|
- spec/routing/series_statement_merge_lists_routing_spec.rb
|
1937
1954
|
- spec/routing/series_statement_merges_routing_spec.rb
|
1938
1955
|
- spec/spec_helper.rb
|