Open qrush opened 10 years ago
I can help. I really like this gem and it has worked great for me. I´m not an AutoLayout expert by no means (have hardly touched Xcode) but I could handle pull requests and other issues. That there are no specs concerns me. It should be easy enough to add some MacBacon tests like:
it 'adds constraints to the view' do
view = UIView.alloc.init
sub_view = UIView.alloc.init
view.constraints.size.should.equal 0
Motion::Layout.new do |layout|
layout.view view
layout.subviews sub_view: sub_view
layout.horizontal "|-100-[sub_view]-100-|"
end
view.constraints.first.firstItem.should.equal(sub_view)
view.constraints.first.secondItem.should.equal(view)
view.constraints.size.should.equal(2)
end
I could write a few examples specs and send a pull request if you like?
That would be awesome. :+1:
Any chance you found a maintainer? :)
Nope! @skandragon or @mikaelharsjo or both want it?
I just ran into this repo tonight, so may not be the best person to attack it. Are you seeking someone to maintain this repo only, and you continue to do releases, or fully take over the gem?
I'm not really using this anymore and will happily hand the gem ownership over.
What are you using now for layout?
Tell you what. Give me commit access for now, and I'll make a few changes here and there. For one, I'd like to get the options stuff in, and add some specs. If we all like the way things are going, and we can get some of the older pull requests touched up a bit (e.g., tests) then you may find a more willing owner. I might even be that willing owner, although most of my time is taken up with non-app-development currently. So many balls in the air...
I'm not even sure about the logistics of transferring a Ruby gem repo from one user to another.
What happens at the old URL? Is that automatically redirected, or will people who are using
gem 'ruby-motion', git: 'url'
suddenly start seeing errors? Can we forcefully break them in such a way they get news about the move if it's not redirected?
Is anyone interested in becoming the maintainer of this repo? There's several who have submitted PRs and my app that uses motion-layout doesn't need most of them. I'd rather just have someone who has a vested and continual interested in maintaining this to, well, maintain it! :) Let me know!