Permalink
Browse files

Dropped Jeweler and Bundler for Ore.

  • Loading branch information...
1 parent 5028dce commit 89b7d5fab9b20721db11e85e6ce723cbb3189f8d @postmodern committed Oct 27, 2010
Showing with 40 additions and 77 deletions.
  1. +3 −0 .document
  2. +0 −2 .gitignore
  3. +0 −19 Gemfile
  4. +0 −32 Gemfile.lock
  5. +20 −24 Rakefile
  6. +17 −0 gemspec.yml
View
@@ -0,0 +1,3 @@
+-
+LICENSE.txt
+ChangeLog.md
View
@@ -1,9 +1,7 @@
pkg
doc
web
-tmp
.DS_Store
-.bundle
.yardoc
*.swp
*~
View
@@ -1,19 +0,0 @@
-source 'https://rubygems.org'
-
-group(:development) do
- gem 'rake', '~> 0.8.7'
- gem 'jeweler', '~> 1.5.0.pre'
-end
-
-group(:doc) do
- case RUBY_PLATFORM
- when 'java'
- gem 'maruku', '~> 0.6.0'
- else
- gem 'rdiscount', '~> 1.6.3'
- end
-
- gem 'yard', '~> 0.6.0'
-end
-
-gem 'rspec', '~> 2.0.0', :group => [:development, :test]
View
@@ -1,32 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- diff-lcs (1.1.2)
- git (1.2.5)
- jeweler (1.5.0.pre3)
- bundler (~> 1.0.0)
- git (>= 1.2.5)
- rake
- rake (0.8.7)
- rdiscount (1.6.5)
- rspec (2.0.0)
- rspec-core (= 2.0.0)
- rspec-expectations (= 2.0.0)
- rspec-mocks (= 2.0.0)
- rspec-core (2.0.0)
- rspec-expectations (2.0.0)
- diff-lcs (>= 1.1.2)
- rspec-mocks (2.0.0)
- rspec-core (= 2.0.0)
- rspec-expectations (= 2.0.0)
- yard (0.6.1)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- jeweler (~> 1.5.0.pre)
- rake (~> 0.8.7)
- rdiscount (~> 1.6.3)
- rspec (~> 2.0.0)
- yard (~> 0.6.0)
View
@@ -1,33 +1,29 @@
require 'rubygems'
-require 'bundler'
+require 'rake'
begin
- Bundler.setup(:development, :doc)
-rescue Bundler::BundlerError => e
+ require 'ore/tasks'
+ Ore::Tasks.new
+rescue LoadError => e
STDERR.puts e.message
- STDERR.puts "Run `bundle install` to install missing gems"
- exit e.status_code
+ STDERR.puts "Run `gem install ore-tasks` to install 'ore/tasks'."
end
-require 'rake'
-require 'jeweler'
-require './lib/raingrams/version.rb'
-
-Jeweler::Tasks.new do |gem|
- gem.name = 'raingrams'
- gem.version = Raingrams::VERSION
- gem.license = 'MIT'
- gem.summary = %Q{A flexible and general-purpose ngrams library written in Ruby.}
- gem.description = %Q{Raingrams is a flexible and general-purpose ngrams library written in Ruby. Raingrams supports ngram sizes greater than 1, text/non-text grams, multiple parsing styles and open/closed vocabulary models.}
- gem.email = 'postmodern.mod3@gmail.com'
- gem.homepage = 'http://github.com/postmodern/raingrams'
- gem.authors = ['Postmodern']
- gem.has_rdoc = 'yard'
+begin
+ require 'rspec/core/rake_task'
+ RSpec::Core::RakeTask.new
+rescue LoadError => e
+ task :spec do
+ abort "Please run `gem install rspec` to install RSpec."
+ end
end
-
-require 'rspec/core/rake_task'
-RSpec::Core::RakeTask.new
task :default => :spec
-require 'yard'
-YARD::Rake::YardocTask.new
+begin
+ require 'yard'
+ YARD::Rake::YardocTask.new
+rescue LoadError => e
+ task :yard do
+ abort "Please run `gem install yard` to install YARD."
+ end
+end
View
@@ -0,0 +1,17 @@
+name: raingrams
+summary: A flexible and general-purpose ngrams library written in Ruby.
+description:
+ Raingrams is a flexible and general-purpose ngrams library written in
+ Ruby. Raingrams supports ngram sizes greater than 1, text/non-text grams,
+ multiple parsing styles and open/closed vocabulary models.
+license: MIT
+authors: Postmodern
+email: postmodern.mod3@gmail.com
+homepage: http://github.com/postmodern/raingrams
+has_yard: true
+
+development_dependencies:
+ ore: ~> 0.1.0
+ ore-tasks: ~> 0.1.0
+ rspec: ~> 2.0.0
+ yard: ~> 0.6.0

0 comments on commit 89b7d5f

Please sign in to comment.