rubygems-update 3.0.3 → 3.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -0
  3. data/.travis.yml +2 -0
  4. data/CODE_OF_CONDUCT.md +10 -8
  5. data/CONTRIBUTING.md +7 -0
  6. data/History.txt +152 -0
  7. data/Manifest.txt +5 -3
  8. data/README.md +6 -0
  9. data/Rakefile +27 -7
  10. data/bundler/lib/bundler/build_metadata.rb +2 -2
  11. data/lib/rubygems.rb +7 -12
  12. data/lib/rubygems/command_manager.rb +6 -0
  13. data/lib/rubygems/commands/build_command.rb +28 -13
  14. data/lib/rubygems/commands/owner_command.rb +2 -0
  15. data/lib/rubygems/commands/push_command.rb +2 -0
  16. data/lib/rubygems/commands/setup_command.rb +9 -11
  17. data/lib/rubygems/commands/uninstall_command.rb +16 -6
  18. data/lib/rubygems/commands/which_command.rb +1 -3
  19. data/lib/rubygems/defaults.rb +1 -8
  20. data/lib/rubygems/dependency.rb +1 -1
  21. data/lib/rubygems/dependency_installer.rb +1 -2
  22. data/lib/rubygems/dependency_list.rb +1 -1
  23. data/lib/rubygems/exceptions.rb +0 -4
  24. data/lib/rubygems/gemcutter_utilities.rb +9 -5
  25. data/lib/rubygems/installer.rb +8 -5
  26. data/lib/rubygems/installer_test_case.rb +2 -2
  27. data/lib/rubygems/package/tar_header.rb +11 -2
  28. data/lib/rubygems/rdoc.rb +2 -2
  29. data/lib/rubygems/remote_fetcher.rb +15 -54
  30. data/lib/rubygems/request.rb +1 -1
  31. data/lib/rubygems/request_set/gem_dependency_api.rb +11 -10
  32. data/lib/rubygems/requirement.rb +0 -4
  33. data/lib/rubygems/resolver.rb +4 -1
  34. data/lib/rubygems/s3_uri_signer.rb +183 -0
  35. data/lib/rubygems/security_option.rb +0 -1
  36. data/lib/rubygems/specification.rb +21 -23
  37. data/lib/rubygems/ssl_certs/{index.rubygems.org → rubygems.org}/GlobalSignRootCA.pem +0 -0
  38. data/lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem +21 -0
  39. data/lib/rubygems/stub_specification.rb +1 -2
  40. data/lib/rubygems/test_case.rb +22 -12
  41. data/lib/rubygems/uninstaller.rb +1 -1
  42. data/lib/rubygems/util.rb +12 -0
  43. data/rubygems-update.gemspec +1 -1
  44. data/test/rubygems/ca_cert.pem +74 -65
  45. data/test/rubygems/client.pem +103 -45
  46. data/test/rubygems/ssl_cert.pem +78 -17
  47. data/test/rubygems/ssl_key.pem +25 -13
  48. data/test/rubygems/test_bundled_ca.rb +8 -5
  49. data/test/rubygems/test_gem.rb +45 -11
  50. data/test/rubygems/test_gem_bundler_version_finder.rb +4 -0
  51. data/test/rubygems/test_gem_command_manager.rb +10 -0
  52. data/test/rubygems/test_gem_commands_build_command.rb +1 -0
  53. data/test/rubygems/test_gem_commands_push_command.rb +15 -0
  54. data/test/rubygems/test_gem_commands_setup_command.rb +11 -7
  55. data/test/rubygems/test_gem_commands_uninstall_command.rb +80 -1
  56. data/test/rubygems/test_gem_ext_cmake_builder.rb +1 -1
  57. data/test/rubygems/test_gem_indexer.rb +15 -8
  58. data/test/rubygems/test_gem_installer.rb +85 -22
  59. data/test/rubygems/test_gem_package_tar_header.rb +41 -0
  60. data/test/rubygems/test_gem_rdoc.rb +1 -135
  61. data/test/rubygems/test_gem_remote_fetcher.rb +133 -14
  62. data/test/rubygems/test_gem_request.rb +4 -4
  63. data/test/rubygems/test_gem_request_set_gem_dependency_api.rb +80 -57
  64. data/test/rubygems/test_gem_security_policy.rb +1 -1
  65. data/test/rubygems/test_gem_specification.rb +29 -0
  66. data/test/rubygems/test_gem_stream_ui.rb +2 -2
  67. data/test/rubygems/test_gem_uninstaller.rb +21 -2
  68. data/test/rubygems/test_gem_util.rb +8 -0
  69. data/util/ci +6 -1
  70. data/util/cops/deprecations.rb +52 -0
  71. data/util/create_certs.sh +27 -0
  72. data/util/create_encrypted_key.rb +4 -4
  73. data/util/update_bundled_ca_certificates.rb +1 -3
  74. metadata +12 -57
  75. data/bundler/man/bundle-add.1 +0 -58
  76. data/bundler/man/bundle-binstubs.1 +0 -40
  77. data/bundler/man/bundle-check.1 +0 -31
  78. data/bundler/man/bundle-clean.1 +0 -24
  79. data/bundler/man/bundle-config.1 +0 -497
  80. data/bundler/man/bundle-doctor.1 +0 -44
  81. data/bundler/man/bundle-exec.1 +0 -165
  82. data/bundler/man/bundle-gem.1 +0 -80
  83. data/bundler/man/bundle-info.1 +0 -20
  84. data/bundler/man/bundle-init.1 +0 -25
  85. data/bundler/man/bundle-inject.1 +0 -33
  86. data/bundler/man/bundle-install.1 +0 -308
  87. data/bundler/man/bundle-list.1 +0 -50
  88. data/bundler/man/bundle-lock.1 +0 -84
  89. data/bundler/man/bundle-open.1 +0 -32
  90. data/bundler/man/bundle-outdated.1 +0 -155
  91. data/bundler/man/bundle-package.1 +0 -55
  92. data/bundler/man/bundle-platform.1 +0 -61
  93. data/bundler/man/bundle-pristine.1 +0 -34
  94. data/bundler/man/bundle-remove.1 +0 -31
  95. data/bundler/man/bundle-show.1 +0 -23
  96. data/bundler/man/bundle-update.1 +0 -394
  97. data/bundler/man/bundle-viz.1 +0 -39
  98. data/bundler/man/bundle.1 +0 -136
  99. data/lib/rubygems/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem +0 -23
  100. data/lib/rubygems/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem +0 -25
@@ -1,39 +0,0 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
- .
4
- .TH "BUNDLE\-VIZ" "1" "October 2018" "" ""
5
- .
6
- .SH "NAME"
7
- \fBbundle\-viz\fR \- Generates a visual dependency graph for your Gemfile
8
- .
9
- .SH "SYNOPSIS"
10
- \fBbundle viz\fR [\-\-file=FILE] [\-\-format=FORMAT] [\-\-requirements] [\-\-version] [\-\-without=GROUP GROUP]
11
- .
12
- .SH "DESCRIPTION"
13
- \fBviz\fR generates a PNG file of the current \fBGemfile(5)\fR as a dependency graph\. \fBviz\fR requires the ruby\-graphviz gem (and its dependencies)\.
14
- .
15
- .P
16
- The associated gems must also be installed via \fBbundle install(1)\fR \fIbundle\-install\.1\.html\fR\.
17
- .
18
- .SH "OPTIONS"
19
- .
20
- .TP
21
- \fB\-\-file\fR, \fB\-f\fR
22
- The name to use for the generated file\. See \fB\-\-format\fR option
23
- .
24
- .TP
25
- \fB\-\-format\fR, \fB\-F\fR
26
- This is output format option\. Supported format is png, jpg, svg, dot \.\.\.
27
- .
28
- .TP
29
- \fB\-\-requirements\fR, \fB\-R\fR
30
- Set to show the version of each required dependency\.
31
- .
32
- .TP
33
- \fB\-\-version\fR, \fB\-v\fR
34
- Set to show each gem version\.
35
- .
36
- .TP
37
- \fB\-\-without\fR, \fB\-W\fR
38
- Exclude gems that are part of the specified named group\.
39
-
data/bundler/man/bundle.1 DELETED
@@ -1,136 +0,0 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
- .
4
- .TH "BUNDLE" "1" "January 2019" "" ""
5
- .
6
- .SH "NAME"
7
- \fBbundle\fR \- Ruby Dependency Management
8
- .
9
- .SH "SYNOPSIS"
10
- \fBbundle\fR COMMAND [\-\-no\-color] [\-\-verbose] [ARGS]
11
- .
12
- .SH "DESCRIPTION"
13
- Bundler manages an \fBapplication\'s dependencies\fR through its entire life across many machines systematically and repeatably\.
14
- .
15
- .P
16
- See the bundler website \fIhttp://bundler\.io\fR for information on getting started, and Gemfile(5) for more information on the \fBGemfile\fR format\.
17
- .
18
- .SH "OPTIONS"
19
- .
20
- .TP
21
- \fB\-\-no\-color\fR
22
- Print all output without color
23
- .
24
- .TP
25
- \fB\-\-retry\fR, \fB\-r\fR
26
- Specify the number of times you wish to attempt network commands
27
- .
28
- .TP
29
- \fB\-\-verbose\fR, \fB\-V\fR
30
- Print out additional logging information
31
- .
32
- .SH "BUNDLE COMMANDS"
33
- We divide \fBbundle\fR subcommands into primary commands and utilities:
34
- .
35
- .SH "PRIMARY COMMANDS"
36
- .
37
- .TP
38
- \fBbundle install(1)\fR \fIbundle\-install\.1\.html\fR
39
- Install the gems specified by the \fBGemfile\fR or \fBGemfile\.lock\fR
40
- .
41
- .TP
42
- \fBbundle update(1)\fR \fIbundle\-update\.1\.html\fR
43
- Update dependencies to their latest versions
44
- .
45
- .TP
46
- \fBbundle package(1)\fR \fIbundle\-package\.1\.html\fR
47
- Package the \.gem files required by your application into the \fBvendor/cache\fR directory
48
- .
49
- .TP
50
- \fBbundle exec(1)\fR \fIbundle\-exec\.1\.html\fR
51
- Execute a script in the current bundle
52
- .
53
- .TP
54
- \fBbundle config(1)\fR \fIbundle\-config\.1\.html\fR
55
- Specify and read configuration options for Bundler
56
- .
57
- .TP
58
- \fBbundle help(1)\fR
59
- Display detailed help for each subcommand
60
- .
61
- .SH "UTILITIES"
62
- .
63
- .TP
64
- \fBbundle add(1)\fR \fIbundle\-add\.1\.html\fR
65
- Add the named gem to the Gemfile and run \fBbundle install\fR
66
- .
67
- .TP
68
- \fBbundle binstubs(1)\fR \fIbundle\-binstubs\.1\.html\fR
69
- Generate binstubs for executables in a gem
70
- .
71
- .TP
72
- \fBbundle check(1)\fR \fIbundle\-check\.1\.html\fR
73
- Determine whether the requirements for your application are installed and available to Bundler
74
- .
75
- .TP
76
- \fBbundle show(1)\fR \fIbundle\-show\.1\.html\fR
77
- Show the source location of a particular gem in the bundle
78
- .
79
- .TP
80
- \fBbundle outdated(1)\fR \fIbundle\-outdated\.1\.html\fR
81
- Show all of the outdated gems in the current bundle
82
- .
83
- .TP
84
- \fBbundle console(1)\fR
85
- Start an IRB session in the current bundle
86
- .
87
- .TP
88
- \fBbundle open(1)\fR \fIbundle\-open\.1\.html\fR
89
- Open an installed gem in the editor
90
- .
91
- .TP
92
- \fBbundle lock(1)\fR \fIbundle\-lock\.1\.hmtl\fR
93
- Generate a lockfile for your dependencies
94
- .
95
- .TP
96
- \fBbundle viz(1)\fR \fIbundle\-viz\.1\.html\fR
97
- Generate a visual representation of your dependencies
98
- .
99
- .TP
100
- \fBbundle init(1)\fR \fIbundle\-init\.1\.html\fR
101
- Generate a simple \fBGemfile\fR, placed in the current directory
102
- .
103
- .TP
104
- \fBbundle gem(1)\fR \fIbundle\-gem\.1\.html\fR
105
- Create a simple gem, suitable for development with Bundler
106
- .
107
- .TP
108
- \fBbundle platform(1)\fR \fIbundle\-platform\.1\.html\fR
109
- Display platform compatibility information
110
- .
111
- .TP
112
- \fBbundle clean(1)\fR \fIbundle\-clean\.1\.html\fR
113
- Clean up unused gems in your Bundler directory
114
- .
115
- .TP
116
- \fBbundle doctor(1)\fR \fIbundle\-doctor\.1\.html\fR
117
- Display warnings about common problems
118
- .
119
- .TP
120
- \fBbundle remove(1)\fR \fIbundle\-remove\.1\.html\fR
121
- Removes gems from the Gemfile
122
- .
123
- .SH "PLUGINS"
124
- When running a command that isn\'t listed in PRIMARY COMMANDS or UTILITIES, Bundler will try to find an executable on your path named \fBbundler\-<command>\fR and execute it, passing down any extra arguments to it\.
125
- .
126
- .SH "OBSOLETE"
127
- These commands are obsolete and should no longer be used:
128
- .
129
- .IP "\(bu" 4
130
- \fBbundle cache(1)\fR
131
- .
132
- .IP "\(bu" 4
133
- \fBbundle show(1)\fR
134
- .
135
- .IP "" 0
136
-
@@ -1,23 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBs
3
- MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
4
- d3cuZGlnaWNlcnQuY29tMSswKQYDVQQDEyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5j
5
- ZSBFViBSb290IENBMB4XDTA2MTExMDAwMDAwMFoXDTMxMTExMDAwMDAwMFowbDEL
6
- MAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IE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