sufia 3.4.0.rc4 → 3.4.0
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.
- checksums.yaml +4 -4
- data/History.md +9 -1
- data/SUFIA_VERSION +1 -1
- data/app/views/catalog/_facet_layout.html.erb +1 -1
- data/app/views/dashboard/_facet_layout.html.erb +1 -1
- data/app/views/users/index.html.erb +3 -3
- data/lib/sufia/version.rb +1 -1
- data/spec/features/users_spec.rb +6 -0
- data/sufia-models/lib/sufia/models/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b325d0460fd902145ca8b8c197ea822e271d7182
|
|
4
|
+
data.tar.gz: 6cb9cb9a2b1c4838a16ee2cc5dd4526fb918fc7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02ba6513e673044b55e11a6dbaa68cb83cde5b3e3381c9c75dc86dd2bd21cdb0b709f35904befcb4a8a3fa6485d3081d4028b0480489fdceb3b5ae55a1d19ec0
|
|
7
|
+
data.tar.gz: b7be173445501e70cf190ba23e2965ed3fac991ac5ca4f07a0e339692ce1ef58c7de4edf549788a95d461f32a5fa2a68afbe134518a77c8839a6ff4042dd3669
|
data/History.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# History of Sufia releases
|
|
2
2
|
|
|
3
|
-
## 3.4.0
|
|
3
|
+
## 3.4.0
|
|
4
|
+
* Handle facets with 3 or more words [Jeremy Friesen]
|
|
5
|
+
* Fixed show links in Users#index [Andrew Curley]
|
|
6
|
+
* Update to AF 6.7.0 [Justin Coyne]
|
|
7
|
+
* Adding more verbose logging to specs [Jeremy Friesen]
|
|
8
|
+
* Update to Blacklight 4.5.0 [Justin Coyne]
|
|
9
|
+
* Removing migration templates from Sufia (they are in sufia-models) [Justin Coyne]
|
|
10
|
+
* Removed HTML align property from views [Justin Coyne]
|
|
11
|
+
* Relax the Resque spec [Justin Coyne]
|
|
4
12
|
* Pinned to hydra-head ~> 6.4.0 [Justin Coyne]
|
|
5
13
|
* Moved trophies related methods to Trophies module [Justin Coyne]
|
|
6
14
|
* Move mime type related methods into MimeTypes module [Justin Coyne]
|
data/SUFIA_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.4.0
|
|
1
|
+
3.4.0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<li class="expandable_new grey">
|
|
2
|
-
<% id = facet_field.label.
|
|
2
|
+
<% id = facet_field.label.gsub(" ","_") %>
|
|
3
3
|
<!--button class="btn dropdown" data-toggle="collapse" data-target="#collapse_<%= id%>" data-parent="#facet_group"><i class="icon-chevron-right"></i> <%= facet_field.label%></button-->
|
|
4
4
|
|
|
5
5
|
<a class="accordion-toggle grey" data-toggle="collapse" data-parent="#facet_group" data-target="#collapse_<%= id%>">
|
|
@@ -15,7 +15,7 @@ limitations under the License.
|
|
|
15
15
|
%>
|
|
16
16
|
|
|
17
17
|
<li class="expandable_new grey">
|
|
18
|
-
<% id = facet_field.label.
|
|
18
|
+
<% id = facet_field.label.gsub(" ","_")+"_db" %>
|
|
19
19
|
|
|
20
20
|
<a class="accordion-toggle grey" data-toggle="collapse" data-parent="#facet_group" data-target="#collapse_<%= id%>">
|
|
21
21
|
<%= facet_field.label %><i class="icon-chevron-right grey"></i>
|
|
@@ -32,9 +32,9 @@ limitations under the License.
|
|
|
32
32
|
<tbody>
|
|
33
33
|
<% @users.each do |user| %>
|
|
34
34
|
<tr class="<%= cycle("","zebra") %>">
|
|
35
|
-
<td><a href="<%= sufia.profile_path(
|
|
36
|
-
<td ><a href="<%= sufia.profile_path(
|
|
37
|
-
<td><a href="<%= sufia.profile_path(
|
|
35
|
+
<td><a href="<%= sufia.profile_path(user) %>" class="btn btn-small " ><%= image_tag user.avatar.url(:thumb), :width => 30 %></a></td>
|
|
36
|
+
<td ><a href="<%= sufia.profile_path(user) %>" ><%= user.name %><a></td>
|
|
37
|
+
<td><a href="<%= sufia.profile_path(user) %>" ><%= user.user_key %><a></td>
|
|
38
38
|
<td><%= user.department %> </td>
|
|
39
39
|
<td><%= number_of_deposits(user) %> </td>
|
|
40
40
|
</tr>
|
data/lib/sufia/version.rb
CHANGED
data/spec/features/users_spec.rb
CHANGED
|
@@ -22,4 +22,10 @@ describe "User Profile" do
|
|
|
22
22
|
page.should have_content "Your profile has been updated"
|
|
23
23
|
page.should have_content "curatorOfData"
|
|
24
24
|
end
|
|
25
|
+
|
|
26
|
+
it "should display all users" do
|
|
27
|
+
click_link "curator1@example.com"
|
|
28
|
+
click_link "View Users"
|
|
29
|
+
page.should have_xpath("//td/a[@href='/users/curator1@example-dot-com']")
|
|
30
|
+
end
|
|
25
31
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sufia
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.4.0
|
|
4
|
+
version: 3.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Coyne
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sufia-models
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 3.4.0
|
|
19
|
+
version: 3.4.0
|
|
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: 3.4.0
|
|
26
|
+
version: 3.4.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: blacklight_advanced_search
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -736,9 +736,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
736
736
|
version: '0'
|
|
737
737
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
738
738
|
requirements:
|
|
739
|
-
- - '
|
|
739
|
+
- - '>='
|
|
740
740
|
- !ruby/object:Gem::Version
|
|
741
|
-
version:
|
|
741
|
+
version: '0'
|
|
742
742
|
requirements: []
|
|
743
743
|
rubyforge_project:
|
|
744
744
|
rubygems_version: 2.0.3
|