ero_getter 1.3.7 → 1.3.8

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.7
1
+ 1.3.8
data/ero_getter.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ero_getter"
8
- s.version = "1.3.7"
8
+ s.version = "1.3.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["masarakki"]
12
- s.date = "2012-07-24"
12
+ s.date = "2012-07-26"
13
13
  s.description = "ero getter"
14
14
  s.email = "masaki@hisme.net"
15
15
  s.extra_rdoc_files = [
@@ -2,7 +2,7 @@
2
2
  class NijigazouSokuhou < EroGetter::Base
3
3
 
4
4
  name '二次画像速報'
5
- url %r{http://blog.livedoor.jp/nijigazo/archives/\d+.html}
5
+ url %r{http://nijigazo.2chblog.jp/archives/\d+.html}
6
6
 
7
7
  target ".article-body-more > a > img" do |path|
8
8
  path.parent[:href] if path.parent[:href] =~ /jpe?g|png|gif$/
@@ -2,7 +2,7 @@
2
2
  require 'spec_helper'
3
3
 
4
4
  describe NijigazouSokuhou do
5
- let(:url) { 'http://blog.livedoor.jp/nijigazo/archives/52249806.html' }
5
+ let(:url) { 'http://nijigazo.2chblog.jp/archives/52249806.html' }
6
6
  subject { @dl = NijigazouSokuhou.new(url) }
7
7
 
8
8
  before do
@@ -31,8 +31,8 @@ describe NijigazouSokuhou do
31
31
  its("targets.count") { should == 50 }
32
32
  its("targets.first") { should == "http://img03.nijigazo.com/2012/05/11/azusa/0511azusa_0051.jpg" }
33
33
  its(:sub_directory) { should == 'azusa/20120511' }
34
- its(:prev) { should == 'http://blog.livedoor.jp/nijigazo/archives/52249804.html' }
35
- its(:next) { should == 'http://blog.livedoor.jp/nijigazo/archives/52249808.html' }
34
+ its(:prev) { should == 'http://nijigazo.2chblog.jp/archives/52249804.html' }
35
+ its(:next) { should == 'http://nijigazo.2chblog.jp/archives/52249808.html' }
36
36
  end
37
37
 
38
38
  context :last do