heredoc_unindent 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.rdoc +6 -0
- data/README.rdoc +9 -9
- data/Rakefile +1 -1
- metadata +12 -12
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -4,15 +4,15 @@
|
|
4
4
|
|
5
5
|
== DESCRIPTION:
|
6
6
|
|
7
|
-
|
8
|
-
heredocs,
|
9
|
-
each line
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
insensitive to
|
14
|
-
|
15
|
-
|
7
|
+
This gem removes common margin from indented strings, such as the ones
|
8
|
+
produced by indented heredocs. In other words, it strips out leading whitespace
|
9
|
+
chars at the beggining of each line, but only as much as the line with the
|
10
|
+
smallest margin.
|
11
|
+
|
12
|
+
It is acknowledged that many strings defined by heredocs are just code and fact
|
13
|
+
is that most parsers are insensitive to indentation. If, however, the strings
|
14
|
+
are to be used otherwise, be it for printing or testing, the extra indentation
|
15
|
+
will probably be an issue and hence this gem.
|
16
16
|
|
17
17
|
== SYNOPSIS:
|
18
18
|
|
data/Rakefile
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.0.
|
8
|
+
- 3
|
9
|
+
version: 1.0.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Adriano Mitre
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
9u8N6mQNneIVRh6Xfdko/Q==
|
36
36
|
-----END CERTIFICATE-----
|
37
37
|
|
38
|
-
date: 2011-01-
|
38
|
+
date: 2011-01-27 00:00:00 -02:00
|
39
39
|
default_executable:
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -54,15 +54,15 @@ dependencies:
|
|
54
54
|
type: :development
|
55
55
|
version_requirements: *id001
|
56
56
|
description: |-
|
57
|
-
|
58
|
-
heredocs,
|
59
|
-
each line
|
57
|
+
This gem removes common margin from indented strings, such as the ones
|
58
|
+
produced by indented heredocs. In other words, it strips out leading whitespace
|
59
|
+
chars at the beggining of each line, but only as much as the line with the
|
60
|
+
smallest margin.
|
60
61
|
|
61
|
-
It is acknowledged that many strings defined by heredocs
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
thus the reason for this gem.
|
62
|
+
It is acknowledged that many strings defined by heredocs are just code and fact
|
63
|
+
is that most parsers are insensitive to indentation. If, however, the strings
|
64
|
+
are to be used otherwise, be it for printing or testing, the extra indentation
|
65
|
+
will probably be an issue and hence this gem.
|
66
66
|
email:
|
67
67
|
- adriano.mitre@gmail.com
|
68
68
|
executables: []
|
@@ -114,6 +114,6 @@ rubyforge_project: heredoc_unindent
|
|
114
114
|
rubygems_version: 1.3.7
|
115
115
|
signing_key:
|
116
116
|
specification_version: 3
|
117
|
-
summary:
|
117
|
+
summary: This gem removes common margin from indented strings, such as the ones produced by indented heredocs
|
118
118
|
test_files:
|
119
119
|
- test/test_heredoc_unindent.rb
|
metadata.gz.sig
CHANGED
Binary file
|