dagnabit 2.2.3 → 2.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt ADDED
@@ -0,0 +1,67 @@
1
+ == 2.2.4 2010-03-15
2
+
3
+ === Bugfixes
4
+
5
+ * Ensure that ActiveRecord is loaded before dagnabit's extensions are loaded.
6
+ This fixes a problem that would occasionally occur when using dagnabit in
7
+ Bundler.
8
+
9
+ == 2.2.3 2010-02-17
10
+
11
+ === Bugfixes
12
+
13
+ * It was not possible to delete links having custom data attributes in dagnabit
14
+ versions <= 2.3.2. This has been fixed.
15
+
16
+ == 2.2.2 2010-02-04
17
+
18
+ === Minor enhancements
19
+
20
+ * Slightly smarter transitive closure maintenance: if a link was saved but
21
+ neither its ancestor nor descendant changed, the transitive closure will not
22
+ be recalculated.
23
+ * Removed usage of deprecated "require 'activesupport'".
24
+
25
+ == 2.2.1 2009-12-07
26
+
27
+ === Minor enhancements
28
+
29
+ * Added NUBIC provenance.
30
+ More information on NUBIC: http://www.nucats.northwestern.edu/centers/nubic/index.html
31
+
32
+ == 2.2.0 2009-09-14
33
+
34
+ === Minor enhancements
35
+
36
+ * Commonized models used in dagnabit's tests.
37
+ * Switched to named scopes to implement Link#linking and TransitiveClosureLink#linking.
38
+
39
+ == 2.1.0 2009-09-04
40
+
41
+ === Bugfixes
42
+
43
+ * Fixed overzealous on-destroy transitive closure maintenance in situations like these:
44
+
45
+ n1 -> n2 -> n3
46
+ |__________|
47
+
48
+ Previously, deleting the edges (n1, n2) and (n2, n3) would also delete the
49
+ edge (n1, n3).
50
+
51
+ == 2.0.0 2009-08-17
52
+
53
+ === Major changes
54
+
55
+ * Link models now validate their ancestor and descendant. This means that
56
+ Link#connect will fail if a link cannot be made due to node validation
57
+ failures.
58
+
59
+ Unfortunately, this also means you can no longer write code like this:
60
+
61
+ node1.links_as_parent.build(:descendant => node2)
62
+
63
+ or
64
+
65
+ node2.links_as_child.build(:ancestor => node1)
66
+
67
+ See commit 61d6e3841b63fdcaad7fcecd05b24f4b9f217ba2 for more details.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 3
3
- :build:
4
2
  :major: 2
3
+ :build:
5
4
  :minor: 2
5
+ :patch: 4
data/dagnabit.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dagnabit}
8
- s.version = "2.2.3"
8
+ s.version = "2.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Yip"]
12
- s.date = %q{2010-02-17}
12
+ s.date = %q{2010-03-15}
13
13
  s.default_executable = %q{dagnabit-test}
14
14
  s.email = %q{yipdw@northwestern.edu}
15
15
  s.executables = ["dagnabit-test"]
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
21
21
  ".autotest",
22
22
  ".document",
23
23
  ".gitignore",
24
+ "History.txt",
24
25
  "LICENSE",
25
26
  "README.rdoc",
26
27
  "Rakefile",
@@ -72,7 +73,7 @@ Gem::Specification.new do |s|
72
73
  s.homepage = %q{http://gitorious.org/dagnabit/dagnabit}
73
74
  s.rdoc_options = ["--charset=UTF-8"]
74
75
  s.require_paths = ["lib"]
75
- s.rubygems_version = %q{1.3.5}
76
+ s.rubygems_version = %q{1.3.6}
76
77
  s.summary = %q{Directed acyclic graph plugin for ActiveRecord}
77
78
  s.test_files = [
78
79
  "test/connections/native_postgresql/connection.rb",
data/lib/dagnabit.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require 'active_record'
2
+
1
3
  require 'dagnabit/link/configuration'
2
4
  require 'dagnabit/link/validations'
3
5
  require 'dagnabit/link/associations'
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dagnabit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.3
4
+ prerelease: false
5
+ segments:
6
+ - 2
7
+ - 2
8
+ - 4
9
+ version: 2.2.4
5
10
  platform: ruby
6
11
  authors:
7
12
  - David Yip
@@ -9,49 +14,65 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-02-17 00:00:00 -06:00
17
+ date: 2010-03-15 00:00:00 -05:00
13
18
  default_executable: dagnabit-test
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: activerecord
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 2
29
+ - 1
30
+ - 0
23
31
  version: 2.1.0
24
- version:
32
+ type: :runtime
33
+ version_requirements: *id001
25
34
  - !ruby/object:Gem::Dependency
26
35
  name: activesupport
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
30
38
  requirements:
31
39
  - - ">="
32
40
  - !ruby/object:Gem::Version
41
+ segments:
42
+ - 2
43
+ - 3
44
+ - 2
33
45
  version: 2.3.2
34
- version:
46
+ type: :runtime
47
+ version_requirements: *id002
35
48
  - !ruby/object:Gem::Dependency
36
49
  name: mocha
37
- type: :development
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
40
52
  requirements:
41
53
  - - "="
42
54
  - !ruby/object:Gem::Version
55
+ segments:
56
+ - 0
57
+ - 9
58
+ - 8
43
59
  version: 0.9.8
44
- version:
60
+ type: :development
61
+ version_requirements: *id003
45
62
  - !ruby/object:Gem::Dependency
46
63
  name: shoulda
47
- type: :development
48
- version_requirement:
49
- version_requirements: !ruby/object:Gem::Requirement
64
+ prerelease: false
65
+ requirement: &id004 !ruby/object:Gem::Requirement
50
66
  requirements:
51
67
  - - "="
52
68
  - !ruby/object:Gem::Version
69
+ segments:
70
+ - 2
71
+ - 10
72
+ - 2
53
73
  version: 2.10.2
54
- version:
74
+ type: :development
75
+ version_requirements: *id004
55
76
  description:
56
77
  email: yipdw@northwestern.edu
57
78
  executables:
@@ -65,6 +86,7 @@ files:
65
86
  - .autotest
66
87
  - .document
67
88
  - .gitignore
89
+ - History.txt
68
90
  - LICENSE
69
91
  - README.rdoc
70
92
  - Rakefile
@@ -125,18 +147,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
147
  requirements:
126
148
  - - ">="
127
149
  - !ruby/object:Gem::Version
150
+ segments:
151
+ - 0
128
152
  version: "0"
129
- version:
130
153
  required_rubygems_version: !ruby/object:Gem::Requirement
131
154
  requirements:
132
155
  - - ">="
133
156
  - !ruby/object:Gem::Version
157
+ segments:
158
+ - 0
134
159
  version: "0"
135
- version:
136
160
  requirements: []
137
161
 
138
162
  rubyforge_project:
139
- rubygems_version: 1.3.5
163
+ rubygems_version: 1.3.6
140
164
  signing_key:
141
165
  specification_version: 3
142
166
  summary: Directed acyclic graph plugin for ActiveRecord