daengine 0.6.1 → 0.6.2
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 +4 -4
- data/app/controllers/digital_assets_controller.rb +5 -6
- data/lib/daengine/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd6472db6e8a0140198faf37ee886187ce5f01b7
|
4
|
+
data.tar.gz: 39fa2bed79fe36ee21da56d212052a9b5aaeaf39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f110467a3d24335d5df6ce689bcb63b89508e3689887aeb6b63fb367f35ac1345fd16799fff4dc95e7ce4ac72e0b6661f432cf3b702482edd83ba0ffdf4a8f87
|
7
|
+
data.tar.gz: 0269ab2487a52a5ebae0b309d6fc040095398037b3aa8705f5610ffa593d0a26b54dacac55020edc67368de26f1cfcb8abb9b1a9be71de5dae2a32814d36f0d0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
class DigitalAssetsController < ApplicationController
|
2
2
|
include DigitalAssetsHelper
|
3
|
-
respond_to :json
|
3
|
+
respond_to :json
|
4
4
|
|
5
5
|
skip_filter(*_process_action_callbacks.map(&:filter))
|
6
6
|
|
@@ -32,21 +32,20 @@ class DigitalAssetsController < ApplicationController
|
|
32
32
|
alias :create :update
|
33
33
|
|
34
34
|
def destroy
|
35
|
-
da = DigitalAsset.
|
36
|
-
da
|
35
|
+
da = DigitalAsset.find(params[:id])
|
36
|
+
da.delete
|
37
37
|
head :ok
|
38
38
|
end
|
39
39
|
|
40
40
|
def updated_time
|
41
|
-
Daengine.log "updated_time params #{params.inspect}", "info"
|
42
41
|
ids = params[:ids]
|
43
42
|
updated_time = Hash.new
|
44
43
|
ids.each do |id|
|
45
44
|
da = DigitalAsset.where(:digital_asset_id => id)
|
46
45
|
updated_time[id] = da[0].doc_changed_at if da.present?
|
47
46
|
end
|
48
|
-
|
49
|
-
|
47
|
+
# render json: updated_time.to_json, status: :ok
|
48
|
+
respond_with(updated_time)
|
50
49
|
end
|
51
50
|
|
52
51
|
def fund_docs
|
data/lib/daengine/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daengine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sbhatia
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-02-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|