Skip to content

Fix incorrect deprecations#1357

Merged
dblock merged 1 commit into
masterfrom
fix-incorrect-deprecations
Apr 10, 2016
Merged

Fix incorrect deprecations#1357
dblock merged 1 commit into
masterfrom
fix-incorrect-deprecations

Conversation

@namusyaka

Copy link
Copy Markdown
Contributor

ref #1344

@namusyaka namusyaka changed the title Fix incorrect deprecations [WIP] Fix incorrect deprecations Apr 9, 2016
@namusyaka namusyaka force-pushed the fix-incorrect-deprecations branch from 9877ddc to 96eade9 Compare April 9, 2016 22:32
Comment thread lib/grape/router/route.rb Outdated
pattern.path
end

def hidden

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are we really just trying to make grape-swagger happy here? The whole hidden thing is not a Grape feature, just happens to be an option that grape-swagger "extends". Maybe it's better to expose options instead and let grape-swagger deal with it?

@namusyaka namusyaka force-pushed the fix-incorrect-deprecations branch from 96eade9 to 9edb8f9 Compare April 9, 2016 23:08
@namusyaka

Copy link
Copy Markdown
Contributor Author

@dblock Thanks for your opinion. I've just tried to reflect it to my changes.

@dblock

dblock commented Apr 9, 2016

Copy link
Copy Markdown
Member

I am happy with this as is, squashed and CHANGELOGed.

@dblock

dblock commented Apr 9, 2016

Copy link
Copy Markdown
Member

I also think the code needs comments of what settings vs. options is.

@namusyaka namusyaka force-pushed the fix-incorrect-deprecations branch from 9edb8f9 to 52f60a4 Compare April 9, 2016 23:35
@namusyaka

Copy link
Copy Markdown
Contributor Author

@dblock Could you review this updates? I also squashed :)

@namusyaka namusyaka changed the title [WIP] Fix incorrect deprecations Fix incorrect deprecations Apr 9, 2016
@dblock

dblock commented Apr 9, 2016

Copy link
Copy Markdown
Member

Looks good to me, feel free to merge on green if I don't get to it.

@dblock dblock merged commit 70e67d3 into master Apr 10, 2016
@namusyaka namusyaka deleted the fix-incorrect-deprecations branch September 14, 2016 04:08
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.

2 participants