edge 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/edge.gemspec +1 -0
- data/lib/edge/forest.rb +1 -1
- data/lib/edge/version.rb +1 -1
- data/spec/forest_spec.rb +2 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 500f3f8da28efe6bff2bf598de8a5d57e0bf5566
|
4
|
+
data.tar.gz: 668120882414ee2aba95c072325e51132308e02e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f4a7412655a6583140b6982ed8d8f32b9596ee9e8ffcac31219cb39be69b1e9d4de193d5415cb66e3a744128c93e03afa57781724f2770fc5f334761786e6de
|
7
|
+
data.tar.gz: 830fc852b809b98c80713d54404631ca313fbb0d1b579c6c65a5aacd1c3d1384c7eba0d987e616bd12c0d42aa6404c86e933d7420436dd723ea7d3f5bdff3c11
|
data/CHANGELOG.md
CHANGED
data/edge.gemspec
CHANGED
@@ -19,6 +19,7 @@ Gem::Specification.new do |gem|
|
|
19
19
|
|
20
20
|
gem.add_development_dependency 'pg'
|
21
21
|
gem.add_development_dependency 'pry'
|
22
|
+
gem.add_development_dependency 'rake'
|
22
23
|
gem.add_development_dependency 'rspec', "~> 3.1.0"
|
23
24
|
gem.add_development_dependency 'guard', ">= 0.10.0"
|
24
25
|
gem.add_development_dependency 'guard-rspec', ">= 0.6.0"
|
data/lib/edge/forest.rb
CHANGED
data/lib/edge/version.rb
CHANGED
data/spec/forest_spec.rb
CHANGED
@@ -218,10 +218,11 @@ describe "Edge::Forest" do
|
|
218
218
|
|
219
219
|
describe "self.acts_as_forest" do
|
220
220
|
it 'can be used twice' do
|
221
|
-
Location2
|
221
|
+
class Location2 < ActiveRecord::Base
|
222
222
|
self.table_name = 'locations'
|
223
223
|
acts_as_forest :order => "name"
|
224
224
|
end
|
225
|
+
|
225
226
|
Location2.find_forest
|
226
227
|
end
|
227
228
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: edge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Christensen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: rspec
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
154
|
version: '0'
|
141
155
|
requirements: []
|
142
156
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.
|
157
|
+
rubygems_version: 2.4.5
|
144
158
|
signing_key:
|
145
159
|
specification_version: 4
|
146
160
|
summary: Graph functionality for ActiveRecord. Provides tree/forest modeling structure
|