Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

getting specs working and generated gemspec

  • Loading branch information...
commit 0506555f47daeab2dcc3c17d8d4367746d6c83c5 1 parent e980cc8
@ryanb authored
View
10 Manifest
@@ -0,0 +1,10 @@
+CHANGELOG
+lib/render_caching.rb
+LICENSE
+Manifest
+README
+spec/render-caching/controller_additions_spec.rb
+spec/spec_helper.rb
+tasks/deployment.rake
+tasks/spec.rake
+TODO
View
2  lib/render_caching.rb
@@ -0,0 +1,2 @@
+$:.unshift(File.dirname(__FILE__))
+require 'render-caching/controller_additions'
View
50 render-caching.gemspec
@@ -0,0 +1,50 @@
+
+# Gem::Specification for Render-caching-0.1.0
+# Originally generated by Echoe
+
+Gem::Specification.new do |s|
+ s.name = %q{render-caching}
+ s.version = "0.1.0"
+
+ s.specification_version = 2 if s.respond_to? :specification_version=
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Ryan Bates"]
+ s.date = %q{2008-06-19}
+ s.description = %q{Cache render calls in Rails controllers.}
+ s.email = %q{ryan (at) railscasts (dot) com}
+ s.extra_rdoc_files = ["CHANGELOG", "lib/render_caching.rb", "LICENSE", "README", "tasks/deployment.rake", "tasks/spec.rake", "TODO"]
+ s.files = ["CHANGELOG", "lib/render_caching.rb", "LICENSE", "README", "spec/render-caching/controller_additions_spec.rb", "spec/spec_helper.rb", "tasks/deployment.rake", "tasks/spec.rake", "TODO", "Manifest", "render-caching.gemspec"]
+ s.has_rdoc = true
+ s.homepage = %q{http://github.com/ryanb/render-caching}
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Render-caching", "--main", "README"]
+ s.require_paths = ["lib"]
+ s.rubyforge_project = %q{render-caching}
+ s.rubygems_version = %q{1.0.0}
+ s.summary = %q{Cache render calls in Rails controllers.}
+end
+
+
+# # Original Rakefile source (requires the Echoe gem):
+#
+# require 'rubygems'
+# require 'rake'
+#
+# begin
+# require 'echoe'
+#
+# Echoe.new('render-caching', '0.1.0') do |p|
+# p.summary = "Cache render calls in Rails controllers."
+# p.description = "Cache render calls in Rails controllers."
+# p.url = "http://github.com/ryanb/render-caching"
+# p.author = 'Ryan Bates'
+# p.email = "ryan (at) railscasts (dot) com"
+# p.ignore_pattern = ["script/*", "*.gemspec"]
+# end
+#
+# rescue LoadError => boom
+# puts "You are missing a dependency required for meta-operations on this gem."
+# puts "#{boom.to_s.capitalize}."
+# end
+#
+# Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
View
5 spec/render-caching/controller_additions_spec.rb
@@ -0,0 +1,5 @@
+require File.dirname(__FILE__) + '/../spec_helper'
+
+describe RenderCaching::ControllerAdditions do
+ it "should add render_with_cache method to controller"
+end
View
9 tasks/spec.rake
@@ -0,0 +1,9 @@
+require 'spec/rake/spectask'
+
+spec_files = Rake::FileList["spec/**/*_spec.rb"]
+
+desc "Run specs"
+Spec::Rake::SpecTask.new do |t|
+ t.spec_files = spec_files
+ t.spec_opts = ["-c"]
+end
Please sign in to comment.
Something went wrong with that request. Please try again.