simple-fourchan 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/simple-fourchan.rb +1 -1
- data/lib/simple-fourchan/version.rb +1 -1
- metadata +2 -2
data/lib/simple-fourchan.rb
CHANGED
@@ -17,7 +17,7 @@ module Fourchan
|
|
17
17
|
temp.each do |post|
|
18
18
|
tim = post["tim"]
|
19
19
|
ext = post["ext"]
|
20
|
-
post.merge!({"image" => "http://images.4chan.org/#{@board}/src/#{tim}
|
20
|
+
post.merge!({"image" => "http://images.4chan.org/#{@board}/src/#{tim}#{ext}"}) unless tim.nil?
|
21
21
|
post.merge!({"thumb" => "http://thumbs.4chan.org/#{@board}/thumb/#{tim}s.jpg"}) unless tim.nil?
|
22
22
|
post.merge!({"link" => "http://boards.4chan.org/#{@board}/res/#{thread}"})
|
23
23
|
@posts << OpenStruct.new(post)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple-fourchan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
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-12-
|
12
|
+
date: 2012-12-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|