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 +4 -4
- data/lib/spider_monkey/helper.rb +4 -0
- data/spider_monkey.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa42ad4e48f6131e09202195c0fb9db6565be3db
|
4
|
+
data.tar.gz: d6828fdd6a8998b71f8dc49a762afb2cd96eb0ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 557bbd5b9f7cccbe7f4d9aa4cdb78cb005941aa8e33ac6f5f2a4fc776058e6fb980b067d6e4464bf3780cd5468b27daf95ad75aa2d1ea02cf8537c790f707093
|
7
|
+
data.tar.gz: 7b2592268c7a83646736797c4a3ee3e66a6fde51d7fe5b70e70f8b14cb356657c9d23b8a246b7ca16ccee1df1134df908ea7c69b23be3fef582321b7e770d5fb
|
data/lib/spider_monkey/helper.rb
CHANGED
@@ -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)
|
data/spider_monkey.gemspec
CHANGED