Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove Jeweler and bump to 1.2.

  • Loading branch information...
commit bcd63f7f92bf1bfd146b2840e31312d0c40c1bab 1 parent 8bd1fda
@josevalim authored
View
5 README.rdoc
@@ -5,9 +5,10 @@ all restful actions so you just have to focus on what is important. It makes
your controllers more powerful and cleaner at the same time.
Plus, making your controllers follow a pattern, it helps you to write better
-code by following fat models and skinny controllers convention. There is
-a screencast made by Fabio Akita about its features:
+code by following fat models and skinny controllers convention. There are
+two screencasts available besides this README:
+http://railscasts.com/episodes/230-inherited-resources
http://akitaonrails.com/2009/09/01/screencast-real-thin-restful-controllers-with-inherited-resources
== Installation
View
22 Rakefile
@@ -3,28 +3,6 @@
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
-require File.join(File.dirname(__FILE__), 'lib', 'inherited_resources', 'version')
-
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |s|
- s.name = "inherited_resources"
- s.version = InheritedResources::VERSION.dup
- s.rubyforge_project = "inherited_resources"
- s.summary = "Inherited Resources speeds up development by making your controllers inherit all restful actions so you just have to focus on what is important."
- s.email = "jose.valim@gmail.com"
- s.homepage = "http://github.com/josevalim/inherited_resources"
- s.description = "Inherited Resources speeds up development by making your controllers inherit all restful actions so you just have to focus on what is important."
- s.authors = ['José Valim']
- s.files = FileList["[A-Z]*", "init.rb", "{lib}/**/*"]
- s.add_dependency("responders", "~> 0.6.0")
- s.add_dependency("has_scope", "~> 0.5.0")
- end
-
- Jeweler::GemcutterTasks.new
-rescue LoadError
- puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
-end
desc 'Run tests for InheritedResources.'
Rake::TestTask.new(:test) do |t|
View
92 inherited_resources.gemspec
@@ -1,80 +1,24 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "inherited_resources/version"
Gem::Specification.new do |s|
- s.name = %q{inherited_resources}
- s.version = "1.1.2"
+ s.name = "inherited_resources"
+ s.version = InheritedResources::VERSION.dup
+ s.platform = Gem::Platform::RUBY
+ s.summary = "Inherited Resources speeds up development by making your controllers inherit all restful actions so you just have to focus on what is important."
+ s.email = "developers@plataformatec.com.br"
+ s.homepage = "http://github.com/josevalim/inherited_resources"
+ s.description = "Inherited Resources speeds up development by making your controllers inherit all restful actions so you just have to focus on what is important."
+ s.authors = ['José Valim']
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Jos\303\251 Valim"]
- s.date = %q{2010-04-03}
- s.description = %q{Inherited Resources speeds up development by making your controllers inherit all restful actions so you just have to focus on what is important.}
- s.email = %q{jose.valim@gmail.com}
- s.extra_rdoc_files = [
- "README.rdoc"
- ]
- s.files = [
- "CHANGELOG",
- "MIT-LICENSE",
- "README.rdoc",
- "Rakefile",
- "lib/generators/rails/USAGE",
- "lib/generators/rails/inherited_resources_controller_generator.rb",
- "lib/generators/rails/templates/controller.rb",
- "lib/inherited_resources.rb",
- "lib/inherited_resources/actions.rb",
- "lib/inherited_resources/base.rb",
- "lib/inherited_resources/base_helpers.rb",
- "lib/inherited_resources/belongs_to_helpers.rb",
- "lib/inherited_resources/blank_slate.rb",
- "lib/inherited_resources/class_methods.rb",
- "lib/inherited_resources/dsl.rb",
- "lib/inherited_resources/polymorphic_helpers.rb",
- "lib/inherited_resources/responder.rb",
- "lib/inherited_resources/singleton_helpers.rb",
- "lib/inherited_resources/url_helpers.rb",
- "lib/inherited_resources/version.rb"
- ]
- s.homepage = %q{http://github.com/josevalim/inherited_resources}
- s.rdoc_options = ["--charset=UTF-8"]
- s.require_paths = ["lib"]
- s.rubyforge_project = %q{inherited_resources}
- s.rubygems_version = %q{1.3.6}
- s.summary = %q{Inherited Resources speeds up development by making your controllers inherit all restful actions so you just have to focus on what is important.}
- s.test_files = [
- "test/aliases_test.rb",
- "test/association_chain_test.rb",
- "test/base_test.rb",
- "test/belongs_to_test.rb",
- "test/class_methods_test.rb",
- "test/customized_base_test.rb",
- "test/customized_belongs_to_test.rb",
- "test/defaults_test.rb",
- "test/nested_belongs_to_test.rb",
- "test/optional_belongs_to_test.rb",
- "test/polymorphic_test.rb",
- "test/redirect_to_test.rb",
- "test/singleton_test.rb",
- "test/test_helper.rb",
- "test/url_helpers_test.rb"
- ]
-
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ s.rubyforge_project = "inherited_resources"
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<responders>, ["~> 0.6.0"])
- s.add_runtime_dependency(%q<has_scope>, ["~> 0.5.0"])
- else
- s.add_dependency(%q<responders>, ["~> 0.6.0"])
- s.add_dependency(%q<has_scope>, ["~> 0.5.0"])
- end
- else
- s.add_dependency(%q<responders>, ["~> 0.6.0"])
- s.add_dependency(%q<has_scope>, ["~> 0.5.0"])
- end
-end
+ 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"]
+ s.add_dependency("responders", "~> 0.6.0")
+ s.add_dependency("has_scope", "~> 0.5.0")
+end
View
2  lib/inherited_resources/version.rb
@@ -1,3 +1,3 @@
module InheritedResources
- VERSION = '1.1.2'.freeze
+ VERSION = '1.2.0'.freeze
end
Please sign in to comment.
Something went wrong with that request. Please try again.