learn_linter 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/learn_linter/license_linter.rb +2 -1
- data/lib/learn_linter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b983a6e25a3a85df9e225040e60dae6698759573
|
4
|
+
data.tar.gz: a9b0d0634fd5c2f1eddc63bb7772399989d52f1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1c36a8f796bb9238efa7d013e6c171a45d4c96963e1ca368ab3db8707edff3c293aa67236768313542b8ad8b08810484437f2b722594f0443d066efd49644c3
|
7
|
+
data.tar.gz: fde8d4094df7c518e64ba0237c86033cfd0ccbf15084b9ad06ecf051bd72ef06f2a22c2d1d8c0502c448ef0cd059b95c8feeaede820cf322b6d878d78ebb3788
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'pry'
|
1
2
|
class LicenseLinter
|
2
3
|
|
3
4
|
VALID_FILE = File.open(File.expand_path(File.dirname(__FILE__)) + '/valid_license.md')
|
@@ -12,6 +13,6 @@ class LicenseLinter
|
|
12
13
|
end
|
13
14
|
|
14
15
|
def self.sanitize_whitespace(file)
|
15
|
-
file.split
|
16
|
+
file.split.delete_if {|char| char.empty? || char == "\n"}
|
16
17
|
end
|
17
18
|
end
|
data/lib/learn_linter/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: learn_linter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sophie DeBenedetto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|