para 0.8.9 → 0.8.10

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
  SHA1:
3
- metadata.gz: 21679101c22d1235aad9fbe2305f7dddab8d38f0
4
- data.tar.gz: a1d88c43b137eb2d075e6d9f2c0e206079939f2b
3
+ metadata.gz: 2699b3fe934e113bc1679347cbe97ac94b0959c1
4
+ data.tar.gz: af695377ab693265ad2d1a28ae0e6588565dcc2d
5
5
  SHA512:
6
- metadata.gz: 9e9304958f70e770b5632b8636c42183fbf5aa504d8e5f5bd3f183f7e16588bd1d7bf0e571d47d54091d24526d938bd74af43cd93449931ac20d4a5178d2f77d
7
- data.tar.gz: a2e962254b1001b3930c2a9dc62f8867f5027a9d049cbdb9659f3bc81d7093b07057dcb9855641c65110db7fe605cae6db58f994b1ba838b799186bff0f6d860
6
+ metadata.gz: 44bf7f39afb5ac20c01ad50f91cf1c6ac34dbead25f7aa0d94dd4f9fa1fcd8c26f3228e85769a3d13859564fc6575da90b69294681da8dc4baabae733bbe2e91
7
+ data.tar.gz: ffeb5936f4db9c9b58a9e0d92135da5eb04ef24a5d5b4311a7ebf6cad355ba7b9b5fe8e50930ea981f1e812e4a483b26a38b67a6e3286573d38a0181c3193e14
@@ -9,7 +9,11 @@
9
9
  .actions-control
10
10
  list-style: none
11
11
  padding: 0
12
- margin: 0
12
+ margin: 0 15px 0 0
13
+
14
+ &:last-child
15
+ margin-right: 0
16
+
13
17
  li
14
18
  +inline-block
15
19
  padding: 0 5px
@@ -42,7 +46,7 @@
42
46
 
43
47
  .page-list-heading
44
48
  border-bottom: 1px solid $gray-light
45
-
49
+
46
50
  .page-list-body:last-child
47
51
  padding-bottom: 0
48
52
 
@@ -76,7 +80,7 @@
76
80
  color: $gray
77
81
  border-color: transparent
78
82
  &:hover
79
- color: $gray-dark
83
+ color: $gray-dark
80
84
 
81
85
 
82
86
  .page-entries-info
@@ -12,8 +12,11 @@ module Para
12
12
  end
13
13
 
14
14
  def build_action(action)
15
- content_tag(:div, class: 'actions-control pull-right') do
16
- link_to(action[:url], class: 'btn btn-default btn-shadow') do
15
+ link_options = action.fetch(:link_options, {})
16
+ link_options[:class] ||= "btn btn-default btn-shadow"
17
+
18
+ content_tag(:div, class: 'actions-control pull-right') do
19
+ link_to(action[:url], link_options) do
17
20
  (
18
21
  (fa_icon(action[:icon], class: 'fa-fw') if action[:icon]) +
19
22
  action[:label]
@@ -33,9 +33,9 @@ module Para
33
33
  end
34
34
 
35
35
  def ensure_total_progress
36
- return if @total_progress
36
+ return if @_total_progress
37
37
 
38
- @total_progress ||= if respond_to?(:total_progress, true)
38
+ @_total_progress ||= if respond_to?(:total_progress, true)
39
39
  progress.total = total_progress
40
40
  else
41
41
  progress[:total]
@@ -1,3 +1,3 @@
1
1
  module Para
2
- VERSION = '0.8.9'
2
+ VERSION = '0.8.10'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: para
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.9
4
+ version: 0.8.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Valentin Ballestrino
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-22 00:00:00.000000000 Z
11
+ date: 2020-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails