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

rename Singleton to SupSingleton to sidestep conflicts with ruby's Singleton #271

Merged
merged 1 commit into from
Mar 22, 2014

Conversation

gauteh
Copy link
Member

@gauteh gauteh commented Mar 22, 2014

@eMBee's conversion from Singleton to SupSingleton to make sure there is no conflict with Rubys orignal. The Mail library uses Rubys and things get a little messed up.

rakoo pushed a commit that referenced this pull request Mar 22, 2014
@rakoo rakoo merged commit e61c1b9 into sup-heliotrope:develop Mar 22, 2014
@eMBee
Copy link
Contributor

eMBee commented Mar 24, 2014

frankly, i am not happy with the name SupSingleton, Couldn't Sup's Singleton be placed inside the Redwood module and then used as Redwood::Singleton or Util::Singleton (if we make an Util module instead)?

@gauteh
Copy link
Member Author

gauteh commented Mar 24, 2014

Redwood::Singleton or Redwood::Util::Singleton sounds good to me.

@rakoo
Copy link

rakoo commented Mar 24, 2014

My ruby-fu is weak. I thought having a Redwood::Singleton would be infeasible in the code, because there would be no way to differentiate between the sup one and the mail one... but I guess I was wrong. Sorry for the fast merge.

@rakoo
Copy link

rakoo commented Mar 24, 2014

Proposition of revert and fix in #275

@eMBee
Copy link
Contributor

eMBee commented Mar 25, 2014

i am new to ruby, and i pushed SupSingleton mostly to show you what i am working on. i didn't expect it to be merged so fast :-)
i tested Redwood::Singleton now, and it seems to work: eMBee/sup@18d2df6

gauteh added a commit that referenced this pull request Mar 27, 2014
Replaces #275 and undoes #271 in favor of a Singleton class inside the
Redwood module.
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.

3 participants