Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add gemspec.

  • Loading branch information...
commit 4878bd86cceea1fd1c772190a075d9322adcf12e 1 parent d516959
@huerlisi huerlisi authored
Showing with 100 additions and 0 deletions.
  1. +22 −0 Rakefile
  2. +1 −0  VERSION
  3. +77 −0 event_calendar.gemspec
View
22 Rakefile
@@ -3,6 +3,28 @@ require 'rake/testtask'
require 'rake/rdoctask'
require 'spec/rake/spectask'
+begin
+ require 'jeweler'
+
+ Jeweler::Tasks.new do |gem|
+ gem.name = "event_calendar"
+ gem.summary = "Event Calendar"
+ gem.email = "info@cyt.ch"
+ gem.description = "Generates a calendar with events that span more than one day."
+ gem.files = FileList["[A-Z]*", "{lib,rails}/**/*"]
+ gem.authors = ["Jeff Schuil"]
+ gem.homepage = "http://github.com/huerlisi/event_calendar"
+ gem.require_path = 'lib'
+ gem.files = %w(MIT-LICENSE CHANGELOG.rdoc README.rdoc Rakefile) + Dir.glob("{lib,generators,spec}/**/*")
+ # Runtime dependencies: When installing event_calendar these will be checked if they are installed.
+ # Will be offered to install these if they are not already installed.
+ gem.add_dependency 'activerecord'
+ end
+
+ Jeweler::GemcutterTasks.new
+rescue
+ puts "Jeweler or one of its dependencies is not installed."
+end
task :default => :spec
desc "Run all specs"
View
1  VERSION
@@ -0,0 +1 @@
+2.3.1
View
77 event_calendar.gemspec
@@ -0,0 +1,77 @@
+# 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{event_calendar}
+ s.version = "2.3.1"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Jeff Schuil"]
+ s.date = %q{2010-11-17}
+ s.description = %q{Generates a calendar with events that span more than one day.}
+ s.email = %q{info@cyt.ch}
+ s.extra_rdoc_files = [
+ "README.rdoc"
+ ]
+ s.files = [
+ "CHANGELOG.rdoc",
+ "MIT-LICENSE",
+ "README.rdoc",
+ "Rakefile",
+ "generators/event_calendar/USAGE",
+ "generators/event_calendar/event_calendar_generator.rb",
+ "generators/event_calendar/lib/insert_routes.rb",
+ "generators/event_calendar/templates/controller.rb.erb",
+ "generators/event_calendar/templates/helper.rb.erb",
+ "generators/event_calendar/templates/javascript.js",
+ "generators/event_calendar/templates/jq_javascript.js",
+ "generators/event_calendar/templates/migration.rb.erb",
+ "generators/event_calendar/templates/model.rb.erb",
+ "generators/event_calendar/templates/stylesheet.css",
+ "generators/event_calendar/templates/view.html.erb",
+ "lib/event_calendar.rb",
+ "lib/event_calendar/calendar_helper.rb",
+ "lib/event_calendar/railtie.rb",
+ "lib/generators/event_calendar/USAGE",
+ "lib/generators/event_calendar/event_calendar_generator.rb",
+ "lib/generators/event_calendar/templates/controller.rb.erb",
+ "lib/generators/event_calendar/templates/helper.rb.erb",
+ "lib/generators/event_calendar/templates/javascript.js",
+ "lib/generators/event_calendar/templates/jq_javascript.js",
+ "lib/generators/event_calendar/templates/migration.rb.erb",
+ "lib/generators/event_calendar/templates/model.rb.erb",
+ "lib/generators/event_calendar/templates/stylesheet.css",
+ "lib/generators/event_calendar/templates/view.html.erb",
+ "lib/tasks/event_calendar_tasks.rake",
+ "spec/event_calendar_spec.rb",
+ "spec/fixtures/models.rb",
+ "spec/spec.opts",
+ "spec/spec_helper.rb"
+ ]
+ s.homepage = %q{http://github.com/huerlisi/event_calendar}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.6}
+ s.summary = %q{Event Calendar}
+ s.test_files = [
+ "spec/event_calendar_spec.rb",
+ "spec/fixtures/models.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_runtime_dependency(%q<activerecord>, [">= 0"])
+ else
+ s.add_dependency(%q<activerecord>, [">= 0"])
+ end
+ else
+ s.add_dependency(%q<activerecord>, [">= 0"])
+ end
+end
+
Please sign in to comment.
Something went wrong with that request. Please try again.