acts_as_tree 2.7.0 → 2.7.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
- SHA1:
3
- metadata.gz: 75417b3f6a18bdc37755a52d6864b30fd7dd1222
4
- data.tar.gz: 3cb4d2e1bc5a105fa0be41136f715c88e59d19a1
2
+ SHA256:
3
+ metadata.gz: 2e165e4e52f028980d9d3303f528875898d6fc077176f06e61665dc89d1ebd62
4
+ data.tar.gz: fc4fd487a8c1d6035a9e99693f8f30d47c299e1e7f281aaf9edaf962a2f3ba71
5
5
  SHA512:
6
- metadata.gz: 4412b677467ff33f58855d1b498dfc6852f08c1e024af9f0669c23741b2acb2787f966e793ec5774613449922795f3d80c30aff119cbd0692c8779769e94faff
7
- data.tar.gz: 0f229e16aed8c8844292e7cb9f2ea9707fb615c7afd5cab06622cda82543c90beecfe34499cdd1993972c4ca9911dd6855a91b9b48702bcf35b31bd55ca09038
6
+ metadata.gz: e808b5ab15a9fe12366a7bd2f2a5ef4fcf970e2be8dfd445620181075ad6509ef05c692b7ee700b2ee35e4c1a9cdfa33064bed10a6685836c2d53aeb014936ba
7
+ data.tar.gz: 1f6981b6d3b30f3038bf4c25bddb8ac74719480a0b86c49f4c76c0532478a25f685f207b38409c0412572e6308c6f2bc43082c27235b967a17edab2db6e1908e
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.7.1 - January 30, 2018
78
+ * Fix column quoting if the `:order` option is a symbol, see #73, #74 -- felixbuenemann
77
79
  * 2.7.0 - September 15, 2017
78
80
  * Added support for rails 5.1, see #67, #68 -- felixbuenemann, marcinwierzbicki
79
81
  * 2.6.1 - January 18, 2017
@@ -112,7 +112,7 @@ module ActsAsTree
112
112
  include ActsAsTree::InstanceMethods
113
113
 
114
114
  def self.default_tree_order
115
- order_option = %Q{#{configuration.fetch :order, "nil"}}
115
+ order_option = #{configuration[:order].inspect}
116
116
  order(order_option)
117
117
  end
118
118
 
@@ -1,3 +1,3 @@
1
1
  module ActsAsTree
2
- VERSION = "2.7.0"
2
+ VERSION = "2.7.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.7.0
4
+ version: 2.7.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: 2017-09-14 00:00:00.000000000 Z
15
+ date: 2018-01-30 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activerecord
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.6.13
123
+ rubygems_version: 2.7.3
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Provides a simple tree behaviour to active_record models.