transloadit-rails 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +68 -0
- data/LICENSE +9 -0
- data/LICENSE.txt +22 -0
- data/README.md +9 -1
- data/lib/transloadit/rails/version.rb +1 -1
- data/test/test_helper.rb +0 -1
- data/transloadit-rails.gemspec +3 -2
- metadata +26 -52
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c4f410dff68bd99d87629b49760d4c2aaf4c06f9
|
4
|
+
data.tar.gz: f3404132d28be1763d516ce0b8491d1ba3587c14
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7e97a16e50035ecb70643d1cb716487a5b528925e616f50b265785c8773fb89f6adb78d38f9dc671a6fc6164a390b264136d0c118bc8c4e813f315b4a4606ef3
|
7
|
+
data.tar.gz: 25ad533425dcc2630583305a648dc737055dcc51aed84cc393afd3a249a6566197c2af2a4936d53bac381b756a759494930e7c2464d70ce384b37b183ffa010b
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
### 1.1.1 / 2013-09-15 ###
|
2
|
+
|
3
|
+
* MIT license
|
4
|
+
* Bumped transloadit dependency to >= 1.1.1
|
5
|
+
|
6
|
+
### 1.1.0 / 2013-03-16 ###
|
7
|
+
|
8
|
+
* Switch to Kramdown for RDoc formatting
|
9
|
+
* Support jRuby 1.8/1.9 and MRI 2.0.0 too
|
10
|
+
* Support for Rails 4.x
|
11
|
+
* Dropped support for Ruby 1.8.6
|
12
|
+
* Better generator & documentation for environment specific configuration (thanks @samullen)
|
13
|
+
|
14
|
+
### 1.0.8 / 2012-11-11 ###
|
15
|
+
|
16
|
+
* allow configuration per environment (thanks @samullen)
|
17
|
+
|
18
|
+
### 1.0.7 / 2012-07-09 ###
|
19
|
+
|
20
|
+
* Integrated RSpec helper (thanks @jstirk)
|
21
|
+
|
22
|
+
### 1.0.6 / 2012-04-13 ###
|
23
|
+
|
24
|
+
* Documentation fixes
|
25
|
+
* Don't sign requests when no secret is provided
|
26
|
+
|
27
|
+
### 1.0.5 / 2012-04-09 ###
|
28
|
+
|
29
|
+
* fix deprecation warning on Rails 3.2 by removing use of ActiveSupport::Memoizable
|
30
|
+
|
31
|
+
### 1.0.4 / 2012-02-23 ###
|
32
|
+
|
33
|
+
* Don't encode known callbacks to JSON
|
34
|
+
|
35
|
+
### 1.0.3 / 2011-11-15 ###
|
36
|
+
|
37
|
+
* Allow ERB in config files
|
38
|
+
|
39
|
+
### 1.0.2 / 2011-09-23 ###
|
40
|
+
|
41
|
+
* Fix default configuration template
|
42
|
+
* Bump dependency to transloadit gem to 1.0.2
|
43
|
+
* Allow duration to be configurable
|
44
|
+
|
45
|
+
### 1.0.1 / 2011-09-19 ###
|
46
|
+
|
47
|
+
* Use jQuery instead of $ to prevent problems with other libraries
|
48
|
+
* fixed "uninitialized constant Transloadit::Rails::ViewHelper"
|
49
|
+
|
50
|
+
### 1.0.0 / 2011-06-09 ###
|
51
|
+
|
52
|
+
* Fix View Helper
|
53
|
+
* Some optimizations for jQuery initialization
|
54
|
+
* Explicit including of the params decoder module instead of automatic magic
|
55
|
+
* Depend on railties, not Rails
|
56
|
+
|
57
|
+
### 0.9.2 / 2011-04-26 ###
|
58
|
+
|
59
|
+
* Automatically translate Transloadit API JSON
|
60
|
+
|
61
|
+
### 0.9.1 / 2011-04-19 ###
|
62
|
+
|
63
|
+
* Lazy-load configuration
|
64
|
+
* better error messages
|
65
|
+
|
66
|
+
### 0.9.0 / 2011-04-13 ###
|
67
|
+
|
68
|
+
* Initial release
|
data/LICENSE
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
The MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2013 Transloadit Ltd.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Debuggable, Inc.
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -9,6 +9,10 @@ Fantastic file uploading for your Rails application.
|
|
9
9
|
This is the official Rails gem for [Transloadit](http://transloadit.com). It allows
|
10
10
|
you to automate uploading files through the Transloadit REST API.
|
11
11
|
|
12
|
+
This gem provides browser integration. If you're looking to do video transcoding / image resizing
|
13
|
+
initiated from your own serverside Ruby code, please use the [ruby-sdk](https://github.com/transloadit/ruby-sdk)
|
14
|
+
instead.
|
15
|
+
|
12
16
|
## Install
|
13
17
|
|
14
18
|
```bash
|
@@ -200,7 +204,7 @@ Alright, time to create our upload form. In order to do that, please open
|
|
200
204
|
`app/views/uploads/new.html.erb`, and put the following code in:
|
201
205
|
|
202
206
|
```erb
|
203
|
-
<%= javascript_include_tag
|
207
|
+
<%= javascript_include_tag //ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js' %>
|
204
208
|
|
205
209
|
<h1>Upload an image</h1>
|
206
210
|
<%= form_for Upload.new, :html => { :id => 'upload' } do |form| %>
|
@@ -284,3 +288,7 @@ def example_json
|
|
284
288
|
"{ ... JSON content from a real POST ... }"
|
285
289
|
end
|
286
290
|
```
|
291
|
+
|
292
|
+
## License
|
293
|
+
|
294
|
+
MIT, see [LICENSE](LICENSE)
|
data/test/test_helper.rb
CHANGED
data/transloadit-rails.gemspec
CHANGED
@@ -21,11 +21,12 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
22
22
|
gem.require_paths = %w{ lib }
|
23
23
|
|
24
|
-
gem.
|
24
|
+
gem.license = 'MIT'
|
25
|
+
|
26
|
+
gem.add_dependency 'transloadit', '>= 1.1.1'
|
25
27
|
gem.add_dependency 'railties', '>= 3'
|
26
28
|
|
27
29
|
gem.add_development_dependency 'rake'
|
28
|
-
gem.add_development_dependency 'minitest' # needed for < 1.9.2
|
29
30
|
gem.add_development_dependency 'simplecov'
|
30
31
|
|
31
32
|
gem.add_development_dependency 'yard'
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transloadit-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Stephen Touset
|
@@ -10,118 +9,90 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2013-
|
12
|
+
date: 2013-09-16 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: transloadit
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - '>='
|
21
19
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.
|
20
|
+
version: 1.1.1
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
|
-
- -
|
25
|
+
- - '>='
|
29
26
|
- !ruby/object:Gem::Version
|
30
|
-
version: 1.
|
27
|
+
version: 1.1.1
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: railties
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
|
-
- -
|
32
|
+
- - '>='
|
37
33
|
- !ruby/object:Gem::Version
|
38
34
|
version: '3'
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
|
-
- -
|
39
|
+
- - '>='
|
45
40
|
- !ruby/object:Gem::Version
|
46
41
|
version: '3'
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: rake
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
|
-
- -
|
46
|
+
- - '>='
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: '0'
|
55
49
|
type: :development
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
|
-
- -
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '0'
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
|
-
name: minitest
|
65
|
-
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
|
-
requirements:
|
68
|
-
- - ! '>='
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: '0'
|
71
|
-
type: :development
|
72
|
-
prerelease: false
|
73
|
-
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
|
-
requirements:
|
76
|
-
- - ! '>='
|
53
|
+
- - '>='
|
77
54
|
- !ruby/object:Gem::Version
|
78
55
|
version: '0'
|
79
56
|
- !ruby/object:Gem::Dependency
|
80
57
|
name: simplecov
|
81
58
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
59
|
requirements:
|
84
|
-
- -
|
60
|
+
- - '>='
|
85
61
|
- !ruby/object:Gem::Version
|
86
62
|
version: '0'
|
87
63
|
type: :development
|
88
64
|
prerelease: false
|
89
65
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
66
|
requirements:
|
92
|
-
- -
|
67
|
+
- - '>='
|
93
68
|
- !ruby/object:Gem::Version
|
94
69
|
version: '0'
|
95
70
|
- !ruby/object:Gem::Dependency
|
96
71
|
name: yard
|
97
72
|
requirement: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
73
|
requirements:
|
100
|
-
- -
|
74
|
+
- - '>='
|
101
75
|
- !ruby/object:Gem::Version
|
102
76
|
version: '0'
|
103
77
|
type: :development
|
104
78
|
prerelease: false
|
105
79
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
80
|
requirements:
|
108
|
-
- -
|
81
|
+
- - '>='
|
109
82
|
- !ruby/object:Gem::Version
|
110
83
|
version: '0'
|
111
84
|
- !ruby/object:Gem::Dependency
|
112
85
|
name: kramdown
|
113
86
|
requirement: !ruby/object:Gem::Requirement
|
114
|
-
none: false
|
115
87
|
requirements:
|
116
|
-
- -
|
88
|
+
- - '>='
|
117
89
|
- !ruby/object:Gem::Version
|
118
90
|
version: '0'
|
119
91
|
type: :development
|
120
92
|
prerelease: false
|
121
93
|
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
94
|
requirements:
|
124
|
-
- -
|
95
|
+
- - '>='
|
125
96
|
- !ruby/object:Gem::Version
|
126
97
|
version: '0'
|
127
98
|
description: The transloadit-rails gem allows you to automate uploading files through
|
@@ -135,7 +106,10 @@ extra_rdoc_files: []
|
|
135
106
|
files:
|
136
107
|
- .gitignore
|
137
108
|
- .travis.yml
|
109
|
+
- CHANGELOG.md
|
138
110
|
- Gemfile
|
111
|
+
- LICENSE
|
112
|
+
- LICENSE.txt
|
139
113
|
- README.md
|
140
114
|
- Rakefile
|
141
115
|
- gemfiles/3.0.gemfile
|
@@ -157,28 +131,28 @@ files:
|
|
157
131
|
- test/test_helper.rb
|
158
132
|
- transloadit-rails.gemspec
|
159
133
|
homepage: http://github.com/transloadit/rails-sdk/
|
160
|
-
licenses:
|
134
|
+
licenses:
|
135
|
+
- MIT
|
136
|
+
metadata: {}
|
161
137
|
post_install_message:
|
162
138
|
rdoc_options: []
|
163
139
|
require_paths:
|
164
140
|
- lib
|
165
141
|
required_ruby_version: !ruby/object:Gem::Requirement
|
166
|
-
none: false
|
167
142
|
requirements:
|
168
|
-
- -
|
143
|
+
- - '>='
|
169
144
|
- !ruby/object:Gem::Version
|
170
145
|
version: '0'
|
171
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
|
-
none: false
|
173
147
|
requirements:
|
174
|
-
- -
|
148
|
+
- - '>='
|
175
149
|
- !ruby/object:Gem::Version
|
176
150
|
version: 1.3.6
|
177
151
|
requirements: []
|
178
152
|
rubyforge_project: transloadit-rails
|
179
|
-
rubygems_version:
|
153
|
+
rubygems_version: 2.0.3
|
180
154
|
signing_key:
|
181
|
-
specification_version:
|
155
|
+
specification_version: 4
|
182
156
|
summary: Official Rails gem for Transloadit
|
183
157
|
test_files:
|
184
158
|
- test/generators/transloadit/test_install_generator.rb
|