Permalink
Browse files

Add proper gem description

  • Loading branch information...
1 parent 716c4aa commit d25a01db057314bed76cfb85e9378cbf360ddd75 @iain committed Dec 13, 2009
Showing with 60 additions and 2 deletions.
  1. +3 −2 Rakefile
  2. +57 −0 object_scoped_i18n.gemspec
View
5 Rakefile
@@ -5,8 +5,9 @@ begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "object_scoped_i18n"
- gem.summary = %Q{TODO: one-line summary of your gem}
- gem.description = %Q{TODO: longer description of your gem}
+ gem.summary = %Q{Translate using i18n and scope it according to the object's place in Ruby's hierarchial structure}
+ gem.description = %Q{Translate using i18n and scope it according to the object's place in Ruby's hierarchial structure.
+ Using ancestors to build up the default option of I18n.translate. Works in much the same way as ActiveRecords human_attribute_name}
gem.email = "iain@iain.nl"
gem.homepage = "http://github.com/iain/object_scoped_i18n"
gem.authors = ["Iain Hecker"]
View
57 object_scoped_i18n.gemspec
@@ -0,0 +1,57 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{object_scoped_i18n}
+ s.version = "0.1.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Iain Hecker"]
+ s.date = %q{2009-12-13}
+ s.description = %q{Translate using i18n and scope it according to the object's place in Ruby's hierarchial structure.
+ Using ancestors to build up the default option of I18n.translate. Works in much the same way as ActiveRecords human_attribute_name}
+ s.email = %q{iain@iain.nl}
+ s.extra_rdoc_files = [
+ "README.rdoc"
+ ]
+ s.files = [
+ ".document",
+ ".gitignore",
+ "README.rdoc",
+ "Rakefile",
+ "VERSION",
+ "lib/object_scoped_i18n.rb",
+ "spec/locale.yml",
+ "spec/object_scoped_i18n_spec.rb",
+ "spec/spec.opts",
+ "spec/spec_helper.rb"
+ ]
+ s.homepage = %q{http://github.com/iain/object_scoped_i18n}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.5}
+ s.summary = %q{Translate using i18n and scope it according to the object's place in Ruby's hierarchial structure}
+ s.test_files = [
+ "spec/object_scoped_i18n_spec.rb",
+ "spec/spec_helper.rb"
+ ]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
+ s.add_runtime_dependency(%q<i18n>, [">= 0"])
+ else
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
+ s.add_dependency(%q<i18n>, [">= 0"])
+ end
+ else
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
+ s.add_dependency(%q<i18n>, [">= 0"])
+ end
+end
+

0 comments on commit d25a01d

Please sign in to comment.