readmeExtractor 0.1.10 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/readmeExtractor/version.rb +1 -1
- data/lib/readmeExtractor.rb +3 -1
- 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: caadeca4581c39a40df58b118d41f908cd603d91fa4e606659b16c304f753cca
|
4
|
+
data.tar.gz: 6c27607dadc1573081695d3091ae168bdca8a5711572e19db09c1f65259f1856
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f42470bb45657647f40218f1319fc6fcd71bbff72e1fe9869d7c3bfef88d134694886e687e3a8cb98d8f714a8b60c88bb203a6a1f4a0e4016cc630ed846e448
|
7
|
+
data.tar.gz: 02da9dc549051c6e39d33dafb7fd326847bd9b980c5ab5b0002cff61ae5c5d4b7be96af5d7899d25789fb09f72c41ff01b0681414f70b1edec4c6362f79fdc67
|
data/lib/readmeExtractor.rb
CHANGED
@@ -18,6 +18,8 @@ class ReadmeExtractor
|
|
18
18
|
gem_list.each_value do |gem_info|
|
19
19
|
puts "Extracting #{gem_info[:gem_path]}..."
|
20
20
|
extract_from_gem_file(gem_info[:gem_path], to, gem_info[:version])
|
21
|
+
rescue Encoding::CompatibilityError => e
|
22
|
+
puts "Extracting Error Encoding::CompatibilityError #{e.message}"
|
21
23
|
end
|
22
24
|
end
|
23
25
|
|
@@ -43,7 +45,7 @@ class ReadmeExtractor
|
|
43
45
|
gems[name] = { version:, gem_path: }
|
44
46
|
end
|
45
47
|
rescue Encoding::CompatibilityError => e
|
46
|
-
puts "Encoding::CompatibilityError #{e.message}"
|
48
|
+
puts "gem list prepare error Encoding::CompatibilityError #{e.message}"
|
47
49
|
end
|
48
50
|
gems
|
49
51
|
end
|