ecm_videos 1.0.2 → 1.0.3

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6c4081bf347ee82895aedde5921b028bab8c251
4
- data.tar.gz: 5c8274021695a40afe3e2c4c56ae543028d6ef93
3
+ metadata.gz: a3c76fb842c4bbe335f21dff94dc9ccf7e352eab
4
+ data.tar.gz: 3482cde1909eed91b6e3cb0fdbbaf2947e649282
5
5
  SHA512:
6
- metadata.gz: 4e1f4345dbf66d26b0abfeb69aa85686e653b71660276bad7e941739c9b55537aeef045df63b7e42223a330136f68d696b15d4929aa3fde53d50b721cfe4ae46
7
- data.tar.gz: 340e1a594c5c24ea90fa1e3e66f046fecf76b2c2a9e762b9f0dd5dd8cce7cf83dca6a49ba2754d67491c98f137ca0ac797da3cf059eb00390ad9d6ec26475800
6
+ metadata.gz: ab20e2bbf9b9d1c244a23d27743350f1ec090327db4aa2850b724a44b6793626a7d67ea859afc79815a650730f027853b8a359bf6d9ed679d79dbca8516c29a2
7
+ data.tar.gz: 16ad7df8ef16eccfca61d1f5b17bcdaf493c0d1a404e6d9666277fe4cdce9724055e7858dd032abda11e568bcb49f3f44d9442d1bea9137d7c7e9e18640c1658
data/README.rdoc CHANGED
@@ -2,18 +2,24 @@
2
2
 
3
3
  This project rocks and uses MIT-LICENSE.
4
4
 
5
+ = When trying to upload new videos on heroku, I get the error message "errors while processing Ecm::Videos::Video ID <x>: Video Paperclip::Errors::NotIdentifiedByImageMagickError". What can I do?
6
+
7
+ You have to add the ffmpeg buildpack to heroku:
8
+
9
+ heroku buildpacks:add https://github.com/HYPERHYPER/heroku-buildpack-ffmpeg.git --remote production
10
+
5
11
  = When trying to upload new videos on ubuntu, I get the error message "errors while processing Ecm::Videos::Video ID <x>: Video Paperclip::Errors::NotIdentifiedByImageMagickError". What can I do?
6
12
 
7
13
  Your system is missing ffmpeg. Install it:
8
14
 
9
- sudo apt-get --purge remove ffmpeg
10
- sudo apt-get --purge autoremove
15
+ sudo apt-get --purge remove ffmpeg
16
+ sudo apt-get --purge autoremove
11
17
 
12
- sudo apt-get install ppa-purge
13
- sudo ppa-purge ppa:jon-severinsson/ffmpeg
18
+ sudo apt-get install ppa-purge
19
+ sudo ppa-purge ppa:jon-severinsson/ffmpeg
14
20
 
15
- sudo add-apt-repository ppa:mc3man/trusty-media
16
- sudo apt-get update
17
- # sudo apt-get dist-upgrade
21
+ sudo add-apt-repository ppa:mc3man/trusty-media
22
+ sudo apt-get update
23
+ # sudo apt-get dist-upgrade
18
24
 
19
- sudo apt-get install ffmpeg
25
+ sudo apt-get install ffmpeg
@@ -1,4 +1,5 @@
1
- %h1= t('.title', inflections)
1
+ - content_for(:title) { t('.title', inflections) }
2
+ %h1= yield(:title)
2
3
 
3
4
  = render_collection(@collection, Ecm::Videos::Category, as: :bootstrap_media_object) do |list|
4
5
  = list.media_object(title_method: :name, body: list.resource.description(:html), image_url: list.resource.published_preview_image_url(:default_thumb), link_to_more_url: url_for(list.resource), media_body_content_html_options: { class: 'media-body-content.bottom-margin-1 truncate lines-3' })
@@ -1,4 +1,5 @@
1
- %h1= @resource.name
1
+ - content_for(:title) { @resource.name }
2
+ %h1= yield :title
2
3
 
3
4
  #video-category-description
4
5
  = @resource.description(:html)
@@ -1,4 +1,5 @@
1
- %h1= t('.title', inflections)
1
+ - content_for(:title) { t('.title', inflections) }
2
+ %h1= yield(:title)
2
3
 
3
4
  = render_collection(@collection, Ecm::Videos::Video, as: :bootstrap_media_object) do |list|
4
5
  = list.media_object(title_method: :name, body: list.resource.description(:html), image_url: list.resource.clip.url(:default_thumb), link_to_more_url: url_for(list.resource), media_body_content_html_options: { class: 'media-body-content.bottom-margin-1 truncate lines-3' })
@@ -1,4 +1,5 @@
1
- %h1#video-name= @resource.name
1
+ - content_for(:title) { @resource.name }
2
+ %h1= yield :title
2
3
 
3
4
  .row.bottom-margin-2
4
5
  #video-clip
@@ -39,13 +39,11 @@ de:
39
39
  categories:
40
40
  index:
41
41
  back: "Zurück"
42
- title: "%{collection_name}"
43
42
  show:
44
43
  back: "Zurück"
45
44
  videos:
46
45
  index:
47
46
  back: "Zurück"
48
- title: "%{collection_name}"
49
47
  show:
50
48
  back: "Zurück"
51
49
  routes:
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Videos
3
- VERSION = '1.0.2'.freeze
3
+ VERSION = '1.0.3'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_videos
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-26 00:00:00.000000000 Z
11
+ date: 2016-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails