Skip to content

Commit

Permalink
Updates to work with Rails 4.x, hat tip to jheiss and laserlemon
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schmitt committed Apr 9, 2014
1 parent 2e28c1c commit b57ff37
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'http://rubygems.org'

gem 'bundler'
gem 'rake'
gem 'rails', '3.2.12'
gem 'rails', '>= 4.0.0'
gem 'rack'
gem 'jeweler'
gem 'sqlite3'
Expand Down
5 changes: 2 additions & 3 deletions acts-as-dag.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.email = ["resgraph@cox.net"]
s.homepage = 'https://github.com/resgraph/acts-as-dag'
s.summary = %q{Directed Acyclic Graph hierarchy for Rail's ActiveRecord}
s.description = %q{Directed Acyclic Graph hierarchy for Rail's ActiveRecord}
s.description = %q{Directed Acyclic Graph hierarchy for Rail's ActiveRecord, supporting Rails 4.x}

s.rubyforge_project = "acts-as-dag"

Expand All @@ -19,9 +19,8 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]

# As specified in test/dag_test.rb
s.add_development_dependency 'activerecord', '~> 3.2.12'
s.add_development_dependency 'rake'
s.add_development_dependency 'sqlite3'
s.add_runtime_dependency 'activemodel'
s.add_runtime_dependency 'activerecord'
s.add_runtime_dependency 'activerecord', '~> 4.0', '>= 4.0.0'
end
2 changes: 1 addition & 1 deletion lib/acts-as-dag/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Acts
module As
module Dag
VERSION = "3.0.0"
VERSION = "4.0.0"
end
end
end
2 changes: 1 addition & 1 deletion test/dag_test.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'test/unit'
require 'rubygems'
gem 'activerecord', '~> 4.0.2'
gem 'activerecord', '~> 4.1.0'
require "./init"
I18n.enforce_available_locales = true

Expand Down

0 comments on commit b57ff37

Please sign in to comment.