Permalink
Commits on Jul 20, 2016
  1. @sonots

    Merge pull request #239 from api-walker/api-walker-patch-1

    Fix typo.
    sonots committed on GitHub Jul 20, 2016
Commits on Jul 1, 2016
  1. @api-walker

    Fix typo.

    api-walker committed on GitHub Jul 1, 2016
Commits on May 3, 2016
  1. @sonots

    turn off ruby warning

    sonots committed May 3, 2016
  2. @sonots
  3. @sonots

    0.13.1

    sonots committed May 3, 2016
Commits on Apr 22, 2016
  1. @sonots

    Merge pull request #234 from sonots/fix_travis

    fix .travis.yml
    sonots committed Apr 22, 2016
  2. @sonots

    Merge pull request #203 from fornellas/fix_cache

    Fix: ensure nothing is cached in case of failure.
    sonots committed Apr 22, 2016
  3. @sonots

    fix .travis.yml

    sonots committed Apr 22, 2016
  4. @sonots

    Merge pull request #232 from sonots/remove_warnings

    Remove deprecated warings
    sonots committed Apr 22, 2016
  5. @sonots

    Merge pull request #231 from sonots/bundler_rubygems_uri

    Add bundler_ruby_gems_url
    sonots committed Apr 22, 2016
  6. @sonots

    Add bundler_ruby_gems_url

    sonots committed Apr 2, 2016
  7. @sonots

    Merge pull request #230 from sonots/fix_slowness

    Performance improvement
    sonots committed Apr 22, 2016
Commits on Apr 4, 2016
  1. @sonots

    Accept-Encoding: gzip

    BEFORE: 1.454 sec
    AFTER: 1.116 sec
    
    to resolve dependencies for
    `unicorn,rake,server-starter,oneline_log_formatter,sinatra,builder,httpclient,nesty,faraday`
    sonots committed Apr 2, 2016
  2. @sonots

    speedup gem_list_merge

    BEFORE: 1.10931879 sec
    AFTER: 0.047122157
    
    to resolve dependencies for
    bones,rcov,rspec,rubyforge,ZenTest,addressable,multipart-post,faraday,faraday-middleware,httpauth,jwt,multi_xml,jar-dependencies,ffi,rbnacl,curses,launchy,bones-rcov,bones-rspec,bones-rubyforge,bones-zentest,git,functional-ruby,ref,gherkin,gherkin3,trollop,term-ansicolor,hashie,oauth2,nokogiri,termios,json_pure,RubyInline,metaclass,needle,echoe,jruby-pageant,bcrypt_pbkdf,rbnacl-libsodium,minitest,psych,tins,facets,polyglot,unf_ext,sexp_processor,concurrent-ruby,method_source,jamespath
    
    ```ruby
    require 'geminabox'
    
    local_gem_list = Marshal.load(File.read('bench/local_gem_list_bones.marshal'))
    remote_gem_list = Marshal.load(File.read('bench/remote_gem_list_bones.marshal'))
    
    started = Time.now
    combined_gem_list = Geminabox::GemListMerge.from(local_gem_list, remote_gem_list)
    elaspsed = Time.now - started
    puts "#{elaspsed.to_f} sec"
    
    expected = Marshal.load(File.read('bench/combined_gem_list_bones.marshal'))
    puts combined_gem_list == expected
    ```
    sonots committed Apr 2, 2016
  3. @sonots

    Use https://bundler.rubygems.org/api/v1/dependencies

    instead of https://bundler.rubygems.org/api/v1/dependencies.json
    
    ```ruby
    require 'geminabox'
    
    gems = 'rake,flexmock,parallel_tests,simplecov,rr,timecop,test-unit,test-unit-rr,oj,pry,pry-nav,fluent-plugin-s3,fluent-plugin-forest,fluent-plugin-record-reformer,msgpack,json,yajl-ruby,cool.io,http_parser.rb,sigdump,tzinfo,tzinfo-data,strptime'
    json_url = "https://bundler.rubygems.org/api/v1/dependencies.json?gems=#{gems}"
    marshal_url = "https://bundler.rubygems.org/api/v1/dependencies?gems=#{gems}"
    
    def elapsed_time(label)
      started = Time.now
      yield
      elapsed = Time.now - started
      puts "#{label}: #{elapsed.to_f} sec"
    end
    
    elapsed_time(:json_url) do
      Geminabox.http_adapter.get_content(json_url)
    end
    
    elapsed_time(:marshal_url) do
      Geminabox.http_adapter.get_content(marshal_url)
    end
    ```
    
    ```
    json_url: 2.01807 sec
    marshal_url: 1.261804 sec
    ```
    sonots committed Apr 2, 2016
Commits on Apr 2, 2016
  1. @sonots

    Remove deprecated warings

    1. File.exists? => File.exist?
    2. Dir.exists? => Dir.exist?
    sonots committed Apr 2, 2016
Commits on Mar 18, 2016
  1. @reggieb

    Merge pull request #229 from adamenger/patch-1

    Your not you're
    reggieb committed Mar 18, 2016
Commits on Mar 17, 2016
  1. @adamenger

    Your not you're

    adamenger committed Mar 17, 2016
Commits on Feb 16, 2016
  1. @allcentury

    Merge pull request #201 from allcentury/feature/docker-file

    Feature/docker file
    allcentury committed Feb 16, 2016
Commits on Feb 15, 2016
  1. @allcentury

    Added Dockerfile

    Dockerfile has been added and included readme for simple setup.  This
    should satisfy issue #199.
    allcentury committed Apr 22, 2015
  2. @bwilkins @tomlea
  3. @tomlea

    Bump version

    tomlea committed Feb 15, 2016
  4. @tomlea

    Apparently author is required.

    tomlea committed Feb 15, 2016
  5. @tomlea

    Handle odd rubygems edge cases.

    tomlea committed Feb 15, 2016
  6. @tomlea
  7. @tomlea

    Default to rubygems.org, not CDN

    tomlea committed Feb 15, 2016
  8. @tomlea

    Made 'ruby_gems_url' configurable

    PATRICK GRIFFIN committed with tomlea Feb 12, 2016
  9. @tomlea

    Test was hidden by same name.

    Removing it as it seems to never pass.
    tomlea committed Feb 15, 2016
  10. @tomlea

    Exclude unstable test.

    tomlea committed Feb 15, 2016
  11. @tomlea

    Use a licence to avoid warnings.

    tomlea committed Feb 15, 2016
  12. @tomlea
  13. @tomlea

    Lock down rubygems versions.

    tomlea committed Feb 15, 2016
  14. @tomlea

    Update rubies supported.

    tomlea committed Feb 15, 2016
Commits on Jun 3, 2015
  1. @fornellas
Commits on Jun 1, 2015
  1. @tomlea

    Merge pull request #174 from whitepages/flock

    Added index update serializeation via lockfile.  Addresses multiple bug report.
    tomlea committed Jun 1, 2015