hyrax 2.0.0.rc2 → 2.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 96df4577f120f0763bf3216037a0dc709b80c316
4
- data.tar.gz: 953bbd05cdda6a6f180249e38d9803392552fdf2
3
+ metadata.gz: 2ad08e1238d79d9dc79963c1c3913b986f1ab2ba
4
+ data.tar.gz: aa0cfea342009f73ba345033ab326f0a0a42543f
5
5
  SHA512:
6
- metadata.gz: d82b1d0a1dbd9918594b5d1e68bef52bdbb2a1cba9ef0ccb73a7ce2dce642ce332b23dc8d3381e2a017838c91168ca49530eb9e5a6c1bb501c866617ef4dd661
7
- data.tar.gz: 4518771b62f4def96f0cab00e4e562193c80cd1898fdcea4b2133a862b10ae2753320c06ae367d960d9c1c1c75757d03cd840e5602b80cf33ead75c491c9a359
6
+ metadata.gz: b3c7ac750410dedfe255f56a177f1e4d5854d309a965a14d84c87919783a6bc3813285cb90d2b690bdac963fba573fc81851cb48539b06e9a784fd76a2c6258b
7
+ data.tar.gz: 54f133264706451e35192aa3a4d3a35a3acc2c02404a04af7108f21c77c98f18a81f6585988e8b0d6222acfa23054dec0aba5915ee55181632f94c752393ad3d
data/README.md CHANGED
@@ -63,7 +63,7 @@ The Samvera community is here to help. Please see our [support guide](./.github/
63
63
  # Getting started
64
64
 
65
65
  This document contains instructions specific to setting up an app with __Hyrax
66
- v2.0.0.rc2__. If you are looking for instructions on installing a different
66
+ v2.0.0.rc3__. If you are looking for instructions on installing a different
67
67
  version, be sure to select the appropriate branch or tag from the drop-down
68
68
  menu above.
69
69
 
@@ -160,7 +160,7 @@ NOTE: The steps need to be done in order to create a new Hyrax based app.
160
160
  Generate a new Rails application using the template.
161
161
 
162
162
  ```
163
- rails _5.0.6_ new my_app -m https://raw.githubusercontent.com/samvera/hyrax/v2.0.0.rc2/template.rb
163
+ rails _5.0.6_ new my_app -m https://raw.githubusercontent.com/samvera/hyrax/v2.0.0.rc3/template.rb
164
164
  ```
165
165
 
166
166
  Generating a new Rails application using Hyrax's template above takes cares of a number of steps for you, including:
@@ -0,0 +1,5 @@
1
+ // Brand colors
2
+ $brand-danger: #d33a35 !default;
3
+ $brand-success: #387f38 !default;
4
+ $brand-info: #2c76c7 !default;
5
+ $brand-warning: #565653 !default;
@@ -20,6 +20,10 @@ legend small {
20
20
  }
21
21
  }
22
22
 
23
+ #savewidget a {
24
+ color: #2a62bc;
25
+ }
26
+
23
27
  .label-checkbox .label-text {
24
28
  display:block;
25
29
  padding-left:1.2em;
@@ -1,4 +1,14 @@
1
1
  module Sipity
2
+ # When a Sipity::Action is taken, each Sipity::Method is loaded and
3
+ # it's service_name is instantiated and called (all of this done via
4
+ # the Hyrax::Workflow::ActionTakenService).
5
+ #
6
+ # @note
7
+ # When a user takes the "deposit a work" action, call the "Lookup
8
+ # the corresponding Reviewer for the given Department and assign
9
+ # that person or group the Reviewer role for the given work (but
10
+ # not all of the works of the workflow)"
11
+ #
2
12
  # This is responsible for mapping the Sipity::WorkflowAction to an object that
3
13
  # responds to .call
4
14
  #
@@ -3,6 +3,7 @@
3
3
  <%= form_tag search_action_for_dashboard, method: :get, class: 'per_page form-inline' do %>
4
4
  <div class="form-group">
5
5
  <fieldset class="col-xs-12">
6
+ <legend class="sr-only"><%= t('hyrax.dashboard.my.sr.results_per_page') %></legend>
6
7
  <%= label_tag :per_page do %>
7
8
  Show <%= select_tag :per_page, options_for_select(['10', '20', '50', '100'], h(params[:per_page])),
8
9
  title: "Number of results to display per page" %> per page
@@ -478,6 +478,7 @@ de:
478
478
  detail_label: Zusammenfassungsdetails anzeigen
479
479
  listing: Auflistung der Artikel, die Sie deponiert haben
480
480
  press_to: Drücken Sie auf
481
+ results_per_page: Anzahl der Ergebnisse pro Seite
481
482
  show_label: Zeige alle Details von
482
483
  works: Ihre Arbeiten
483
484
  no_activity: Benutzer hat keine aktuellen Aufgaben
@@ -460,6 +460,7 @@ en:
460
460
  detail_label: "Display summary details of"
461
461
  listing: "Listing of items you have deposited in"
462
462
  press_to: "Press to"
463
+ results_per_page: "Number of results to display per page"
463
464
  show_label: "Display all details of"
464
465
  works: "Your Works"
465
466
  no_activity: "User has no recent activity"
@@ -473,6 +473,7 @@ es:
473
473
  detail_label: Ver el resumen de
474
474
  listing: Enlistar los items que has depositado
475
475
  press_to: Presionar para
476
+ results_per_page: Número de resultados para mostrar por página
476
477
  show_label: Ver todos los detalles de
477
478
  works: Mis Trabajos
478
479
  no_activity: El usuario no tiene actividad reciente
@@ -478,6 +478,7 @@ fr:
478
478
  detail_label: Afficher les détails sommaires de
479
479
  listing: Liste des éléments que vous avez déposés dans
480
480
  press_to: Appuyez sur pour
481
+ results_per_page: Nombre de résultats à afficher par page
481
482
  show_label: Afficher tous les détails de
482
483
  works: Vos travaux
483
484
  no_activity: L'utilisateur n'a aucune activité récente
@@ -478,6 +478,7 @@ it:
478
478
  detail_label: Visualizza dettagli riepilogo di
479
479
  listing: Elenco di articoli che hai depositato
480
480
  press_to: Premere per
481
+ results_per_page: Numero di risultati da visualizzare per pagina
481
482
  show_label: Visualizza tutti i dettagli di
482
483
  works: Le tue opere
483
484
  no_activity: L'utente non ha attività recenti
@@ -478,6 +478,7 @@ pt-BR:
478
478
  detail_label: Exibir detalhes resumidos de
479
479
  listing: Listagem de itens que você depositou em
480
480
  press_to: Pressione para
481
+ results_per_page: Número de resultados a serem exibidos por página
481
482
  show_label: Exibir todos os detalhes de
482
483
  works: Seus trabalhos
483
484
  no_activity: O usuário não tem atividade recente
@@ -479,6 +479,7 @@ zh:
479
479
  detail_label: 展示概括细节
480
480
  listing: 您存储细项列单
481
481
  press_to: 按击
482
+ results_per_page: 每页显示的结果数量
482
483
  show_label: 展示所有细节
483
484
  works: 您的作品
484
485
  no_activity: 用户最近没有活动
data/hyrax.gemspec CHANGED
@@ -72,7 +72,7 @@ EOF
72
72
  spec.add_dependency 'dry-struct', '~> 0.1'
73
73
  spec.add_dependency 'redlock', '>= 0.1.2'
74
74
  spec.add_dependency 'retriable', '>= 2.9', '< 4.0'
75
- spec.add_dependency 'active-fedora', '>= 11.3.1'
75
+ spec.add_dependency 'active-fedora', '~> 11.5', '>= 11.5.2'
76
76
  spec.add_dependency 'linkeddata' # Required for getting values from geonames
77
77
 
78
78
  spec.add_development_dependency 'engine_cart', '~> 1.2'
@@ -5,6 +5,7 @@
5
5
  */
6
6
 
7
7
  @import "bootstrap-sprockets";
8
+ @import "bootstrap-default-overrides";
8
9
  @import 'bootstrap';
9
10
  @import 'blacklight/blacklight';
10
11
  @import "font-awesome";
data/lib/hyrax/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Hyrax
2
- VERSION = '2.0.0.rc2'.freeze
2
+ VERSION = '2.0.0.rc3'.freeze
3
3
  end
@@ -41,9 +41,14 @@ RSpec.describe GenericWork do
41
41
  let(:work) { described_class.new(state: inactive) }
42
42
  let(:inactive) { ::RDF::URI('http://fedora.info/definitions/1/0/access/ObjState#inactive') }
43
43
 
44
- subject { work.state.rdf_subject }
44
+ it 'is inactive' do
45
+ expect(work.state.rdf_subject).to eq inactive
46
+ end
45
47
 
46
- it { is_expected.to eq inactive }
48
+ it 'allows state to be set to ActiveTriples::Resource' do
49
+ other_work = described_class.new(state: work.state)
50
+ expect(other_work.state.rdf_subject).to eq inactive
51
+ end
47
52
  end
48
53
 
49
54
  describe '#suppressed?' do
data/template.rb CHANGED
@@ -1,4 +1,4 @@
1
- gem 'hyrax', '2.0.0.rc2'
1
+ gem 'hyrax', '2.0.0.rc3'
2
2
  run 'bundle install'
3
3
  generate 'hyrax:install', '-f'
4
4
  rails_command 'db:migrate'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyrax
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc2
4
+ version: 2.0.0.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2017-11-01 00:00:00.000000000 Z
17
+ date: 2017-11-09 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rails
@@ -598,16 +598,22 @@ dependencies:
598
598
  name: active-fedora
599
599
  requirement: !ruby/object:Gem::Requirement
600
600
  requirements:
601
+ - - "~>"
602
+ - !ruby/object:Gem::Version
603
+ version: '11.5'
601
604
  - - ">="
602
605
  - !ruby/object:Gem::Version
603
- version: 11.3.1
606
+ version: 11.5.2
604
607
  type: :runtime
605
608
  prerelease: false
606
609
  version_requirements: !ruby/object:Gem::Requirement
607
610
  requirements:
611
+ - - "~>"
612
+ - !ruby/object:Gem::Version
613
+ version: '11.5'
608
614
  - - ">="
609
615
  - !ruby/object:Gem::Version
610
- version: 11.3.1
616
+ version: 11.5.2
611
617
  - !ruby/object:Gem::Dependency
612
618
  name: linkeddata
613
619
  requirement: !ruby/object:Gem::Requirement
@@ -1065,6 +1071,7 @@ files:
1065
1071
  - app/assets/javascripts/hyrax/uploader.js
1066
1072
  - app/assets/javascripts/hyrax/user_search.js
1067
1073
  - app/assets/javascripts/hyrax/workflow_actions_affix.js
1074
+ - app/assets/stylesheets/_bootstrap-default-overrides.scss
1068
1075
  - app/assets/stylesheets/fileupload/jquery.fileupload-ui.scss
1069
1076
  - app/assets/stylesheets/hyrax/_batch-edit.scss
1070
1077
  - app/assets/stylesheets/hyrax/_browse_everything_overrides.scss