Permalink
Browse files

Remove jeweler

  • Loading branch information...
1 parent 5ed29fc commit 17ab8b5af9ab3cc3c427b5a3abb8b4f264989e94 @peakpg peakpg committed May 23, 2011
Showing with 3 additions and 63 deletions.
  1. +3 −25 bcms_news.gemspec
  2. +0 −38 lib/tasks/build_gem.rake
View
28 bcms_news.gemspec
@@ -1,11 +1,6 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
-# -*- encoding: utf-8 -*-
-
Gem::Specification.new do |s|
s.name = %q{bcms_news}
- s.version = "1.2.0"
+ s.version = "1.2.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["BrowserMedia"]
@@ -52,25 +47,8 @@ Gem::Specification.new do |s|
"test/unit/recent_news_portlet_test.rb"
]
- if s.respond_to? :specification_version then
- s.specification_version = 3
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<rails>, ["= 3.0.3"])
- s.add_runtime_dependency(%q<browsercms>, ["= 3.3.0"])
- s.add_development_dependency(%q<mysql>, [">= 0"])
- s.add_development_dependency(%q<jeweler>, [">= 0"])
- else
- s.add_dependency(%q<rails>, ["= 3.0.3"])
- s.add_dependency(%q<browsercms>, ["= 3.3.0"])
- s.add_dependency(%q<mysql>, [">= 0"])
- s.add_dependency(%q<jeweler>, [">= 0"])
- end
- else
- s.add_dependency(%q<rails>, ["= 3.0.3"])
- s.add_dependency(%q<browsercms>, ["= 3.3.0"])
- s.add_dependency(%q<mysql>, [">= 0"])
- s.add_dependency(%q<jeweler>, [">= 0"])
- end
+ s.add_dependency(%q<browsercms>, [">= 3.3.0"])
+
end
View
38 lib/tasks/build_gem.rake
@@ -1,38 +0,0 @@
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gemspec|
- gemspec.name = "bcms_news"
- gemspec.rubyforge_project = "browsercms"
- gemspec.summary = "The News Module for BrowserCMS"
- gemspec.email = "github@browsermedia.com"
- gemspec.homepage = "http://browsercms.org"
- gemspec.description = "The News Module for BrowserCMS"
- gemspec.authors = ["BrowserMedia"]
- gemspec.files = Dir["app/controllers/news_articles_controller.rb"]
- gemspec.files += Dir["app/controllers/cms/news_articles_controller.rb"]
- gemspec.files += Dir["app/models/news_article.rb"]
- gemspec.files += Dir["app/portlets/*"]
- gemspec.files += Dir["app/views/news_articles/*"]
- gemspec.files += Dir["app/views/cms/news_articles/*"]
- gemspec.files += Dir["app/views/portlets/**/*"]
- gemspec.files += Dir["db/migrate/*.rb"]
- gemspec.files -= Dir["db/migrate/*_browsercms_*.rb"]
- gemspec.files += Dir["lib/**/*"]
- gemspec.files -= Dir["lib/tasks/build_gem.rake"] # Remove this from packaging in gem
-
-
- end
-rescue LoadError
- puts "Jeweler not available. Install it with: gem install jeweler"
-end
-
-# These are new tasks
-begin
- require 'rake/contrib/sshpublisher'
- namespace :rubyforge do
- desc "Release gem and RDoc documentation to RubyForge"
- task :release => ["rubyforge:release:gem"]
- end
-rescue LoadError
- puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
-end

0 comments on commit 17ab8b5

Please sign in to comment.