How a gem works (ruby programming)

Preview:

Citation preview

Howa GemWorks!

Patrick Müller

@patrickemuller

Github: mpatrick

2 years > experience

Who I?am

www.codeland.com.br

Whatis aGem?

Whatis eachfile andfolder?

Gemfile

Rakefile

Lib folder

.gem file.gemspec file

spec folderfixtures folder

Gemspec

What can Ihave insidemy Gem?

Views

Controllers

Models

Scripts Tests

Extensions

Can Itest It?

YOU SHOULD DO IT!!!

IntegrationTests...

Extensions

PostgreSQL

MySQLjRuby

Nokogiri

May I usethis onlyremotely?

But howcan Ipublishit?

PrivateGems

Help Kit

https://github.com/radar/guides/blob/master/gem-development.md !

!

!

http://rubylearning.com/blog/2010/12/14/ruby-gems-—-what-why-and-how/

Thank You!

Recommended