daengine 0.5.2 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -72,7 +72,9 @@ module Daengine::TeamsiteMetadataParser
72
72
  docpath[@@path_tuples[$1]] = $2 # if this is one of our keys, 'send' to the method
73
73
  elsif (@@translation[$1])
74
74
  val = asset.send("#{@@translation[$1]}").respond_to?(:[]) ? $2.split(',') : $2
75
- asset.send("#{@@translation[$1]}=", val)
75
+ method_name = "#{@@translation[$1]}="
76
+ val = val.gsub(/(\w{3} \d{2} \d{4} \d{2}:\d{2}:\d{2}):\d{3}(AM|PM)/,'\1 \2') if val.respond_to?(:gsub) # deal with strange teamsite date formats
77
+ asset.send(method_name, val)
76
78
  end
77
79
  end
78
80
  end
@@ -1,3 +1,3 @@
1
1
  module Daengine
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.7"
3
3
  end
@@ -0,0 +1,60 @@
1
+ Processing by DigitalAssetsController#index as HTML
2
+ Rendered /Users/spjms/projects/daengine/app/views/digital_assets/index.html.erb within layouts/application (2.0ms)
3
+ Completed 200 OK in 84ms (Views: 81.0ms)
4
+ Processing by DigitalAssetsController#show as HTML
5
+ Parameters: {"id"=>"guid-foobar-permanent-2"}
6
+ Completed 200 OK in 16ms (Views: 9.0ms)
7
+ Processing by DigitalAssetsController#show as HTML
8
+ Parameters: {"id"=>"IL1111.077"}
9
+ Completed 200 OK in 10ms (Views: 4.0ms)
10
+ Processing by DigitalAssetsController#show as HTML
11
+ Parameters: {"id"=>"IL1111.077"}
12
+ Completed 200 OK in 9ms (Views: 4.0ms)
13
+ Processing by DigitalAssetsController#show as HTML
14
+ Parameters: {"id"=>"guid-foobar-permanent-6"}
15
+ Completed 200 OK in 23ms (Views: 7.0ms)
16
+ Processing by DigitalAssetsController#search as HTML
17
+ Completed 200 OK in 7ms (Views: 6.0ms)
18
+ Processing by DigitalAssetsController#search as HTML
19
+ Parameters: {"path"=>"/one/off.path"}
20
+ Completed 200 OK in 12ms (Views: 4.0ms)
21
+ Processing by DigitalAssetsController#search as HTML
22
+ Parameters: {"doctype"=>"666"}
23
+ Completed 200 OK in 6ms (Views: 3.0ms)
24
+ Processing by DigitalAssetsController#search as HTML
25
+ Parameters: {"doctype"=>["666", "777"]}
26
+ Completed 200 OK in 21ms (Views: 15.0ms)
27
+ Processing by DigitalAssetsController#search as HTML
28
+ Parameters: {"sami"=>"SOMETHING.001"}
29
+ Completed 200 OK in 27ms (Views: 21.0ms)
30
+ Processing by DigitalAssetsController#search as HTML
31
+ Parameters: {"audience"=>"492"}
32
+ Completed 200 OK in 6ms (Views: 4.0ms)
33
+ Processing by DigitalAssetsController#search as HTML
34
+ Parameters: {"title"=>"Doc Title"}
35
+ Completed 200 OK in 4ms (Views: 3.0ms)
36
+ Processing by DigitalAssetsController#search as HTML
37
+ Parameters: {"guid"=>"guid-foobar-permanent-28"}
38
+ Completed 200 OK in 6ms (Views: 5.0ms)
39
+ Processing by DigitalAssetsController#search as HTML
40
+ Parameters: {"business_owner"=>"biz owner"}
41
+ Completed 200 OK in 5ms (Views: 3.0ms)
42
+ Processing by DigitalAssetsController#search as HTML
43
+ Parameters: {"guid"=>"guid-foobar-permanent-35", "title"=>"Doc Title"}
44
+ Completed 200 OK in 8ms (Views: 6.0ms)
45
+ Processing by DigitalAssetsController#search as HTML
46
+ Parameters: {"title"=>"Doc Title", "audiences"=>["490"], "sami"=>"IL1111.077"}
47
+ Completed 200 OK in 8ms (Views: 3.0ms)
48
+ Processing by DigitalAssetsController#search as HTML
49
+ Parameters: {"guid"=>"blargh-blargh-blargh", "title"=>"Doc Title"}
50
+ Completed 200 OK in 22ms (Views: 15.0ms)
51
+ Processing by DigitalAssetsController#fund_docs as JSON
52
+ Completed 200 OK in 23ms (Views: 1.0ms)
53
+ Processing by DigitalAssetsController#fund_docs as JSON
54
+ Completed 200 OK in 8ms (Views: 0.0ms)
55
+ Processing by DigitalAssetsController#fund_docs as JSON
56
+ Completed 200 OK in 83ms (Views: 70.0ms)
57
+ Processing by DigitalAssetsController#fund_docs as JSON
58
+ Completed 200 OK in 86ms (Views: 65.0ms)
59
+ Processing by DigitalAssetsController#fund_docs as JSON
60
+ Completed 200 OK in 94ms (Views: 54.0ms)
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daengine
3
3
  version: !ruby/object:Gem::Version
4
+ version: 0.5.7
4
5
  prerelease:
5
- version: 0.5.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - sbhatia
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-06-13 00:00:00.000000000 Z
13
+ date: 2013-10-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -152,6 +152,7 @@ files:
152
152
  - spec/dummy/config/initializers/wrap_parameters.rb
153
153
  - spec/dummy/config/locales/en.yml
154
154
  - spec/dummy/db/test.sqlite3
155
+ - spec/dummy/log/test.log
155
156
  - spec/dummy/public/404.html
156
157
  - spec/dummy/public/422.html
157
158
  - spec/dummy/public/500.html
@@ -242,6 +243,7 @@ test_files:
242
243
  - spec/dummy/config/initializers/wrap_parameters.rb
243
244
  - spec/dummy/config/locales/en.yml
244
245
  - spec/dummy/db/test.sqlite3
246
+ - spec/dummy/log/test.log
245
247
  - spec/dummy/public/404.html
246
248
  - spec/dummy/public/422.html
247
249
  - spec/dummy/public/500.html