shopify-ruby-definitions 0.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +0 -1
  3. data/README.md +46 -0
  4. data/exe/shopify-ruby +24 -0
  5. data/lib/shopify_ruby_definitions/ruby_versions.rb +10 -31
  6. data/lib/shopify_ruby_definitions/version.rb +1 -2
  7. data/lib/shopify_ruby_definitions.rb +0 -4
  8. data/rubies/3.2.2-pshopify4 +35 -0
  9. metadata +20 -177
  10. data/lib/shopify_ruby_definitions/ruby_build.rb +0 -10
  11. data/sorbet/config +0 -4
  12. data/sorbet/rbi/annotations/rainbow.rbi +0 -269
  13. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -584
  14. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1083
  15. data/sorbet/rbi/gems/json@2.6.3.rbi +0 -1533
  16. data/sorbet/rbi/gems/minitest@5.18.0.rbi +0 -1491
  17. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -158
  18. data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -273
  19. data/sorbet/rbi/gems/parser@3.2.2.1.rbi +0 -7253
  20. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -402
  21. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -3024
  22. data/sorbet/rbi/gems/rbi@0.0.16.rbi +0 -3049
  23. data/sorbet/rbi/gems/regexp_parser@2.8.0.rbi +0 -3748
  24. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -4717
  25. data/sorbet/rbi/gems/rubocop-ast@1.28.1.rbi +0 -6969
  26. data/sorbet/rbi/gems/rubocop-minitest@0.31.0.rbi +0 -2528
  27. data/sorbet/rbi/gems/rubocop-shopify@2.13.0.rbi +0 -8
  28. data/sorbet/rbi/gems/rubocop@1.51.0.rbi +0 -55313
  29. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +0 -1317
  30. data/sorbet/rbi/gems/spoom@1.2.1.rbi +0 -2536
  31. data/sorbet/rbi/gems/tapioca@0.11.6.rbi +0 -3301
  32. data/sorbet/rbi/gems/thor@1.2.2.rbi +0 -3965
  33. data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +0 -65
  34. data/sorbet/rbi/gems/unparser@0.6.7.rbi +0 -4524
  35. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +0 -428
  36. data/sorbet/rbi/gems/yard@0.9.34.rbi +0 -18219
  37. data/sorbet/tapioca/config.yml +0 -13
  38. data/sorbet/tapioca/require.rb +0 -4
  39. data/vendor/ruby-build/LICENSE +0 -19
  40. data/vendor/ruby-build/bin/ruby-build +0 -1572
  41. data/vendor/ruby-build/share/ruby-build/2.6.0 +0 -2
  42. data/vendor/ruby-build/share/ruby-build/2.6.0-dev +0 -2
  43. data/vendor/ruby-build/share/ruby-build/2.6.0-preview1 +0 -2
  44. data/vendor/ruby-build/share/ruby-build/2.6.0-preview2 +0 -2
  45. data/vendor/ruby-build/share/ruby-build/2.6.0-preview3 +0 -2
  46. data/vendor/ruby-build/share/ruby-build/2.6.0-rc1 +0 -2
  47. data/vendor/ruby-build/share/ruby-build/2.6.0-rc2 +0 -2
  48. data/vendor/ruby-build/share/ruby-build/2.6.1 +0 -2
  49. data/vendor/ruby-build/share/ruby-build/2.6.10 +0 -2
  50. data/vendor/ruby-build/share/ruby-build/2.6.2 +0 -2
  51. data/vendor/ruby-build/share/ruby-build/2.6.3 +0 -2
  52. data/vendor/ruby-build/share/ruby-build/2.6.4 +0 -2
  53. data/vendor/ruby-build/share/ruby-build/2.6.5 +0 -2
  54. data/vendor/ruby-build/share/ruby-build/2.6.6 +0 -2
  55. data/vendor/ruby-build/share/ruby-build/2.6.7 +0 -2
  56. data/vendor/ruby-build/share/ruby-build/2.6.8 +0 -2
  57. data/vendor/ruby-build/share/ruby-build/2.6.9 +0 -2
  58. data/vendor/ruby-build/share/ruby-build/2.7.0 +0 -2
  59. data/vendor/ruby-build/share/ruby-build/2.7.0-dev +0 -2
  60. data/vendor/ruby-build/share/ruby-build/2.7.0-preview1 +0 -2
  61. data/vendor/ruby-build/share/ruby-build/2.7.0-preview2 +0 -2
  62. data/vendor/ruby-build/share/ruby-build/2.7.0-preview3 +0 -2
  63. data/vendor/ruby-build/share/ruby-build/2.7.0-rc1 +0 -2
  64. data/vendor/ruby-build/share/ruby-build/2.7.0-rc2 +0 -2
  65. data/vendor/ruby-build/share/ruby-build/2.7.1 +0 -2
  66. data/vendor/ruby-build/share/ruby-build/2.7.2 +0 -2
  67. data/vendor/ruby-build/share/ruby-build/2.7.3 +0 -2
  68. data/vendor/ruby-build/share/ruby-build/2.7.4 +0 -2
  69. data/vendor/ruby-build/share/ruby-build/2.7.5 +0 -2
  70. data/vendor/ruby-build/share/ruby-build/2.7.6 +0 -2
  71. data/vendor/ruby-build/share/ruby-build/2.7.7 +0 -2
  72. data/vendor/ruby-build/share/ruby-build/2.7.8 +0 -2
  73. data/vendor/ruby-build/share/ruby-build/3.0.0 +0 -2
  74. data/vendor/ruby-build/share/ruby-build/3.0.0-dev +0 -2
  75. data/vendor/ruby-build/share/ruby-build/3.0.0-preview1 +0 -2
  76. data/vendor/ruby-build/share/ruby-build/3.0.0-preview2 +0 -2
  77. data/vendor/ruby-build/share/ruby-build/3.0.0-rc1 +0 -2
  78. data/vendor/ruby-build/share/ruby-build/3.0.1 +0 -2
  79. data/vendor/ruby-build/share/ruby-build/3.0.2 +0 -2
  80. data/vendor/ruby-build/share/ruby-build/3.0.3 +0 -2
  81. data/vendor/ruby-build/share/ruby-build/3.0.4 +0 -2
  82. data/vendor/ruby-build/share/ruby-build/3.0.5 +0 -2
  83. data/vendor/ruby-build/share/ruby-build/3.0.6 +0 -2
  84. data/vendor/ruby-build/share/ruby-build/3.1.0 +0 -2
  85. data/vendor/ruby-build/share/ruby-build/3.1.0-dev +0 -2
  86. data/vendor/ruby-build/share/ruby-build/3.1.0-preview1 +0 -2
  87. data/vendor/ruby-build/share/ruby-build/3.1.1 +0 -2
  88. data/vendor/ruby-build/share/ruby-build/3.1.2 +0 -2
  89. data/vendor/ruby-build/share/ruby-build/3.1.3 +0 -2
  90. data/vendor/ruby-build/share/ruby-build/3.1.4 +0 -2
  91. data/vendor/ruby-build/share/ruby-build/3.2.0 +0 -2
  92. data/vendor/ruby-build/share/ruby-build/3.2.0-dev +0 -2
  93. data/vendor/ruby-build/share/ruby-build/3.2.0-preview1 +0 -2
  94. data/vendor/ruby-build/share/ruby-build/3.2.0-preview2 +0 -2
  95. data/vendor/ruby-build/share/ruby-build/3.2.0-preview3 +0 -2
  96. data/vendor/ruby-build/share/ruby-build/3.2.0-rc1 +0 -2
  97. data/vendor/ruby-build/share/ruby-build/3.2.1 +0 -2
  98. data/vendor/ruby-build/share/ruby-build/3.2.2 +0 -2
  99. data/vendor/ruby-build/share/ruby-build/3.3.0-dev +0 -2
  100. data/vendor/ruby-build/share/ruby-build/3.3.0-preview1 +0 -2
  101. data/vendor/ruby-build/share/ruby-build/truffleruby-21.0.0 +0 -13
  102. data/vendor/ruby-build/share/ruby-build/truffleruby-21.1.0 +0 -13
  103. data/vendor/ruby-build/share/ruby-build/truffleruby-21.2.0 +0 -17
  104. data/vendor/ruby-build/share/ruby-build/truffleruby-21.2.0.1 +0 -17
  105. data/vendor/ruby-build/share/ruby-build/truffleruby-21.3.0 +0 -17
  106. data/vendor/ruby-build/share/ruby-build/truffleruby-22.0.0.2 +0 -17
  107. data/vendor/ruby-build/share/ruby-build/truffleruby-22.1.0 +0 -17
  108. data/vendor/ruby-build/share/ruby-build/truffleruby-22.2.0 +0 -21
  109. data/vendor/ruby-build/share/ruby-build/truffleruby-22.3.0 +0 -21
  110. data/vendor/ruby-build/share/ruby-build/truffleruby-22.3.1 +0 -21
  111. data/vendor/ruby-build/share/ruby-build/truffleruby-23.0.0-preview1 +0 -21
  112. data/vendor/ruby-build/share/ruby-build/truffleruby-dev +0 -21
  113. data/vendor/ruby-build/share/ruby-build/yjit-3.1.0-dev +0 -2
  114. /data/{vendor/ruby-build/share/ruby-build → rubies}/3.0.0-pshopify9 +0 -0
  115. /data/{vendor/ruby-build/share/ruby-build → rubies}/3.0.1-pshopify2 +0 -0
  116. /data/{vendor/ruby-build/share/ruby-build → rubies}/3.0.2-pshopify3 +0 -0
  117. /data/{vendor/ruby-build/share/ruby-build → rubies}/3.1.0-pshopify1 +0 -0
  118. /data/{vendor/ruby-build/share/ruby-build → rubies}/3.1.1-pshopify2 +0 -0
  119. /data/{vendor/ruby-build/share/ruby-build → rubies}/3.1.2-pshopify2 +0 -0
  120. /data/{vendor/ruby-build/share/ruby-build → rubies}/3.1.3-pshopify1 +0 -0
  121. /data/{vendor/ruby-build/share/ruby-build → rubies}/3.1.4-pshopify1 +0 -0
  122. /data/{vendor/ruby-build/share/ruby-build → rubies}/3.2.0-pshopify2 +0 -0
  123. /data/{vendor/ruby-build/share/ruby-build → rubies}/3.2.1-pshopify5 +0 -0
  124. /data/{vendor/ruby-build/share/ruby-build → rubies}/3.2.2-pshopify3 +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5067296d614e5c63925e48e05e2b3829f3d9fb9f6dda555c501b8e25fb764b8a
4
- data.tar.gz: a2139541d35fd111e3d2d60d050ddfe10f15ba7a5602c0699009c2f2b34526ec
3
+ metadata.gz: c5f6825b0f8833a808ab5d6c2b8df316d9be247985ef0fb1876b9f83a161c065
4
+ data.tar.gz: febe64f1bebdbd659c6f29c25d8439a10718b3db078d2d1f0967851621328cd9
5
5
  SHA512:
6
- metadata.gz: b130cb636ff8890333784aa974ed9769e53ccb05a8b02a290b1e9f0551482abcb3ad05011e6706b0f91b3c686f971a9ebefe482652a05a83d251dd54ea2215c6
7
- data.tar.gz: 7632aa4f7e2a9690e478064952b5898ba38c1cb0de7dab44d78fa8b29ee8d40cfbc54a3d0d0c7e2b006d2a65e5dd8f940f1a4b0da832bcd117b6b35ec77adb56
6
+ metadata.gz: 3fb2548ecd2321482037209b974e9836ba7956d133c795a12186359cf71c432ab1ec7e4bd8d576647e76d3cc080ad78d361fd505a61c96e4f8ac1b020f733456
7
+ data.tar.gz: 8d585b10b92f799af2304d4e08491735177a81a38f3ee33e4b83f733813bae5ac759fd1a699eb25d361c4d1f3b31ab8379ea5c706ca310b5d333934497acbc3f
data/.rubocop.yml CHANGED
@@ -3,7 +3,6 @@ inherit_gem:
3
3
 
4
4
  require:
5
5
  - rubocop-minitest
6
- - rubocop-sorbet
7
6
 
8
7
  AllCops:
9
8
  NewCops: enable
data/README.md CHANGED
@@ -0,0 +1,46 @@
1
+ # shopify-ruby-definitions
2
+
3
+ This repository contains [ruby-build](https://github.com/rbenv/ruby-build/) definitions of Rubies we use at Shopify.
4
+ These builds are API complient with release Rubies, but with additional backports for bugfixes and performance.
5
+
6
+ ## rbenv integration
7
+
8
+ If you use `rbenv`, you can add the custom rubies with:
9
+
10
+ ```bash
11
+ $ gem install shopify-ruby-definitions
12
+ $ eval "$(shopify-ruby env)"
13
+ ```
14
+
15
+ ## standalone ruby-build
16
+
17
+ If you are using another ruby version manager or no manager at all:
18
+
19
+ 1. Install ruby-build by [following the instructions](https://github.com/rbenv/ruby-build/#installation).
20
+
21
+ 2. Install the gem:
22
+ ```bash
23
+ $ gem install shopify-ruby-definitions
24
+ ```
25
+
26
+ 3. List the custom Ruby versions available:
27
+ ```bash
28
+ $ shopify-ruby versions
29
+ 3.0.0-pshopify9
30
+ 3.0.1-pshopify2
31
+ 3.0.2-pshopify3
32
+ 3.1.0-pshopify1
33
+ 3.1.1-pshopify2
34
+ 3.1.2-pshopify2
35
+ 3.1.3-pshopify1
36
+ 3.1.4-pshopify1
37
+ 3.2.0-pshopify2
38
+ 3.2.1-pshopify5
39
+ 3.2.2-pshopify3
40
+ 3.2.2-pshopify4
41
+ ```
42
+
43
+ 4. Install the Ruby version you want, [options are the same than regular `ruby-build`](https://github.com/rbenv/ruby-build#advanced-usage):
44
+ ```bash
45
+ $ shopify-ruby build 3.2.2-pshopify4 ~/.rubies/versions/3.2.2
46
+ ```
data/exe/shopify-ruby ADDED
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "shopify_ruby_definitions"
5
+
6
+ definitions = [
7
+ ENV["RUBY_BUILD_DEFINITIONS"],
8
+ ShopifyRubyDefinitions::RubyVersions::VERSIONS_DIRECTORY,
9
+ ].compact.join(":")
10
+
11
+ case ARGV.shift
12
+ when "versions"
13
+ puts ShopifyRubyDefinitions::RubyVersions::ALL_VERSIONS
14
+ when "build"
15
+ Process.exec({ "RUBY_BUILD_DEFINITIONS" => definitions }, "ruby-build", *ARGV)
16
+ when "env"
17
+ puts %{export RUBY_BUILD_DEFINITIONS="#{definitions}"}
18
+ else
19
+ $stderr.puts <<~USAGE
20
+ Usage: shopify-ruby list
21
+ shopify-ruby build [-kpv] <definition> <prefix>
22
+ shopify-ruby env
23
+ USAGE
24
+ end
@@ -1,49 +1,28 @@
1
- # typed: strong
2
1
  # frozen_string_literal: true
3
2
 
4
3
  module ShopifyRubyDefinitions
5
4
  module RubyVersions
6
- extend T::Sig
5
+ VERSIONS_DIRECTORY = File.expand_path("../../../rubies", __FILE__)
6
+ ALL_VERSIONS = Dir["#{VERSIONS_DIRECTORY}/*"].map { |f| File.basename(f) }
7
+ VERSION_OVERRIDES = ALL_VERSIONS.sort_by do |version|
8
+ version.scan(/\d+/).map(&:to_i)
9
+ end.to_h do |version|
10
+ [version.split("-").first, version]
11
+ end.freeze
7
12
 
8
- VERSIONS_DIRECTORY = T.let(File.join(RubyBuild::RUBY_BUILD_DIRECTORY, "share/ruby-build"), String)
9
- ALL_VERSIONS = T.let(Dir["#{VERSIONS_DIRECTORY}/*"].map { |f| File.basename(f) }, T::Array[String])
10
-
11
- sig { returns(T::Hash[String, String]) }
12
13
  def version_overrides
13
- {
14
- "head" => ruby_head_version,
15
- "ruby-head" => ruby_head_version,
16
- "3.0.0" => "3.0.0-pshopify9",
17
- "3.0.1" => "3.0.1-pshopify2",
18
- "3.0.2" => "3.0.2-pshopify3",
19
- "3.1.0" => "3.1.0-pshopify1",
20
- "3.1.1" => "3.1.1-pshopify2",
21
- "3.1.2" => "3.1.2-pshopify2",
22
- "3.1.3" => "3.1.3-pshopify1",
23
- "3.1.4" => "3.1.4-pshopify1",
24
- "3.2.0" => "3.2.0-pshopify2",
25
- "3.2.1" => "3.2.1-pshopify5",
26
- "3.2.2" => "3.2.2-pshopify3",
27
- }.freeze
14
+ VERSION_OVERRIDES
28
15
  end
29
16
 
30
- sig { params(version: String).returns(String) }
31
17
  def resolve_version(version)
32
18
  if version.match?(/\A\d+\.\d+\z/)
33
19
  pattern = /\A#{Regexp.escape(version)}\.(\d+)\z/
34
- versions = ALL_VERSIONS.grep(pattern)
20
+ versions = version_overrides.keys.grep(pattern)
35
21
  unless versions.empty?
36
- version = T.must(versions.max_by { |v| T.must(v.match(pattern))[1].to_i })
22
+ version = versions.max_by { |v| v.match(pattern)[1].to_i }
37
23
  end
38
24
  end
39
25
  version_overrides.fetch(version, version)
40
26
  end
41
-
42
- private
43
-
44
- sig { returns(String) }
45
- def ruby_head_version
46
- T.must(ALL_VERSIONS.grep(/\A[\d\.]+-dev\z/).max)
47
- end
48
27
  end
49
28
  end
@@ -1,6 +1,5 @@
1
- # typed: strong
2
1
  # frozen_string_literal: true
3
2
 
4
3
  module ShopifyRubyDefinitions
5
- VERSION = "0.0.1"
4
+ VERSION = "1.1.0"
6
5
  end
@@ -1,9 +1,5 @@
1
- # typed: strong
2
1
  # frozen_string_literal: true
3
2
 
4
- require "sorbet-runtime"
5
-
6
- require_relative "shopify_ruby_definitions/ruby_build"
7
3
  require_relative "shopify_ruby_definitions/ruby_versions"
8
4
  require_relative "shopify_ruby_definitions/version"
9
5
 
@@ -0,0 +1,35 @@
1
+ # https://github.com/ruby/ruby/compare/ruby_3_2...Shopify:v3.2.2-pshopify3
2
+
3
+ # Based off `ruby_3_2`, with backports of:
4
+ # @byroot [ruby/set] Avoid the `block or return` pattern to save Proc allocations https://github.com/ruby/set/pull/29
5
+ # @peterzhu2118 Keep shared arrays WB protected https://github.com/ruby/ruby/pull/7224
6
+ # @peterzhu2118 Make BigDecimal WB protected https://github.com/ruby/bigdecimal/pull/248
7
+ # @XrXr YJIT String#+@ fixes https://github.com/ruby/ruby/pull/7328
8
+ # @byroot Add RUBY_GC_HEAP_INIT_SIZE_%d_SLOTS to pre-init pools granularly https://github.com/ruby/ruby/pull/7235
9
+ # @byroot Consider DATA objects without a mark function as protected https://github.com/ruby/ruby/pull/7263
10
+ # @byroot Implement Write Barrier for RMatch objects https://github.com/ruby/ruby/pull/7286
11
+ # @byroot Enable write barriers on File::Stat https://github.com/ruby/ruby/pull/7239
12
+ # @byroot Implement Write Barrier for Backtrace::Location https://github.com/ruby/ruby/pull/7240
13
+ # @byroot Mark "mapping_buffer" as write barrier protected https://github.com/ruby/ruby/pull/7238
14
+ # @byroot Mark "method" objects as protected by write barrier https://github.com/ruby/ruby/pull/7237
15
+ # @byroot Mark Encoding as Write Barrier protected Mark Encoding as Write Barrier protected
16
+ # @peterzhu2118 Make Time objects WB protected https://github.com/ruby/ruby/pull/7244
17
+ # @jhawthorn Use write barriers for Backtrace objects
18
+ # @peterzhu2118 Crash when malloc during GC
19
+ # @peterzhu2118 Fix crash when allocating classes with newobj hook
20
+ # @peterzhu2118 [Bug #19469] Fix crash when resizing generic iv list
21
+ # @byroot Implement Write Barrier for autoload_data
22
+ # @byroot Implement Write Barrier for autoload_table_type
23
+ # @k0kubun YJIT: Protect strings from GC on String#<<
24
+ # @tenderlove Use an st table for "too complex" objects
25
+ # @byroot Cache `Process.pid`
26
+ # @byroot thread_pthread.c: Use a `fork_gen` to protect against fork instead of getpid()
27
+ # @XrXr Fix write barrier order for klass to cme edge https://github.com/ruby/ruby/pull/7113
28
+ # @peterzhu2118 Ensure throw data is not set as cause https://github.com/ruby/ruby/pull/7696
29
+ # @peterzhu2118 Fix crash in rb_gc_register_address https://github.com/ruby/ruby/pull/7670
30
+ # @peterzhu2118 [Feature #19678] Don't immediately promote children of old objects https://github.com/ruby/ruby/pull/7821
31
+ # @k0kubun YJIT: Use rb_ivar_get at the end of ivar chains https://github.com/ruby/ruby/pull/7334
32
+ # @k0kubun / @maximecb / @XrXr YJIT: Add --yjit-pause and RubyVM::YJIT.resume https://github.com/ruby/ruby/pull/7609
33
+
34
+ install_package "openssl-3.1.0" "https://www.openssl.org/source/openssl-3.1.0.tar.gz#aaa925ad9828745c4cad9d9efeb273deca820f2cdcf2c3ac7d7c1212b7c497b4" openssl --if needs_openssl_102_300
35
+ install_git "ruby-3.2.2-pshopify4" "https://github.com/Shopify/ruby.git" "v3.2.2-pshopify4" ldflags_dirs autoconf standard_build standard_install_with_bundled_gems verify_openssl
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify-ruby-definitions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Zhu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-01 00:00:00.000000000 Z
11
+ date: 2023-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: sorbet-runtime
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rubocop-minitest
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -52,52 +38,11 @@ dependencies:
52
38
  - - ">="
53
39
  - !ruby/object:Gem::Version
54
40
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: rubocop-sorbet
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: sorbet
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: tapioca
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
41
  description:
98
42
  email:
99
43
  - peter@peterzhu.ca
100
- executables: []
44
+ executables:
45
+ - shopify-ruby
101
46
  extensions: []
102
47
  extra_rdoc_files: []
103
48
  files:
@@ -106,130 +51,28 @@ files:
106
51
  - LICENSE.txt
107
52
  - README.md
108
53
  - Rakefile
54
+ - exe/shopify-ruby
109
55
  - lib/shopify_ruby_definitions.rb
110
- - lib/shopify_ruby_definitions/ruby_build.rb
111
56
  - lib/shopify_ruby_definitions/ruby_versions.rb
112
57
  - lib/shopify_ruby_definitions/version.rb
113
- - sorbet/config
114
- - sorbet/rbi/annotations/rainbow.rbi
115
- - sorbet/rbi/gems/ast@2.4.2.rbi
116
- - sorbet/rbi/gems/diff-lcs@1.5.0.rbi
117
- - sorbet/rbi/gems/json@2.6.3.rbi
118
- - sorbet/rbi/gems/minitest@5.18.0.rbi
119
- - sorbet/rbi/gems/netrc@0.11.0.rbi
120
- - sorbet/rbi/gems/parallel@1.23.0.rbi
121
- - sorbet/rbi/gems/parser@3.2.2.1.rbi
122
- - sorbet/rbi/gems/rainbow@3.1.1.rbi
123
- - sorbet/rbi/gems/rake@13.0.6.rbi
124
- - sorbet/rbi/gems/rbi@0.0.16.rbi
125
- - sorbet/rbi/gems/regexp_parser@2.8.0.rbi
126
- - sorbet/rbi/gems/rexml@3.2.5.rbi
127
- - sorbet/rbi/gems/rubocop-ast@1.28.1.rbi
128
- - sorbet/rbi/gems/rubocop-minitest@0.31.0.rbi
129
- - sorbet/rbi/gems/rubocop-shopify@2.13.0.rbi
130
- - sorbet/rbi/gems/rubocop@1.51.0.rbi
131
- - sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi
132
- - sorbet/rbi/gems/spoom@1.2.1.rbi
133
- - sorbet/rbi/gems/tapioca@0.11.6.rbi
134
- - sorbet/rbi/gems/thor@1.2.2.rbi
135
- - sorbet/rbi/gems/unicode-display_width@2.4.2.rbi
136
- - sorbet/rbi/gems/unparser@0.6.7.rbi
137
- - sorbet/rbi/gems/yard-sorbet@0.8.1.rbi
138
- - sorbet/rbi/gems/yard@0.9.34.rbi
139
- - sorbet/tapioca/config.yml
140
- - sorbet/tapioca/require.rb
141
- - vendor/ruby-build/LICENSE
142
- - vendor/ruby-build/bin/ruby-build
143
- - vendor/ruby-build/share/ruby-build/2.6.0
144
- - vendor/ruby-build/share/ruby-build/2.6.0-dev
145
- - vendor/ruby-build/share/ruby-build/2.6.0-preview1
146
- - vendor/ruby-build/share/ruby-build/2.6.0-preview2
147
- - vendor/ruby-build/share/ruby-build/2.6.0-preview3
148
- - vendor/ruby-build/share/ruby-build/2.6.0-rc1
149
- - vendor/ruby-build/share/ruby-build/2.6.0-rc2
150
- - vendor/ruby-build/share/ruby-build/2.6.1
151
- - vendor/ruby-build/share/ruby-build/2.6.10
152
- - vendor/ruby-build/share/ruby-build/2.6.2
153
- - vendor/ruby-build/share/ruby-build/2.6.3
154
- - vendor/ruby-build/share/ruby-build/2.6.4
155
- - vendor/ruby-build/share/ruby-build/2.6.5
156
- - vendor/ruby-build/share/ruby-build/2.6.6
157
- - vendor/ruby-build/share/ruby-build/2.6.7
158
- - vendor/ruby-build/share/ruby-build/2.6.8
159
- - vendor/ruby-build/share/ruby-build/2.6.9
160
- - vendor/ruby-build/share/ruby-build/2.7.0
161
- - vendor/ruby-build/share/ruby-build/2.7.0-dev
162
- - vendor/ruby-build/share/ruby-build/2.7.0-preview1
163
- - vendor/ruby-build/share/ruby-build/2.7.0-preview2
164
- - vendor/ruby-build/share/ruby-build/2.7.0-preview3
165
- - vendor/ruby-build/share/ruby-build/2.7.0-rc1
166
- - vendor/ruby-build/share/ruby-build/2.7.0-rc2
167
- - vendor/ruby-build/share/ruby-build/2.7.1
168
- - vendor/ruby-build/share/ruby-build/2.7.2
169
- - vendor/ruby-build/share/ruby-build/2.7.3
170
- - vendor/ruby-build/share/ruby-build/2.7.4
171
- - vendor/ruby-build/share/ruby-build/2.7.5
172
- - vendor/ruby-build/share/ruby-build/2.7.6
173
- - vendor/ruby-build/share/ruby-build/2.7.7
174
- - vendor/ruby-build/share/ruby-build/2.7.8
175
- - vendor/ruby-build/share/ruby-build/3.0.0
176
- - vendor/ruby-build/share/ruby-build/3.0.0-dev
177
- - vendor/ruby-build/share/ruby-build/3.0.0-preview1
178
- - vendor/ruby-build/share/ruby-build/3.0.0-preview2
179
- - vendor/ruby-build/share/ruby-build/3.0.0-pshopify9
180
- - vendor/ruby-build/share/ruby-build/3.0.0-rc1
181
- - vendor/ruby-build/share/ruby-build/3.0.1
182
- - vendor/ruby-build/share/ruby-build/3.0.1-pshopify2
183
- - vendor/ruby-build/share/ruby-build/3.0.2
184
- - vendor/ruby-build/share/ruby-build/3.0.2-pshopify3
185
- - vendor/ruby-build/share/ruby-build/3.0.3
186
- - vendor/ruby-build/share/ruby-build/3.0.4
187
- - vendor/ruby-build/share/ruby-build/3.0.5
188
- - vendor/ruby-build/share/ruby-build/3.0.6
189
- - vendor/ruby-build/share/ruby-build/3.1.0
190
- - vendor/ruby-build/share/ruby-build/3.1.0-dev
191
- - vendor/ruby-build/share/ruby-build/3.1.0-preview1
192
- - vendor/ruby-build/share/ruby-build/3.1.0-pshopify1
193
- - vendor/ruby-build/share/ruby-build/3.1.1
194
- - vendor/ruby-build/share/ruby-build/3.1.1-pshopify2
195
- - vendor/ruby-build/share/ruby-build/3.1.2
196
- - vendor/ruby-build/share/ruby-build/3.1.2-pshopify2
197
- - vendor/ruby-build/share/ruby-build/3.1.3
198
- - vendor/ruby-build/share/ruby-build/3.1.3-pshopify1
199
- - vendor/ruby-build/share/ruby-build/3.1.4
200
- - vendor/ruby-build/share/ruby-build/3.1.4-pshopify1
201
- - vendor/ruby-build/share/ruby-build/3.2.0
202
- - vendor/ruby-build/share/ruby-build/3.2.0-dev
203
- - vendor/ruby-build/share/ruby-build/3.2.0-preview1
204
- - vendor/ruby-build/share/ruby-build/3.2.0-preview2
205
- - vendor/ruby-build/share/ruby-build/3.2.0-preview3
206
- - vendor/ruby-build/share/ruby-build/3.2.0-pshopify2
207
- - vendor/ruby-build/share/ruby-build/3.2.0-rc1
208
- - vendor/ruby-build/share/ruby-build/3.2.1
209
- - vendor/ruby-build/share/ruby-build/3.2.1-pshopify5
210
- - vendor/ruby-build/share/ruby-build/3.2.2
211
- - vendor/ruby-build/share/ruby-build/3.2.2-pshopify3
212
- - vendor/ruby-build/share/ruby-build/3.3.0-dev
213
- - vendor/ruby-build/share/ruby-build/3.3.0-preview1
214
- - vendor/ruby-build/share/ruby-build/truffleruby-21.0.0
215
- - vendor/ruby-build/share/ruby-build/truffleruby-21.1.0
216
- - vendor/ruby-build/share/ruby-build/truffleruby-21.2.0
217
- - vendor/ruby-build/share/ruby-build/truffleruby-21.2.0.1
218
- - vendor/ruby-build/share/ruby-build/truffleruby-21.3.0
219
- - vendor/ruby-build/share/ruby-build/truffleruby-22.0.0.2
220
- - vendor/ruby-build/share/ruby-build/truffleruby-22.1.0
221
- - vendor/ruby-build/share/ruby-build/truffleruby-22.2.0
222
- - vendor/ruby-build/share/ruby-build/truffleruby-22.3.0
223
- - vendor/ruby-build/share/ruby-build/truffleruby-22.3.1
224
- - vendor/ruby-build/share/ruby-build/truffleruby-23.0.0-preview1
225
- - vendor/ruby-build/share/ruby-build/truffleruby-dev
226
- - vendor/ruby-build/share/ruby-build/yjit-3.1.0-dev
227
- homepage: https://github.com/shopify/ruby-definitions
58
+ - rubies/3.0.0-pshopify9
59
+ - rubies/3.0.1-pshopify2
60
+ - rubies/3.0.2-pshopify3
61
+ - rubies/3.1.0-pshopify1
62
+ - rubies/3.1.1-pshopify2
63
+ - rubies/3.1.2-pshopify2
64
+ - rubies/3.1.3-pshopify1
65
+ - rubies/3.1.4-pshopify1
66
+ - rubies/3.2.0-pshopify2
67
+ - rubies/3.2.1-pshopify5
68
+ - rubies/3.2.2-pshopify3
69
+ - rubies/3.2.2-pshopify4
70
+ homepage: https://github.com/Shopify/ruby-definitions
228
71
  licenses:
229
72
  - MIT
230
73
  metadata:
231
- homepage_uri: https://github.com/shopify/ruby-definitions
232
- source_code_uri: https://github.com/shopify/ruby-definitions
74
+ homepage_uri: https://github.com/Shopify/ruby-definitions
75
+ source_code_uri: https://github.com/Shopify/ruby-definitions
233
76
  post_install_message:
234
77
  rdoc_options: []
235
78
  require_paths:
@@ -1,10 +0,0 @@
1
- # typed: strong
2
- # frozen_string_literal: true
3
-
4
- module ShopifyRubyDefinitions
5
- module RubyBuild
6
- extend T::Sig
7
-
8
- RUBY_BUILD_DIRECTORY = T.let(File.expand_path("../../../vendor/ruby-build", __FILE__), String)
9
- end
10
- end
data/sorbet/config DELETED
@@ -1,4 +0,0 @@
1
- --dir
2
- .
3
- --ignore=tmp/
4
- --ignore=vendor/