Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1 from jrust/master

Add Rails 3.2 Support
  • Loading branch information...
commit b88b9faf95ca9f394785abf460a69e47219b6aaf 2 parents 7a20dfc + 3e1b01d
Robert Schmitt authored
1  .gitignore
View
@@ -1,6 +1,5 @@
.idea/*
*.gem
-*.gemspec
.rvmrc
pkg/*
test/database.test
4 Gemfile
View
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in acts-as-dag.gemspec
+gemspec
24 acts-as-dag.gemspec
View
@@ -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 lib/acts-as-dag/version.rb
View
@@ -0,0 +1,7 @@
+module Acts
+ module As
+ module Dag
+ VERSION = "2.5.7"
+ end
+ end
+end
4 lib/dag/dag.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.