Skip to content
Permalink
Branch: master
Commits on May 12, 2019
  1. Improve sorting of the resolved gem dependencies

    JuanitoFatas and matthewd committed May 11, 2019
    This should work for dependency with requirement (Array) and
    dependency without requirement (String)
    
    Co-Authored-By: Matthew Draper <matthew@trebex.net>
Commits on May 11, 2019
  1. Add a failing test to show case resolving railties

    JuanitoFatas committed May 11, 2019
    When you do gel install against following Gemfile:
    
      source "https://rubygems.org"
      gem "railties"
    
    an error will throw:
    
    ===== Gel Internal Error =====
    
    Traceback (most recent call last):
      ...
    
      /lib/gel/resolved_gem_set.rb:118:in `sort': comparison of Array with String failed (ArgumentError)
    
    Inspect the resolved gem dependencies we get:
    
    resolved_gem.deps
    [
      ["actionpack", "= 5.2.3"],
      ["activesupport", "= 5.2.3"],
      "method_source",
      ["rake", ">= 0.8.7"],
      ["thor", ">= 0.19.0, < 2.0"]
    ]
    
    We can see one of the dependency is just a String that has no requirement,
    that is causing this Argument Error here.
Commits on May 9, 2019
  1. Add a test for Gel::ResolvedGemSet

    JuanitoFatas committed May 9, 2019
Commits on May 7, 2019
  1. Add support for specify multiple Ruby versions

    JuanitoFatas committed May 7, 2019
Commits on Apr 25, 2019
  1. Remove .travis.yml since we are not using it

    JuanitoFatas committed Apr 25, 2019
  2. Add basic gel help command

    JuanitoFatas committed Apr 24, 2019
    $ gel help
    
    will print a very basic help message.
    
    - Introduce a `capture_stdout` helper method for using in tests
Commits on Apr 18, 2019
  1. Extract few error exceptions under Gel::Error

    JuanitoFatas committed Apr 18, 2019
  2. Need to require shellwords

    JuanitoFatas committed Apr 18, 2019
    Fix this error if you run the test with just `rake`:
    
      1) Error:
    ActivateTest#test_activate_gem_with_extensions:
    NameError: uninitialized constant Gel::Package::Installer::GemInstaller::Shellwords
Commits on Apr 17, 2019
  1. Break better if required path is broken

    JuanitoFatas and matthewd committed Apr 17, 2019
    Co-Authored-By: Matthew Draper <matthew@trebex.net>
  2. Always install Rake when we need Rake

    JuanitoFatas and matthewd committed Apr 17, 2019
    even if the gem does not have rake as dependency
    
    Co-Authored-By: Matthew Draper <matthew@trebex.net>
  3. Pass HTTP connection error to caller thread

    JuanitoFatas and matthewd committed Apr 17, 2019
    Co-Authored-By: Matthew Draper <matthew@trebex.net>
  4. Support Gem::Specification.new with arguments

    JuanitoFatas and matthewd committed Apr 17, 2019
    Co-Authored-By: Matthew Draper <matthew@trebex.net>
  5. Ignore Bundler in Gemfile

    JuanitoFatas and matthewd committed Apr 17, 2019
    Co-Authored-By: Matthew Draper <matthew@trebex.net>
  6. Use catelog auth from gel config

    JuanitoFatas and matthewd committed Apr 17, 2019
    gel config hostname user:pass
    
    Co-Authored-By: Matthew Draper <matthew@trebex.net>
  7. Use platform specific gem variant

    JuanitoFatas and matthewd committed Apr 17, 2019
    Pull in Gem::Platform to help.
    
    Co-Authored-By: Matthew Draper <matthew@trebex.net>
You can’t perform that action at this time.