acts_as_tree 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a8e94e638a5ea09d242e3a9d5fde5e1f138d88b
4
- data.tar.gz: 7f119917e8d1009117adee5394a2538f54a6a3bd
3
+ metadata.gz: 4c39b13dfb04c4ed2870fe0c459880233959cf86
4
+ data.tar.gz: 672b23b7db5a373f819dbe33628f48578f8391bd
5
5
  SHA512:
6
- metadata.gz: 86ff17779db508f61f859d16dd6cf1f4385762df0b526ddf7025d22bd829527d1dedd98ea2533b43e563101f5c4fe692e83c2b1e3be032ed40ff1214833e666e
7
- data.tar.gz: d21c5cdcc35a15a87527c1633a628be1f17f69f0fe8acb4c9b7f2b1934d019a2de233707a631be39bd35ac26dfda16197f56d25b5ac2568f8d2080911ee5a9f3
6
+ metadata.gz: f4538630240dd1896649e93b37e7b9064f87176191e58dde70d6cdb0d3cb2da47bd1ea36d5d8d88706998c3cb1f052b110796a6ee4738141331fd93bff262f8b
7
+ data.tar.gz: 6b53454a3d359f8a161f3fd2f0c28bae4958023e59c965fe8c643065c12c1551925613531071aa2ebebd6e350626309c3b805edd0e35f00bdd1594741b40db05
data/README.md CHANGED
@@ -74,6 +74,8 @@ We no longer support Ruby 1.8 or versions of Rails/ActiveRecord older than 3.0.
74
74
  Moving forward we will do our best to support the latest versions of ActiveRecord and Ruby.
75
75
 
76
76
  ## Change Log
77
+ * 2.5.1 - September 8, 2016
78
+ * Fix early database connection in acts\_as\_tree, see #55 -- felixbuenemann
77
79
  * 2.5.0 - August 14, 2016
78
80
  * Allow for use of a different primary key, see #50 -- Two9A
79
81
  * 2.4.0 - January 12, 2016
@@ -65,7 +65,7 @@ module ActsAsTree
65
65
  # a custom column by passing a symbol or string.
66
66
  def acts_as_tree(options = {})
67
67
  configuration = {
68
- primary_key: primary_key,
68
+ primary_key: "id",
69
69
  foreign_key: "parent_id",
70
70
  order: nil,
71
71
  counter_cache: nil,
@@ -1,3 +1,3 @@
1
1
  module ActsAsTree
2
- VERSION = "2.5.0"
2
+ VERSION = "2.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Dahlstrand
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2016-08-14 00:00:00.000000000 Z
15
+ date: 2016-09-08 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activerecord
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  requirements: []
121
121
  rubyforge_project:
122
- rubygems_version: 2.4.8
122
+ rubygems_version: 2.5.1
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: Provides a simple tree behaviour to active_record models.