csl 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/csl/style/group.rb +2 -11
- data/lib/csl/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2440f83717e0f6837afcc83266cd4a3840a3616
|
4
|
+
data.tar.gz: 8b23cc4a6b0d37be88b2ab89db161a1a807e6ffa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b4b1ba0f7ca04742e7366595629000cb1bf40ca526a3fee6d637beb91632794b9cb63e39fbaad6b41813daa71a3a394fd3c25e770200eef5081dc3d8d839ba6
|
7
|
+
data.tar.gz: dfed6689b3b10f021634deb117dd81f740f8ebf9a4c87f3e1b0552b28a41dd1eb2055a59f1f44d6abecc383d3b124d86f10f019b2ed6b0b35bf392d5d49b23fa
|
data/lib/csl/style/group.rb
CHANGED
@@ -4,8 +4,8 @@ module CSL
|
|
4
4
|
# The Group rendering element must contain one or more rendering
|
5
5
|
# element (with the exception of {Layout}). Group nodes may carry the
|
6
6
|
# delimiter attribute to separate their child elements, as well as
|
7
|
-
# affixes and display attributes (applied to the
|
8
|
-
# as a whole).
|
7
|
+
# affixes and display attributes and text formatting (applied to the
|
8
|
+
# output of the group as a whole).
|
9
9
|
#
|
10
10
|
# Groups implicitly act as a conditionals: a Group and its child
|
11
11
|
# elements are suppressed if a) at least one rendering element in
|
@@ -17,15 +17,6 @@ module CSL
|
|
17
17
|
def delimiter
|
18
18
|
attributes.fetch(:delimiter, '')
|
19
19
|
end
|
20
|
-
|
21
|
-
# Returns only those formatting options applicable to the Group
|
22
|
-
# node itself; not those which are transmitted to the enclosed
|
23
|
-
# elements.
|
24
|
-
#
|
25
|
-
# @return [Hash] the node's formatting options
|
26
|
-
def formatting_options
|
27
|
-
attributes_for :display, *Schema.attr(:affixes)
|
28
|
-
end
|
29
20
|
end
|
30
21
|
|
31
22
|
end
|
data/lib/csl/version.rb
CHANGED