You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
method_option"gemfile",type: :string,banner: "Use the specified gemfile instead of Gemfile"
261
261
method_option"group",aliases: "-g",type: :array,banner: "Update a specific group"
262
262
method_option"jobs",aliases: "-j",type: :numeric,banner: "Specify the number of jobs to run in parallel"
263
-
method_option"local",type: :boolean,banner: "Do not attempt to fetch gems remotely and use the gem cache instead"
264
-
method_option"quiet",type: :boolean,banner: "Only output warnings and errors."
263
+
method_option"local",type: :boolean,banner: "Do not attempt to fetch gems remotely and use the gem cache instead"
264
+
method_option"quiet",type: :boolean,banner: "Only output warnings and errors."
265
265
method_option"source",type: :array,banner: "Update a specific source (and all gems associated with it)"
266
266
method_option"redownload",type: :boolean,aliases: "--force",banner: "Force downloading every gem."
267
267
method_option"ruby",type: :boolean,banner: "Update ruby specified in Gemfile.lock"
268
268
method_option"bundler",type: :string,lazy_default: "> 0.a",banner: "Update the locked version of bundler"
269
-
method_option"patch",type: :boolean,banner: "Prefer updating only to next patch version"
270
-
method_option"minor",type: :boolean,banner: "Prefer updating only to next minor version"
271
-
method_option"major",type: :boolean,banner: "Prefer updating to next major version (default)"
269
+
method_option"patch",type: :boolean,banner: "Prefer updating only to next patch version"
270
+
method_option"minor",type: :boolean,banner: "Prefer updating only to next minor version"
271
+
method_option"major",type: :boolean,banner: "Prefer updating to next major version (default)"
272
272
method_option"pre",type: :boolean,banner: "Always choose the highest allowed version when updating gems, regardless of prerelease status"
273
273
method_option"strict",type: :boolean,banner: "Do not allow any gem to be updated past latest --patch | --minor | --major"
274
274
method_option"conservative",type: :boolean,banner: "Use bundle install conservative update behavior and do not allow shared dependencies to be updated."
@@ -397,11 +397,11 @@ def fund
397
397
end
398
398
399
399
desc"cache [OPTIONS]","Locks and then caches all of the gems into vendor/cache"
400
-
method_option"all",type: :boolean,
401
-
default: Bundler.feature_flag.cache_all?,
402
-
banner: "Include all sources (including path and git)."
400
+
method_option"all",type: :boolean,
401
+
default: Bundler.feature_flag.cache_all?,
402
+
banner: "Include all sources (including path and git)."
403
403
method_option"all-platforms",type: :boolean,banner: "Include gems for all platforms present in the lockfile, not only the current one"
404
-
method_option"cache-path",type: :string,banner: "Specify a different cache path than the default (vendor/cache)."
404
+
method_option"cache-path",type: :string,banner: "Specify a different cache path than the default (vendor/cache)."
405
405
method_option"gemfile",type: :string,banner: "Use the specified gemfile instead of Gemfile"
406
406
method_option"no-install",type: :boolean,banner: "Don't install the gems, only update the cache."
407
407
method_option"no-prune",type: :boolean,banner: "Don't remove stale gems from the cache."
@@ -605,7 +605,7 @@ def platform
605
605
end
606
606
607
607
desc"inject GEM VERSION","Add the named gem, with version requirements, to the resolved Gemfile",hide: true
608
-
method_option"source",type: :string,banner: "Install gem from the given source"
608
+
method_option"source",type: :string,banner: "Install gem from the given source"
609
609
method_option"group",type: :string,banner: "Install gem into a bundler group"
610
610
definject(name,version)
611
611
SharedHelpers.major_deprecation2,"The `inject` command has been replaced by the `add` command"
@@ -615,16 +615,16 @@ def inject(name, version)
615
615
616
616
desc"lock","Creates a lockfile without installing"
617
617
method_option"update",type: :array,lazy_default: true,banner: "ignore the existing lockfile, update all gems by default, or update list of given gems"
618
-
method_option"local",type: :boolean,default: false,banner: "do not attempt to fetch remote gemspecs and use the local gem cache only"
619
-
method_option"print",type: :boolean,default: false,banner: "print the lockfile to STDOUT instead of writing to the file system"
618
+
method_option"local",type: :boolean,default: false,banner: "do not attempt to fetch remote gemspecs and use the local gem cache only"
619
+
method_option"print",type: :boolean,default: false,banner: "print the lockfile to STDOUT instead of writing to the file system"
620
620
method_option"gemfile",type: :string,banner: "Use the specified gemfile instead of Gemfile"
621
621
method_option"lockfile",type: :string,default: nil,banner: "the path the lockfile should be written to"
622
622
method_option"full-index",type: :boolean,default: false,banner: "Fall back to using the single-file index of all gems"
623
623
method_option"add-platform",type: :array,default: [],banner: "Add a new platform to the lockfile"
624
-
method_option"remove-platform",type: :array,default: [],banner: "Remove a platform from the lockfile"
625
-
method_option"patch",type: :boolean,banner: "If updating, prefer updating only to next patch version"
626
-
method_option"minor",type: :boolean,banner: "If updating, prefer updating only to next minor version"
627
-
method_option"major",type: :boolean,banner: "If updating, prefer updating to next major version (default)"
624
+
method_option"remove-platform",type: :array,default: [],banner: "Remove a platform from the lockfile"
625
+
method_option"patch",type: :boolean,banner: "If updating, prefer updating only to next patch version"
626
+
method_option"minor",type: :boolean,banner: "If updating, prefer updating only to next minor version"
627
+
method_option"major",type: :boolean,banner: "If updating, prefer updating to next major version (default)"
628
628
method_option"pre",type: :boolean,banner: "If updating, always choose the highest allowed version, regardless of prerelease status"
629
629
method_option"strict",type: :boolean,banner: "If updating, do not allow any gem to be updated past latest --patch | --minor | --major"
630
630
method_option"conservative",type: :boolean,banner: "If updating, use bundle install conservative update behavior and do not allow shared dependencies to be updated"
0 commit comments