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

1087 correct indefinite article for oms #1111

Merged
merged 2 commits into from
Feb 1, 2015

Conversation

hardik101
Copy link
Contributor

added new gem and used its method 'with_indefinite_article' for all the found instances where it can be applied.

@@ -75,7 +75,7 @@ def show

def destroy
if resource.is_imported?
flash[:error] = "Can't delete an ontology that is imported by another one."
flash[:error] = "Can't delete an #{Settings.OMS.with_indefinite_article} that is imported by another one."

Choose a reason for hiding this comment

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

Metrics/LineLength: Line is too long. [112/80]

@hardik101 hardik101 force-pushed the 1087-correct_indefinite_article_for_OMS branch from 0254b5c to bbfbfcc Compare November 7, 2014 14:30
@@ -14,7 +14,8 @@ def destroy
super
rescue StandardError => e
unmark_as_destroying
raise e.class, "Can't delete repository: It contains an ontology that is imported by another repository."
raise e.class, "Can't delete repository: It contains \
#{Settings.OMS.with_indefinite_article} that is imported by another repository."

Choose a reason for hiding this comment

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

Metrics/LineLength: Line is too long. [84/80]

@hardik101 hardik101 force-pushed the 1087-correct_indefinite_article_for_OMS branch from bbfbfcc to 64b41cb Compare November 22, 2014 20:25
@@ -14,7 +14,8 @@ def destroy
super
rescue StandardError => e
unmark_as_destroying
raise e.class, "Can't delete repository: It contains an #{Settings.OMS} that is imported by another repository."
raise e.class, "Can't delete repository: It contains

Choose a reason for hiding this comment

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

Style/TrailingWhitespace: Trailing whitespace detected.

@hardik101 hardik101 force-pushed the 1087-correct_indefinite_article_for_OMS branch from 64b41cb to 52e5140 Compare December 2, 2014 15:33
@eugenk eugenk force-pushed the 1087-correct_indefinite_article_for_OMS branch from 52e5140 to d50b235 Compare January 28, 2015 14:32
@eugenk eugenk force-pushed the 1087-correct_indefinite_article_for_OMS branch from d50b235 to b14a891 Compare January 28, 2015 14:33
@eugenk
Copy link
Member

eugenk commented Jan 28, 2015

I just rebased staging. In my opinion, it's a 👍

hardik101 added a commit that referenced this pull request Feb 1, 2015
…_for_OMS

1087 correct indefinite article for oms
@hardik101 hardik101 merged commit f36c9b0 into staging Feb 1, 2015
@hardik101 hardik101 deleted the 1087-correct_indefinite_article_for_OMS branch February 1, 2015 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants