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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b88f21ad0f7a7ed9b270553b479df167e8941beab288a674aa61dcba4bfd96b
4
- data.tar.gz: a785d32bdfe3c68f4801b207eb551f2f4bcc1fec5dd46473706ab9172dd64594
3
+ metadata.gz: c28818d59b09b545d467b5734e319b1fbe529bed1d6c3af70d93a0a0ebe2cb70
4
+ data.tar.gz: c2470dbafc0c903a2e565ee0c18bfcad1ed17f64a33afb7976c18ed2a2f99086
5
5
  SHA512:
6
- metadata.gz: 3e59ea69ea818495df7a1ed8eb2cb5105c7d4367a8be6a6c68ded8c6bc881abbd2650a87a82b59289931cbb0814c21d1ae33c075e729f96323b2512734ccb1d9
7
- data.tar.gz: 16a0191f3c35bf125a8dbde4ba77b530954d2f49441cb02dee1a1f4f538ac20d1d946acbb97fff2c1430b646caeaf437a7dce4a0a0ab794619620e96502d721b
6
+ metadata.gz: ecba313f86cc6683b50148f6fd094aebd3b43c0e1c5d17645ce3b1bdfce51b141f7db5f6fd4b0b7f185e31bb54f6164d55d3a03c06220f032a5639a47ed06390
7
+ data.tar.gz: 4e123131c492aaaf8d46de19317f32ce7a500f9732b85cafdddc7772151b2acaba1fb81dc9d0737ad85a1dc4b2b40944ec4d34fa243e4c3485ef226e0bc494be
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GemServerConformance
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.5"
5
5
  end
@@ -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) if Gem.rubygems_version < Gem::Version.new("3.6.0")
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.3
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-07-19 00:00:00.000000000 Z
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: []