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

Remove polyfills #5

Merged
merged 3 commits into from
Apr 28, 2016
Merged

Remove polyfills #5

merged 3 commits into from
Apr 28, 2016

Conversation

pzac
Copy link
Contributor

@pzac pzac commented Apr 27, 2016

No description provided.

@@ -1,8 +1,11 @@
##
# Hawk entry point.
#
#

require 'active_support/core_ext/array/wrap'
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this enough? Or, why is it needed? We are using pluralize but not requiring it explicitly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I know, that's strange, but without this explicit require I get a
#<NoMethodError: undefined method 'wrap' for Array:Class>. I have the feeling it has to do with ActiveSupport's require-ing and autoloading.

Copy link
Contributor

Choose a reason for hiding this comment

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

OK, cool, thanks.

@pzac pzac merged commit 51f2931 into master Apr 28, 2016
@pzac pzac deleted the remove-polyfills branch April 28, 2016 12:21
@vjt
Copy link
Contributor

vjt commented Apr 28, 2016

Oh, look how a bit of Not Invented Here syndrome goes away.

@jblackman no more refinements in Hawk, you can start testing it on Ruby 1.9 :-)

tagliala added a commit that referenced this pull request Sep 20, 2024
This code is not being required

Ref: #5
@tagliala tagliala mentioned this pull request Sep 20, 2024
tagliala added a commit that referenced this pull request Sep 20, 2024
This code is not being required

Ref: #5
tagliala added a commit that referenced this pull request Sep 20, 2024
This code is not being required and references non-existing files

Ref: #5
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