sjunkieex 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/sjunkieex/version.rb +1 -1
- data/sjunkieex.gemspec +1 -1
- data/test/seriesindex_example.xml +1 -1
- data/test/test_interface.rb +8 -2
- metadata +5 -11
data/lib/sjunkieex/version.rb
CHANGED
data/sjunkieex.gemspec
CHANGED
@@ -17,5 +17,5 @@ Gem::Specification.new do |gem|
|
|
17
17
|
|
18
18
|
gem.add_runtime_dependency(%q<nokogiri>, [">= 1.5"])
|
19
19
|
gem.add_runtime_dependency(%q<hashconfig>, [">= 0.0.1"])
|
20
|
-
gem.add_runtime_dependency(%q<sindex>, [">= 0.1.
|
20
|
+
gem.add_runtime_dependency(%q<sindex>, [">= 0.1.5"])
|
21
21
|
end
|
data/test/test_interface.rb
CHANGED
@@ -1,13 +1,19 @@
|
|
1
1
|
# encoding: UTF-8
|
2
2
|
require File.dirname(__FILE__) + '/test_helper.rb'
|
3
3
|
require 'sindex'
|
4
|
+
require 'tempfile'
|
4
5
|
|
5
6
|
class TestInterface < Test::Unit::TestCase
|
6
7
|
|
8
|
+
STANDARD_SINDEX_PATH = File.dirname(__FILE__) + '/seriesindex_example.xml'
|
9
|
+
STANDARD_SINDEX_CONTENT = File.open(STANDARD_SINDEX_PATH).read
|
10
|
+
|
7
11
|
def setup
|
8
|
-
|
12
|
+
@tempfile = Tempfile.new('seriesindex')
|
13
|
+
@tempfile.puts(STANDARD_SINDEX_CONTENT)
|
14
|
+
@tempfile.flush
|
9
15
|
|
10
|
-
@series_index = Sindex::SeriesIndex.new(index_file:
|
16
|
+
@series_index = Sindex::SeriesIndex.new(index_file: @tempfile.path)
|
11
17
|
end
|
12
18
|
|
13
19
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sjunkieex
|
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:
|
12
|
+
date: 2013-01-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ! '>='
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.1.
|
53
|
+
version: 0.1.5
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.1.
|
61
|
+
version: 0.1.5
|
62
62
|
description: Tool that extracts links from serienjunkies.org
|
63
63
|
email:
|
64
64
|
- philipp@i77i.de
|
@@ -98,21 +98,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
98
|
- - ! '>='
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '0'
|
101
|
-
segments:
|
102
|
-
- 0
|
103
|
-
hash: -1986114122574990680
|
104
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
102
|
none: false
|
106
103
|
requirements:
|
107
104
|
- - ! '>='
|
108
105
|
- !ruby/object:Gem::Version
|
109
106
|
version: '0'
|
110
|
-
segments:
|
111
|
-
- 0
|
112
|
-
hash: -1986114122574990680
|
113
107
|
requirements: []
|
114
108
|
rubyforge_project:
|
115
|
-
rubygems_version: 1.8.
|
109
|
+
rubygems_version: 1.8.23
|
116
110
|
signing_key:
|
117
111
|
specification_version: 3
|
118
112
|
summary: serienjunkies.org link extractor
|