spider_monkey 0.0.6 → 0.0.7

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: ad74439c67a176c73c4d73570feaedf219af534f
4
- data.tar.gz: 0b41c424676a1d70a3d1b618921e9aabb40218f0
3
+ metadata.gz: aa42ad4e48f6131e09202195c0fb9db6565be3db
4
+ data.tar.gz: d6828fdd6a8998b71f8dc49a762afb2cd96eb0ce
5
5
  SHA512:
6
- metadata.gz: aa70096e9b457f22f44fe4a5e502e877e1111028a97211b10d515f7208601cb76f79693aa2d96b859e035f18e592459377f43f1217cbcae7827f587c8a81c1ae
7
- data.tar.gz: 591c6ea4e4c38c33a40f73882f6b56047dc860bb79dfd4785cc426e0a3f0cfb027b6b23ccebf28b2ca01b1591c0705fabf35d0fecace5c68b3d252d5038e8d8f
6
+ metadata.gz: 557bbd5b9f7cccbe7f4d9aa4cdb78cb005941aa8e33ac6f5f2a4fc776058e6fb980b067d6e4464bf3780cd5468b27daf95ad75aa2d1ea02cf8537c790f707093
7
+ data.tar.gz: 7b2592268c7a83646736797c4a3ee3e66a6fde51d7fe5b70e70f8b14cb356657c9d23b8a246b7ca16ccee1df1134df908ea7c69b23be3fef582321b7e770d5fb
@@ -18,6 +18,10 @@ module SpiderMonkey
18
18
  ""
19
19
  end
20
20
  end
21
+
22
+ def async_resized_image_url(options)
23
+ resized_image_url(options).gsub(SpiderMonkey.configuration[:cloudfront_host], "usespidermonkey.com/api/v1/u/#{SpiderMonkey.configuration[:user_key]}")
24
+ end
21
25
 
22
26
  private
23
27
  def spider_monkey_string_from_options_hash(options)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "spider_monkey"
3
- s.version = "0.0.6"
3
+ s.version = "0.0.7"
4
4
  s.platform = Gem::Platform::RUBY
5
5
 
6
6
  s.authors = ["Ben McFadden"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spider_monkey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben McFadden