Permalink
Browse files

Adding gemspec, etc. for initial release

  • Loading branch information...
1 parent de5099c commit 255ebefded343f0b5492f74bc185dd0b50322970 @rsinger committed Sep 20, 2010
Showing with 89 additions and 0 deletions.
  1. +21 −0 LICENSE
  2. +16 −0 Rakefile.rb
  3. +52 −0 frbr.gemspec
View
@@ -0,0 +1,21 @@
+The MIT License
+
+Copyright (c) 2010 Ross Singer
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
@@ -10,4 +10,20 @@
t.spec_files = FileList["specs/*.rb"]
+end
+
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gemspec|
+ gemspec.name = "frbr"
+ gemspec.summary = "A set of modules for creating simple FRBR relationships between objects."
+ gemspec.description = "A set of modules for creating simple FRBR (Functional Requirements for Bibliographic Resources) relationships between objects. Includes Group 1, 2 and 3 entities."
+ gemspec.email = "rossfsinger@gmail.com"
+ gemspec.homepage = "http://github.com/rsinger/ruby-frbr"
+ gemspec.authors = ["Ross Singer"]
+ gemspec.files = Dir.glob("{lib,spec}/**/*") + ["README", "LICENSE"]
+ gemspec.require_path = 'lib'
+ end
+rescue LoadError
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
View
@@ -0,0 +1,52 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile.rb, and run the gemspec command
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{frbr}
+ s.version = "0.1.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Ross Singer"]
+ s.date = %q{2010-09-20}
+ s.description = %q{A set of modules for creating simple FRBR (Functional Requirements for Bibliographic Resources) relationships between objects. Includes Group 1, 2 and 3 entities.}
+ s.email = %q{rossfsinger@gmail.com}
+ s.extra_rdoc_files = [
+ "LICENSE",
+ "README"
+ ]
+ s.files = [
+ "LICENSE",
+ "README",
+ "lib/frbr.rb",
+ "lib/frbr/concept.rb",
+ "lib/frbr/corporate_body.rb",
+ "lib/frbr/event.rb",
+ "lib/frbr/expression.rb",
+ "lib/frbr/family.rb",
+ "lib/frbr/groups.rb",
+ "lib/frbr/item.rb",
+ "lib/frbr/manifestation.rb",
+ "lib/frbr/object.rb",
+ "lib/frbr/person.rb",
+ "lib/frbr/place.rb",
+ "lib/frbr/work.rb"
+ ]
+ s.homepage = %q{http://github.com/rsinger/ruby-frbr}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.7}
+ s.summary = %q{A set of modules for creating simple FRBR relationships between objects.}
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ else
+ end
+ else
+ end
+end
+

0 comments on commit 255ebef

Please sign in to comment.