learn-tool 0.0.21 → 0.0.22
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/bin/learn-tool +0 -2
- data/lib/learn-tool.rb +1 -1
- data/lib/learn-tool/learn-repair.rb +3 -8
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ed624173c2e0046764f7bcd2197cc5619dfce0ae257aa47bda86575f1e960e96
|
|
4
|
+
data.tar.gz: fb6829bc23348f6c9ef824293eefe347df753b8f49833298304438cf3e7740cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb9e5d938d2cb2173b61ab14364fed06a2f0261e35c6004b58c422758b1bf8411a446beafe33c969ad14097d49f47e58bd33ae715f86d9efd35d40290f464614
|
|
7
|
+
data.tar.gz: 64fb38bd048b6a09e0a4ac0caccc4d27153e585546aeaee78caf73c556cfbc1a9874514f67615db04112ec60b15fb1cf3cd1f281ae5527ac36a777b6e8bb1f40
|
data/bin/learn-tool
CHANGED
data/lib/learn-tool.rb
CHANGED
|
@@ -2,18 +2,13 @@ class LearnRepair < LearnBase
|
|
|
2
2
|
|
|
3
3
|
def initialize(filepath)
|
|
4
4
|
super(filepath)
|
|
5
|
-
cd_into_and(filepath,
|
|
5
|
+
cd_into_and(filepath, create_learn_file)
|
|
6
6
|
cd_into_and(filepath, create_support_file("LICENSE.md"))
|
|
7
7
|
cd_into_and(filepath, create_support_file("CONTRIBUTING.md"))
|
|
8
8
|
end
|
|
9
9
|
|
|
10
|
-
def
|
|
11
|
-
|
|
12
|
-
cat > .learn <<- EOL
|
|
13
|
-
languages:
|
|
14
|
-
- none
|
|
15
|
-
EOL
|
|
16
|
-
`
|
|
10
|
+
def create_learn_file
|
|
11
|
+
'echo "languages:" > .learn && echo " - none" >> .learn'
|
|
17
12
|
end
|
|
18
13
|
|
|
19
14
|
def create_support_file(name_of_file)
|