ero_getter 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ero_getter"
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["masarakki"]
@@ -30,6 +30,10 @@ class EroGetter::Downloader::Base
30
30
  @url
31
31
  end
32
32
 
33
+ def direction
34
+ @direction
35
+ end
36
+
33
37
  def document
34
38
  @document ||= Nokogiri::HTML(open(url).read)
35
39
  end
@@ -40,6 +40,7 @@ describe EroGetter::Downloader::Base do
40
40
  its(:document) { should be_a Nokogiri::HTML::Document }
41
41
  its(:title) { should == 'EroGetter Server' }
42
42
  its(:url) { should == 'http://example.net/10101010.html' }
43
+ its(:direction) { should == 0 }
43
44
  its(:targets) { should == ['https://github.com/masarakki/ero_getter_server',
44
45
  'https://github.com/masarakki/ero_getter_chrome_extension'] }
45
46
  its(:sub_directory) { should == 'ero_getter_server/ero_getter_chrome_extension' }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ero_getter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -180,7 +180,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
180
180
  version: '0'
181
181
  segments:
182
182
  - 0
183
- hash: -1083292477738019808
183
+ hash: 4087790260309801950
184
184
  required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  none: false
186
186
  requirements: