Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Piotr Solnica
@solnic
@AMHOL no, on staging, production next Monday :D
Andy Holland
@AMHOL
Nice
Was it a friend that did the ROM logo?
Piotr Solnica
@solnic
yeah, which reminds me we gotta add info about that to the footer
and I know few more
Kris Leech
@krisleech
@solnic @AMHOL The idea was not to hard reference another class, but for it to look like you are, normally you might do MyModel.find, with dependency injection it would be my_model.find. My idea was to define a method, not class, called MyModel so it looked visually the same with DI as without.
Andy Holland
@AMHOL
Would be better to just inject the object returned from MyModel.find or inject the "repository" in the constructor IMO, would get confusing if it looked like a hard dependency too
Andy Holland
@AMHOL
@solnic Hi mate, sorry I've been so slow on the container stuff, decided to stay off the laptop this weekend, can you give me an example on the container mocking interface you have in mind, still not sure I understand but a code example will probably help
Piotr Solnica
@solnic
@AMHOL nah man don’t worry about it :) btw I’m on holidays this week so you’ll see less of me on gitter
Andy Holland
@AMHOL
Ahh yeah, I forgot, enjoy your holiday & stay off gitter :joy:
Piotr Solnica
@solnic
it will be easier when people stop talking to me ;)
not seeing that happening though, but it’s fine, I should only mention I may reply slower :D
Andy Holland
@AMHOL
Just delete the gitter app for a week
Piotr Solnica
@solnic
good idea
Andy Holland
@AMHOL
:p
Piotr Solnica
@solnic
no, really, I will do it, I’m adicted and my brain needs resting, so I’ll remove it
Andy Holland
@AMHOL
:+1: I wasn't joking
Piotr Solnica
@solnic
done :)
Andy Holland
@AMHOL
:)
Piotr Solnica
@solnic
ok, gotta run
:wave:
Andy Holland
@AMHOL
Have fun
Andy Holland
@AMHOL
@solnic can I get your opinions on https://github.com/dryrb/dry-object and https://github.com/dryrb/dry-importer at some point
Piotr Solnica
@solnic
@AMHOL sure thing
Andy Holland
@AMHOL
The idea was for extending adapters (namely ROM::HTTP), proved a bit of a PITA as you would have to re-define every class in the namespace just to override something simple in the dataset
So the namespace:: allows late binding for resolving classes and the import imports an entire class hierarchy into the given namespace (constant)
Andy Holland
@AMHOL
@solnic think I'm gonna delete dry-object and dry-importer and write them off
Think I had a brain fart there
Piotr Solnica
@solnic
@AMHOL ok ;) I haven’t looked closely at them tbh. btw I’ll move auto_curry from rom-support to dry-auto_curry :)
unless there are objections?
Andy Holland
@AMHOL
Sounds good to me :)
Piotr Solnica
@solnic
good, bkz I already told 500++ people that it’s a gem LOL
Andy Holland
@AMHOL
:joy: I saw the slides
Thought that was funny at the time too
@solnic gonna go make food, are you good if I merge rom-rb/rom-http#3 and release next version of rom-http when I get back?
Piotr Solnica
@solnic
yeah makes sense
Andy Holland
@AMHOL
@solnic released
Piotr Solnica
@solnic
@AMHOL w00t
Andy Holland
@AMHOL
:smile:
Benjamin Klotz
@tak1n
a short hello to the driest community on earth :D
Andy Holland
@AMHOL
:joy: Hi @tak1n :)
Luca Guidi
@jodosha
Hey @tak1n :D
Benjamin Klotz
@tak1n
curious whats going on in here :D :D
Andy Holland
@AMHOL
We've been building micro-libraries to try and encapsulate common use-cases in Ruby that can be reused regardless of your existing toolset
Trying to promote DI, IoC, immutability and all of the things that are good in the world :p
Benjamin Klotz
@tak1n
sounds pretty good :)
Piotr Solnica
@solnic
hey @tak1n
Benjamin Klotz
@tak1n
hey piotr, how are u doing?
Piotr Solnica
@solnic
…and I just pushed https://github.com/dryrb/dry-data
Benjamin Klotz
@tak1n
I got to this chatroom through this :P