url2png-dc 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/test/test_helper.rb +7 -5
- data/url2png-dc.gemspec +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.7
|
data/test/test_helper.rb
CHANGED
@@ -17,13 +17,15 @@ end
|
|
17
17
|
|
18
18
|
def mock_my_httparty!(and_return_payload = json_payload)
|
19
19
|
# mocky
|
20
|
+
mock_my_response = Class.new do
|
21
|
+
define_method :body do
|
22
|
+
and_return_payload
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
20
26
|
HTTParty.instance_eval do
|
21
27
|
(class << self; self; end).__send__ :define_method, :get do |url|
|
22
|
-
|
23
|
-
(class << obj; self; end).__send__ :define_method, :body do
|
24
|
-
and_return_payload
|
25
|
-
end
|
26
|
-
obj
|
28
|
+
mock_my_response.new
|
27
29
|
end
|
28
30
|
end
|
29
31
|
end
|
data/url2png-dc.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "url2png-dc"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.7"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Yung Hwa Kwon"]
|
12
|
-
s.date = "2012-09-
|
12
|
+
s.date = "2012-09-03"
|
13
13
|
s.description = "Gem to use Url2Png"
|
14
14
|
s.email = "yung.kwon@damncarousel.com"
|
15
15
|
s.extra_rdoc_files = [
|
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.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-09-
|
12
|
+
date: 2012-09-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
@@ -115,7 +115,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
115
115
|
version: '0'
|
116
116
|
segments:
|
117
117
|
- 0
|
118
|
-
hash: -
|
118
|
+
hash: -3933517765045135780
|
119
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
120
|
none: false
|
121
121
|
requirements:
|