hydra_mediated 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/.rspec +1 -0
  4. data/Gemfile +7 -0
  5. data/HYDRA_MEDIATED_VERSION +1 -0
  6. data/README.md +36 -0
  7. data/Rakefile +5 -0
  8. data/app/assets/images/blacklight/bg.png +0 -0
  9. data/app/assets/images/blacklight/border.png +0 -0
  10. data/app/assets/images/blacklight/bul_sq_gry.gif +0 -0
  11. data/app/assets/images/blacklight/checkmark.gif +0 -0
  12. data/app/assets/images/blacklight/logo.png +0 -0
  13. data/app/assets/images/blacklight/magnifying_glass.gif +0 -0
  14. data/app/assets/images/blacklight/remove.gif +0 -0
  15. data/app/assets/images/blacklight/separator.gif +0 -0
  16. data/app/assets/images/blacklight/start_over.gif +0 -0
  17. data/app/assets/images/rails.png +0 -0
  18. data/app/assets/javascripts/application.js +17 -0
  19. data/app/assets/javascripts/items.js.coffee +3 -0
  20. data/app/assets/stylesheets/application.css +14 -0
  21. data/app/assets/stylesheets/blacklight.css.scss +4 -0
  22. data/app/assets/stylesheets/items.css.scss +3 -0
  23. data/app/controllers/application_controller.rb +10 -0
  24. data/app/controllers/catalog_controller.rb +165 -0
  25. data/app/controllers/items_controller.rb +34 -0
  26. data/app/controllers/submissions_controller.rb +7 -0
  27. data/app/helpers/application_helper.rb +2 -0
  28. data/app/helpers/items_helper.rb +5 -0
  29. data/app/mailers/.gitkeep +0 -0
  30. data/app/models/.gitkeep +0 -0
  31. data/app/models/ability.rb +3 -0
  32. data/app/models/ead.rb +3 -0
  33. data/app/models/etd.rb +3 -0
  34. data/app/models/generic.rb +3 -0
  35. data/app/models/generic_file.rb +3 -0
  36. data/app/models/item.rb +4 -0
  37. data/app/models/solr_document.rb +33 -0
  38. data/app/models/user.rb +22 -0
  39. data/app/views/catalog/_home_text.html.erb +9 -0
  40. data/app/views/catalog/_show_tools.html.erb +44 -0
  41. data/app/views/devise/confirmations/new.html.erb +12 -0
  42. data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
  43. data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
  44. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  45. data/app/views/devise/passwords/edit.html.erb +16 -0
  46. data/app/views/devise/passwords/new.html.erb +12 -0
  47. data/app/views/devise/registrations/edit.html.erb +29 -0
  48. data/app/views/devise/registrations/new.html.erb +18 -0
  49. data/app/views/devise/sessions/new.html.erb +17 -0
  50. data/app/views/devise/shared/_links.erb +25 -0
  51. data/app/views/devise/unlocks/new.html.erb +12 -0
  52. data/app/views/items/done.html.erb +3 -0
  53. data/app/views/items/edit.html.erb +25 -0
  54. data/app/views/items/new.html.erb +22 -0
  55. data/app/views/items/submit.html.erb +6 -0
  56. data/app/views/items/upload.html.erb +5 -0
  57. data/app/views/layouts/application.html.erb +14 -0
  58. data/app/views/submissions/new.html.erb +13 -0
  59. data/config.ru +4 -0
  60. data/config/SolrMarc/config-test.properties +37 -0
  61. data/config/SolrMarc/config.properties +37 -0
  62. data/config/SolrMarc/index.properties +97 -0
  63. data/config/SolrMarc/index_scripts/dewey.bsh +47 -0
  64. data/config/SolrMarc/index_scripts/format.bsh +126 -0
  65. data/config/SolrMarc/translation_maps/README_MAPS +1 -0
  66. data/config/SolrMarc/translation_maps/callnumber_map.properties +407 -0
  67. data/config/SolrMarc/translation_maps/composition_era_map.properties +56 -0
  68. data/config/SolrMarc/translation_maps/country_map.properties +379 -0
  69. data/config/SolrMarc/translation_maps/format_map.properties +50 -0
  70. data/config/SolrMarc/translation_maps/instrument_map.properties +101 -0
  71. data/config/SolrMarc/translation_maps/language_map.properties +490 -0
  72. data/config/application.rb +66 -0
  73. data/config/boot.rb +6 -0
  74. data/config/database.yml +25 -0
  75. data/config/environment.rb +5 -0
  76. data/config/locales/devise.en.yml +59 -0
  77. data/config/locales/en.yml +5 -0
  78. data/config/routes.rb +20 -0
  79. data/db/migrate/20130606160529_devise_create_users.rb +46 -0
  80. data/db/migrate/20130606160531_add_devise_guests_to_users.rb +15 -0
  81. data/db/migrate/20130606160536_create_searches.rb +16 -0
  82. data/db/migrate/20130606160537_create_bookmarks.rb +18 -0
  83. data/db/migrate/20130606160538_remove_editable_fields_from_bookmarks.rb +12 -0
  84. data/db/migrate/20130606160539_add_user_types_to_bookmarks_searches.rb +16 -0
  85. data/db/schema.rb +54 -0
  86. data/db/seeds.rb +7 -0
  87. data/doc/README_FOR_APP +2 -0
  88. data/fedora_conf/conf/development/fedora.fcfg +953 -0
  89. data/fedora_conf/conf/test/fedora.fcfg +953 -0
  90. data/hydra_mediated.gemspec +22 -0
  91. data/lib/assets/.gitkeep +0 -0
  92. data/lib/hydra/mediated/ability.rb +17 -0
  93. data/lib/hydra/mediated/generic_file.rb +13 -0
  94. data/lib/hydra/mediated/item.rb +35 -0
  95. data/lib/hydra_mediated.rb +21 -0
  96. data/lib/tasks/.gitkeep +0 -0
  97. data/log/.gitkeep +0 -0
  98. data/public/404.html +26 -0
  99. data/public/422.html +26 -0
  100. data/public/500.html +25 -0
  101. data/public/favicon.ico +0 -0
  102. data/public/robots.txt +5 -0
  103. data/script/rails +6 -0
  104. data/solr_conf/conf/schema.xml +273 -0
  105. data/solr_conf/conf/solrconfig.xml +167 -0
  106. data/solr_conf/solr.xml +35 -0
  107. data/spec/controllers/items_controller_spec.rb +56 -0
  108. data/spec/helpers/items_helper_spec.rb +8 -0
  109. data/spec/models/ability_spec.rb +24 -0
  110. data/spec/models/item_spec.rb +26 -0
  111. data/spec/spec_helper.rb +33 -0
  112. data/test/fixtures/.gitkeep +0 -0
  113. data/test/fixtures/users.yml +11 -0
  114. data/test/functional/.gitkeep +0 -0
  115. data/test/integration/.gitkeep +0 -0
  116. data/test/performance/browsing_test.rb +12 -0
  117. data/test/test_helper.rb +13 -0
  118. data/test/unit/.gitkeep +0 -0
  119. data/test/unit/user_test.rb +7 -0
  120. data/vendor/assets/javascripts/.gitkeep +0 -0
  121. data/vendor/assets/stylesheets/.gitkeep +0 -0
  122. data/vendor/plugins/.gitkeep +0 -0
  123. metadata +222 -0
@@ -0,0 +1,167 @@
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <config>
3
+ <!-- NOTE: various comments and unused configuration possibilities have been purged
4
+ from this file. Please refer to http://wiki.apache.org/solr/SolrConfigXml,
5
+ as well as the default solrconfig file included with Solr -->
6
+
7
+ <abortOnConfigurationError>${solr.abortOnConfigurationError:true}</abortOnConfigurationError>
8
+
9
+ <luceneMatchVersion>LUCENE_40</luceneMatchVersion>
10
+
11
+ <directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/>
12
+
13
+ <!-- solr lib dirs -->
14
+ <lib dir="../lib/contrib/analysis-extras/lib" />
15
+ <lib dir="../lib/contrib/analysis-extras/lucene-libs" />
16
+
17
+ <dataDir>${solr.data.dir:}</dataDir>
18
+
19
+ <requestHandler name="search" class="solr.SearchHandler" default="true">
20
+ <!-- default values for query parameters can be specified, these
21
+ will be overridden by parameters in the request
22
+ -->
23
+ <lst name="defaults">
24
+ <str name="defType">edismax</str>
25
+ <str name="echoParams">explicit</str>
26
+ <str name="q.alt">*:*</str>
27
+ <str name="mm">2&lt;-1 5&lt;-2 6&lt;90%</str>
28
+ <int name="qs">1</int>
29
+ <int name="ps">2</int>
30
+ <float name="tie">0.01</float>
31
+ <!-- this qf and pf are used by default, if not otherwise specified by
32
+ client. The default blacklight_config will use these for the
33
+ "keywords" search. See the author_qf/author_pf, title_qf, etc
34
+ below, which the default blacklight_config will specify for
35
+ those searches. You may also be interested in:
36
+ http://wiki.apache.org/solr/LocalParams
37
+ -->
38
+ <str name="qf">
39
+ id
40
+ active_fedora_model_ssi
41
+ title_tesim
42
+ author_tesim
43
+ subject_tesim
44
+ </str>
45
+ <str name="pf">
46
+ all_text_timv^10
47
+ </str>
48
+
49
+ <str name="author_qf">
50
+ author_tesim
51
+ </str>
52
+ <str name="author_pf">
53
+ </str>
54
+ <str name="title_qf">
55
+ title_tesim
56
+ </str>
57
+ <str name="title_pf">
58
+ </str>
59
+ <str name="subject_qf">
60
+ subject_tesim
61
+ </str>
62
+ <str name="subject_pf">
63
+ </str>
64
+
65
+ <str name="fl">
66
+ *,
67
+ score
68
+ </str>
69
+
70
+ <str name="facet">true</str>
71
+ <str name="facet.mincount">1</str>
72
+ <str name="facet.limit">10</str>
73
+ <str name="facet.field">active_fedora_model_ssi</str>
74
+ <str name="facet.field">subject_sim</str>
75
+
76
+ <str name="spellcheck">true</str>
77
+ <str name="spellcheck.dictionary">default</str>
78
+ <str name="spellcheck.onlyMorePopular">true</str>
79
+ <str name="spellcheck.extendedResults">true</str>
80
+ <str name="spellcheck.collate">false</str>
81
+ <str name="spellcheck.count">5</str>
82
+
83
+ </lst>
84
+ <arr name="last-components">
85
+ <str>spellcheck</str>
86
+ </arr>
87
+ </requestHandler>
88
+
89
+ <requestHandler name="permissions" class="solr.SearchHandler" >
90
+ <lst name="defaults">
91
+ <str name="facet">off</str>
92
+ <str name="echoParams">all</str>
93
+ <str name="rows">1</str>
94
+ <str name="q">{!raw f=id v=$id}</str> <!-- use id=666 instead of q=id:666 -->
95
+ <str name="fl">
96
+ id,
97
+ access_ssim,
98
+ discover_access_group_ssim,discover_access_person_ssim,
99
+ read_access_group_ssim,read_access_person_ssim,
100
+ edit_access_group_ssim,edit_access_person_ssim,
101
+ depositor_ti,
102
+ embargo_release_date_dtsi
103
+ inheritable_access_ssim,
104
+ inheritable_discover_access_group_ssim,inheritable_discover_access_person_ssim,
105
+ inheritable_read_access_group_ssim,inheritable_read_access_person_ssim,
106
+ inheritable_edit_access_group_ssim,inheritable_edit_access_person_ssim,
107
+ inheritable_embargo_release_date_dtsi
108
+ </str>
109
+ </lst>
110
+ </requestHandler>
111
+
112
+ <requestHandler name="standard" class="solr.SearchHandler">
113
+ <lst name="defaults">
114
+ <str name="echoParams">explicit</str>
115
+ <str name="defType">lucene</str>
116
+ </lst>
117
+ </requestHandler>
118
+
119
+ <!-- for requests to get a single document; use id=666 instead of q=id:666 -->
120
+ <requestHandler name="document" class="solr.SearchHandler" >
121
+ <lst name="defaults">
122
+ <str name="echoParams">all</str>
123
+ <str name="fl">*</str>
124
+ <str name="rows">1</str>
125
+ <str name="q">{!raw f=id v=$id}</str> <!-- use id=666 instead of q=id:666 -->
126
+ </lst>
127
+ </requestHandler>
128
+
129
+
130
+ <searchComponent name="spellcheck" class="solr.SpellCheckComponent">
131
+ <str name="queryAnalyzerFieldType">textSpell</str>
132
+ <!-- Multiple "Spell Checkers" can be declared and used by this component
133
+ (e.g. for title_spell field)
134
+ -->
135
+ <lst name="spellchecker">
136
+ <str name="name">default</str>
137
+ <str name="field">spell</str>
138
+ <str name="spellcheckIndexDir">./spell</str>
139
+ <str name="buildOnOptimize">true</str>
140
+ </lst>
141
+ </searchComponent>
142
+
143
+ <requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" />
144
+
145
+ <requestDispatcher handleSelect="true" >
146
+ <requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048" />
147
+ </requestDispatcher>
148
+
149
+ <requestHandler name="/analysis/field" startup="lazy" class="solr.FieldAnalysisRequestHandler" />
150
+ <requestHandler name="/update" class="solr.UpdateRequestHandler" />
151
+ <requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
152
+
153
+ <requestHandler name="/admin/ping" class="solr.PingRequestHandler">
154
+ <lst name="invariants">
155
+ <str name="q">solrpingquery</str>
156
+ </lst>
157
+ <lst name="defaults">
158
+ <str name="echoParams">all</str>
159
+ </lst>
160
+ </requestHandler>
161
+
162
+ <!-- config for the admin interface -->
163
+ <admin>
164
+ <defaultQuery>search</defaultQuery>
165
+ </admin>
166
+
167
+ </config>
@@ -0,0 +1,35 @@
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+
19
+ <!--
20
+ All (relative) paths are relative to the installation path
21
+
22
+ persistent: Save changes made via the API to this file
23
+ sharedLib: path to a lib directory that will be shared across all cores
24
+ -->
25
+ <solr persistent="false" sharedLib="lib">
26
+
27
+ <!--
28
+ adminPath: RequestHandler path to manage cores.
29
+ If 'null' (or absent), cores will not be manageable via REST
30
+ -->
31
+ <cores adminPath="/admin/cores" defaultCoreName="development">
32
+ <core name="development" instanceDir="development-core" />
33
+ <core name="test" instanceDir="test-core" />
34
+ </cores>
35
+ </solr>
@@ -0,0 +1,56 @@
1
+ require 'spec_helper'
2
+
3
+ describe ItemsController do
4
+ describe "#new" do
5
+ it "should be successful" do
6
+ get :new
7
+ response.should be_success
8
+ end
9
+ end
10
+
11
+ describe "#create" do
12
+ it "should be successful" do
13
+ post :create, :item => { resource_type: 'ETD', administrative_collection_id: '123' }
14
+ assigns[:item].should_not be_new_object
15
+ response.should redirect_to upload_item_path(assigns[:item])
16
+ end
17
+ end
18
+ describe "#upload" do
19
+ let (:item) { Item.create }
20
+ it "should be successful" do
21
+ get :upload, id: item
22
+ assigns[:item].should == item
23
+ response.should be_success
24
+ end
25
+ end
26
+
27
+ describe "#edit" do
28
+ let (:item) { Item.create }
29
+ it "should be successful" do
30
+ get :edit, id: item
31
+ assigns[:item].should == item
32
+ response.should be_success
33
+ end
34
+ end
35
+
36
+ describe "#update" do
37
+ let (:item) { Item.create }
38
+ it "should be successful" do
39
+ put :update, id: item, :item => { creator: ['Mark'], subject: ['Jumping Horses'] }
40
+ assigns[:item].creator.should == ["Mark"]
41
+ assigns[:item].subject.should == ["Jumping Horses"]
42
+ response.should redirect_to submit_item_path(assigns[:item])
43
+ end
44
+ end
45
+
46
+ describe "#submit" do
47
+ let (:item) { Item.create }
48
+ it "should be successful" do
49
+ get :submit, id: item
50
+ assigns[:item].should == item
51
+ response.should be_successful
52
+ end
53
+ end
54
+
55
+
56
+ end
@@ -0,0 +1,8 @@
1
+ require 'spec_helper'
2
+
3
+ describe ItemsHelper do
4
+ it "should have available collections" do
5
+ helper.available_collections.should == { 'Special Collection X' => 123, 'Faculty Pre-prints' => 223, 'Faculty Pre-prints' => 223 }
6
+ end
7
+
8
+ end
@@ -0,0 +1,24 @@
1
+ require 'spec_helper'
2
+ require "cancan/matchers"
3
+
4
+ describe Ability do
5
+ describe "a user" do
6
+ let(:user) { User.new }
7
+ subject { Ability.new(user)}
8
+ describe "working on Item" do
9
+ before :all do
10
+ @audio = Item.create!(title: 'test audio')
11
+ end
12
+ after :all do
13
+ @audio.destroy
14
+ end
15
+ it { should be_able_to(:create, Item) }
16
+ it { should be_able_to(:edit, @audio) }
17
+ it { should be_able_to(:upload, @audio) }
18
+ it { should be_able_to(:update, @audio) }
19
+ it { should be_able_to(:submit, @audio) }
20
+ it { should be_able_to(:done, @audio) }
21
+ it { should be_able_to(:destroy, @audio) }
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,26 @@
1
+ require 'spec_helper'
2
+
3
+ describe Item do
4
+ it "should have many generic files" do
5
+ subject.generic_files.build(title: 'Hi Mom')
6
+ subject.generic_files.build
7
+
8
+ subject.generic_files.first.title.first.should == "Hi Mom"
9
+ end
10
+
11
+ it "should have an administrative collection" do
12
+ # TODO this should become a relationship to an administrative collection. Currently it's a metadata field
13
+ subject.administrative_collection_id = 112
14
+ subject.administrative_collection_id.should == 112
15
+ end
16
+
17
+ describe "class" do
18
+ subject { Item }
19
+
20
+ its(:available_resource_types) { should == {'Thesis or dissertation' => 'ETD',
21
+ "Collection guide" => "EAD",
22
+ "Generic object" => "Generic"}}
23
+ end
24
+
25
+
26
+ end
@@ -0,0 +1,33 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+ require File.expand_path("../../config/environment", __FILE__)
4
+ require 'rspec/rails'
5
+ require 'rspec/autorun'
6
+
7
+ # Requires supporting ruby files with custom matchers and macros, etc,
8
+ # in spec/support/ and its subdirectories.
9
+ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
10
+
11
+ RSpec.configure do |config|
12
+
13
+ config.include Devise::TestHelpers, :type => :controller
14
+
15
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
16
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
17
+
18
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
19
+ # examples within a transaction, remove the following line or assign false
20
+ # instead of true.
21
+ config.use_transactional_fixtures = true
22
+
23
+ # If true, the base class of anonymous controllers will be inferred
24
+ # automatically. This will be the default behavior in future versions of
25
+ # rspec-rails.
26
+ config.infer_base_class_for_anonymous_controllers = false
27
+
28
+ # Run specs in random order to surface order dependencies. If you find an
29
+ # order dependency and want to debug it, you can fix the order by providing
30
+ # the seed, which is printed after each run.
31
+ # --seed 1234
32
+ config.order = "random"
33
+ end
File without changes
@@ -0,0 +1,11 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
+
3
+ # This model initially had no columns defined. If you add columns to the
4
+ # model remove the '{}' from the fixture names and add the columns immediately
5
+ # below each fixture, per the syntax in the comments below
6
+ #
7
+ one: {}
8
+ # column: value
9
+ #
10
+ two: {}
11
+ # column: value
File without changes
File without changes
@@ -0,0 +1,12 @@
1
+ require 'test_helper'
2
+ require 'rails/performance_test_help'
3
+
4
+ class BrowsingTest < ActionDispatch::PerformanceTest
5
+ # Refer to the documentation for all available options
6
+ # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
7
+ # :output => 'tmp/performance', :formats => [:flat] }
8
+
9
+ def test_homepage
10
+ get '/'
11
+ end
12
+ end
@@ -0,0 +1,13 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+
5
+ class ActiveSupport::TestCase
6
+ # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
7
+ #
8
+ # Note: You'll currently still have to declare fixtures explicitly in integration tests
9
+ # -- they do not yet inherit this setting
10
+ fixtures :all
11
+
12
+ # Add more helper methods to be used by all tests here...
13
+ end
File without changes
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class UserTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
File without changes
File without changes
File without changes
metadata ADDED
@@ -0,0 +1,222 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hydra_mediated
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Justin Coyne
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-07-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: hydra
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: sufia-models
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: hydra-editor
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: hydra_mediated is a Rails engine for creating a self-deposit institutional
56
+ repository
57
+ email:
58
+ - justin@curationexperts.com
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - .gitignore
64
+ - .rspec
65
+ - Gemfile
66
+ - HYDRA_MEDIATED_VERSION
67
+ - README.md
68
+ - Rakefile
69
+ - app/assets/images/blacklight/bg.png
70
+ - app/assets/images/blacklight/border.png
71
+ - app/assets/images/blacklight/bul_sq_gry.gif
72
+ - app/assets/images/blacklight/checkmark.gif
73
+ - app/assets/images/blacklight/logo.png
74
+ - app/assets/images/blacklight/magnifying_glass.gif
75
+ - app/assets/images/blacklight/remove.gif
76
+ - app/assets/images/blacklight/separator.gif
77
+ - app/assets/images/blacklight/start_over.gif
78
+ - app/assets/images/rails.png
79
+ - app/assets/javascripts/application.js
80
+ - app/assets/javascripts/items.js.coffee
81
+ - app/assets/stylesheets/application.css
82
+ - app/assets/stylesheets/blacklight.css.scss
83
+ - app/assets/stylesheets/items.css.scss
84
+ - app/controllers/application_controller.rb
85
+ - app/controllers/catalog_controller.rb
86
+ - app/controllers/items_controller.rb
87
+ - app/controllers/submissions_controller.rb
88
+ - app/helpers/application_helper.rb
89
+ - app/helpers/items_helper.rb
90
+ - app/mailers/.gitkeep
91
+ - app/models/.gitkeep
92
+ - app/models/ability.rb
93
+ - app/models/ead.rb
94
+ - app/models/etd.rb
95
+ - app/models/generic.rb
96
+ - app/models/generic_file.rb
97
+ - app/models/item.rb
98
+ - app/models/solr_document.rb
99
+ - app/models/user.rb
100
+ - app/views/catalog/_home_text.html.erb
101
+ - app/views/catalog/_show_tools.html.erb
102
+ - app/views/devise/confirmations/new.html.erb
103
+ - app/views/devise/mailer/confirmation_instructions.html.erb
104
+ - app/views/devise/mailer/reset_password_instructions.html.erb
105
+ - app/views/devise/mailer/unlock_instructions.html.erb
106
+ - app/views/devise/passwords/edit.html.erb
107
+ - app/views/devise/passwords/new.html.erb
108
+ - app/views/devise/registrations/edit.html.erb
109
+ - app/views/devise/registrations/new.html.erb
110
+ - app/views/devise/sessions/new.html.erb
111
+ - app/views/devise/shared/_links.erb
112
+ - app/views/devise/unlocks/new.html.erb
113
+ - app/views/items/done.html.erb
114
+ - app/views/items/edit.html.erb
115
+ - app/views/items/new.html.erb
116
+ - app/views/items/submit.html.erb
117
+ - app/views/items/upload.html.erb
118
+ - app/views/layouts/application.html.erb
119
+ - app/views/submissions/new.html.erb
120
+ - config.ru
121
+ - config/SolrMarc/config-test.properties
122
+ - config/SolrMarc/config.properties
123
+ - config/SolrMarc/index.properties
124
+ - config/SolrMarc/index_scripts/dewey.bsh
125
+ - config/SolrMarc/index_scripts/format.bsh
126
+ - config/SolrMarc/translation_maps/README_MAPS
127
+ - config/SolrMarc/translation_maps/callnumber_map.properties
128
+ - config/SolrMarc/translation_maps/composition_era_map.properties
129
+ - config/SolrMarc/translation_maps/country_map.properties
130
+ - config/SolrMarc/translation_maps/format_map.properties
131
+ - config/SolrMarc/translation_maps/instrument_map.properties
132
+ - config/SolrMarc/translation_maps/language_map.properties
133
+ - config/application.rb
134
+ - config/boot.rb
135
+ - config/database.yml
136
+ - config/environment.rb
137
+ - config/locales/devise.en.yml
138
+ - config/locales/en.yml
139
+ - config/routes.rb
140
+ - db/migrate/20130606160529_devise_create_users.rb
141
+ - db/migrate/20130606160531_add_devise_guests_to_users.rb
142
+ - db/migrate/20130606160536_create_searches.rb
143
+ - db/migrate/20130606160537_create_bookmarks.rb
144
+ - db/migrate/20130606160538_remove_editable_fields_from_bookmarks.rb
145
+ - db/migrate/20130606160539_add_user_types_to_bookmarks_searches.rb
146
+ - db/schema.rb
147
+ - db/seeds.rb
148
+ - doc/README_FOR_APP
149
+ - fedora_conf/conf/development/fedora.fcfg
150
+ - fedora_conf/conf/test/fedora.fcfg
151
+ - hydra_mediated.gemspec
152
+ - lib/assets/.gitkeep
153
+ - lib/hydra/mediated/ability.rb
154
+ - lib/hydra/mediated/generic_file.rb
155
+ - lib/hydra/mediated/item.rb
156
+ - lib/hydra_mediated.rb
157
+ - lib/tasks/.gitkeep
158
+ - log/.gitkeep
159
+ - public/404.html
160
+ - public/422.html
161
+ - public/500.html
162
+ - public/favicon.ico
163
+ - public/robots.txt
164
+ - script/rails
165
+ - solr_conf/conf/schema.xml
166
+ - solr_conf/conf/solrconfig.xml
167
+ - solr_conf/solr.xml
168
+ - spec/controllers/items_controller_spec.rb
169
+ - spec/helpers/items_helper_spec.rb
170
+ - spec/models/ability_spec.rb
171
+ - spec/models/item_spec.rb
172
+ - spec/spec_helper.rb
173
+ - test/fixtures/.gitkeep
174
+ - test/fixtures/users.yml
175
+ - test/functional/.gitkeep
176
+ - test/integration/.gitkeep
177
+ - test/performance/browsing_test.rb
178
+ - test/test_helper.rb
179
+ - test/unit/.gitkeep
180
+ - test/unit/user_test.rb
181
+ - vendor/assets/javascripts/.gitkeep
182
+ - vendor/assets/stylesheets/.gitkeep
183
+ - vendor/plugins/.gitkeep
184
+ homepage: ''
185
+ licenses: []
186
+ metadata: {}
187
+ post_install_message:
188
+ rdoc_options: []
189
+ require_paths:
190
+ - lib
191
+ required_ruby_version: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - '>='
194
+ - !ruby/object:Gem::Version
195
+ version: '0'
196
+ required_rubygems_version: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - '>='
199
+ - !ruby/object:Gem::Version
200
+ version: '0'
201
+ requirements: []
202
+ rubyforge_project:
203
+ rubygems_version: 2.0.3
204
+ signing_key:
205
+ specification_version: 4
206
+ summary: hydra_mediated is a Rails engine for creating a self-deposit institutional
207
+ repository
208
+ test_files:
209
+ - spec/controllers/items_controller_spec.rb
210
+ - spec/helpers/items_helper_spec.rb
211
+ - spec/models/ability_spec.rb
212
+ - spec/models/item_spec.rb
213
+ - spec/spec_helper.rb
214
+ - test/fixtures/.gitkeep
215
+ - test/fixtures/users.yml
216
+ - test/functional/.gitkeep
217
+ - test/integration/.gitkeep
218
+ - test/performance/browsing_test.rb
219
+ - test/test_helper.rb
220
+ - test/unit/.gitkeep
221
+ - test/unit/user_test.rb
222
+ has_rdoc: