Skip to content

Remove ActiveSupport dependency#141

Merged
dblock merged 2 commits intokslazarev:masterfrom
jlduran:no-activesupport
Jun 21, 2017
Merged

Remove ActiveSupport dependency#141
dblock merged 2 commits intokslazarev:masterfrom
jlduran:no-activesupport

Conversation

@jlduran
Copy link
Copy Markdown
Collaborator

@jlduran jlduran commented Jun 20, 2017

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 #106

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
@jlduran jlduran force-pushed the no-activesupport branch from 3239583 to c81d1d5 Compare June 20, 2017 14:23
Repository owner deleted a comment from coveralls Jun 20, 2017
@coveralls
Copy link
Copy Markdown

coveralls commented Jun 20, 2017

Coverage Status

Coverage increased (+0.05%) to 99.42% when pulling c81d1d5 on jlduran:no-activesupport into 4235411 on kslazarev:master.

Copy link
Copy Markdown
Collaborator

@dblock dblock left a 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?

@jlduran
Copy link
Copy Markdown
Collaborator Author

jlduran commented Jun 20, 2017

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!

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.5%) to 99.894% when pulling f6198a2 on jlduran:no-activesupport into 4235411 on kslazarev:master.

1 similar comment
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.5%) to 99.894% when pulling f6198a2 on jlduran:no-activesupport into 4235411 on kslazarev:master.

@coveralls
Copy link
Copy Markdown

coveralls commented Jun 20, 2017

Coverage Status

Coverage increased (+0.05%) to 99.42% when pulling f6198a2 on jlduran:no-activesupport into 4235411 on kslazarev:master.

@dblock dblock merged commit e7433c4 into kslazarev:master Jun 21, 2017
@dblock
Copy link
Copy Markdown
Collaborator

dblock commented Jun 21, 2017

Merged, looks great.

@jlduran jlduran deleted the no-activesupport branch June 21, 2017 04:29
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.

3 participants