url2png-dc 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/url2png/url_helper.rb +1 -1
- data/url2png-dc.gemspec +60 -0
- metadata +3 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/url2png/url_helper.rb
CHANGED
@@ -55,7 +55,7 @@ module Url2PngDc
|
|
55
55
|
options[:viewport] || url2png_conf.viewport_dimensions
|
56
56
|
}
|
57
57
|
|
58
|
-
params.sort_by { |o| o[0] }.inject([]) { |memo, obj|
|
58
|
+
params.sort_by { |o| o[0].to_s }.inject([]) { |memo, obj|
|
59
59
|
k, v = *obj.map(&:to_s)
|
60
60
|
memo << [CGI.escape(k), CGI.escape(v)].join("=") if v && !v.empty?
|
61
61
|
memo
|
data/url2png-dc.gemspec
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "url2png-dc"
|
8
|
+
s.version = "0.1.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Yung Hwa Kwon"]
|
12
|
+
s.date = "2012-09-01"
|
13
|
+
s.description = "Gem to use Url2Png"
|
14
|
+
s.email = "yung.kwon@damncarousel.com"
|
15
|
+
s.files = [
|
16
|
+
".rvmrc",
|
17
|
+
"Gemfile",
|
18
|
+
"Gemfile.lock",
|
19
|
+
"Rakefile",
|
20
|
+
"VERSION",
|
21
|
+
"lib/url2png/cache.rb",
|
22
|
+
"lib/url2png/configuration.rb",
|
23
|
+
"lib/url2png/url_helper.rb",
|
24
|
+
"lib/url2png_dc.rb",
|
25
|
+
"test/cache_test.rb",
|
26
|
+
"test/configuration_test.rb",
|
27
|
+
"test/really/make_call_to_url2png_test.rb",
|
28
|
+
"test/test_helper.rb",
|
29
|
+
"test/url2png_dc_test.rb",
|
30
|
+
"test/url_helper_test.rb",
|
31
|
+
"url2png-dc.gemspec"
|
32
|
+
]
|
33
|
+
s.homepage = "http://github.com/nowk/url2png-dc"
|
34
|
+
s.licenses = ["MIT"]
|
35
|
+
s.require_paths = ["lib"]
|
36
|
+
s.rubygems_version = "1.8.24"
|
37
|
+
s.summary = "Url2Png Gem .v6"
|
38
|
+
|
39
|
+
if s.respond_to? :specification_version then
|
40
|
+
s.specification_version = 3
|
41
|
+
|
42
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
43
|
+
s.add_runtime_dependency(%q<httparty>, [">= 0"])
|
44
|
+
s.add_development_dependency(%q<minitest>, [">= 0"])
|
45
|
+
s.add_development_dependency(%q<turn>, [">= 0"])
|
46
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
47
|
+
else
|
48
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
49
|
+
s.add_dependency(%q<minitest>, [">= 0"])
|
50
|
+
s.add_dependency(%q<turn>, [">= 0"])
|
51
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
52
|
+
end
|
53
|
+
else
|
54
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
55
|
+
s.add_dependency(%q<minitest>, [">= 0"])
|
56
|
+
s.add_dependency(%q<turn>, [">= 0"])
|
57
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: url2png-dc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -96,6 +96,7 @@ files:
|
|
96
96
|
- test/test_helper.rb
|
97
97
|
- test/url2png_dc_test.rb
|
98
98
|
- test/url_helper_test.rb
|
99
|
+
- url2png-dc.gemspec
|
99
100
|
homepage: http://github.com/nowk/url2png-dc
|
100
101
|
licenses:
|
101
102
|
- MIT
|
@@ -111,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
111
112
|
version: '0'
|
112
113
|
segments:
|
113
114
|
- 0
|
114
|
-
hash:
|
115
|
+
hash: 2435669331839851502
|
115
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
117
|
none: false
|
117
118
|
requirements:
|