ecm_pictures2 1.1.0 → 1.1.1

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: 5ebb37d682a26e5debd7b4e20d7d0571f2600ed3
4
- data.tar.gz: 76a5edd7c413d0a9328f426b6f2927747df8f5aa
3
+ metadata.gz: c88cb23e84f98e161faa9febfb60bf34e90f24fc
4
+ data.tar.gz: 8e63446cd1e8f32f3cbda0fc93664632fb3fc0e8
5
5
  SHA512:
6
- metadata.gz: c152100dce2d3741bdf07aceac6cda5f8fef753dd5cbcb4f8fa8013d09fcdcfb4cb6a2dafdb224da2f28bcfedd3326fcfdd3e3685447f3f9a2e5d866c62c556b
7
- data.tar.gz: 766523c638f92f3f2e326e2fda97b8a82f232af7d49df78c528787e0241a621d58ccf3dda3d7580d0d4cbca812ccd3e704aa9f0901a66becccb8636ff3e75816
6
+ metadata.gz: f79e38a44e98ab5e55ed051ac92fe6f99d7a2605b7990afda34b876536e1643ed4669ef679567ff6162c0833ec5f4d6ae92e9ec4fb14b341a27bcaedd11f50c3
7
+ data.tar.gz: f4b15aae8e508717bb311d46e6fc08bc43e91fce285ffaebb8882bfe67be3432d05c1c1141d94650a836e66cbcd64bc59b2bb59ad6f8328cfc4555e52beb4ada
@@ -44,7 +44,7 @@ class Ecm::Pictures::Picture < ActiveRecord::Base
44
44
  when :erb
45
45
  "<%= render_picture '#{self.name}' %>"
46
46
  when :textile
47
- "!#{image.url}!".gsub(/\?[0-9]*/, '')
47
+ "!#{image.url}!".gsub(/(\?[0-9]{1,})/, '')
48
48
  else
49
49
  end
50
50
  end
@@ -1,6 +1,6 @@
1
1
  module Ecm
2
2
  module Pictures
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_pictures2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-03 00:00:00.000000000 Z
11
+ date: 2015-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails