brief 0.0.3 → 0.0.4
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 +4 -4
- data/brief.gemspec +1 -1
- data/lib/brief/cli/commands/write.rb +3 -2
- data/lib/brief/parser.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: 18e0fdf17448c78cbab4c8f7fa5145888ecf4ad3
|
4
|
+
data.tar.gz: b2d595ee8bc3bb89d1954460b26a03076a9a3576
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12e65937b0d7494b7fb75c05ddc66c8c11deac4bc31b3ad9b91e08a891c8d540c607ab60e34e1b12fcc4937396d13576a432f792691d0fcd877e032caf7a2358
|
7
|
+
data.tar.gz: 7fd9bc54ace58c9f163e9f70ea69e00d2a9e91ca7d7c6a24f55e38fd2a897a587c3c18a8885f52bf49c144dce7b57808136155441e751b9aaf2bf1709ff81147
|
data/brief.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "brief"
|
7
|
-
spec.version = '0.0.
|
7
|
+
spec.version = '0.0.4'
|
8
8
|
spec.authors = ["Jonathan Soeder"]
|
9
9
|
spec.email = ["jonathan.soeder@gmail.com"]
|
10
10
|
spec.description = %q{Brief is a utility to make writing more productive for software architects. It allows you write to places like Github Wiki, The Github Issues API all from the command line and a single file.}
|
data/lib/brief/parser.rb
CHANGED
@@ -52,7 +52,7 @@ module Brief
|
|
52
52
|
min = heading_line.number + 1
|
53
53
|
max = next_sibling_of(heading_line).try(:number).try(:-, 1) || last_line_number
|
54
54
|
|
55
|
-
parsed_lines.select {|p| p.number.between?(min,max) }.map(&:raw).
|
55
|
+
parsed_lines.select {|p| p.number.between?(min,max) }.map(&:raw).join()
|
56
56
|
end
|
57
57
|
|
58
58
|
def lines_between_boundaries *bounds
|