gem_server_conformance 0.1.3 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gem_server_conformance/version.rb +1 -1
- data/spec/support/request_helpers.rb +5 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c28818d59b09b545d467b5734e319b1fbe529bed1d6c3af70d93a0a0ebe2cb70
|
4
|
+
data.tar.gz: c2470dbafc0c903a2e565ee0c18bfcad1ed17f64a33afb7976c18ed2a2f99086
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecba313f86cc6683b50148f6fd094aebd3b43c0e1c5d17645ce3b1bdfce51b141f7db5f6fd4b0b7f185e31bb54f6164d55d3a03c06220f032a5639a47ed06390
|
7
|
+
data.tar.gz: 4e123131c492aaaf8d46de19317f32ce7a500f9732b85cafdddc7772151b2acaba1fb81dc9d0737ad85a1dc4b2b40944ec4d34fa243e4c3485ef226e0bc494be
|
@@ -3,6 +3,9 @@
|
|
3
3
|
require "delegate"
|
4
4
|
require "forwardable"
|
5
5
|
require "rubygems/gemcutter_utilities"
|
6
|
+
require "rubygems/package"
|
7
|
+
require "time"
|
8
|
+
require "uri"
|
6
9
|
|
7
10
|
module RequestHelpers
|
8
11
|
def self.included(base)
|
@@ -14,6 +17,7 @@ module RequestHelpers
|
|
14
17
|
class CoderWrapper < SimpleDelegator
|
15
18
|
def add(key, value)
|
16
19
|
value = "3.5.11" if key == "rubygems_version"
|
20
|
+
value = nil if key == "original_platform" && value == ""
|
17
21
|
return if value.nil?
|
18
22
|
|
19
23
|
super
|
@@ -65,7 +69,7 @@ module RequestHelpers
|
|
65
69
|
end
|
66
70
|
yield spec if block_given?
|
67
71
|
|
68
|
-
spec.singleton_class.prepend(SpecificationToYamlNormalization)
|
72
|
+
spec.singleton_class.prepend(SpecificationToYamlNormalization)
|
69
73
|
|
70
74
|
package = Gem::Package.new(StringIO.new.binmode)
|
71
75
|
package.build_time = Time.utc(1970)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gem_server_conformance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Giddins
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.0'
|
27
|
-
description:
|
27
|
+
description:
|
28
28
|
email:
|
29
29
|
- segiddins@rubycentral.org
|
30
30
|
executables:
|
@@ -53,7 +53,7 @@ licenses:
|
|
53
53
|
metadata:
|
54
54
|
homepage_uri: https://github.com/rubygems/gem_server_conformance
|
55
55
|
rubygems_mfa_required: 'true'
|
56
|
-
post_install_message:
|
56
|
+
post_install_message:
|
57
57
|
rdoc_options: []
|
58
58
|
require_paths:
|
59
59
|
- lib
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
version: '0'
|
70
70
|
requirements: []
|
71
71
|
rubygems_version: 3.5.11
|
72
|
-
signing_key:
|
72
|
+
signing_key:
|
73
73
|
specification_version: 4
|
74
74
|
summary: A conformance test suite for RubyGems servers.
|
75
75
|
test_files: []
|