貢獻開源專案 (contribute to open source project)
TRANSCRIPT
CONTRIBUTE TO OPEN SOURCE SOFTWARE
WHOAMI
• Stan
•
• @st0012
• Polydice (iCook)
• Rails
• Formtastic
• html-pipeline
• Carrierwave
• database_cleaner
WHY?
• GitHub
•
•
WHAT CAN I CONTRIBUTE?•
• Bug
• Performance Improvement
•
• Issue/PR
CONTRIBUTION PROCESS•
• or
•
• Fork
• Fork Branch
• pull request
• [WIP] for “Work in Progress”
• Ruby Rails
• RubyGem
•
• Debugging tool
• design patterns
RUBYGEM
• http://guides.rubygems.org/make-your-own-gem/
• http://guides.rubygems.org/patterns/
• PR merge
• RubyGem
• RSpec
• Minitest
DEBUGGING TOOL
• Pry
• Byebug
DESIGN PATTERN
• Singleton
• Dependency Injection
• https://github.com/piscolomo/ruby-patterns
&
•
• debugging tool binding
•
• Integration test
• Behavior
• Setup Dependency
BINDING
• Inspect
• method source
• Method Call
•
• awesome-rails-gem
• formtastic, simple_form, html-pipeline
•
•
KEEP IN MIND
•
•
• reject
•