Skip to content

Commit

Permalink
Merge pull request #1 from jrust/master
Browse files Browse the repository at this point in the history
Add Rails 3.2 Support
  • Loading branch information
Robert Schmitt committed Apr 9, 2012
2 parents 7a20dfc + 3e1b01d commit b88b9fa
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,6 +1,5 @@
.idea/*
*.gem
*.gemspec
.rvmrc
pkg/*
test/database.test
4 changes: 4 additions & 0 deletions Gemfile
@@ -0,0 +1,4 @@
source "http://rubygems.org"

# Specify your gem's dependencies in acts-as-dag.gemspec
gemspec
24 changes: 24 additions & 0 deletions acts-as-dag.gemspec
@@ -0,0 +1,24 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "acts-as-dag/version"

Gem::Specification.new do |s|
s.name = "acts-as-dag"
s.version = Acts::As::Dag::VERSION
s.authors = ['Matthew Leventi', 'Robert Schmitt']
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 model}
s.description = %q{Directed Acyclic Graph hierarchy for Rail's ActiveRecord model}

s.rubyforge_project = "acts-as-dag"

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"]

# specify any dependencies here; for example:
# s.add_development_dependency "rspec"
# s.add_runtime_dependency "rest-client"
end
7 changes: 7 additions & 0 deletions lib/acts-as-dag/version.rb
@@ -0,0 +1,7 @@
module Acts
module As
module Dag
VERSION = "2.5.7"
end
end
end
4 changes: 2 additions & 2 deletions lib/dag/dag.rb
Expand Up @@ -19,8 +19,8 @@ def acts_as_dag_links(options = {})
end
end

write_inheritable_attribute :acts_as_dag_options, conf
class_inheritable_reader :acts_as_dag_options
class_attribute :acts_as_dag_options, :instance_writer => false
self.acts_as_dag_options = conf

extend Columns
include Columns
Expand Down

0 comments on commit b88b9fa

Please sign in to comment.