rudisco 1.0.1 → 1.0.2
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/lib/database/rudisco.db +0 -0
- data/lib/rudisco/models/gem/rubygems_scanner.rb +2 -2
- data/lib/rudisco/project_structure.rb +1 -0
- data/readme.md +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 17fbb813cd6e7f4fc19373075b4520981c4dac2b
|
|
4
|
+
data.tar.gz: 4a153ae5e46208eef5a77f9e3a388e850754ec9f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2f08112398f9ba6e96c16fc6cb920217ff5fd4ca412b24900f5db6ac63920883c9e4f94edc2164937c585a94d9d5763e272d2d5d2c40f9d92479ab52c989a13
|
|
7
|
+
data.tar.gz: 9a87546cb54ee7b76325a394f5e164a6ee5dc5ad5142a4335b650b431ed09927d3cca6662d3a4414a9e9bcf70a006c6b83d090f75fbe5d780b59dd14fb86a7d6
|
data/lib/database/rudisco.db
CHANGED
|
Binary file
|
|
@@ -128,8 +128,8 @@ module Rudisco
|
|
|
128
128
|
url = URI.parse "https://rubygems.org/api/v1/gems/#{name}.json"
|
|
129
129
|
response = Net::HTTP.get_response(url)
|
|
130
130
|
|
|
131
|
-
return response.body
|
|
132
|
-
rescue Errno::ECONNRESET
|
|
131
|
+
return response.body if response.is_a? Net::HTTPSuccess
|
|
132
|
+
rescue Errno::ECONNRESET, Net::OpenTimeout
|
|
133
133
|
next
|
|
134
134
|
end
|
|
135
135
|
end
|
data/readme.md
CHANGED
|
@@ -90,8 +90,7 @@ Table _gems_ consist of next columns: _name, description, authors, version, lice
|
|
|
90
90
|
|
|
91
91
|
## Todo
|
|
92
92
|
|
|
93
|
-
*
|
|
94
|
-
* Add CLI open (opens any url associated with gem in browser) & CLI statistic (database&program statistic) commands.
|
|
93
|
+
* CLI statistic (database&program statistic) commands.
|
|
95
94
|
* Tests coverage.
|
|
96
95
|
|
|
97
96
|
## Dependencies
|