closure_tree 4.2.8 → 4.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/closure_tree/acts_as_tree.rb +3 -0
- data/lib/closure_tree/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
OTg4Mjc4NzJlYTM4ZTU4MTE5NzVhNzJlOTc1ZWMyNjAwYjk5NTU2Zg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZjBiMGUzZWUxZGI3MTI3N2Y4YTYwNGQ1ODJlYzQzNDVkYWViZGY3Nw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
OTYyMDY4MDA0MmUzNTUwOGJmNTdjODVkMzU1MTMwMjNkZDhhNDA1MWUyYmQ4
|
|
10
|
+
NzEzOWY2OGE2MDdjYzNlZWJmYjFiZmQ0N2I0ZmI5MjU1ZjA2YzExYjI5NmM2
|
|
11
|
+
NjVjNjE0MjQ3N2U3M2I2NDU3ZGI5ZDRhZGNhM2U4ZmRjNmE0NDU=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MWUxMjMxN2MyZDEzNGZjYzY5OTE5ZjJkYTNlNTQ3MzFhNWI2MTU3OTA3ZWUz
|
|
14
|
+
YjVmM2UxY2Q4NjhlOGUyMjFiMjFhNGYzYjY5MzIwZTk2NWI2ZDQ5ZmY4NWI0
|
|
15
|
+
MjIwZmRmMTgxNWNmMTIzYzkzNWY1ZmRlMTIzMGY4NmUxYzRlMjI=
|
|
@@ -28,6 +28,9 @@ module ClosureTree
|
|
|
28
28
|
|
|
29
29
|
include ClosureTree::DeterministicOrdering if _ct.order_option?
|
|
30
30
|
include ClosureTree::NumericDeterministicOrdering if _ct.order_is_numeric?
|
|
31
|
+
rescue StandardError => e
|
|
32
|
+
# Support Heroku's database-less assets:precompile pre-deploy step:
|
|
33
|
+
raise e unless ENV['DATABASE_URL'].to_s.include?('//user:pass@127.0.0.1/') && ENV['RAILS_GROUPS'] == 'assets'
|
|
31
34
|
end
|
|
32
35
|
end
|
|
33
36
|
end
|
data/lib/closure_tree/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: closure_tree
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.2.
|
|
4
|
+
version: 4.2.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew McEachen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-10-
|
|
11
|
+
date: 2013-10-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|