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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzZlMDU1MWEzOWIyM2RlMDAxNWQwNmE3YjZiMDU0NTY3ZmE5YzQ5Mw==
4
+ OTg4Mjc4NzJlYTM4ZTU4MTE5NzVhNzJlOTc1ZWMyNjAwYjk5NTU2Zg==
5
5
  data.tar.gz: !binary |-
6
- ODc3MzBlMDhlZDY2YTk0OWY5YzZhODkxZmExNDRiMDBiMDE0ODdkMA==
6
+ ZjBiMGUzZWUxZGI3MTI3N2Y4YTYwNGQ1ODJlYzQzNDVkYWViZGY3Nw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MzJjMjU5Zjc0MzhmNThmNTI1YmQ4MTAyNGRkMGE4NTk4NGYyZWUyY2ZhNDE2
10
- ZDc3OTdlNGI4NzMzMDBjZjJjY2VkZDY3ZmI5MmJiNzk1ZWZkYTUxZTEyOTVi
11
- YjM0MmZjNDQ5NDEzNjk1NTgzNGQ1ZTk1MDI1ZGI3MzQ4YzMyMjU=
9
+ OTYyMDY4MDA0MmUzNTUwOGJmNTdjODVkMzU1MTMwMjNkZDhhNDA1MWUyYmQ4
10
+ NzEzOWY2OGE2MDdjYzNlZWJmYjFiZmQ0N2I0ZmI5MjU1ZjA2YzExYjI5NmM2
11
+ NjVjNjE0MjQ3N2U3M2I2NDU3ZGI5ZDRhZGNhM2U4ZmRjNmE0NDU=
12
12
  data.tar.gz: !binary |-
13
- NDgyZjg5MTU5NzAyNmIwZDMyZWI5N2QyYmZhYjhjZTVjNWQ4NGY5MWMyMjY5
14
- ZDc2M2QwNzcxOTkzYjE4MWQzZTYxYjllNDQ2ZjUyZTY3Y2ZkYjRlMTZkNGVk
15
- YTNhNGFiNTM4ZGNjMzVlMmU0ZTM1NTVhZjNiNWIxZTEwMzUxNjU=
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
@@ -1,3 +1,3 @@
1
1
  module ClosureTree
2
- VERSION = Gem::Version.new('4.2.8') unless defined?(::ClosureTree::VERSION)
2
+ VERSION = Gem::Version.new('4.2.9') unless defined?(::ClosureTree::VERSION)
3
3
  end
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.8
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-06 00:00:00.000000000 Z
11
+ date: 2013-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord