Permalink
Browse files

adding episode 245

  • Loading branch information...
1 parent a3f934a commit 95af2e35ebeb817d5bb7c31b57f836e821072962 @ryanb committed Dec 20, 2010
View
@@ -0,0 +1,13 @@
+Railscasts Episode #245: New Gem with Bundler
+
+http://railscasts.com/episodes/245
+
+Commands
+
+ gem build lorem.gemspec
+ gem push lorem-0.0.1.gem
+ bundle
+ rake -T
+ rake build
+ rake install
+ rake release
@@ -0,0 +1,3 @@
+pkg/*
+*.gem
+.bundle
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in lorem.gemspec
+gemspec
@@ -0,0 +1,24 @@
+PATH
+ remote: .
+ specs:
+ lorem (0.0.2)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ diff-lcs (1.1.2)
+ rspec (2.3.0)
+ rspec-core (~> 2.3.0)
+ rspec-expectations (~> 2.3.0)
+ rspec-mocks (~> 2.3.0)
+ rspec-core (2.3.1)
+ rspec-expectations (2.3.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.3.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ lorem!
+ rspec
@@ -0,0 +1,2 @@
+require 'bundler'
+Bundler::GemHelper.install_tasks
@@ -0,0 +1,5 @@
+module Lorem
+ def self.ipsum
+ "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
+ end
+end
@@ -0,0 +1,3 @@
+module Lorem
+ VERSION = "0.0.2"
+end
@@ -0,0 +1,23 @@
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "lorem/version"
+
+Gem::Specification.new do |s|
+ s.name = "lorem"
+ s.version = Lorem::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["Ryan Bates"]
+ s.email = ["ryan@railscasts.com"]
+ s.homepage = ""
+ s.summary = %q{Lorem ipsum generator}
+ s.description = %q{Simply generates lorem ipsum text.}
+
+ s.add_development_dependency "rspec"
+
+ s.rubyforge_project = "lorem"
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
+end

0 comments on commit 95af2e3

Please sign in to comment.