Skip to content
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.

Pack less files in released gem #3

Merged
merged 1 commit into from
Aug 28, 2016
Merged

Pack less files in released gem #3

merged 1 commit into from
Aug 28, 2016

Conversation

JuanitoFatas
Copy link
Contributor

@JuanitoFatas JuanitoFatas commented Aug 12, 2016

Rationale: rubygems/bundler#3207

  • don't pack hidden files

  • don't pack test files (spec/*)

  • don't pack bin/*

  • pack these git tracking files

    > `git ls-files -z`.split("\x0").reject { |f| f.start_with?(".") || f =~ %r(^(spec|bin)/) }
    => ["Gemfile",
    "LICENSE.txt",
    "README.md",
    "Rakefile",
    "lib/uber.rb",
    "lib/uber/api.rb",
    "lib/uber/api/activities.rb",
    "lib/uber/api/me.rb",
    "lib/uber/api/price_estimates.rb",
    "lib/uber/api/products.rb",
    "lib/uber/api/promotions.rb",
    "lib/uber/api/requests.rb",
    "lib/uber/api/time_estimates.rb",
    "lib/uber/api_request.rb",
    "lib/uber/arguments.rb",
    "lib/uber/base.rb",
    "lib/uber/client.rb",
    "lib/uber/error.rb",
    "lib/uber/models/activity.rb",
    "lib/uber/models/estimate.rb",
    "lib/uber/models/map.rb",
    "lib/uber/models/price.rb",
    "lib/uber/models/product.rb",
    "lib/uber/models/promotion.rb",
    "lib/uber/models/request.rb",
    "lib/uber/models/time.rb",
    "lib/uber/models/user.rb",
    "lib/uber/parse_json.rb",
    "lib/uber/rate_limit.rb",
    "lib/uber/token.rb",
    "lib/uber/utils.rb",
    "lib/uber/version.rb",
    "uber-sdk.gemspec"]

@chrisenytc chrisenytc merged commit 1832a7f into chrisenytc:master Aug 28, 2016
@chrisenytc
Copy link
Owner

Thank you @JuanitoFatas

@JuanitoFatas JuanitoFatas deleted the light-weight-gem branch August 28, 2016 07:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants