gel 0.3.0 → 0.8.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -3
  3. data/RELEASING.md +12 -0
  4. data/exe/gel +4 -2
  5. data/gemlib/gel/stub.rb +20 -0
  6. data/lib/gel/catalog/common.rb +4 -2
  7. data/lib/gel/catalog/compact_index.rb +6 -10
  8. data/lib/gel/catalog/dependency_index.rb +10 -10
  9. data/lib/gel/catalog/legacy_index.rb +4 -6
  10. data/lib/gel/catalog/marshal_hacks.rb +2 -0
  11. data/lib/gel/catalog.rb +33 -52
  12. data/lib/gel/catalog_set.rb +100 -0
  13. data/lib/gel/command/help.rb +13 -2
  14. data/lib/gel/command/lock.rb +3 -3
  15. data/lib/gel/command/open.rb +24 -0
  16. data/lib/gel/command/shell_setup.rb +11 -8
  17. data/lib/gel/command/stub.rb +45 -2
  18. data/lib/gel/command/version.rb +7 -0
  19. data/lib/gel/command.rb +43 -6
  20. data/lib/gel/compatibility/rubygems.rb +10 -197
  21. data/lib/gel/compatibility.rb +2 -2
  22. data/lib/gel/config.rb +41 -7
  23. data/lib/gel/db.rb +93 -83
  24. data/lib/gel/direct_gem.rb +16 -4
  25. data/lib/gel/environment.rb +542 -249
  26. data/lib/gel/error.rb +156 -24
  27. data/lib/gel/gemfile_parser.rb +74 -12
  28. data/lib/gel/gemspec_parser.rb +26 -7
  29. data/lib/gel/git_catalog.rb +15 -3
  30. data/lib/gel/git_depot.rb +62 -28
  31. data/lib/gel/httpool.rb +5 -2
  32. data/lib/gel/installer.rb +61 -23
  33. data/lib/gel/lock_loader.rb +87 -112
  34. data/lib/gel/lock_parser.rb +23 -31
  35. data/lib/gel/locked_store.rb +30 -21
  36. data/lib/gel/multi_store.rb +13 -4
  37. data/lib/gel/null_solver.rb +67 -0
  38. data/lib/gel/package/abortable.rb +18 -0
  39. data/lib/gel/package/installer.rb +124 -49
  40. data/lib/gel/package.rb +21 -4
  41. data/lib/gel/path_catalog.rb +1 -1
  42. data/lib/gel/pinboard.rb +4 -2
  43. data/lib/gel/platform.rb +38 -0
  44. data/lib/gel/pub_grub/package.rb +67 -0
  45. data/lib/gel/pub_grub/preference_strategy.rb +10 -6
  46. data/lib/gel/pub_grub/solver.rb +37 -0
  47. data/lib/gel/pub_grub/source.rb +64 -92
  48. data/lib/gel/resolved_gem_set.rb +234 -0
  49. data/lib/gel/runtime.rb +3 -3
  50. data/lib/gel/set.rb +62 -0
  51. data/lib/gel/stdlib.rb +83 -0
  52. data/lib/gel/store.rb +94 -25
  53. data/lib/gel/store_catalog.rb +2 -2
  54. data/lib/gel/store_gem.rb +54 -6
  55. data/lib/gel/stub_set.rb +32 -2
  56. data/lib/gel/support/cgi_escape.rb +34 -0
  57. data/lib/gel/support/gem_platform.rb +0 -2
  58. data/lib/gel/support/sha512.rb +142 -0
  59. data/lib/gel/support/tar/tar_writer.rb +2 -2
  60. data/lib/gel/tail_file.rb +2 -1
  61. data/lib/gel/util.rb +108 -0
  62. data/lib/gel/vendor/pstore.rb +3 -0
  63. data/lib/gel/vendor/pub_grub.rb +3 -0
  64. data/lib/gel/vendor/ruby_digest.rb +3 -0
  65. data/lib/gel/vendor_catalog.rb +38 -0
  66. data/lib/gel/version.rb +1 -1
  67. data/lib/gel.rb +15 -0
  68. data/man/man1/gel-exec.1 +1 -1
  69. data/man/man1/gel-install.1 +1 -1
  70. data/man/man1/gel.1 +14 -1
  71. data/{lib/gel/compatibility → slib}/bundler/cli.rb +0 -0
  72. data/{lib/gel/compatibility → slib}/bundler/friendly_errors.rb +0 -0
  73. data/{lib/gel/compatibility/rubygems/dependency_installer.rb → slib/bundler/gem_helper.rb} +0 -0
  74. data/slib/bundler/gem_tasks.rb +0 -0
  75. data/{lib/gel/compatibility → slib}/bundler/setup.rb +0 -0
  76. data/{lib/gel/compatibility → slib}/bundler.rb +39 -3
  77. data/{lib/gel/compatibility → slib}/rubygems/command.rb +0 -0
  78. data/slib/rubygems/dependency_installer.rb +12 -0
  79. data/{lib/gel/compatibility → slib}/rubygems/gem_runner.rb +0 -0
  80. data/slib/rubygems/package.rb +6 -0
  81. data/slib/rubygems/package_task.rb +7 -0
  82. data/slib/rubygems/specification.rb +0 -0
  83. data/slib/rubygems/version.rb +0 -0
  84. data/slib/rubygems.rb +297 -0
  85. data/vendor/pstore/LICENSE.txt +22 -0
  86. data/vendor/pstore/lib/pstore.rb +488 -0
  87. data/vendor/pub_grub/LICENSE.txt +21 -0
  88. data/vendor/pub_grub/lib/pub_grub/assignment.rb +20 -0
  89. data/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +183 -0
  90. data/vendor/pub_grub/lib/pub_grub/failure_writer.rb +182 -0
  91. data/vendor/pub_grub/lib/pub_grub/incompatibility.rb +143 -0
  92. data/vendor/pub_grub/lib/pub_grub/package.rb +35 -0
  93. data/vendor/pub_grub/lib/pub_grub/partial_solution.rb +121 -0
  94. data/vendor/pub_grub/lib/pub_grub/rubygems.rb +45 -0
  95. data/vendor/pub_grub/lib/pub_grub/solve_failure.rb +17 -0
  96. data/vendor/pub_grub/lib/pub_grub/static_package_source.rb +53 -0
  97. data/vendor/pub_grub/lib/pub_grub/term.rb +105 -0
  98. data/vendor/pub_grub/lib/pub_grub/version.rb +3 -0
  99. data/vendor/pub_grub/lib/pub_grub/version_constraint.rb +124 -0
  100. data/vendor/pub_grub/lib/pub_grub/version_range.rb +399 -0
  101. data/vendor/pub_grub/lib/pub_grub/version_solver.rb +247 -0
  102. data/vendor/pub_grub/lib/pub_grub/version_union.rb +174 -0
  103. data/vendor/pub_grub/lib/pub_grub.rb +31 -0
  104. data/vendor/ruby-digest/UNLICENSE +24 -0
  105. data/vendor/ruby-digest/lib/ruby_digest.rb +812 -0
  106. metadata +95 -19
metadata CHANGED
@@ -1,30 +1,58 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.8.0.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gel Authors
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-26 00:00:00.000000000 Z
11
+ date: 2022-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ruby-digest
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: pstore
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: pub_grub
15
43
  requirement: !ruby/object:Gem::Requirement
16
44
  requirements:
17
45
  - - ">="
18
46
  - !ruby/object:Gem::Version
19
- version: 0.5.0
47
+ version: '0'
20
48
  type: :development
21
49
  prerelease: false
22
50
  version_requirements: !ruby/object:Gem::Requirement
23
51
  requirements:
24
52
  - - ">="
25
53
  - !ruby/object:Gem::Version
26
- version: 0.5.0
27
- description:
54
+ version: '0'
55
+ description:
28
56
  email:
29
57
  - team@gel.dev
30
58
  executables:
@@ -35,7 +63,9 @@ files:
35
63
  - CODE_OF_CONDUCT.md
36
64
  - LICENSE.txt
37
65
  - README.md
66
+ - RELEASING.md
38
67
  - exe/gel
68
+ - gemlib/gel/stub.rb
39
69
  - lib/gel.rb
40
70
  - lib/gel/catalog.rb
41
71
  - lib/gel/catalog/common.rb
@@ -43,6 +73,7 @@ files:
43
73
  - lib/gel/catalog/dependency_index.rb
44
74
  - lib/gel/catalog/legacy_index.rb
45
75
  - lib/gel/catalog/marshal_hacks.rb
76
+ - lib/gel/catalog_set.rb
46
77
  - lib/gel/command.rb
47
78
  - lib/gel/command/config.rb
48
79
  - lib/gel/command/env.rb
@@ -51,19 +82,14 @@ files:
51
82
  - lib/gel/command/install.rb
52
83
  - lib/gel/command/install_gem.rb
53
84
  - lib/gel/command/lock.rb
85
+ - lib/gel/command/open.rb
54
86
  - lib/gel/command/ruby.rb
55
87
  - lib/gel/command/shell_setup.rb
56
88
  - lib/gel/command/stub.rb
57
89
  - lib/gel/command/update.rb
90
+ - lib/gel/command/version.rb
58
91
  - lib/gel/compatibility.rb
59
- - lib/gel/compatibility/bundler.rb
60
- - lib/gel/compatibility/bundler/cli.rb
61
- - lib/gel/compatibility/bundler/friendly_errors.rb
62
- - lib/gel/compatibility/bundler/setup.rb
63
92
  - lib/gel/compatibility/rubygems.rb
64
- - lib/gel/compatibility/rubygems/command.rb
65
- - lib/gel/compatibility/rubygems/dependency_installer.rb
66
- - lib/gel/compatibility/rubygems/gem_runner.rb
67
93
  - lib/gel/config.rb
68
94
  - lib/gel/db.rb
69
95
  - lib/gel/direct_gem.rb
@@ -79,40 +105,90 @@ files:
79
105
  - lib/gel/lock_parser.rb
80
106
  - lib/gel/locked_store.rb
81
107
  - lib/gel/multi_store.rb
108
+ - lib/gel/null_solver.rb
82
109
  - lib/gel/package.rb
110
+ - lib/gel/package/abortable.rb
83
111
  - lib/gel/package/inspector.rb
84
112
  - lib/gel/package/installer.rb
85
113
  - lib/gel/path_catalog.rb
86
114
  - lib/gel/pinboard.rb
115
+ - lib/gel/platform.rb
116
+ - lib/gel/pub_grub/package.rb
87
117
  - lib/gel/pub_grub/preference_strategy.rb
118
+ - lib/gel/pub_grub/solver.rb
88
119
  - lib/gel/pub_grub/source.rb
120
+ - lib/gel/resolved_gem_set.rb
89
121
  - lib/gel/runtime.rb
122
+ - lib/gel/set.rb
123
+ - lib/gel/stdlib.rb
90
124
  - lib/gel/store.rb
91
125
  - lib/gel/store_catalog.rb
92
126
  - lib/gel/store_gem.rb
93
127
  - lib/gel/stub_set.rb
128
+ - lib/gel/support/cgi_escape.rb
94
129
  - lib/gel/support/gem_platform.rb
95
130
  - lib/gel/support/gem_requirement.rb
96
131
  - lib/gel/support/gem_version.rb
132
+ - lib/gel/support/sha512.rb
97
133
  - lib/gel/support/tar.rb
98
134
  - lib/gel/support/tar/tar_header.rb
99
135
  - lib/gel/support/tar/tar_reader.rb
100
136
  - lib/gel/support/tar/tar_reader/entry.rb
101
137
  - lib/gel/support/tar/tar_writer.rb
102
138
  - lib/gel/tail_file.rb
139
+ - lib/gel/util.rb
140
+ - lib/gel/vendor/pstore.rb
141
+ - lib/gel/vendor/pub_grub.rb
142
+ - lib/gel/vendor/ruby_digest.rb
143
+ - lib/gel/vendor_catalog.rb
103
144
  - lib/gel/version.rb
104
145
  - lib/gel/work_pool.rb
105
146
  - man/man1/gel-exec.1
106
147
  - man/man1/gel-install.1
107
148
  - man/man1/gel.1
149
+ - slib/bundler.rb
150
+ - slib/bundler/cli.rb
151
+ - slib/bundler/friendly_errors.rb
152
+ - slib/bundler/gem_helper.rb
153
+ - slib/bundler/gem_tasks.rb
154
+ - slib/bundler/setup.rb
155
+ - slib/rubygems.rb
156
+ - slib/rubygems/command.rb
157
+ - slib/rubygems/dependency_installer.rb
158
+ - slib/rubygems/gem_runner.rb
159
+ - slib/rubygems/package.rb
160
+ - slib/rubygems/package_task.rb
161
+ - slib/rubygems/specification.rb
162
+ - slib/rubygems/version.rb
163
+ - vendor/pstore/LICENSE.txt
164
+ - vendor/pstore/lib/pstore.rb
165
+ - vendor/pub_grub/LICENSE.txt
166
+ - vendor/pub_grub/lib/pub_grub.rb
167
+ - vendor/pub_grub/lib/pub_grub/assignment.rb
168
+ - vendor/pub_grub/lib/pub_grub/basic_package_source.rb
169
+ - vendor/pub_grub/lib/pub_grub/failure_writer.rb
170
+ - vendor/pub_grub/lib/pub_grub/incompatibility.rb
171
+ - vendor/pub_grub/lib/pub_grub/package.rb
172
+ - vendor/pub_grub/lib/pub_grub/partial_solution.rb
173
+ - vendor/pub_grub/lib/pub_grub/rubygems.rb
174
+ - vendor/pub_grub/lib/pub_grub/solve_failure.rb
175
+ - vendor/pub_grub/lib/pub_grub/static_package_source.rb
176
+ - vendor/pub_grub/lib/pub_grub/term.rb
177
+ - vendor/pub_grub/lib/pub_grub/version.rb
178
+ - vendor/pub_grub/lib/pub_grub/version_constraint.rb
179
+ - vendor/pub_grub/lib/pub_grub/version_range.rb
180
+ - vendor/pub_grub/lib/pub_grub/version_solver.rb
181
+ - vendor/pub_grub/lib/pub_grub/version_union.rb
182
+ - vendor/ruby-digest/UNLICENSE
183
+ - vendor/ruby-digest/lib/ruby_digest.rb
108
184
  homepage: https://gel.dev
109
185
  licenses:
110
186
  - MIT
111
187
  metadata: {}
112
- post_install_message:
188
+ post_install_message:
113
189
  rdoc_options: []
114
190
  require_paths:
115
- - lib
191
+ - gemlib
116
192
  required_ruby_version: !ruby/object:Gem::Requirement
117
193
  requirements:
118
194
  - - ">="
@@ -120,12 +196,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
196
  version: '0'
121
197
  required_rubygems_version: !ruby/object:Gem::Requirement
122
198
  requirements:
123
- - - ">="
199
+ - - ">"
124
200
  - !ruby/object:Gem::Version
125
- version: '0'
201
+ version: 1.3.1
126
202
  requirements: []
127
- rubygems_version: 3.0.1
128
- signing_key:
203
+ rubygems_version: 3.3.3
204
+ signing_key:
129
205
  specification_version: 4
130
206
  summary: A modern gem manager
131
207
  test_files: []