This slide deck was presented at the February meetup of Full Stack in Calrsbad, CA. Video of the presentation is available here: https://vimeo.com/60885543
install hello_world ----------------------------> HelloWorld $ gem install rails-hello_world ----------------------> Rails::HelloWorld ‣ Dashes for extensions ‣ Make sure your name is available Thursday, February 28, 13
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ... LICENSE.txt Thursday, February 28, 13
test/test_secret_agent.rb test/test_secret_agent.rb require 'test/unit' require 'secret_agent' class SecretAgentTest < Test::Unit::TestCase end Thursday, February 28, 13
Your code goes here... end lib/secret_agent.rb require "secret_agent/version" module SecretAgent end def self.greet(name = nil) "Greetings Agent #{name}".strip end Thursday, February 28, 13
to your application's Gemfile: gem 'secret_agent' And then execute: $ bundle Or install it yourself as: $ gem install secret_agent ... README.md TODO: Write a gem description Thursday, February 28, 13
to your application's Gemfile: gem 'secret_agent' And then execute: $ bundle Or install it yourself as: $ gem install secret_agent ... README.md Greet secret agents in style. Thursday, February 28, 13
here ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request README.md Thursday, February 28, 13
Fork it ... Once you've installed the gem, you can include the gem in your application: require 'secret_agent' puts SecretAgent.greet('Archer') #=> Greetings Agent Archer You can also use the gem as a command line utility: $ secret_agent Figgis Greetings Agent Figgis Thursday, February 28, 13