myprecious_python 0.0.3 → 0.0.4
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/myprecious_python.rb +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: afb47c6a151eadd9d8bccf330eb440d3fdbaf518
|
|
4
|
+
data.tar.gz: 7851a0d9904583b1e4a863a937e373e4bfabc6ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9dd5cc3d419235046a988e1a456e4ae45dc25700093f7ed5ffa72c5a0782bc71afef26fcbd8f1648489614fda28bafd99eae1cf70971c415c1cedc41d363a068
|
|
7
|
+
data.tar.gz: 5d000e907f4bec4a4acd68523b10687d388b865b0a3aa916200584498490f902db2e6af471712c2403a53ee3c92e6983e45b5c57407f660c6a636d59803a94e4
|
data/lib/myprecious_python.rb
CHANGED
|
@@ -79,7 +79,7 @@ class MyPreciousPython
|
|
|
79
79
|
rescue
|
|
80
80
|
latest_version = current_version
|
|
81
81
|
end
|
|
82
|
-
scrape_url = "https://pypi.
|
|
82
|
+
scrape_url = "https://pypi.org/project/" + name.to_s + "/" + current_version.to_s
|
|
83
83
|
begin
|
|
84
84
|
doc = Nokogiri::HTML(open(scrape_url))
|
|
85
85
|
doc_data = doc.css('tr.odd td')
|
|
@@ -91,7 +91,7 @@ class MyPreciousPython
|
|
|
91
91
|
rescue Exception => e
|
|
92
92
|
current_build_date = ""
|
|
93
93
|
end
|
|
94
|
-
puts name.to_s + " gathering info @" + scrape_url = "https://pypi.
|
|
94
|
+
puts name.to_s + " gathering info @" + scrape_url = "https://pypi.org/project/" + name.to_s + "/" + latest_version
|
|
95
95
|
puts scrape_url
|
|
96
96
|
doc = Nokogiri::HTML(open(scrape_url))
|
|
97
97
|
begin
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: myprecious_python
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Balki Kodarapu
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-02-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|
|
@@ -16,20 +16,20 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '1.
|
|
19
|
+
version: '1.10'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 1.
|
|
22
|
+
version: 1.10.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
26
|
requirements:
|
|
27
27
|
- - "~>"
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '1.
|
|
29
|
+
version: '1.10'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 1.
|
|
32
|
+
version: 1.10.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: byebug
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
79
79
|
version: '0'
|
|
80
80
|
requirements: []
|
|
81
81
|
rubyforge_project:
|
|
82
|
-
rubygems_version: 2.
|
|
82
|
+
rubygems_version: 2.6.14
|
|
83
83
|
signing_key:
|
|
84
84
|
specification_version: 4
|
|
85
85
|
summary: Your precious python dependencies!
|