Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Improve use of gemspec groups

  • Loading branch information...
commit 3994d38f26de305271e5c73cb459b3f68aad38cc 1 parent 9a4a1a7
@adacosta authored
View
2  Gemfile
@@ -1,6 +1,6 @@
source "http://rubygems.org"
# Specify your gem's dependencies in gem_test.gemspec
-gemspec :development_group => :dev_mongoid_rails_migrations
+gemspec :development_group => :development_mongoid_rails_migrations
gemspec :test_group => :test_mongoid_rails_migrations
gemspec :name => 'mongoid_rails_migrations'
View
2  Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- mongoid_rails_migrations (0.0.13)
+ mongoid_rails_migrations (0.0.14)
activesupport (>= 3.0.0)
bundler (>= 1.0.0)
rails (>= 3.0.0)
View
2  Rakefile
@@ -1,7 +1,7 @@
$:.unshift(File.dirname(__FILE__))
namespace :test do
require 'bundler/setup'
- Bundler.require(:test)
+ Bundler.require(:development_mongoid_rails_migrations)
namespace :mongoid do
desc "Test mongoid rails migrations"
View
2  lib/mongoid_rails_migrations.rb
@@ -1,6 +1,6 @@
# encoding: utf-8
require 'bundler/setup'
-Bundler.require(:dev_mongoid_rails_migrations)
+Bundler.require(:mongoid_rails_migrations)
# Add base to path incase not included as a gem
$:.unshift(File.dirname(__FILE__)) unless
View
2  mongoid_rails_migrations.gemspec
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = 'mongoid_rails_migrations'
- s.version = '0.0.13'
+ s.version = '0.0.14'
s.summary = 'Data migrations for Mongoid in Active Record style, minus column input.'
s.description = 'Migrations for the migrator.'
View
5 test/helper.rb
@@ -2,15 +2,14 @@
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
require 'bundler/setup'
-Bundler.require(:default)
-Bundler.require(:test)
+Bundler.require(:development_mongoid_rails_migrations)
require 'config'
require 'test/unit'
require 'rake'
require 'rake/testtask'
-require 'rake/rdoctask'
+require 'rdoc/task'
# leave out active_record, in favor of a monogo adapter
%w(
Please sign in to comment.
Something went wrong with that request. Please try again.