dragonfly 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of dragonfly might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9dca04f47fde05feeb3cb2192ae1568e491194f
4
- data.tar.gz: fe028ae883c750d8dc32dcb1feca6c1880dcb94e
3
+ metadata.gz: 02f20eccc1d86bf996f08161608ad73638233923
4
+ data.tar.gz: 6e7a890b717ae596ebe78563b7f560c40fcd61a0
5
5
  SHA512:
6
- metadata.gz: ca794e9db454392290f4425fa07d321afd2246e3020197ce4b05bcd8204fce5c38d5c263201f261139dd1647fbac57738c2829424aadd4686291e3c7f06ef2b9
7
- data.tar.gz: 5210c6cc3dc87058b977485c1587ff53a60bb45d5ff9d964e75cb5f19a0c1eb0ba0c3fc8f9315c235c4cf9a4093c23a53975b0a7b7d49e43fd43384df643766a
6
+ metadata.gz: a0ac983a943033572f7bdcf6d4e00676d1af95c77202ca433e4cccb7d912ba97b751ec608ea624f088150a5d6ba9ea7de2dcedaa63c6f4ba6bf6170fe886b0dc
7
+ data.tar.gz: 7ad341424eaf01b4656694dbad4313b2f245e93b328462b703668d7a56987b235c8e02ad4718ab28afb7bc7e4acda1c37ca284a99897862d70d81abadea30bf7
@@ -4,6 +4,8 @@ rvm:
4
4
  - "1.9.2"
5
5
  - "1.9.3"
6
6
  - "2.0.0"
7
+ - "2.1"
8
+ - "2.2"
7
9
  - "jruby"
8
10
  - "rbx-2"
9
11
  script: bundle exec rspec spec
data/History.md CHANGED
@@ -1,3 +1,9 @@
1
+ 1.0.9 (2015-04-29)
2
+ ===================
3
+ Fixes
4
+ --------
5
+ - Remove sha parameter being echoed back on error for better security
6
+
1
7
  1.0.8 (2015-04-23)
2
8
  ===================
3
9
  Fixes
data/README.md CHANGED
@@ -44,7 +44,7 @@ Installation
44
44
 
45
45
  or in your Gemfile
46
46
  ```ruby
47
- gem 'dragonfly', '~> 1.0.8'
47
+ gem 'dragonfly', '~> 1.0.9'
48
48
  ```
49
49
 
50
50
  Require with
@@ -73,7 +73,7 @@ Suggestions/Questions
73
73
 
74
74
  Ruby Versions
75
75
  =============
76
- Dragonfly has been tested with ruby versions 1.8.7, 1.9.2, 1.9.3, 2.0.0, jruby 1.7.8 and rubinius 2.2.
76
+ Dragonfly has been tested with ruby versions 1.8.7, 1.9.2, 1.9.3, 2.0.0, 2.1.x, 2.2.x, jruby 1.7.8 and rubinius 2.2.
77
77
 
78
78
  Upgrading from v0.9 to v1.0
79
79
  ===========================
@@ -68,7 +68,7 @@ module Dragonfly
68
68
  rescue Job::NoSHAGiven => e
69
69
  [400, {"Content-Type" => 'text/plain'}, ["You need to give a SHA parameter"]]
70
70
  rescue Job::IncorrectSHA => e
71
- [400, {"Content-Type" => 'text/plain'}, ["The SHA parameter you gave (#{e}) is incorrect"]]
71
+ [400, {"Content-Type" => 'text/plain'}, ["The SHA parameter you gave is incorrect"]]
72
72
  rescue JobNotAllowed => e
73
73
  Dragonfly.warn(e.message)
74
74
  [403, {"Content-Type" => 'text/plain'}, ["Forbidden"]]
@@ -1,3 +1,3 @@
1
1
  module Dragonfly
2
- VERSION = '1.0.8'
2
+ VERSION = '1.0.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dragonfly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Evans
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-23 00:00:00.000000000 Z
11
+ date: 2015-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack