ss-attachment_fu 3.2.19 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MGEwM2Q5NTZlMjU1NThiZDAwMTBhOTYwNjJhMzVlY2I5ZWY2NDk2YQ==
5
+ data.tar.gz: !binary |-
6
+ YTc0MmViNzI0ZGRlY2Y0NjAwNWJjYmY0N2ZlNGQwY2Y2NDBlNTQ4ZA==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NTE2YTZjYWZiNzBmYmRkOWI1ZGY5MjYzOGI2OWUyMjY2YzIwOTE0Zjc0YzAw
10
+ MDM5MzljZDA2M2JiYTY3OWQ4YTJiNzliNWJjMjU5YjNmOTIwODMzZTVjNzdi
11
+ M2RjOWMxY2NkODE3ZDlhNGI1OTZhZmViMGQxYjg2M2JiOWQ5YWM=
12
+ data.tar.gz: !binary |-
13
+ NDY4MWRjYTA4NDVkN2MyMDZmOTQyMjdlNzQxMjI3YWE3NjczMmFiN2ZlYjc1
14
+ OTc0YjU4YTJjMjdlNTJlYWM0YTY5ODQwYTExYzZjMTE2ODhkMDZjZDQ2NGVj
15
+ N2VhNjBiYTFiMjJiOGNjNWIyNTcwOTcyZDRiMTg1ZmM4NjNkY2Q=
@@ -108,14 +108,7 @@ module Technoweenie # :nodoc:
108
108
  # Zoo Patch : Override saves the file into AWS directly
109
109
  def save_to_storage
110
110
  if save_attachment?
111
- # This overwrites the file if it exists, maybe have an allow_overwrite option?
112
- uploaded = save_to_s3
113
- try = 0
114
- while try < 5 && !uploaded
115
- try = try + 1
116
- uploaded = save_to_s3
117
- sleep(5)
118
- end
111
+ save_to_s3
119
112
  end
120
113
  @old_filename = nil
121
114
  true
metadata CHANGED
@@ -1,17 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ss-attachment_fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.19
5
- prerelease:
4
+ version: 3.3.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Rick Olson
9
8
  - Steven Pothoven
10
- - M. Yunan Helmy
11
9
  autorequire:
12
10
  bindir: bin
13
11
  cert_chain: []
14
- date: 2015-04-08 00:00:00.000000000 Z
12
+ date: 2015-09-15 00:00:00.000000000 Z
15
13
  dependencies: []
16
14
  description: This is a fork of Steven Pothoven's attachment_fu including custom some
17
15
  enhancements for Zoo Property
@@ -21,32 +19,33 @@ extensions: []
21
19
  extra_rdoc_files:
22
20
  - README.rdoc
23
21
  files:
22
+ - CHANGELOG
23
+ - LICENSE
24
+ - README.rdoc
25
+ - amazon_s3.yml.tpl
24
26
  - lib/geometry.rb
25
27
  - lib/ss-attachment_fu.rb
26
28
  - lib/technoweenie/attachment_fu.rb
27
29
  - lib/technoweenie/attachment_fu/backends/cloud_file_backend.rb
28
- - lib/technoweenie/attachment_fu/backends/s3_backend.rb
29
30
  - lib/technoweenie/attachment_fu/backends/db_file_backend.rb
30
31
  - lib/technoweenie/attachment_fu/backends/file_system_backend.rb
31
- - lib/technoweenie/attachment_fu/processors/mini_magick_processor.rb
32
+ - lib/technoweenie/attachment_fu/backends/s3_backend.rb
32
33
  - lib/technoweenie/attachment_fu/processors/core_image_processor.rb
33
- - lib/technoweenie/attachment_fu/processors/rmagick_processor.rb
34
34
  - lib/technoweenie/attachment_fu/processors/gd2_processor.rb
35
35
  - lib/technoweenie/attachment_fu/processors/image_science_processor.rb
36
+ - lib/technoweenie/attachment_fu/processors/mini_magick_processor.rb
37
+ - lib/technoweenie/attachment_fu/processors/rmagick_processor.rb
38
+ - rackspace_cloudfiles.yml.tpl
39
+ - vendor/red_artisan/core_image/filters/color.rb
36
40
  - vendor/red_artisan/core_image/filters/effects.rb
37
41
  - vendor/red_artisan/core_image/filters/perspective.rb
38
- - vendor/red_artisan/core_image/filters/scale.rb
39
- - vendor/red_artisan/core_image/filters/color.rb
40
42
  - vendor/red_artisan/core_image/filters/quality.rb
43
+ - vendor/red_artisan/core_image/filters/scale.rb
41
44
  - vendor/red_artisan/core_image/filters/watermark.rb
42
45
  - vendor/red_artisan/core_image/processor.rb
43
- - CHANGELOG
44
- - LICENSE
45
- - README.rdoc
46
- - amazon_s3.yml.tpl
47
- - rackspace_cloudfiles.yml.tpl
48
- homepage: https://github.com/SoftwareSeniPT/attachment_fu
46
+ homepage: https://github.com/yunanhelmy/attachment_fu
49
47
  licenses: []
48
+ metadata: {}
50
49
  post_install_message:
51
50
  rdoc_options:
52
51
  - --inline-source
@@ -54,20 +53,18 @@ rdoc_options:
54
53
  require_paths:
55
54
  - lib
56
55
  required_ruby_version: !ruby/object:Gem::Requirement
57
- none: false
58
56
  requirements:
59
57
  - - ! '>='
60
58
  - !ruby/object:Gem::Version
61
59
  version: '0'
62
60
  required_rubygems_version: !ruby/object:Gem::Requirement
63
- none: false
64
61
  requirements:
65
62
  - - ! '>='
66
63
  - !ruby/object:Gem::Version
67
64
  version: '0'
68
65
  requirements: []
69
66
  rubyforge_project: nowarning
70
- rubygems_version: 1.8.23
67
+ rubygems_version: 2.2.4
71
68
  signing_key:
72
69
  specification_version: 2
73
70
  summary: attachment_fu as a gem