Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to make annotate smarter about when to touch a model #31

Merged
merged 1 commit into from Jun 21, 2011

Conversation

wbharding
Copy link

Recognize column+type, and don't change a file unless the column+type combination of the new schema are different than that of the old (i.e., don't regenerate if columns happen to be in a different order. That's just how life is sometimes)
Grab old specification even if it has \r\n as line endings rather than pure \ns
Remove gemspec line causing a warning

… combination of the new schema are different than that of the old (i.e., don't regenerate if columns happen to be in a different order. That's just how life is sometimes)

Grab old specification even if it has \r\n as line endings rather than pure \ns
Remove gemspec line causing a warning
@alexch
Copy link
Collaborator

alexch commented Jun 21, 2011

Thanks for your patch. I'll be going over the pull queue shortly; just wanted to let you know that someone is reading these :-)

@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Cuong Tran", "Alex Chaffee", "Marcos Piccinini"]
s.date = %q{2009-10-23}
s.default_executable = %q{annotate}
#s.default_executable = %q{annotate}
Copy link
Owner

Choose a reason for hiding this comment

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

Is this necessary for this patch? If not, could you resubmit the patch without this change?

Copy link
Collaborator

Choose a reason for hiding this comment

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

default_executable is deprecated so the sooner the better

Sent from my iPhone

On Jun 21, 2011, at 2:18 PM, ctranreply@reply.github.com wrote:

@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Cuong Tran", "Alex Chaffee", "Marcos Piccinini"]
s.date = %q{2009-10-23}

  • s.default_executable = %q{annotate}
  • #s.default_executable = %q{annotate}

Is this necessary for this patch?

Reply to this email directly or view it on GitHub:
https://github.com/ctran/annotate_models/pull/31/files#r49415

Copy link
Owner

Choose a reason for hiding this comment

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

I'm so out of date :-)
Will merge the patch.

ctran added a commit that referenced this pull request Jun 21, 2011
Updates to make annotate smarter about when to touch a model
@ctran ctran merged commit 0076e08 into ctran:master Jun 21, 2011
@ctran ctran added the released label Dec 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants