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.
@@ -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}.#{ext}"}) unless tim.nil?
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)
@@ -1,5 +1,5 @@
1
1
  module Simple
2
2
  module Fourchan
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
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.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-05 00:00:00.000000000 Z
12
+ date: 2012-12-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json