gems-status 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gems_status_metadata.rb +1 -1
- data/lib/lockfile_gems.rb +1 -1
- data/lib/obs_gems.rb +3 -3
- data/lib/ruby_gems_gems_gem_simple.rb +1 -1
- data/lib/utils.rb +4 -0
- metadata +3 -3
data/lib/gems_status_metadata.rb
CHANGED
data/lib/lockfile_gems.rb
CHANGED
data/lib/obs_gems.rb
CHANGED
@@ -35,10 +35,10 @@ class OBSGems < GemsCommand
|
|
35
35
|
package = linkinfo[0]["package"]
|
36
36
|
if linkinfo[0]["rev"] then
|
37
37
|
rev = linkinfo[0]["rev"]
|
38
|
-
Utils.
|
38
|
+
Utils.log_debug "DEBUG: Revision in link: #{rev}."
|
39
39
|
package = package + "?rev=" + rev
|
40
40
|
end
|
41
|
-
Utils.
|
41
|
+
Utils.log_debug "DEBUG: follow link to project: #{repo} package: #{package}"
|
42
42
|
parse_rpm_data(repo, package)
|
43
43
|
end
|
44
44
|
|
@@ -61,7 +61,7 @@ class OBSGems < GemsCommand
|
|
61
61
|
end
|
62
62
|
data = XmlSimple.xml_in(response)
|
63
63
|
if data["linkinfo"] then
|
64
|
-
Utils.
|
64
|
+
Utils.log_debug "DEBUG: #{data["name"]} is a link."
|
65
65
|
if data["entry"].length != 1
|
66
66
|
Utils.log_error "ERROR: when parsing the link for #{project} : #{package}. There are more entries than expected. That may be a patched link and the result may not be correct"
|
67
67
|
end
|
@@ -11,7 +11,7 @@ class RubyGemsGems_GemSimple < GemSimple
|
|
11
11
|
return @md5
|
12
12
|
end
|
13
13
|
gem_uri = "#{@gems_url}/#{@name}-#{@version}.gem"
|
14
|
-
Utils.
|
14
|
+
Utils.log_debug "DEBUG: download and md5 for #{@name} from #{gem_uri}"
|
15
15
|
begin
|
16
16
|
source = open(gem_uri)
|
17
17
|
@md5 = Digest::MD5.hexdigest(source.read)
|
data/lib/utils.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gems-status
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 3
|
10
|
+
version: 0.2.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jordi Massaguer Pla
|