transloadit 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: bcf4611c8513a3597be214ca94856f416d9109d0
4
- data.tar.gz: c5ed2489cc0ed188e0ecfffd6164af3a03044489
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YWJiMDdlYzU2N2I1Nzc0MDE0M2VhNDA0NTVmOTYwZGI0ZmY4NTY0MQ==
5
+ data.tar.gz: !binary |-
6
+ NTRkMjVkNTg1YWRkNmQ1ZjkzNTU4MGQ4MWJlMmY5YTZiNjVhNzAxMw==
5
7
  SHA512:
6
- metadata.gz: ebdf76f4eff909edca59327be9c4eb34ced07092a97f06fe6e540998d1bdfe637608bbaf42711baef69d7968830a58687bf3605d2e38df9aff6de540e9552e5a
7
- data.tar.gz: da8c8a60400f9e0f88a0661f3cb93484596688782b3de48fc0a364abb4acc120b3c122783563b2758ddb7ba5cab1eb7e0a146b6d719378d0284dd55febe97afb
8
+ metadata.gz: !binary |-
9
+ YmEzYWVhYjdjNTY4ODg3MWJlYTAwMzEwNjNhY2M3OTU4NzdhMTEwZjQ5YTc0
10
+ YTg2OWFmYmQ2OGYxZjllOGZmMGI5ZmM0Y2QzOTRlYjI3ZTA4M2Y2ZjAzODM3
11
+ NDRkZThkODE3YjJhZTJlNjljOTE2N2MwMmM4YTZkOTk3N2RmMDE=
12
+ data.tar.gz: !binary |-
13
+ N2Q3NzJlMDFkOTNkNWI0ZjExYjE1MzY2N2FiMGI2NjM2MTM4NmUyMjg1OTMw
14
+ MTZmOTU3NTk4MDI3MGM2ZDZiZTJjMDMzZGQ2MTE3NDA2MjVjYTFlMGRhMWMx
15
+ YzQ1MzQ1MjA3YjdmZDc5NGE0OWYxMzQ3M2ViZWI1ZWYwZjI0Yzc=
data/.gitignore CHANGED
@@ -1,6 +1,7 @@
1
1
  .bundle
2
2
  .rvmrc
3
3
  .yardoc
4
+ .ruby-version
4
5
 
5
6
  Gemfile.lock
6
7
 
@@ -1,12 +1,11 @@
1
+ sudo: false
1
2
  language: ruby
2
3
  rvm:
3
- - ree
4
- - 1.8.7
5
4
  - 1.9.2
6
5
  - 1.9.3
7
6
  - 2.0.0
8
7
  - 2.1.0
8
+ - 2.2.0
9
9
  - rbx-2
10
- - jruby-18mode
11
10
  - jruby-19mode
12
11
  script: "COVERAGE=false bundle exec rake test"
@@ -1,3 +1,7 @@
1
+ ### 1.1.4 / 2015-12-14 ###
2
+
3
+ * fix Ruby 1.9.x compatibility by explicitly requiring mime-types 2.99
4
+
1
5
  ### 1.1.3 / 2014-08-21 ###
2
6
 
3
7
  * Use rest-client < 1.7.0 for Ruby version below 1.9 to stay 1.8 compatible.
data/README.md CHANGED
@@ -214,11 +214,11 @@ for the latest [git master](http://rubydoc.info/github/transloadit/ruby-sdk/mast
214
214
 
215
215
  ## Compatibility
216
216
 
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,
218
- and JRuby in both 1.8 mode and 1.9 mode. It may also work on 1.8.6, but support for those
217
+ At a minimum, this gem should work on MRI 2.2.0, 2.1.0, 2.0.0, 1.9.3, 1.9.2, Rubinius,
218
+ and JRuby in 1.9 mode. It may also work on older ruby versions, but support for those
219
219
  Rubies is not guaranteed. If it doesn't work on one of the officially supported Rubies, please file a
220
220
  [bug report](https://github.com/transloadit/ruby-sdk/issues). Compatibility patches for other Rubies
221
- are welcomed.
221
+ are welcome.
222
222
 
223
223
  Testing against these versions is performed automatically by
224
224
  [Travis CI](https://travis-ci.org/transloadit/ruby-sdk).
@@ -1,3 +1,3 @@
1
1
  class Transloadit
2
- VERSION = '1.1.3'
2
+ VERSION = '1.1.4'
3
3
  end
@@ -15,22 +15,19 @@ Gem::Specification.new do |gem|
15
15
  gem.description = 'The transloadit gem allows you to automate uploading files through the Transloadit REST API'
16
16
 
17
17
  gem.required_rubygems_version = '>= 1.3.6'
18
+ gem.required_ruby_version = '>= 1.9.2'
18
19
  gem.rubyforge_project = 'transloadit'
19
20
 
20
21
  gem.files = `git ls-files`.split("\n")
21
22
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
22
23
  gem.require_paths = %w{ lib }
23
24
 
24
- if RUBY_VERSION < '1.9'
25
- gem.add_dependency 'rest-client', '< 1.7.0'
26
- else
27
- gem.add_dependency 'rest-client'
28
- end
25
+ gem.add_dependency 'rest-client'
29
26
  gem.add_dependency 'multi_json'
30
- gem.add_dependency 'mime-types', '< 2.0.0' if RUBY_VERSION < '1.9'
27
+ gem.add_dependency 'mime-types', '~> 2.99'
31
28
 
32
29
  gem.add_development_dependency 'rake'
33
- gem.add_development_dependency 'minitest' # needed for < 1.9.2
30
+ gem.add_development_dependency 'minitest'
34
31
  gem.add_development_dependency 'simplecov'
35
32
 
36
33
  gem.add_development_dependency 'vcr'
@@ -38,4 +35,5 @@ Gem::Specification.new do |gem|
38
35
 
39
36
  gem.add_development_dependency 'yard'
40
37
  gem.add_development_dependency 'kramdown' # for YARD rdoc formatting
38
+
41
39
  end
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.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Touset
@@ -9,132 +9,146 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-21 00:00:00.000000000 Z
12
+ date: 2015-12-14 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
+ - !ruby/object:Gem::Dependency
43
+ name: mime-types
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ~>
47
+ - !ruby/object:Gem::Version
48
+ version: '2.99'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: '2.99'
42
56
  - !ruby/object:Gem::Dependency
43
57
  name: rake
44
58
  requirement: !ruby/object:Gem::Requirement
45
59
  requirements:
46
- - - ">="
60
+ - - ! '>='
47
61
  - !ruby/object:Gem::Version
48
62
  version: '0'
49
63
  type: :development
50
64
  prerelease: false
51
65
  version_requirements: !ruby/object:Gem::Requirement
52
66
  requirements:
53
- - - ">="
67
+ - - ! '>='
54
68
  - !ruby/object:Gem::Version
55
69
  version: '0'
56
70
  - !ruby/object:Gem::Dependency
57
71
  name: minitest
58
72
  requirement: !ruby/object:Gem::Requirement
59
73
  requirements:
60
- - - ">="
74
+ - - ! '>='
61
75
  - !ruby/object:Gem::Version
62
76
  version: '0'
63
77
  type: :development
64
78
  prerelease: false
65
79
  version_requirements: !ruby/object:Gem::Requirement
66
80
  requirements:
67
- - - ">="
81
+ - - ! '>='
68
82
  - !ruby/object:Gem::Version
69
83
  version: '0'
70
84
  - !ruby/object:Gem::Dependency
71
85
  name: simplecov
72
86
  requirement: !ruby/object:Gem::Requirement
73
87
  requirements:
74
- - - ">="
88
+ - - ! '>='
75
89
  - !ruby/object:Gem::Version
76
90
  version: '0'
77
91
  type: :development
78
92
  prerelease: false
79
93
  version_requirements: !ruby/object:Gem::Requirement
80
94
  requirements:
81
- - - ">="
95
+ - - ! '>='
82
96
  - !ruby/object:Gem::Version
83
97
  version: '0'
84
98
  - !ruby/object:Gem::Dependency
85
99
  name: vcr
86
100
  requirement: !ruby/object:Gem::Requirement
87
101
  requirements:
88
- - - ">="
102
+ - - ! '>='
89
103
  - !ruby/object:Gem::Version
90
104
  version: '0'
91
105
  type: :development
92
106
  prerelease: false
93
107
  version_requirements: !ruby/object:Gem::Requirement
94
108
  requirements:
95
- - - ">="
109
+ - - ! '>='
96
110
  - !ruby/object:Gem::Version
97
111
  version: '0'
98
112
  - !ruby/object:Gem::Dependency
99
113
  name: webmock
100
114
  requirement: !ruby/object:Gem::Requirement
101
115
  requirements:
102
- - - ">="
116
+ - - ! '>='
103
117
  - !ruby/object:Gem::Version
104
118
  version: '0'
105
119
  type: :development
106
120
  prerelease: false
107
121
  version_requirements: !ruby/object:Gem::Requirement
108
122
  requirements:
109
- - - ">="
123
+ - - ! '>='
110
124
  - !ruby/object:Gem::Version
111
125
  version: '0'
112
126
  - !ruby/object:Gem::Dependency
113
127
  name: yard
114
128
  requirement: !ruby/object:Gem::Requirement
115
129
  requirements:
116
- - - ">="
130
+ - - ! '>='
117
131
  - !ruby/object:Gem::Version
118
132
  version: '0'
119
133
  type: :development
120
134
  prerelease: false
121
135
  version_requirements: !ruby/object:Gem::Requirement
122
136
  requirements:
123
- - - ">="
137
+ - - ! '>='
124
138
  - !ruby/object:Gem::Version
125
139
  version: '0'
126
140
  - !ruby/object:Gem::Dependency
127
141
  name: kramdown
128
142
  requirement: !ruby/object:Gem::Requirement
129
143
  requirements:
130
- - - ">="
144
+ - - ! '>='
131
145
  - !ruby/object:Gem::Version
132
146
  version: '0'
133
147
  type: :development
134
148
  prerelease: false
135
149
  version_requirements: !ruby/object:Gem::Requirement
136
150
  requirements:
137
- - - ">="
151
+ - - ! '>='
138
152
  - !ruby/object:Gem::Version
139
153
  version: '0'
140
154
  description: The transloadit gem allows you to automate uploading files through the
@@ -146,8 +160,8 @@ executables: []
146
160
  extensions: []
147
161
  extra_rdoc_files: []
148
162
  files:
149
- - ".gitignore"
150
- - ".travis.yml"
163
+ - .gitignore
164
+ - .travis.yml
151
165
  - CHANGELOG.md
152
166
  - Gemfile
153
167
  - LICENSE.txt
@@ -185,17 +199,17 @@ require_paths:
185
199
  - lib
186
200
  required_ruby_version: !ruby/object:Gem::Requirement
187
201
  requirements:
188
- - - ">="
202
+ - - ! '>='
189
203
  - !ruby/object:Gem::Version
190
- version: '0'
204
+ version: 1.9.2
191
205
  required_rubygems_version: !ruby/object:Gem::Requirement
192
206
  requirements:
193
- - - ">="
207
+ - - ! '>='
194
208
  - !ruby/object:Gem::Version
195
209
  version: 1.3.6
196
210
  requirements: []
197
211
  rubyforge_project: transloadit
198
- rubygems_version: 2.3.0
212
+ rubygems_version: 2.5.1
199
213
  signing_key:
200
214
  specification_version: 4
201
215
  summary: Official Ruby gem for Transloadit