summaryrefslogtreecommitdiff
path: root/Rakefile
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove unused requireDavid Rodríguez2019-03-201-1/+0
| |
* | Move the `safe_task` method into the :spec namespaceDavid Rodríguez2019-03-201-7/+7
| |
* | Merge the `:spec` namespace to a single blockDavid Rodríguez2019-03-201-12/+10
| |
* | Simplify rubygems path transmissionDavid Rodríguez2019-03-201-2/+1
| | | | | | | | | | Since the RSpec task now uses the RSpec binstub, we can rely on all the dance done in there.
* | Remove now dummy being-rescue-end blockDavid Rodríguez2019-03-201-101/+97
| |
* | Simplify rubocop taskDavid Rodríguez2019-03-201-7/+6
| | | | | | | | We shell out to the binstub so we no longer need the activation dance.
* | Remove unnecessary prerequisiteDavid Rodríguez2019-03-201-1/+1
| |
* | Simplify RSpec taskDavid Rodríguez2019-03-201-17/+9
| | | | | | | | We shell out to the binstubs, so we don't need any activation dance.
* | Remove unnecessary pre-requisiteDavid Rodríguez2019-03-201-1/+0
| | | | | | | | | | This is already done from the spec helper right before the beginning of the test suite.
* | Fix `graphviz` installation on TravisCIDavid Rodríguez2019-03-151-1/+3
|/
* Use rubygems 2.7.9 in CIDavid Rodríguez2019-03-091-1/+1
|
* Use rubygems 3.0.3 in CIDavid Rodríguez2019-03-091-2/+2
|
* Auto-correct `Style/RescueStandardError` offensesDavid Rodríguez2019-03-041-1/+1
|
* Auto-correct `Style/Encoding` rubocop issuesDavid Rodríguez2019-03-041-1/+0
|
* Merge #6958Bundlerbot2019-02-131-5/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6958: Remove rdiscount indirect development dependency r=deivid-rodriguez a=deivid-rodriguez ### What was the end-user problem that led to this PR? The problem was that I was confused about the `rdiscount` dependency since I didn't see it used anywhere. ### What was your diagnosis of the problem? My diagnosis was that it's just an indirect dependency (through ronn). ### What is your fix for the problem, implemented in this PR? My fix is to remove the dependency. ### Why did you choose this fix out of the possible options? I chose this fix because it will no longer confuse devs into thinking we're actually using it directly. Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
| * Remove rdiscount indirect dependencyremove_rdiscount_indirect_dependencyDavid Rodríguez2019-02-111-5/+2
| | | | | | | | | | | | We don't use this dependency directly so this is not needed. We put it there at some point because we needed to pin to a specific version, but that's no longer the case.
* | Bump base rubygems version to 3.0.2bump_base_rubygems_versionDavid Rodríguez2019-02-121-1/+1
|/
* Bump Travis entries to use rubygems 2.7.8bump_base_rubygems_and_ruby_2.3_in_travisDavid Rodríguez2019-02-101-1/+1
|
* Bump main tested rubygems to 3.0.2travis_experimentsDavid Rodríguez2019-02-081-1/+1
|
* Bump main tested ruby to 2.6.1David Rodríguez2019-02-081-0/+7
|
* Move Rubocop development dependency into gemspecAlyssa Ross2019-01-231-8/+3
| | | | | | | | | Now that Bundler no longer supports Ruby <2.3, the Ruby minimum version requirement that prevented Rubocop from being specified as a development dependency in the gemspec no longer applies. Having Rubocop in the gemspec is useful for tools like RubyGems.org or Bundix that use it as the source of truth for dependencies.
* Test against Ruby 2.6 and RubyGems 3Samuel Giddins2018-12-281-1/+1
|
* move rubocop into a separate stage in Travis-CIColby Swandale2018-12-061-5/+0
|
* Remove unnecessary stuff from specsDavid Rodríguez2018-10-261-11/+4
| | | | Since we no longer test against rubygems versions that old.
* Make RakeTask spec:deps OS agnosticLeo Arnold2018-10-171-1/+2
| | | | | | | | @segiddins encouraged contributions towards support for Windows https://github.com/bundler/bundler/issues/5992#issuecomment-326809543 As a first step towards this goal this commit fixes file path specification in the first pieces of Ruby code called when setting up a test environment.
* To use --no-document option after RubyGems 2.0. RubyGems will remove --no-ri ↵SHIBATA Hiroshi2018-07-121-1/+1
| | | | and --no-rdoc options at RubyGems 3.0
* Cleanup rubygems version listDavid Rodríguez2018-06-271-1/+1
|
* Test against latest rubygems versionDavid Rodríguez2018-06-271-1/+1
|
* [Travis] Test against latest RubyGems versionseg-travis-2-5Samuel Giddins2017-12-261-1/+1
|
* [Travis] Test against RubyGems 2.7.1Samuel Giddins2017-11-031-1/+1
|
* Auto merge of #6054 - walf443:improve_rubocop_todo, r=segiddinsThe Bundler Bot2017-10-061-2/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | improve .rubocop_todo.yml ### What was the end-user problem that led to this PR? No ### What was your diagnosis of the problem? No ### What is your fix for the problem, implemented in this PR? My fix reduce ruboco_todo.yml lines. - Style/EmptyLinesAroundExceptionHandlingKeywords - Style/SpaceAroundOperators - Style/SpaceInsideBlockBraces - Lint/DuplicateMethods - Lint/Void - Style/IfUnlessModifier - Style/MixinGrouping - Style/NestedParenthesizedCalls - Style/OrAssignment - Style/RedundantParentheses - Style/TernaryParentheses
| * improve rubocop_todo.ymlKeiji Yoshimi2017-09-241-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Style/EmptyLinesAroundExceptionHandlingKeywords - Style/SpaceAroundOperators - Style/SpaceInsideBlockBraces - Lint/DuplicateMethods - Lint/Void - Style/IfUnlessModifier - Style/MixinGrouping - Style/NestedParenthesizedCalls - Style/OrAssignment - Style/RedundantParentheses - Style/TernaryParentheses
* | Auto merge of #6059 - walf443:rubocop_parallel, r=colby-swandaleThe Bundler Bot2017-10-011-1/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use rubocop --parallel option ### What was the end-user problem that led to this PR? No ### What is your fix for the problem, implemented in this PR? My fix enable rubocop's parallel option. This may improve rubocop's test time.
| * | use rubocop --parallel optionKeiji Yoshimi2017-09-241-1/+2
| |/
* | update rubygems to v2.6.13Keiji Yoshimi2017-09-241-1/+1
|/
* update rubocop to 0.50colby/rubocop-050Colby Swandale2017-09-181-2/+2
|
* [Travis] Override version before installing depsseg-bundler-2Samuel Giddins2017-09-061-3/+5
|
* Bump to a Bundler 2 versionSamuel Giddins2017-09-061-1/+1
|
* Auto merge of #5938 - NickLaMuro:spec_deps_on_ruby_193, r=segiddinsThe Bundler Bot2017-08-181-4/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use universal rubygems method for installing gems What was the end-user problem that led to this PR? -------------------------------------------------- When following the [setup documentation](https://github.com/bundler/bundler/blob/master/doc/development/SETUP.md) for bundler, it suggests to run `bin/rake spec:deps` to install the development dependencies for bundler. Doing this with ruby 1.9.3 (and not upgrading rubygems) will cause this to fail. What was your diagnosis of the problem? --------------------------------------- Ruby 1.9.3 ships with a version of rubygems that is less than 2.0, and doesn't include the mechanisms for installing multiple gems (with specific versions) using colon delimited strings (which is the mechanism used to do so in `spec:deps`). What is your fix for the problem, implemented in this PR? --------------------------------------------------------- By using `ruby -S gem install [GEM_NAME] -v [GEM_VERSION]` for each gem, it is a universal way of installing targeted versions of gems on various versions of ruby/rubygems that isn't rubygems dependent. Why did you choose this fix out of the possible options? -------------------------------------------------------- This was the easiest implementation to do that maintains the same documentaion and instructions necessary to setup bundler for development. The cons with this approach is that is causes additional subshell invocations to be launched for each gem, instead of one, which will be slower. Since this is a finite number of calls we are doing this for (5 currently), I expect that to be negligible compared to the total time necessary load up the rubygems `gem` command and fetch each gem from rubygems (we can compare the travis builds from master to see this to compare). An alternative to this approach would be to call out to the `Gem::Installer` directly from within the rake task, and avoid calling out to the `gem` command all together. This has the downside of requiring more code to do it, but should alleviate the any extra time caused by using `sh` call to install the gems (might try this in a separate commit so it will have another build on travis and we can compare that result to the initial implementation).
| * Use universal rubygems method for installing gemsNick LaMuro2017-08-141-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current implementation for installing gems via `rake spec:deps` builds a rubygems command that includes all of the gems in a single oneliner with gem names and versions that are colon delimited: $ ruby -S gem install --no-ri --no-rdoc --conservative 'automatiek:~> 1.0.0' 'mustache:0.99.6' ... This functionality does not exist prior to rubygems 2.0, so this will not function with the rubygems that ships with ruby 1.9.3 Splitting this into individual `ruby -S gem install` calls for rubygems versions prior to 2.0, and using the `-v` flag allows this to function on older implemetations.
* | Extract override version for use installing in devindirect/override-version-for-devAndre Arko2017-08-071-12/+10
| |
* | [RuboCop] Enable Layout/EmptyLineAfterMagicComment copKoichi ITO2017-07-161-0/+1
|/
* Vendor fileutils since it is now a gemSamuel Giddins2017-06-281-0/+8
|
* [Rakefile] Allow stubbing the Bundler version on travisSamuel Giddins2017-06-231-0/+12
|
* Completely remove the postit trampolineSamuel Giddins2017-06-211-8/+0
|
* Auto merge of #5716 - bundler:seg-version-build-metadata, r=indirectThe Bundler Bot2017-06-161-4/+2
|\ | | | | | | | | | | | | | | Print build metadata when running `bundle version` Closes #5049. Will get all the build metadata into `bundle env` once https://github.com/bundler/bundler/pull/5703 lands, since I don't want conflicts and want to use that code for generating the "tables"
| * Avoid git shenanigans with the build metadata fileseg-version-build-metadataSamuel Giddins2017-06-131-4/+0
| |
| * [Rakefile] Add support for generated files not checked into gitSamuel Giddins2017-06-121-1/+3
| |
* | [Rakefile] Allow re-recording all VCR cassettesSamuel Giddins2017-06-131-1/+10
| |
* | Disallow making realworld network requests on CISamuel Giddins2017-06-131-0/+3
|/