Permalink
Browse files

Updated Gemfile, gemspec and Rakefile

  • Loading branch information...
1 parent 0f8ded1 commit 1167a4690b10cbb79618d4eba3167e2a4f01a0b7 @thibaudgg committed Aug 13, 2010
Showing with 109 additions and 63 deletions.
  1. +1 −0 .bundle/config
  2. +12 −0 CHANGELOG.rdoc
  3. +2 −13 Gemfile
  4. +46 −0 Gemfile.lock
  5. +2 −46 Rakefile
  6. +16 −4 rspactor.gemspec
  7. +11 −0 spec/fixtures/bundler_rspec1/Gemfile.lock
  8. +19 −0 spec/fixtures/bundler_rspec2/Gemfile.lock
View
@@ -1,2 +1,3 @@
---
+BUNDLE_DISABLE_SHARED_GEMS: "1"
BUNDLE_WITHOUT: ""
View
@@ -1,3 +1,15 @@
+== 0.7.0.beta.6 (Aug 13, 2010)
+
+Features:
+
+- Updated Gemfile, gemspec and Rakefile
+
+== 0.7.0.beta.5 (July 22, 2010)
+
+Bugfixes:
+
+- Fixed RSpec 2.0.0.beta.18 formatter
+
== 0.7.0.beta.4 (July 14, 2010)
Features:
View
15 Gemfile
@@ -1,14 +1,3 @@
-source 'http://rubygems.org'
+source :rubygems
-gem 'trollop', '>= 1.16.2'
-gem 'sys-uname', '>= 0.8.4'
-# Mac OS X
-gem 'growl', '>= 1.0.3'
-# Linux
-gem 'rb-inotify'
-gem 'libnotify', '>= 0.1.3'
-
-group :test do
- gem 'bundler'
- gem 'rspec', '>= 2.0.0.beta.17'
-end
+gemspec
View
@@ -0,0 +1,46 @@
+PATH
+ remote: .
+ specs:
+ rspactor (0.7.0.beta.4)
+ bundler (>= 1.0.0.rc.5)
+ growl (>= 1.0.3)
+ libnotify (>= 0.1.3)
+ rb-inotify
+ sys-uname (>= 0.8.4)
+ trollop (>= 1.16.2)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ diff-lcs (1.1.2)
+ ffi (0.6.3)
+ rake (>= 0.8.7)
+ growl (1.0.3)
+ libnotify (0.2.0)
+ ffi (>= 0.6.2)
+ rake (0.8.7)
+ rb-inotify (0.8.1)
+ ffi (>= 0.5.0)
+ rspec (2.0.0.beta.19)
+ rspec-core (= 2.0.0.beta.19)
+ rspec-expectations (= 2.0.0.beta.19)
+ rspec-mocks (= 2.0.0.beta.19)
+ rspec-core (2.0.0.beta.19)
+ rspec-expectations (2.0.0.beta.19)
+ diff-lcs (>= 1.1.2)
+ rspec-mocks (2.0.0.beta.19)
+ sys-uname (0.8.4)
+ trollop (1.16.2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bundler (>= 1.0.0.rc.5)
+ growl (>= 1.0.3)
+ libnotify (>= 0.1.3)
+ rb-inotify
+ rspactor!
+ rspec (>= 2.0.0.beta.17)
+ sys-uname (>= 0.8.4)
+ trollop (>= 1.16.2)
View
@@ -1,50 +1,6 @@
-# coding:utf-8
-$:.unshift File.expand_path("../lib", __FILE__)
-
-require 'rubygems'
-require 'rspactor'
-require 'rspactor/version'
-
-def gemspec
- @gemspec ||= begin
- file = File.expand_path('../rspactor.gemspec', __FILE__)
- eval(File.read(file), binding, file)
- end
-end
+require 'bundler'
+Bundler::GemHelper.install_tasks
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
-
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
- version = RSpactor::VERSION
-
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "test-gem #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
-
-begin
- require 'rake/gempackagetask'
-rescue LoadError
- task(:gem) { $stderr.puts '`gem install rake` to package gems' }
-else
- Rake::GemPackageTask.new(gemspec) do |pkg|
- pkg.gem_spec = gemspec
- end
- task :gem => :gemspec
-end
-
-desc "install the gem locally"
-task :install => :package do
- sh %{gem install pkg/rspactor-#{RSpactor::VERSION}}
-end
-
-desc "validate the gemspec"
-task :gemspec do
- gemspec.validate
-end
-
-task :package => :gemspec
task :default => :spec
View
@@ -1,6 +1,6 @@
# -*- encoding: utf-8 -*-
+$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'rspactor/version'
-require 'bundler'
Gem::Specification.new do |s|
s.name = "rspactor"
@@ -12,11 +12,23 @@ Gem::Specification.new do |s|
s.summary = "Simpler Autotest"
s.description = "RSpactor is a command line tool to automatically run your changed specs (much like autotest)"
- s.required_rubygems_version = ">= 1.3.7"
- s.add_bundler_dependencies
+ s.required_rubygems_version = ">= 1.3.6"
+ s.rubyforge_project = "rspactor"
+
+ s.add_development_dependency 'bundler', '>= 1.0.0.rc.5'
+ s.add_development_dependency 'rspec', '>= 2.0.0.beta.17'
+
+ s.add_dependency 'bundler', '>= 1.0.0.rc.5'
+ s.add_dependency 'trollop', '>= 1.16.2'
+ s.add_dependency 'sys-uname', '>= 0.8.4'
+ # Mac OS X
+ s.add_dependency 'growl', '>= 1.0.3'
+ # Linux
+ s.add_dependency 'rb-inotify'
+ s.add_dependency 'libnotify', '>= 0.1.3'
s.files = Dir.glob("{bin,images,lib,ext}/**/*") + %w[LICENSE README.rdoc]
s.extensions = ["ext/extconf.rb"]
s.executable = 'rspactor'
s.require_path = 'lib'
-end
+end
@@ -0,0 +1,11 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ rspec (1.3.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bundler
+ rspec (= 1.3.0)
@@ -0,0 +1,19 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ diff-lcs (1.1.2)
+ rspec (2.0.0.beta.19)
+ rspec-core (= 2.0.0.beta.19)
+ rspec-expectations (= 2.0.0.beta.19)
+ rspec-mocks (= 2.0.0.beta.19)
+ rspec-core (2.0.0.beta.19)
+ rspec-expectations (2.0.0.beta.19)
+ diff-lcs (>= 1.1.2)
+ rspec-mocks (2.0.0.beta.19)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bundler
+ rspec (>= 2.0.0.beta.17)

0 comments on commit 1167a46

Please sign in to comment.