transloadit 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 709626bb099cd40ada8a3224b687fbf39ffb557d
4
- data.tar.gz: d8ba3b52509a6d1232c4de7164ad9fbadcbac2f7
3
+ metadata.gz: 172b87ed820a0c130d9aa586258c999dfaee8395
4
+ data.tar.gz: 43600302750e835dc8dde5878214408c264ebde2
5
5
  SHA512:
6
- metadata.gz: 79b3fc7ca14d347b55376a4e5dc8d5858cc7cfa3fe7e77195fae0f08c7127c58fc98cceb987e22ba4107b2a2d694bfc8e8e0da877bfbb18cdc3af821b525bee2
7
- data.tar.gz: 3730079c2989d9586f8d0be352fd0b29bf81156e8d85caeee49b06602dc9a449172d4b656efbd5a08d68359f2b3d64af160975002eecbb4b1d45a6d541181e23
6
+ metadata.gz: 3494abae71552b5a4d4dc7b9bd9dfd0efa134ef18471df06874010101c7a0ff8f81b47f52c4f46d3b6b6555d53652771af3bdb620d90f805159a2c1fcf8c0b73
7
+ data.tar.gz: 0b36994baf219b22260e1309645b30c06e49a64302971feb37dd85c26455d0759e311f0cba46208669156c9dcde7d61cb881657a9e52b1dedbc4f21c0814ba35
data/.travis.yml CHANGED
@@ -5,8 +5,8 @@ rvm:
5
5
  - 1.9.2
6
6
  - 1.9.3
7
7
  - 2.0.0
8
- - rbx-18mode
9
- - rbx-19mode
8
+ - 2.1.0
9
+ - rbx-2
10
10
  - jruby-18mode
11
11
  - jruby-19mode
12
12
  script: "COVERAGE=false bundle exec rake test"
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 1.1.2 / 2014-06-17 ###
2
+
3
+ * Fix deprecation warning on Ruby 2.1.0 for OpenSSL::Digest (thanks @pekeler for the patch)
4
+
1
5
  ### 1.1.1 / 2013-06-25 ###
2
6
 
3
7
  * request.get with secret (thanks @miry for the patch)
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
@@ -11,6 +11,9 @@ Fantastic file uploading for your web application.
11
11
  This is the official Ruby gem for [Transloadit](http://transloadit.com). It allows
12
12
  you to automate uploading files through the Transloadit REST API.
13
13
 
14
+ If you run Ruby on Rails and are looking to integrate with the browser for file uploads,
15
+ checkout the [rails-sdk](https://github.com/transloadit/rails-sdk).
16
+
14
17
  ## Install
15
18
 
16
19
  ```bash
@@ -211,7 +214,7 @@ for the latest [git master](http://rubydoc.info/github/transloadit/ruby-sdk/mast
211
214
 
212
215
  ## Compatibility
213
216
 
214
- At a minimum, this gem should work on MRI 2.0.0, 1.9.3, 1.9.2, 1,8.7, Rubinius in both 1.8 mode and 1.9 mode,
217
+ At a minimum, this gem should work on MRI 2.1.0, 2.0.0, 1.9.3, 1.9.2, 1,8.7, Rubinius,
215
218
  and JRuby in both 1.8 mode and 1.9 mode. It may also work on 1.8.6, but support for those
216
219
  Rubies is not guaranteed. If it doesn't work on one of the officially supported Rubies, please file a
217
220
  [bug report](https://github.com/transloadit/ruby-sdk/issues). Compatibility patches for other Rubies
@@ -16,7 +16,7 @@ class Transloadit::Request
16
16
  API_HEADERS = { 'User-Agent' => %{Transloadit Ruby SDK #{Transloadit::VERSION}} }
17
17
 
18
18
  # The HMAC algorithm used for calculation request signatures.
19
- HMAC_ALGORITHM = OpenSSL::Digest::Digest.new('sha1')
19
+ HMAC_ALGORITHM = OpenSSL::Digest.new('sha1')
20
20
 
21
21
  # @return [String] the API endpoint for the request
22
22
  attr_reader :url
@@ -1,3 +1,3 @@
1
1
  class Transloadit
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
@@ -1,8 +1,6 @@
1
1
  require 'test_helper'
2
2
 
3
3
  describe Transloadit::Request do
4
- REQUEST_URI = 'http://api2.jane.transloadit.com/assemblies/76fe5df1c93a0a530f3e583805cf98b4'
5
-
6
4
  before do
7
5
  # reset the API endpoint between tests
8
6
  Transloadit::Request.api Transloadit::Request::API_ENDPOINT
data/transloadit.gemspec CHANGED
@@ -23,6 +23,7 @@ Gem::Specification.new do |gem|
23
23
 
24
24
  gem.add_dependency 'rest-client'
25
25
  gem.add_dependency 'multi_json'
26
+ gem.add_dependency 'mime-types', '< 2.0.0' if RUBY_VERSION < '1.9'
26
27
 
27
28
  gem.add_development_dependency 'rake'
28
29
  gem.add_development_dependency 'minitest' # needed for < 1.9.2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transloadit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Touset
@@ -9,132 +9,132 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-25 00:00:00.000000000 Z
12
+ date: 2014-06-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: multi_json
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rake
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: minitest
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: simplecov
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: vcr
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: webmock
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '>='
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: yard
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - '>='
116
+ - - ">="
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - '>='
123
+ - - ">="
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: kramdown
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - '>='
130
+ - - ">="
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - '>='
137
+ - - ">="
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
140
  description: The transloadit gem allows you to automate uploading files through the
@@ -146,10 +146,11 @@ executables: []
146
146
  extensions: []
147
147
  extra_rdoc_files: []
148
148
  files:
149
- - .gitignore
150
- - .travis.yml
149
+ - ".gitignore"
150
+ - ".travis.yml"
151
151
  - CHANGELOG.md
152
152
  - Gemfile
153
+ - LICENSE.txt
153
154
  - README.md
154
155
  - Rakefile
155
156
  - lib/transloadit.rb
@@ -184,17 +185,17 @@ require_paths:
184
185
  - lib
185
186
  required_ruby_version: !ruby/object:Gem::Requirement
186
187
  requirements:
187
- - - '>='
188
+ - - ">="
188
189
  - !ruby/object:Gem::Version
189
190
  version: '0'
190
191
  required_rubygems_version: !ruby/object:Gem::Requirement
191
192
  requirements:
192
- - - '>='
193
+ - - ">="
193
194
  - !ruby/object:Gem::Version
194
195
  version: 1.3.6
195
196
  requirements: []
196
197
  rubyforge_project: transloadit
197
- rubygems_version: 2.0.2
198
+ rubygems_version: 2.2.2
198
199
  signing_key:
199
200
  specification_version: 4
200
201
  summary: Official Ruby gem for Transloadit
@@ -214,3 +215,4 @@ test_files:
214
215
  - test/unit/transloadit/test_request.rb
215
216
  - test/unit/transloadit/test_response.rb
216
217
  - test/unit/transloadit/test_step.rb
218
+ has_rdoc: