dedent 0.0.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +7 -0
- data/dedent.gemspec +1 -4
- data/lib/dedent/version.rb +1 -1
- metadata +12 -14
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3693cab618105e14872dcb7e9d18c7c39ba474df
|
4
|
+
data.tar.gz: 608624e0e261db6877fb9e2b6d65d277ad258fd5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 31a73fddf17b8991d6236d2219595f1f12770620a74787d15878f548003b4fb937623c50fb74a00ecfc0726c096590bf3acd093f456a6742a70314bdaed9b99c
|
7
|
+
data.tar.gz: c27f770c0fafa6f8f979d2bdc0a688b9e918f2cf5c728c5a4eadf0fb29d1535f1193e63b534c481452bcf880e0576b51da31655cd4675c6edb7d748c54144445
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
Copyright (c) 2012-2013 Caleb Spare
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
4
|
+
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
6
|
+
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/dedent.gemspec
CHANGED
@@ -8,6 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.authors = ["Caleb Spare"]
|
9
9
|
s.email = ["cespare@gmail.com"]
|
10
10
|
s.homepage = "https://github.com/cespare/ruby-dedent"
|
11
|
+
s.license = "MIT"
|
11
12
|
s.summary = %q{Adds a dedent method to String.}
|
12
13
|
s.description = <<-EOS
|
13
14
|
This gem adds a dedent method to strings to strip leading spaces from each line while preserving indentation.
|
@@ -19,8 +20,4 @@ This gem adds a dedent method to strings to strip leading spaces from each line
|
|
19
20
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
20
21
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
21
22
|
s.require_paths = ["lib"]
|
22
|
-
|
23
|
-
# specify any dependencies here; for example:
|
24
|
-
# s.add_development_dependency "rspec"
|
25
|
-
# s.add_runtime_dependency "rest-client"
|
26
23
|
end
|
data/lib/dedent/version.rb
CHANGED
metadata
CHANGED
@@ -1,20 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dedent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Caleb Spare
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-10-16 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
|
-
description:
|
15
|
-
each line while preserving indentation.
|
16
|
-
|
17
|
-
'
|
13
|
+
description: |
|
14
|
+
This gem adds a dedent method to strings to strip leading spaces from each line while preserving indentation.
|
18
15
|
email:
|
19
16
|
- cespare@gmail.com
|
20
17
|
executables: []
|
@@ -23,33 +20,34 @@ extra_rdoc_files: []
|
|
23
20
|
files:
|
24
21
|
- .gitignore
|
25
22
|
- Gemfile
|
23
|
+
- LICENSE.txt
|
26
24
|
- README.md
|
27
25
|
- Rakefile
|
28
26
|
- dedent.gemspec
|
29
27
|
- lib/dedent.rb
|
30
28
|
- lib/dedent/version.rb
|
31
29
|
homepage: https://github.com/cespare/ruby-dedent
|
32
|
-
licenses:
|
30
|
+
licenses:
|
31
|
+
- MIT
|
32
|
+
metadata: {}
|
33
33
|
post_install_message:
|
34
34
|
rdoc_options: []
|
35
35
|
require_paths:
|
36
36
|
- lib
|
37
37
|
required_ruby_version: !ruby/object:Gem::Requirement
|
38
|
-
none: false
|
39
38
|
requirements:
|
40
|
-
- -
|
39
|
+
- - '>='
|
41
40
|
- !ruby/object:Gem::Version
|
42
41
|
version: '0'
|
43
42
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
43
|
requirements:
|
46
|
-
- -
|
44
|
+
- - '>='
|
47
45
|
- !ruby/object:Gem::Version
|
48
46
|
version: '0'
|
49
47
|
requirements: []
|
50
48
|
rubyforge_project: dedent
|
51
|
-
rubygems_version:
|
49
|
+
rubygems_version: 2.0.3
|
52
50
|
signing_key:
|
53
|
-
specification_version:
|
51
|
+
specification_version: 4
|
54
52
|
summary: Adds a dedent method to String.
|
55
53
|
test_files: []
|