caboose-cms 0.5.234 → 0.5.235

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- N2Y4NGFmNzQyYzYzODE1MDBkMjEwZThhOTZjNjE1OGQ0MTdiOTJlNQ==
4
+ ZDI4ODk5NDNkN2EwZmFjYmJjNjU1NGIwMjg2ZGJmMDE4NTAzNWY1YQ==
5
5
  data.tar.gz: !binary |-
6
- NTNjZDNjNWQwYmY3YTQ3ZTk5MDBjYmZlNWI3ODZmZWRhY2U0NDJiYw==
6
+ ZWU5MTQ3ZmZiZWQ2NzRiYTgzNzcwZTU4ZjFlZDk3OGMyMThhOTAxOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZWE4NDlmMWVjZWY5NGUyN2MxZWM5MmE0ZjRkNDcyZGQyYjE5ZTFkNmViYzI3
10
- N2Q4MjAzMWI3YTQzZDA4YmU1ZTJhYzNhY2M3ZTg3YmI1MGMxN2YxNTQ4Yzhi
11
- Y2JiYzg5YjhjNDNmNjNkNTdhOGY0M2IwNzcwMGM3MjUzZGU3MWE=
9
+ OTk5NzVhNjFiOTc5NDg1NDVjZWE2Mzk3YWNkMjkyNDBlZWY0MDBkMmU2OWQ5
10
+ ZDEyMWQxNGUyNWZlYWM0NjA4NjRmNTZmMjk2YTNlNWM3OTgyYmZiZTEwZmJi
11
+ MGZlMTgxMDViNzc1Njk5ZTY4MWUwMmYzNjRiMTJiMjc4YWQ3ZmU=
12
12
  data.tar.gz: !binary |-
13
- ZjY0NTY2MWU0M2YzZjdkOGM1YTBhYmRhNWQzMDc0MjI0MjQ1MzRjMGMyZTEx
14
- OWIyNTQwZGI1ZjNhNjg1ZjVjNzAyMDQzZmU4MjM0OGVjMmM1ZDNjYzU0ZjVm
15
- MTFmZGY2ZmM1M2YzNjcyYWM1NGI2MTY4NjA5NTkxMjk1ZTRkNTI=
13
+ ODdhOWM1NjY4MWU0NTQwNzg3ODNhMTQ5ZTliYjE4N2U2ZDFmNDYwYTcwNWFk
14
+ MjdiYjg0MjNhNjhmOGU2NTg2N2E2OTQ4ZThlMTQzYjA4MGI4NzlkMzJmNDM0
15
+ Mjc3ZjQxNWE0ZDIxZWI5YzllNjJkMDY4ZWQ2OWZkZjdjMzQxYzM=
@@ -23,7 +23,7 @@ module Caboose
23
23
  prefix = params[:prefix] ? params[:prefix] : '-  '
24
24
  tree = Caboose::MediaCategory.flat_tree(@site.id, prefix)
25
25
  options = tree.collect{ |mc| { 'value' => mc[:id], 'text' => mc[:name] }}
26
- render :json => tree
26
+ render :json => options
27
27
  end
28
28
 
29
29
  # POST /admin/media-categories
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.5.234'
2
+ VERSION = '0.5.235'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.234
4
+ version: 0.5.235
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry