Skip to content

Commit

Permalink
example gem inital commit
Browse files Browse the repository at this point in the history
  • Loading branch information
qrush committed Apr 29, 2011
0 parents commit 9498b0b
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
27 changes: 27 additions & 0 deletions hola.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{hola}
s.version = "0.0.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Nick Quaranto"]
s.date = %q{2010-10-03}
s.description = %q{A simple hello world gem}
s.email = %q{[email protected]}
s.files = ["lib/hola.rb"]
s.homepage = %q{https://rubygems.org/gems/hola}
s.require_paths = ["lib"]
s.rubygems_version = %q{1.6.2}
s.summary = %q{Hola!}

if s.respond_to? :specification_version then
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
else
end
else
end
end

5 changes: 5 additions & 0 deletions lib/hola.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class Hola
def self.hi
puts "Hello world!"
end
end

0 comments on commit 9498b0b

Please sign in to comment.