mumuki-laboratory 7.10.4 → 7.10.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9ec0735be65d4978b877d62bc5542277c1ddff2cf9d1bff48454ee4d874f1fb
4
- data.tar.gz: 53e5b0019c91b60f0d2e7a07523941640f0b46118d74a04f4035a37efaafaaf1
3
+ metadata.gz: 14e1de394e31aa3018f8d66df21561874095da64afdfb255a6fcef6189568695
4
+ data.tar.gz: 91c9503ff88706237d9e32e0fd1ab22b8f6ba571f47d10e54b01e46ab7a66e35
5
5
  SHA512:
6
- metadata.gz: 50ccfb5349f8734c2158041465158ecf5fb3665334ad3c5ba75fcea1f11ecaf52774c5a8d010e014df621ab47115101bd7a9a2c4e222396164c9f479f001d546
7
- data.tar.gz: 67262d351678e0106d736a585798f9133917e10285c885fea4a9cfa8b02ddd0f19c15fb36c47659f5548d91796279a93f29e93d37ae80b07902f70825117ccd6
6
+ metadata.gz: 177dca452ef3b4a6f64eb117559eac3509ffefdf09c2c7e6fc4a85ecb0500f710d9bfbc15e30756a4288f87eac81c01befadc5d201de9b7ae73a0ca8f8f4b06b
7
+ data.tar.gz: 6823c871a44ffd808592b3bfc407081784c0df77ea2062acabb9e2e6b70be87d97cb8d84c47d1de7a1b00abcaf9a14e7c9b446a55a9dfaff74af83714dac72b3
@@ -32,7 +32,7 @@
32
32
  margin: auto;
33
33
  h2 {
34
34
  font-size: 38px;
35
- margin-bottom: 0px;
35
+ margin-bottom: 10px;
36
36
  }
37
37
  p {
38
38
  font-size: 25px;
@@ -7,8 +7,8 @@ module ApplicationHelper
7
7
  end
8
8
 
9
9
  def profile_picture_for(user, **options)
10
- options.merge!(height: 40, onError: "this.onerror = null; this.src = '#{image_url(user.placeholder_image_url)}'")
11
- avatar_image(user.profile_picture, options)
10
+ default_options = { height: 40, onError: "this.onerror = null; this.src = '#{image_url(user.placeholder_image_url)}'" }
11
+ avatar_image(user.profile_picture, default_options.merge(options))
12
12
  end
13
13
 
14
14
  def avatar_image(avatar_url, **options)
@@ -60,7 +60,7 @@
60
60
  <span><%= discussion.exercise.name %></span>
61
61
  <% if discussion.last_moderator_access_visible_for?(current_user) %>
62
62
  <div class="pull-right discussion-moderator-access" >
63
- <%= profile_picture_for(discussion.last_moderator_access_by, 32) %>
63
+ <%= profile_picture_for(discussion.last_moderator_access_by, height: 32) %>
64
64
  <span class="moderator-initials">
65
65
  <%= discussion.last_moderator_access_by.name_initials %>
66
66
  </span>
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Laboratory
3
- VERSION = '7.10.4'
3
+ VERSION = '7.10.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-laboratory
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.10.4
4
+ version: 7.10.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-09 00:00:00.000000000 Z
11
+ date: 2020-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails