kss 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/kss/section.rb +1 -1
- data/lib/kss/version.rb +1 -1
- metadata +6 -7
data/lib/kss/section.rb
CHANGED
@@ -36,7 +36,7 @@ module Kss
|
|
36
36
|
|
37
37
|
comment_sections.each do |text|
|
38
38
|
if text =~ /Styleguide \d/i
|
39
|
-
cleaned = text.strip.sub
|
39
|
+
cleaned = text.strip.sub(/\.$/, '') # Kill trailing period
|
40
40
|
@section = cleaned.match(/Styleguide (.+)/)[1]
|
41
41
|
end
|
42
42
|
end
|
data/lib/kss/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kyle Neath
|
@@ -24,14 +24,13 @@ dependencies:
|
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 5
|
30
30
|
segments:
|
31
31
|
- 3
|
32
32
|
- 1
|
33
|
-
|
34
|
-
version: 3.1.11
|
33
|
+
version: "3.1"
|
35
34
|
type: :runtime
|
36
35
|
version_requirements: *id001
|
37
36
|
description: " Inspired by TomDoc, KSS attempts to provide a methodology for writing\n maintainable, documented CSS within a team. Specifically, KSS is a CSS\n structure, documentation specification, and styleguide format.\n\n This is a ruby library for parsing KSS documented CSS and generating\n styleguides.\n"
|