Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Remove comment with timestamp on bundle add #6300

Merged
merged 1 commit into from
Feb 20, 2018

Conversation

cpgo
Copy link
Contributor

@cpgo cpgo commented Feb 20, 2018

As discussed on #6193 this PR simply removes the comment timestamp when adding a gem via command line.

@ghost
Copy link

ghost commented Feb 20, 2018

Thanks for opening a pull request and helping make Bundler better! Someone from the Bundler team will take a look at your pull request shortly and leave any feedback. Please make sure that your pull request has tests for any changes or added functionality.

We use Travis CI to test and make sure your change works functionally and uses acceptable conventions, you can review the current progress of Travis CI in the PR status window below.

If you have any questions or concerns that you wish to ask, feel free to leave a comment in this PR or join our #bundler channel on Slack.

For more information about contributing to the Bundler project feel free to review our CONTRIBUTING guide

@@ -84,9 +84,6 @@ def build_gem_lines(conservative_versioning)
def append_to(gemfile_path, new_gem_lines)
gemfile_path.open("a") do |f|
f.puts
if @options["timestamp"] || @options["timestamp"].nil?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably give a deprecation warning is the timestamp option is given via the command line though?

@indirect
Copy link
Member

The timestamp is honestly purely a leftover implementation detail from bundle inject, and I never intended for it to be included in add. I'm happy to remove it completely from add.

@colby-swandale
Copy link
Member

Thanks!

@bundlerbot r+

@bundlerbot
Copy link
Collaborator

📌 Commit c518c36 has been approved by colby-swandale

@bundlerbot
Copy link
Collaborator

⌛ Testing commit c518c36 with merge 86e4b2a...

bundlerbot added a commit that referenced this pull request Feb 20, 2018
…dale

Remove comment with timestamp on `bundle add`

As discussed on #6193 this PR simply removes the comment timestamp when adding a gem via command line.
@bundlerbot
Copy link
Collaborator

☀️ Test successful - status-travis
Approved by: colby-swandale
Pushing 86e4b2a to master...

@bundlerbot bundlerbot merged commit c518c36 into rubygems:master Feb 20, 2018
@rmm5t
Copy link

rmm5t commented Apr 10, 2018

Is this something that can be backported to v1.16, or is it only slated for v2?

@colby-swandale
Copy link
Member

This will be part of the next bundler patch release.

@colby-swandale colby-swandale added this to the 1.16.2 milestone Apr 11, 2018
colby-swandale pushed a commit that referenced this pull request Apr 11, 2018
…dale

Remove comment with timestamp on `bundle add`

As discussed on #6193 this PR simply removes the comment timestamp when adding a gem via command line.

(cherry picked from commit 86e4b2a)
colby-swandale pushed a commit that referenced this pull request Apr 20, 2018
…dale

Remove comment with timestamp on `bundle add`

As discussed on #6193 this PR simply removes the comment timestamp when adding a gem via command line.

(cherry picked from commit 86e4b2a)
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.

6 participants