-
Notifications
You must be signed in to change notification settings - Fork 115
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 ActiveSupport
dependency
#141
Conversation
This commit removes the dependency on the `ActiveSupport` gem by doing the following: - Replace `constantize` with `Object.const_get()` - Remove the following `Object` methods: - `blank?` - `present?` - Remove the following `String` methods: - `camelcase` - `titleize` - `underscore` Closes kslazarev#106
3239583
to
c81d1d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good. You still need to re-generate a .gemspec without the AS dependency.
Or maybe rewrite .gemspec by hand and remove Jeweler too?
Yes, I plan on releasing the gem over the weekend if there are no issues. I'll try to remove Jeweler as well, as you propose, although I would prefer to do it in a separate commit. Thank you! |
1 similar comment
Merged, looks great. |
This commit removes the dependency on the
ActiveSupport
gem by doing the following:constantize
withObject.const_get()
Object
methods:blank?
present?
String
methods:camelcase
titleize
underscore
Closes #106