ero_getter 1.6.1 → 1.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -1,3 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
+ - 2.0.0
5
+ matrix:
6
+ allow_failures:
7
+ - rvm: 2.0.0
data/Gemfile CHANGED
@@ -12,6 +12,8 @@ group :development, :test do
12
12
  gem 'guard-spork'
13
13
  gem 'bundler'
14
14
  gem 'jeweler'
15
+ gem 'pry'
16
+ gem 'pry-doc'
15
17
  end
16
18
 
17
19
  group :test do
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.1
1
+ 1.6.2
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.6.1"
8
+ s.version = "1.6.2"
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 = "2013-02-07"
12
+ s.date = "2013-02-10"
13
13
  s.description = "ero getter"
14
14
  s.email = "masaki@hisme.net"
15
15
  s.extra_rdoc_files = [
@@ -73,7 +73,7 @@ Gem::Specification.new do |s|
73
73
  s.homepage = "http://github.com/masarakki/ero_getter"
74
74
  s.licenses = ["MIT"]
75
75
  s.require_paths = ["lib"]
76
- s.rubygems_version = "1.8.24"
76
+ s.rubygems_version = "1.8.25"
77
77
  s.summary = "ero getter"
78
78
 
79
79
  if s.respond_to? :specification_version then
@@ -90,6 +90,8 @@ Gem::Specification.new do |s|
90
90
  s.add_development_dependency(%q<guard-spork>, [">= 0"])
91
91
  s.add_development_dependency(%q<bundler>, [">= 0"])
92
92
  s.add_development_dependency(%q<jeweler>, [">= 0"])
93
+ s.add_development_dependency(%q<pry>, [">= 0"])
94
+ s.add_development_dependency(%q<pry-doc>, [">= 0"])
93
95
  else
94
96
  s.add_dependency(%q<activesupport>, [">= 0"])
95
97
  s.add_dependency(%q<httpclient>, [">= 0"])
@@ -101,6 +103,8 @@ Gem::Specification.new do |s|
101
103
  s.add_dependency(%q<guard-spork>, [">= 0"])
102
104
  s.add_dependency(%q<bundler>, [">= 0"])
103
105
  s.add_dependency(%q<jeweler>, [">= 0"])
106
+ s.add_dependency(%q<pry>, [">= 0"])
107
+ s.add_dependency(%q<pry-doc>, [">= 0"])
104
108
  end
105
109
  else
106
110
  s.add_dependency(%q<activesupport>, [">= 0"])
@@ -113,6 +117,8 @@ Gem::Specification.new do |s|
113
117
  s.add_dependency(%q<guard-spork>, [">= 0"])
114
118
  s.add_dependency(%q<bundler>, [">= 0"])
115
119
  s.add_dependency(%q<jeweler>, [">= 0"])
120
+ s.add_dependency(%q<pry>, [">= 0"])
121
+ s.add_dependency(%q<pry-doc>, [">= 0"])
116
122
  end
117
123
  end
118
124
 
@@ -2,7 +2,7 @@ class PmStyle < EroGetter::Base
2
2
  name 'PM Style'
3
3
  url %r{http://mxserver08.net/new_pm/main/movie\d+.html}
4
4
  target "a > img" do |path|
5
- path.parent[:href] if path[:alt] =~ /file\d+/
5
+ path.parent[:href] if path.parent[:href] =~ /file=.+\.zip$/
6
6
  end
7
7
  sub_directory do
8
8
  matches = targets.first.match(/pm_(.+?)(\d+)[a|b|c].zip$/)
@@ -10,10 +10,10 @@ describe PmStyle do
10
10
  end
11
11
  its(:base_dir) { should == 'pm_style' }
12
12
  its(:targets) { should == [
13
- 'http://hpcgi2.nifty.com/r-seven/page.cgi?file=copy2/pm/120526/pm_chu2800a.zip',
14
- 'http://hpcgi2.nifty.com/r-seven/page.cgi?file=copy2/pm/120526/pm_chu2800b.zip',
15
- 'http://hpcgi2.nifty.com/r-seven/page.cgi?file=copy2/pm/120526/pm_chu2800c.zip']
13
+ 'http://hpcgi2.nifty.com/r-seven/page.cgi?file=copy2/pm/130206/pm_chu3056a.zip',
14
+ 'http://hpcgi2.nifty.com/r-seven/page.cgi?file=copy2/pm/130206/pm_chu3056c.zip',
15
+ 'http://hpcgi2.nifty.com/r-seven/page.cgi?file=copy2/pm/130206/pm_chu3056b.zip']
16
16
  }
17
- its(:sub_directory) { should == 'pm_chu_002800' }
17
+ its(:sub_directory) { should == 'pm_chu_003056' }
18
18
  end
19
19