photofy 0.4.2 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/photofy.rb +1 -1
  3. data/lib/photofy/core.rb +3 -3
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c1cbd27db50ac845ef04e02a9adab3ee959ad47
4
- data.tar.gz: 47296f4ec16333c0ab40bf582a8eaf1147789429
3
+ metadata.gz: '07854b16d95794ecd5f008c1fbf4328eeca000e5'
4
+ data.tar.gz: 31c572210791d3b4509e887e468e29e88d37fa67
5
5
  SHA512:
6
- metadata.gz: 53529db6eb69c81f5540e42f8057086f9c05aa440a8c8b880fd2e15a61689e60e4ea65f0456d3569dcdd67c8a2e705dc14ddfcd5f2b58d79fbf188c18e913481
7
- data.tar.gz: ffb29e91cc0cc26453292f473c8d4d426be87f0a0f89f93763362db3867f84903e1f2434764fd649196d17e5da46609d67a47b972063a8a9597c1805e321d29d
6
+ metadata.gz: 8c4974d1b193ef82c0e9b68fcd7cd124d7a2395f4a2d25eac02fe2dc8c281fbadc810070be1650d7e0a86ac8ecfa1b93d0d3ba338441cc0d648c51d6463192ad
7
+ data.tar.gz: b42acc9f9672271afef29a6573527ee2ddf2f3565ae42f89e2116aa0c5b7aea9fbd7575b1652b17e811a40e40f58f853a44e7874b7bcf17dbae991f4487065e9
@@ -2,7 +2,7 @@ require 'photofy/dummy_s3methods'
2
2
  require 'photofy/core'
3
3
  require 'tempfile'
4
4
  begin
5
- require "RMagick"
5
+ require "rmagick"
6
6
  rescue Exception => e
7
7
  puts "Unable to load 'RMagick' for any image manipulations methods"
8
8
  end
@@ -52,7 +52,7 @@ module Photofy
52
52
 
53
53
  collect_photo_formats(photo_field, options)
54
54
 
55
- self.validate "validate_#{photo_field}_field"
55
+ self.validate "validate_#{photo_field}_field".to_sym
56
56
 
57
57
  @@photo_fields ||=[]
58
58
  @@photo_fields << photo_field
@@ -249,8 +249,8 @@ module Photofy
249
249
  end
250
250
  end
251
251
 
252
- send(:after_save, "#{photo_field}_store!")
253
- send(:after_destroy, "#{photo_field}_destroy!")
252
+ send(:after_save, "#{photo_field}_store!".to_sym)
253
+ send(:after_destroy, "#{photo_field}_destroy!".to_sym)
254
254
 
255
255
  @@photofied_flag = true
256
256
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: photofy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Praveen Kumar Sinha
@@ -27,7 +27,7 @@ files:
27
27
  homepage: http://praveenkumarsinha.github.io/Photofy
28
28
  licenses:
29
29
  - MIT
30
- - GPL-2
30
+ - GPL-2.0
31
31
  metadata: {}
32
32
  post_install_message: Thanks for installing Photofy.
33
33
  rdoc_options: []
@@ -45,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
45
45
  version: '0'
46
46
  requirements: []
47
47
  rubyforge_project:
48
- rubygems_version: 2.4.8
48
+ rubygems_version: 2.5.1
49
49
  signing_key:
50
50
  specification_version: 4
51
51
  summary: Photofy