Permalink
Browse files

Remove jeweler to fix dependency hell

  • Loading branch information...
1 parent 92fc9fc commit 78b4b4c2c06c69b090987f7442de46e5a28ef46a @rafaelfranca rafaelfranca committed Apr 25, 2011
Showing with 35 additions and 210 deletions.
  1. +4 −0 Gemfile
  2. +4 −35 Gemfile.lock
  3. +3 −24 Rakefile
  4. +5 −0 lib/mongoid-ancestry/version.rb
  5. 0 log/.gitkeep
  6. +19 −151 mongoid-ancestry.gemspec
View
@@ -1,3 +1,7 @@
source :rubygems
gemspec
+
+group :test do
+ gem 'rspec', '~> 2.5'
+end
View
@@ -1,75 +1,44 @@
PATH
remote: .
specs:
- mongoid-ancestry (0.2.0)
+ mongoid-ancestry (0.2.1)
bson_ext (~> 1.3)
mongoid (~> 2.0)
- mongoid-ancestry
GEM
remote: http://rubygems.org/
specs:
- activemodel (3.0.6)
- activesupport (= 3.0.6)
+ activemodel (3.0.7)
+ activesupport (= 3.0.7)
builder (~> 2.1.2)
i18n (~> 0.5.0)
- activesupport (3.0.6)
+ activesupport (3.0.7)
bson (1.3.0)
bson_ext (1.3.0)
builder (2.1.2)
- chalofa_ruby-progressbar (0.0.9.1)
- configuration (1.2.0)
diff-lcs (1.1.2)
- ffi (1.0.7)
- rake (>= 0.8.7)
- fuubar (0.0.4)
- chalofa_ruby-progressbar (~> 0.0.9)
- rspec (~> 2.0)
- rspec-instafail (~> 0.1.4)
- guard (0.3.0)
- open_gem (~> 1.4.2)
- thor (~> 0.14.6)
- guard-rspec (0.2.0)
- guard (>= 0.2.2)
i18n (0.5.0)
- launchy (0.3.7)
- configuration (>= 0.0.5)
- rake (>= 0.8.1)
- libnotify (0.3.0)
- ffi (>= 0.6.2)
mongo (1.3.0)
bson (>= 1.3.0)
mongoid (2.0.1)
activemodel (~> 3.0)
mongo (~> 1.3)
tzinfo (~> 0.3.22)
will_paginate (~> 3.0.pre)
- open_gem (1.4.2)
- launchy (~> 0.3.5)
- rake (0.8.7)
- rb-inotify (0.8.4)
- ffi (>= 0.5.0)
rspec (2.5.0)
rspec-core (~> 2.5.0)
rspec-expectations (~> 2.5.0)
rspec-mocks (~> 2.5.0)
rspec-core (2.5.1)
rspec-expectations (2.5.0)
diff-lcs (~> 1.1.2)
- rspec-instafail (0.1.7)
rspec-mocks (2.5.0)
- thor (0.14.6)
tzinfo (0.3.26)
will_paginate (3.0.pre2)
PLATFORMS
ruby
DEPENDENCIES
- bundler (~> 1.0)
- fuubar (~> 0.0.4)
- guard-rspec (~> 0.2)
- libnotify (~> 0.3)
mongoid-ancestry!
- rb-inotify (~> 0.8)
rspec (~> 2.5)
View
@@ -1,27 +1,6 @@
-require 'rubygems'
-
-require 'rake'
-
-require 'jeweler'
-Jeweler::Tasks.new do |gem|
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
- gem.name = "mongoid-ancestry"
- gem.homepage = "http://github.com/skyeagle/mongoid-ancestry"
- gem.license = "MIT"
- gem.summary = %Q{'Ancestry allows the records of a Mongoid model to be organised in a tree structure, using a single, intuitively formatted database field. It exposes all the standard tree structure relations (ancestors, parent, root, children, siblings, descendants) and all of them can be fetched in a single query. Additional features are named_scopes, integrity checking, integrity restoration, arrangement of (sub)tree into hashes and different strategies for dealing with orphaned records.'}
- gem.description = %Q{Organise Mongoid model into a tree structure}
- gem.email = "eagle.anton@gmail.com"
- gem.authors = ["Stefan Kroes", "Anton Orel"]
- gem.add_runtime_dependency('mongoid', '~> 2.0')
- gem.add_runtime_dependency('bson_ext', '~> 1.3')
- gem.add_development_dependency 'rspec', '~> 2.5'
- gem.add_development_dependency 'bundler', '~> 1.0'
- gem.add_development_dependency 'guard-rspec', '~> 0.2'
- gem.add_development_dependency 'libnotify', '~> 0.3'
- gem.add_development_dependency 'rb-inotify', '~> 0.8'
- gem.add_development_dependency 'fuubar', '~> 0.0.4'
-end
-Jeweler::RubygemsDotOrgTasks.new
+require 'bundler'
+Bundler.setup
+Bundler::GemHelper.install_tasks
require 'rspec/core'
require 'rspec/core/rake_task'
@@ -0,0 +1,5 @@
+module Mongoid
+ module Ancestry
+ VERSION = '0.2.1'
+ end
+end
View
No changes.
View
@@ -1,161 +1,29 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "mongoid-ancestry/version"
Gem::Specification.new do |s|
- s.name = %q{mongoid-ancestry}
- s.version = "0.2.1"
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Stefan Kroes", "Anton Orel"]
- s.date = %q{2011-04-20}
+ s.name = 'mongoid-ancestry'
+ s.version = Mongoid::Ancestry::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["Stefan Kroes", "Anton Orel"]
+ s.email = ["eagle.anton@gmail.com"]
s.description = %q{Organise Mongoid model into a tree structure}
- s.email = %q{eagle.anton@gmail.com}
+ s.homepage = "http://github.com/skyeagle/mongoid-ancestry"
+ s.summary = %q{Ancestry allows the records of a Mongoid model to be organised in a tree structure, using a single, intuitively formatted database field. It exposes all the standard tree structure relations (ancestors, parent, root, children, siblings, descendants) and all of them can be fetched in a single query. Additional features are named_scopes, integrity checking, integrity restoration, arrangement of (sub)tree into hashes and different strategies for dealing with orphaned records.}
+ s.licenses = ["MIT"]
+
+ s.rubyforge_project = "mongoid-ancestry"
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
s.extra_rdoc_files = [
"README.md"
]
- s.files = [
- "Gemfile",
- "Gemfile.lock",
- "Guardfile",
- "MIT-LICENSE",
- "README.md",
- "Rakefile",
- "VERSION",
- "init.rb",
- "install.rb",
- "lib/mongoid-ancestry.rb",
- "lib/mongoid-ancestry/class_methods.rb",
- "lib/mongoid-ancestry/exceptions.rb",
- "lib/mongoid-ancestry/instance_methods.rb",
- "log/.gitkeep",
- "mongoid-ancestry.gemspec",
- "spec/lib/ancestry_spec.rb",
- "spec/lib/mongoid-ancestry/class_methods_spec.rb",
- "spec/lib/mongoid-ancestry/instance_methods_spec.rb",
- "spec/spec_helper.rb",
- "spec/support/models.rb"
- ]
- s.homepage = %q{http://github.com/skyeagle/mongoid-ancestry}
- s.licenses = ["MIT"]
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.5.2}
- s.summary = %q{'Ancestry allows the records of a Mongoid model to be organised in a tree structure, using a single, intuitively formatted database field. It exposes all the standard tree structure relations (ancestors, parent, root, children, siblings, descendants) and all of them can be fetched in a single query. Additional features are named_scopes, integrity checking, integrity restoration, arrangement of (sub)tree into hashes and different strategies for dealing with orphaned records.'}
- s.test_files = [
- "spec/lib/ancestry_spec.rb",
- "spec/lib/mongoid-ancestry/class_methods_spec.rb",
- "spec/lib/mongoid-ancestry/instance_methods_spec.rb",
- "spec/spec_helper.rb",
- "spec/support/models.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<mongoid-ancestry>, [">= 0"])
- s.add_development_dependency(%q<rspec>, ["~> 2.5"])
- s.add_development_dependency(%q<bundler>, ["~> 1.0"])
- s.add_development_dependency(%q<guard-rspec>, ["~> 0.2"])
- s.add_development_dependency(%q<libnotify>, ["~> 0.3"])
- s.add_development_dependency(%q<rb-inotify>, ["~> 0.8"])
- s.add_development_dependency(%q<fuubar>, ["~> 0.0.4"])
- s.add_development_dependency(%q<rspec>, ["~> 2.5"])
- s.add_development_dependency(%q<bundler>, ["~> 1.0"])
- s.add_development_dependency(%q<guard-rspec>, ["~> 0.2"])
- s.add_development_dependency(%q<libnotify>, ["~> 0.3"])
- s.add_development_dependency(%q<rb-inotify>, ["~> 0.8"])
- s.add_development_dependency(%q<fuubar>, ["~> 0.0.4"])
- s.add_development_dependency(%q<rspec>, ["~> 2.5"])
- s.add_development_dependency(%q<bundler>, ["~> 1.0"])
- s.add_development_dependency(%q<guard-rspec>, ["~> 0.2"])
- s.add_development_dependency(%q<libnotify>, ["~> 0.3"])
- s.add_development_dependency(%q<rb-inotify>, ["~> 0.8"])
- s.add_development_dependency(%q<fuubar>, ["~> 0.0.4"])
- s.add_development_dependency(%q<rspec>, ["~> 2.5"])
- s.add_development_dependency(%q<bundler>, ["~> 1.0"])
- s.add_development_dependency(%q<guard-rspec>, ["~> 0.2"])
- s.add_development_dependency(%q<libnotify>, ["~> 0.3"])
- s.add_development_dependency(%q<rb-inotify>, ["~> 0.8"])
- s.add_development_dependency(%q<fuubar>, ["~> 0.0.4"])
- s.add_runtime_dependency(%q<mongoid>, ["~> 2.0"])
- s.add_runtime_dependency(%q<bson_ext>, ["~> 1.3"])
- s.add_development_dependency(%q<rspec>, ["~> 2.5"])
- s.add_development_dependency(%q<bundler>, ["~> 1.0"])
- s.add_development_dependency(%q<guard-rspec>, ["~> 0.2"])
- s.add_development_dependency(%q<libnotify>, ["~> 0.3"])
- s.add_development_dependency(%q<rb-inotify>, ["~> 0.8"])
- s.add_development_dependency(%q<fuubar>, ["~> 0.0.4"])
- else
- s.add_dependency(%q<mongoid-ancestry>, [">= 0"])
- s.add_dependency(%q<rspec>, ["~> 2.5"])
- s.add_dependency(%q<bundler>, ["~> 1.0"])
- s.add_dependency(%q<guard-rspec>, ["~> 0.2"])
- s.add_dependency(%q<libnotify>, ["~> 0.3"])
- s.add_dependency(%q<rb-inotify>, ["~> 0.8"])
- s.add_dependency(%q<fuubar>, ["~> 0.0.4"])
- s.add_dependency(%q<rspec>, ["~> 2.5"])
- s.add_dependency(%q<bundler>, ["~> 1.0"])
- s.add_dependency(%q<guard-rspec>, ["~> 0.2"])
- s.add_dependency(%q<libnotify>, ["~> 0.3"])
- s.add_dependency(%q<rb-inotify>, ["~> 0.8"])
- s.add_dependency(%q<fuubar>, ["~> 0.0.4"])
- s.add_dependency(%q<rspec>, ["~> 2.5"])
- s.add_dependency(%q<bundler>, ["~> 1.0"])
- s.add_dependency(%q<guard-rspec>, ["~> 0.2"])
- s.add_dependency(%q<libnotify>, ["~> 0.3"])
- s.add_dependency(%q<rb-inotify>, ["~> 0.8"])
- s.add_dependency(%q<fuubar>, ["~> 0.0.4"])
- s.add_dependency(%q<rspec>, ["~> 2.5"])
- s.add_dependency(%q<bundler>, ["~> 1.0"])
- s.add_dependency(%q<guard-rspec>, ["~> 0.2"])
- s.add_dependency(%q<libnotify>, ["~> 0.3"])
- s.add_dependency(%q<rb-inotify>, ["~> 0.8"])
- s.add_dependency(%q<fuubar>, ["~> 0.0.4"])
- s.add_dependency(%q<mongoid>, ["~> 2.0"])
- s.add_dependency(%q<bson_ext>, ["~> 1.3"])
- s.add_dependency(%q<rspec>, ["~> 2.5"])
- s.add_dependency(%q<bundler>, ["~> 1.0"])
- s.add_dependency(%q<guard-rspec>, ["~> 0.2"])
- s.add_dependency(%q<libnotify>, ["~> 0.3"])
- s.add_dependency(%q<rb-inotify>, ["~> 0.8"])
- s.add_dependency(%q<fuubar>, ["~> 0.0.4"])
- end
- else
- s.add_dependency(%q<mongoid-ancestry>, [">= 0"])
- s.add_dependency(%q<rspec>, ["~> 2.5"])
- s.add_dependency(%q<bundler>, ["~> 1.0"])
- s.add_dependency(%q<guard-rspec>, ["~> 0.2"])
- s.add_dependency(%q<libnotify>, ["~> 0.3"])
- s.add_dependency(%q<rb-inotify>, ["~> 0.8"])
- s.add_dependency(%q<fuubar>, ["~> 0.0.4"])
- s.add_dependency(%q<rspec>, ["~> 2.5"])
- s.add_dependency(%q<bundler>, ["~> 1.0"])
- s.add_dependency(%q<guard-rspec>, ["~> 0.2"])
- s.add_dependency(%q<libnotify>, ["~> 0.3"])
- s.add_dependency(%q<rb-inotify>, ["~> 0.8"])
- s.add_dependency(%q<fuubar>, ["~> 0.0.4"])
- s.add_dependency(%q<rspec>, ["~> 2.5"])
- s.add_dependency(%q<bundler>, ["~> 1.0"])
- s.add_dependency(%q<guard-rspec>, ["~> 0.2"])
- s.add_dependency(%q<libnotify>, ["~> 0.3"])
- s.add_dependency(%q<rb-inotify>, ["~> 0.8"])
- s.add_dependency(%q<fuubar>, ["~> 0.0.4"])
- s.add_dependency(%q<rspec>, ["~> 2.5"])
- s.add_dependency(%q<bundler>, ["~> 1.0"])
- s.add_dependency(%q<guard-rspec>, ["~> 0.2"])
- s.add_dependency(%q<libnotify>, ["~> 0.3"])
- s.add_dependency(%q<rb-inotify>, ["~> 0.8"])
- s.add_dependency(%q<fuubar>, ["~> 0.0.4"])
- s.add_dependency(%q<mongoid>, ["~> 2.0"])
- s.add_dependency(%q<bson_ext>, ["~> 1.3"])
- s.add_dependency(%q<rspec>, ["~> 2.5"])
- s.add_dependency(%q<bundler>, ["~> 1.0"])
- s.add_dependency(%q<guard-rspec>, ["~> 0.2"])
- s.add_dependency(%q<libnotify>, ["~> 0.3"])
- s.add_dependency(%q<rb-inotify>, ["~> 0.8"])
- s.add_dependency(%q<fuubar>, ["~> 0.0.4"])
- end
+ s.add_dependency('mongoid', "~> 2.0")
+ s.add_dependency('bson_ext', "~> 1.3")
end

0 comments on commit 78b4b4c

Please sign in to comment.