rails_imager 0.0.13 → 0.0.14

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: 5dc80df618e912dd9599ee41f9a5ecac6d2c2417
4
- data.tar.gz: fdbd061be8768e11375bb6d63ca1145527d8b649
3
+ metadata.gz: 7a6b11ddfb2b441dafd1bccf0b3f5c9c6cfb99de
4
+ data.tar.gz: e038f4b3b581023c441c1d3d95762eb0579baee9
5
5
  SHA512:
6
- metadata.gz: c1d9297999db70846eba4e9603299a1956abb0312511707d1963590dcd09e0ad376309e4407d01793bb9fba55a4e2d588ef27799d937cd02821fabdb487196c4
7
- data.tar.gz: 8fc3f35e66d136afc573d01fcdbdc2a74e5e8b99c729805ab8b6f292465309cc82d4ec4ab80286f47b0faa51bb53941c24e5b91e4db88b5d3925285130d34e87
6
+ metadata.gz: 3371b36d965880c3d93e40d6bde6ceca867f21464f4ade9727738b176499dffe985113e78ed078413c5748aa1ed2ca4d57b506b021cf223efab50ab1716818b8
7
+ data.tar.gz: dbac1e92a0d1a124b94ce6cd8a6b8c8318894df486248e48332b031a944f8d6f229ce21d2de1e78a57fefc2c67351155aca4295952f52b7a73a7c797d145be05
@@ -3,7 +3,7 @@ require "uri"
3
3
  module RailsImager::ImagesHelper
4
4
  def rails_imager_p(path, args = {})
5
5
  if path.class.name == "Paperclip::Attachment"
6
- raise "Paperclip path does not start with public path." unless path.path.to_s.start_with?(Rails.public_path.to_s)
6
+ raise "Paperclip path does not start with public path: #{path.path}" unless path.path.to_s.start_with?(Rails.public_path.to_s)
7
7
  path_without_public = path.path.to_s.gsub("#{Rails.public_path}/", "")
8
8
  raise "Path didn't change '#{path.path}' - '#{path_without_public}'." if path.path.to_s == path_without_public
9
9
  path = path_without_public
@@ -1,3 +1,3 @@
1
1
  module RailsImager
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_imager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - kaspernj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-18 00:00:00.000000000 Z
11
+ date: 2014-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -24,6 +24,62 @@ dependencies:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.0.4
27
+ - !ruby/object:Gem::Dependency
28
+ name: knjrbfw
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: 0.0.109
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: 0.0.109
41
+ - !ruby/object:Gem::Dependency
42
+ name: rmagick
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: datet
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: string-cases
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
27
83
  - !ruby/object:Gem::Dependency
28
84
  name: sqlite3
29
85
  requirement: !ruby/object:Gem::Requirement