ems 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/ems/asset.rb +1 -1
- data/lib/ems/version.rb +1 -1
- data/test/dummy/log/development.log +70 -0
- data/test/dummy/tmp/cache/assets/C8F/620/sprockets%2Ff9c327b88555c5001b52629bbe248899 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/D1D/F20/sprockets%2Fc318ef1269f9b5ec3b1418ab2899956a +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D67/9D0/sprockets%2Fa0b5a7e026018df38c8ab3ad856f563c +0 -0
- data/test/dummy/tmp/cache/assets/D76/EF0/sprockets%2Ff46db06bb28d63bb61c799f51a8476cc +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- metadata +24 -4
data/app/models/ems/asset.rb
CHANGED
@@ -4,7 +4,7 @@ module Ems
|
|
4
4
|
attr_accessible :asset
|
5
5
|
|
6
6
|
validates_attachment :asset, :presence => true,
|
7
|
-
:content_type => { :content_type => ["image/jpg", "image/jpeg"] }
|
7
|
+
:content_type => { :content_type => ["image/jpg", "image/jpeg", "image/png"] }
|
8
8
|
|
9
9
|
belongs_to :assetable, :polymorphic => true
|
10
10
|
# accepts_nested_attributes_for :assets
|
data/lib/ems/version.rb
CHANGED
@@ -1 +1,71 @@
|
|
1
1
|
[1m[36m (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
2
|
+
|
3
|
+
|
4
|
+
Started GET "/" for 192.168.1.8 at 2012-10-16 17:15:24 +0100
|
5
|
+
|
6
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
7
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
8
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
9
|
+
railties (3.2.3) lib/rails/rack/logger.rb:26:in `call_app'
|
10
|
+
railties (3.2.3) lib/rails/rack/logger.rb:16:in `call'
|
11
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
12
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
13
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
14
|
+
activesupport (3.2.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
15
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
16
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/static.rb:62:in `call'
|
17
|
+
railties (3.2.3) lib/rails/engine.rb:479:in `call'
|
18
|
+
railties (3.2.3) lib/rails/application.rb:220:in `call'
|
19
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
20
|
+
railties (3.2.3) lib/rails/rack/log_tailer.rb:14:in `call'
|
21
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
22
|
+
/Users/vincent/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
23
|
+
/Users/vincent/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
24
|
+
/Users/vincent/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
25
|
+
|
26
|
+
|
27
|
+
Rendered /Users/vincent/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
|
28
|
+
|
29
|
+
|
30
|
+
Started GET "/ems" for 192.168.1.8 at 2012-10-16 17:15:27 +0100
|
31
|
+
Processing by Ems::EmsController#index as HTML
|
32
|
+
Completed 401 Unauthorized in 59ms
|
33
|
+
|
34
|
+
|
35
|
+
Started GET "/users/sign_in" for 192.168.1.8 at 2012-10-16 17:15:28 +0100
|
36
|
+
Processing by Devise::SessionsController#new as HTML
|
37
|
+
Rendered /Users/vincent/.rvm/gems/ruby-1.9.3-p194/gems/devise-2.1.0/app/views/devise/shared/_links.erb (1.3ms)
|
38
|
+
Rendered /Users/vincent/.rvm/gems/ruby-1.9.3-p194/gems/devise-2.1.0/app/views/devise/sessions/new.html.erb within layouts/application (34.5ms)
|
39
|
+
Compiled application.css (0ms) (pid 9826)
|
40
|
+
Compiled jquery.js (1ms) (pid 9826)
|
41
|
+
Compiled jquery_ujs.js (0ms) (pid 9826)
|
42
|
+
Compiled application.js (58ms) (pid 9826)
|
43
|
+
Completed 200 OK in 249ms (Views: 138.2ms | ActiveRecord: 48.7ms | Solr: 0.0ms)
|
44
|
+
|
45
|
+
|
46
|
+
Started GET "/assets/jquery.js?body=1" for 192.168.1.8 at 2012-10-16 17:15:28 +0100
|
47
|
+
Served asset /jquery.js - 200 OK (5ms)
|
48
|
+
|
49
|
+
|
50
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 192.168.1.8 at 2012-10-16 17:15:28 +0100
|
51
|
+
Served asset /jquery_ujs.js - 200 OK (1ms)
|
52
|
+
|
53
|
+
|
54
|
+
Started GET "/assets/application.js?body=1" for 192.168.1.8 at 2012-10-16 17:15:28 +0100
|
55
|
+
Served asset /application.js - 200 OK (2ms)
|
56
|
+
|
57
|
+
|
58
|
+
Started GET "/assets/application.css?body=1" for 192.168.1.8 at 2012-10-16 17:15:28 +0100
|
59
|
+
Served asset /application.css - 200 OK (1ms)
|
60
|
+
|
61
|
+
|
62
|
+
Started POST "/users/sign_in" for 192.168.1.8 at 2012-10-16 17:15:34 +0100
|
63
|
+
Processing by Devise::SessionsController#create as HTML
|
64
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"L6nAG+6gAPR+V1QOwak4aZuIn8iHMq4e9bmduUuzIcY=", "user"=>{"email"=>"admin@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
65
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'admin@example.com' LIMIT 1[0m
|
66
|
+
Completed 401 Unauthorized in 106ms
|
67
|
+
Processing by Devise::SessionsController#new as HTML
|
68
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"L6nAG+6gAPR+V1QOwak4aZuIn8iHMq4e9bmduUuzIcY=", "user"=>{"email"=>"admin@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
69
|
+
Rendered /Users/vincent/.rvm/gems/ruby-1.9.3-p194/gems/devise-2.1.0/app/views/devise/shared/_links.erb (0.3ms)
|
70
|
+
Rendered /Users/vincent/.rvm/gems/ruby-1.9.3-p194/gems/devise-2.1.0/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms)
|
71
|
+
Completed 200 OK in 79ms (Views: 7.2ms | ActiveRecord: 0.0ms | Solr: 0.0ms)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ems
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -495,6 +495,16 @@ files:
|
|
495
495
|
- test/dummy/test/fixtures/ems/tags.yml
|
496
496
|
- test/dummy/test/fixtures/roles_users.yml
|
497
497
|
- test/dummy/test/fixtures/users.yml
|
498
|
+
- test/dummy/tmp/cache/assets/C8F/620/sprockets%2Ff9c327b88555c5001b52629bbe248899
|
499
|
+
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
500
|
+
- test/dummy/tmp/cache/assets/D1D/F20/sprockets%2Fc318ef1269f9b5ec3b1418ab2899956a
|
501
|
+
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
502
|
+
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
503
|
+
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
504
|
+
- test/dummy/tmp/cache/assets/D67/9D0/sprockets%2Fa0b5a7e026018df38c8ab3ad856f563c
|
505
|
+
- test/dummy/tmp/cache/assets/D76/EF0/sprockets%2Ff46db06bb28d63bb61c799f51a8476cc
|
506
|
+
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
507
|
+
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
498
508
|
- test/ems_test.rb
|
499
509
|
- test/fixtures/ems/articles.yml
|
500
510
|
- test/fixtures/ems/articles_channels.yml
|
@@ -552,7 +562,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
552
562
|
version: '0'
|
553
563
|
segments:
|
554
564
|
- 0
|
555
|
-
hash:
|
565
|
+
hash: 3721764443928820242
|
556
566
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
557
567
|
none: false
|
558
568
|
requirements:
|
@@ -561,7 +571,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
561
571
|
version: '0'
|
562
572
|
segments:
|
563
573
|
- 0
|
564
|
-
hash:
|
574
|
+
hash: 3721764443928820242
|
565
575
|
requirements: []
|
566
576
|
rubyforge_project:
|
567
577
|
rubygems_version: 1.8.24
|
@@ -617,6 +627,16 @@ test_files:
|
|
617
627
|
- test/dummy/test/fixtures/ems/tags.yml
|
618
628
|
- test/dummy/test/fixtures/roles_users.yml
|
619
629
|
- test/dummy/test/fixtures/users.yml
|
630
|
+
- test/dummy/tmp/cache/assets/C8F/620/sprockets%2Ff9c327b88555c5001b52629bbe248899
|
631
|
+
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
632
|
+
- test/dummy/tmp/cache/assets/D1D/F20/sprockets%2Fc318ef1269f9b5ec3b1418ab2899956a
|
633
|
+
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
634
|
+
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
635
|
+
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
636
|
+
- test/dummy/tmp/cache/assets/D67/9D0/sprockets%2Fa0b5a7e026018df38c8ab3ad856f563c
|
637
|
+
- test/dummy/tmp/cache/assets/D76/EF0/sprockets%2Ff46db06bb28d63bb61c799f51a8476cc
|
638
|
+
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
639
|
+
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
620
640
|
- test/ems_test.rb
|
621
641
|
- test/fixtures/ems/articles.yml
|
622
642
|
- test/fixtures/ems/articles_channels.yml
|