Skip to content

Commit 37c98ed

Browse files
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents 7f0fed5 + 39cb4fb commit 37c98ed

File tree

5 files changed

+33
-7
lines changed

5 files changed

+33
-7
lines changed

lib/libra2/app/assets/stylesheets/styles.scss

+5
Original file line numberDiff line numberDiff line change
@@ -317,3 +317,8 @@
317317
border: 1px solid #8c8c8c;
318318
background-color: #a2a2a2;
319319
}
320+
321+
.form-group.inline.select.optional.generic_work_embargo_period {
322+
padding: 0;
323+
margin: 0 0 0 -20px;
324+
}

lib/libra2/tasks/redis_admin.rake

+25-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace :libra2 do
99
namespace :redis do
1010

1111
desc "Show deposit state keys"
12-
task deposit: :environment do |t, args|
12+
task show_deposit: :environment do |t, args|
1313

1414
count = 0
1515
kh = Helpers::KeyHelper.new
@@ -24,7 +24,7 @@ namespace :libra2 do
2424
end
2525

2626
desc "Show timed token keys"
27-
task timed: :environment do |t, args|
27+
task show_timed: :environment do |t, args|
2828

2929
count = 0
3030
kh = Helpers::KeyHelper.new
@@ -40,7 +40,7 @@ namespace :libra2 do
4040
end
4141

4242
desc "Show event keys"
43-
task event: :environment do |t, args|
43+
task show_event: :environment do |t, args|
4444

4545
count = 0
4646
kh = Helpers::KeyHelper.new
@@ -55,8 +55,29 @@ namespace :libra2 do
5555

5656
end
5757

58+
desc "Show all keys; optionally provide a key pattern"
59+
task show_all: :environment do |t, args|
60+
61+
pattern = ARGV[ 1 ]
62+
pattern = "*" if pattern.nil?
63+
64+
task pattern.to_sym do ; end
65+
66+
count = 0
67+
kh = Helpers::KeyHelper.new
68+
keys = kh.keys( pattern )
69+
if keys.nil? == false
70+
keys.each do |k|
71+
puts " #{k}"
72+
count += 1
73+
end
74+
end
75+
puts "#{count} key(s) listed"
76+
77+
end
78+
5879
desc "Delete a key (handle with care); provide the key to delete"
59-
task delete: :environment do |t, args|
80+
task delete_one: :environment do |t, args|
6081

6182
key = ARGV[ 1 ]
6283
if key.nil?

public/404.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121
.error-code {
2222
background-color: #d6d6d6;
23-
width: 120px;
23+
width: 180px;
2424
height: 120px;
2525
color: white;
2626
font-size: 45px;

public/422.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121
.error-code {
2222
background-color: #d6d6d6;
23-
width: 120px;
23+
width: 180px;
2424
height: 120px;
2525
color: white;
2626
font-size: 45px;

public/500.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121
.error-code {
2222
background-color: #d6d6d6;
23-
width: 120px;
23+
width: 180px;
2424
height: 120px;
2525
color: white;
2626
font-size: 45px;

0 commit comments

Comments
 (0)