summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* update comments in installer that was a bit out of datecolby/installer-documetnationColby Swandale2017-05-091-12/+15
|
* Merge tag 'v1.15.0.pre.2'Samuel Giddins2017-04-233-2/+11
|\ | | | | | | Version 1.15.0.pre.2
| * Version 1.15.0.pre.2 with changelogv1.15.0.pre.2Samuel Giddins2017-04-232-1/+9
| |
| * Auto merge of #5602 - alextaylor000:issue-5423, r=segiddinsThe Bundler Bot2017-04-232-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure pre-existing Git caches are updated from remote sources This will be my first contribution to Bundler. Thanks for the amazing dev setup guides! This fixes issue #5423 where Git sources would not be updated if they were already cached in `vendor/cache`. When we build a Git source from Gemfile.lock, we store the revision listed in the lockfile. However, when unlocking the source for an update, we don't clear that revision, and the update proceeds to grab the stale version from `vendor/cache`. Interestingly, this behaviour only occurs when updating a specific gem, i.e. `bundle update timecop`. This bug isn't present when doing a global `bundle update`, possibly because of the differences in how we build up the Definition between the two methods. Closes #5423. (cherry picked from commit 334b901de575ca4b6b88e164106e2a52f4f4bff9)
| * Auto merge of #5600 - bundler:seg-lockfile-duplicates, r=segiddinsThe Bundler Bot2017-04-232-1/+13
| | | | | | | | | | | | | | | | | | | | Avoid duplicating specs in the lockfile after updating w/ the gem uninstalled Closes https://github.com/bundler/bundler/issues/5599 I decided to not compare using `full_name` in `SpecSet#merge` for the sake of performance, since `#full_name` is uncached (cherry picked from commit 8e2cd4ac9b1b0c3459b5969af364b318821121e5)
| * Auto merge of #5595 - bundler:jules2689-stub-spec-extension-dir, r=segiddinsThe Bundler Bot2017-04-232-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply source and git_version to stub spec extension Fixes https://github.com/bundler/bundler/issues/5594 `stub_specification` doesn't know what `full_name` should be because we don't have a record of the source, so it resolves to `cityhash-0.6.0` rather than `cityhash-3cfc7d01f333` This makes `StubSpecification` aware of the source to we can still avoid loading the full spec when needed. This is done by bringing remote_specs `attr_accessor :source` to `stub_spec`, and assigning source to the `stub`. I am probably missing some edge cases to check for though 🙈 Need to write specs. cc @segiddins (cherry picked from commit dcddaf98a7201483277b71ae1fb7904a15a0cc9f)
| * [Rakefile] Handle when a patch release milestone also contains issuesSamuel Giddins2017-04-231-1/+2
| |
* | Auto merge of #5602 - alextaylor000:issue-5423, r=segiddinsThe Bundler Bot2017-04-222-1/+29
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure pre-existing Git caches are updated from remote sources This will be my first contribution to Bundler. Thanks for the amazing dev setup guides! This fixes issue #5423 where Git sources would not be updated if they were already cached in `vendor/cache`. When we build a Git source from Gemfile.lock, we store the revision listed in the lockfile. However, when unlocking the source for an update, we don't clear that revision, and the update proceeds to grab the stale version from `vendor/cache`. Interestingly, this behaviour only occurs when updating a specific gem, i.e. `bundle update timecop`. This bug isn't present when doing a global `bundle update`, possibly because of the differences in how we build up the Definition between the two methods. Closes #5423.
| * | Ensure pre-existing Git caches are updated from remote sourceAlex Taylor2017-04-212-0/+29
| | |
| * | Remove TODO - it's ~7 years oldAlex Taylor2017-04-211-1/+0
| | |
* | | Auto merge of #5587 - colby-swandale:dsl-improvments, r=segiddinsThe Bundler Bot2017-04-211-30/+31
|\ \ \ | | | | | | | | | | | | | | | | | | | | Dsl improvements This PR contains a couple of small improvements to help remove code complexity in the DSL. Refer to the commit messages for context.
| * | | use guard clause instead of big conditional if expressionColby Swandale2017-04-171-14/+14
| | | |
| * | | use yield when calling a block with no argumentsColby Swandale2017-04-171-2/+2
| | | |
| * | | move list of dsl valid keys to constantColby Swandale2017-04-171-1/+4
| | | |
| * | | fix whitespaceColby Swandale2017-04-171-2/+2
| | | |
| * | | handle option handling in `group` just like `gem` and `source`Colby Swandale2017-04-161-3/+3
| | | |
| * | | normalize `source` in all cases for 'source' declaractionColby Swandale2017-04-161-2/+2
| | | |
| * | | remove duplicate code replacing existing dep with a development depColby Swandale2017-04-161-6/+4
| | | |
* | | | Auto merge of #5600 - bundler:seg-lockfile-duplicates, r=segiddinsThe Bundler Bot2017-04-212-1/+13
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | Avoid duplicating specs in the lockfile after updating w/ the gem uninstalled Closes https://github.com/bundler/bundler/issues/5599 I decided to not compare using `full_name` in `SpecSet#merge` for the sake of performance, since `#full_name` is uncached
| * | | Avoid duplicating specs in the lockfile after updating w/ the gem uninstalledseg-lockfile-duplicatesSamuel Giddins2017-04-192-1/+13
| | | |
* | | | Auto merge of #5588 - bundler:seg-fix-ruby-head-tests, r=segiddinsThe Bundler Bot2017-04-213-4/+5
|\ \ \ \ | | | | | | | | | | | | | | | Fix exec_spec on ruby-head
| * | | | [Rakefile] Use RubyGems 2.6.11 to install gems on Travisseg-fix-ruby-head-testsSamuel Giddins2017-04-191-1/+1
| | | | |
| * | | | Fix exec_spec on ruby-headSamuel Giddins2017-04-192-3/+4
| |/ / /
* | | | Auto merge of #5595 - bundler:jules2689-stub-spec-extension-dir, r=segiddinsThe Bundler Bot2017-04-202-0/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply source and git_version to stub spec extension Fixes https://github.com/bundler/bundler/issues/5594 `stub_specification` doesn't know what `full_name` should be because we don't have a record of the source, so it resolves to `cityhash-0.6.0` rather than `cityhash-3cfc7d01f333` This makes `StubSpecification` aware of the source to we can still avoid loading the full spec when needed. This is done by bringing remote_specs `attr_accessor :source` to `stub_spec`, and assigning source to the `stub`. I am probably missing some edge cases to check for though 🙈 Need to write specs. cc @segiddins
| * | | | Fix a style issuejules2689-stub-spec-extension-dirJulian Nadeau2017-04-201-4/+3
| | | | |
| * | | | Block for RubyGems > 2.2.0Julian Nadeau2017-04-191-9/+11
| | | | |
| * | | | Apply source to calculate stub spec extensionJulian Nadeau2017-04-182-0/+17
| |/ / /
* | | | Auto merge of #5590 - colby-swandale:bundle-env-class-methods, r=segiddinsThe Bundler Bot2017-04-205-18/+17
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | move implementation of Bundler::Env to class methods This is to a comment i made in #5589 Currently to print the Bundler env report you need to need to invoke it via: Bundler::Env.new.report This change removes the need to instantiate an instance and just call a class method of the same name: Bundler::Env.report
| * | | move implementation of Bundler::Env to class methodsColby Swandale2017-04-205-18/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently to print the Bundler env report you need to need to invoke it via: Bundler::Env.new.report This change removes the need to instantiate an instance and just call the class method of the same name: Bundler::Env.report
* | | | Merge tag 'v1.15.0.pre.1'Samuel Giddins2017-04-172-1/+45
|\ \ \ \ | | |_|/ | |/| | | | | | Version 1.15.0.pre.1
| * | | Version 1.15.0.pre.1 with changelogv1.15.0.pre.1Samuel Giddins2017-04-172-1/+45
|/ / /
* | | Auto merge of #5589 - bundler:seg-error-report, r=segiddinsThe Bundler Bot2017-04-162-4/+4
|\ \ \ | |/ / | | | | | | | | | | | | [Env] Default to always printing gemfile & gemspecs This will save a lot of time spent asking for them, and is something I thought we'd already done
| * | [Env] Default to always printing gemfile & gemspecsseg-error-reportSamuel Giddins2017-04-152-4/+4
|/ /
* | Auto merge of #5585 - bundler:seg-spec-set-perf, r=segiddinsThe Bundler Bot2017-04-155-19/+31
|\ \ | |/ |/| | | | | | | | | | | Speed up spec sets Nothing major, but why not ¯\_(ツ)_/¯ Closes #5057
| * [RubyGemsExt] Speed up Dependency#to_lockseg-spec-set-perfSamuel Giddins2017-04-151-3/+8
| |
| * [SpecSet] Use a set for #forSamuel Giddins2017-04-141-4/+3
| |
| * [SepcSet] Avoid compacting when the array never contains nilSamuel Giddins2017-04-141-6/+7
| |
| * [SpecSet] Avoid sorting specs in initializerSamuel Giddins2017-04-142-2/+2
| |
| * [Index] Avoid sorting specs in intermediary searchesSamuel Giddins2017-04-141-3/+9
| |
| * [Definition] Avoid checking settings in a loopSamuel Giddins2017-04-141-1/+2
| |
* | Auto merge of #5306 - colby-swandale:bundler-config-parseable-flag, r=segiddinsThe Bundler Bot2017-04-153-6/+114
|\ \ | |/ |/| | | | | | | | | | | | | | | | | Bundler config parseable flag This PR is continuing on from #4919. This adds an option to `bundle config` called `parseable` that prints the value of config without the verbose. Example: $ bundle config foo --parseable bar Closes #4919
| * print key & value on config set and print new value when overwritting ↵Colby Swandale2017-04-152-7/+12
| | | | | | | | existing config
| * print old config value in parseable format using overwriting an existingColby Swandale2017-04-122-1/+15
| | | | | | | | value
| * print only highest priority value per configColby Swandale2017-04-063-17/+7
| |
| * update config output parseable format and specsColby Swandale2017-04-053-3/+28
| |
| * print minimal report of configuration with bundler config --parseableColby Swandale2017-04-032-6/+33
| |
| * Merge remote-tracking branch 'upstream/master' into ↵Colby Swandale2017-03-29342-2005/+7103
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bundler-config-parseable-flag * upstream/master: (522 commits) add tests fix EOL Require socket in the file that needs it use Gem::Version.correct? instead of catching exceptions remove rails 2.3 from ISSUES guide quote empty PATH turns out linux needs env vars to be quoted (even when empty) run specs without git in the env add specs to test gem command when git is not installed (note: this won't actually work at the moment) dont create .gitignore as well if git is not installed in the gem command dont init new git repo unless git is installed on gem command fix spacing between paragraphs in generated READMEs for new gems Account for differing behavior in hash#select between 1.8.7 and 1.9.3+ .map -> .each, as we are not using return value Only uninstall plugins that we attempted to install. Documentation at the correct place Double quotes and small documentation --key parameter can be set via bundle config gem.push_key Add a spec for nested bundle exec with a gem that shadows a default gem Allow installing a gem from an arbitrary repo in the specs ...
| * | remove duplicate conditionColby Swandale2017-01-061-1/+2
| | |
| * | cleanup and add missing specs are parseable optionColby Swandale2017-01-051-27/+24
| | |
| * | move parseable functionality down a bit and only when no args are givenColby Swandale2017-01-051-2/+2
| | |