paperclip-av-chainer 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/README.md +15 -10
- data/lib/paperclip/av/chainer/version.rb +1 -1
- data/paperclip-av-chainer.gemspec +1 -0
- data/spec/spec_helper.rb +4 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0de95c74ad0f71dffd469b7fa641523798f7c18a
|
4
|
+
data.tar.gz: e10ee9dfd05afb89314d6ef5382ee4f08003eb0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 535cb2d77fa1b3dab5964976e071f70ce08491600769f264dc82bb30897f084f5f0f086aa00a2af55b024d691b742038757e7cc87b8f00388c96f88f56fabc2e
|
7
|
+
data.tar.gz: 8c5ef0653e0bec86f4b9a30a53c3800e9a42cee6c21ca8516c08828bba6218f6de912d333613ffed55ad33d7111ed9664a5cde836e2c4bc699426da5f2e1b2a8
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,14 @@
|
|
1
|
-
[![Build Status](https://travis-ci.org/ruby-av/paperclip-av-chainer.svg?branch=master)](https://travis-ci.org/ruby-av/paperclip-av-chainer)
|
2
1
|
# Paperclip Chainer
|
3
2
|
|
4
3
|
Audio/Video Chainer for Paperclip using FFMPEG/Avconv.
|
5
4
|
|
5
|
+
## Status
|
6
|
+
|
7
|
+
[![Build Status](https://travis-ci.org/ruby-av/paperclip-av-chainer.svg?branch=master)](https://travis-ci.org/ruby-av/paperclip-av-chainer)
|
8
|
+
[![Coverage Status](https://coveralls.io/repos/ruby-av/paperclip-av-chainer/badge.png?branch=master)](https://coveralls.io/r/ruby-av/paperclip-av-chainer?branch=master)
|
9
|
+
[![Code Climate](https://codeclimate.com/github/ruby-av/paperclip-av-chainer/badges/gpa.svg)](https://codeclimate.com/github/ruby-av/paperclip-av-chainer)
|
10
|
+
[![Dependency Status](https://gemnasium.com/ruby-av/paperclip-av-chainer.svg)](https://gemnasium.com/ruby-av/paperclip-av-chainer)
|
11
|
+
|
6
12
|
## Installation
|
7
13
|
|
8
14
|
Add this line to your application's Gemfile:
|
@@ -19,14 +25,13 @@ Or install it yourself as:
|
|
19
25
|
|
20
26
|
## Usage
|
21
27
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
```
|
28
|
+
# app/models/user.rb
|
29
|
+
class Post < ActiveRecord::Base
|
30
|
+
has_attached_file :audio, :styles => {
|
31
|
+
:medium => { :geometry => "640x480", :format => 'ogg' },
|
32
|
+
}, :processors => [:chainer]
|
33
|
+
end
|
34
|
+
|
30
35
|
Now when you attach archives (see supported formats) containing audio files, they will
|
31
36
|
all be concatenated in one file.
|
32
37
|
|
@@ -43,7 +48,7 @@ Concatenting audio files tested:
|
|
43
48
|
|
44
49
|
## Contributing
|
45
50
|
|
46
|
-
1. Fork it ( https://github.com/
|
51
|
+
1. Fork it ( https://github.com/ruby-av/paperclip-av-chainer/fork )
|
47
52
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
48
53
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
49
54
|
4. Push to the branch (`git push origin my-new-feature`)
|
@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_development_dependency "rspec", "~> 3.0.0"
|
24
24
|
spec.add_development_dependency "rails", ">= 4.0.0"
|
25
25
|
spec.add_development_dependency "sqlite3"
|
26
|
+
spec.add_development_dependency "coveralls"
|
26
27
|
|
27
28
|
spec.add_dependency "paperclip", ">=2.5.2"
|
28
29
|
spec.add_dependency "rubyzip", "~> 1.1.0"
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paperclip-av-chainer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Omar Abdel-Wahab
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: coveralls
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: paperclip
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|