undertexter 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +3 -3
- data/spec/fixtures/vcr_cassettes/die-hard.yml +621 -649
- data/spec/fixtures/vcr_cassettes/non-existing.yml +535 -562
- data/spec/fixtures/vcr_cassettes/tt0122933.yml +594 -0
- data/spec/fixtures/vcr_cassettes/tt0499549.yml +597 -619
- data/spec/fixtures/vcr_cassettes/tt0840361.yml +1650 -1717
- data/spec/spec_helper.rb +1 -1
- data/spec/undertexter_spec.rb +9 -0
- data/undertexter.gemspec +2 -2
- metadata +5 -3
data/spec/spec_helper.rb
CHANGED
data/spec/undertexter_spec.rb
CHANGED
@@ -137,6 +137,15 @@ describe Undertexter, "should work when trying to fetch some english subtitles"
|
|
137
137
|
end
|
138
138
|
end
|
139
139
|
|
140
|
+
describe "bugs" do
|
141
|
+
context "tt0122933" do
|
142
|
+
use_vcr_cassette "tt0122933"
|
143
|
+
it "should find something" do
|
144
|
+
Undertexter.find("tt0122933").count.should_not be_zero
|
145
|
+
end
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
140
149
|
describe "errors" do
|
141
150
|
before(:all) do
|
142
151
|
WebMock.disable_net_connect!
|
data/undertexter.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "undertexter"
|
6
|
-
s.version = "0.1.
|
6
|
+
s.version = "0.1.12"
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
8
|
s.authors = ["Linus Oleander"]
|
9
9
|
s.email = ["linus@oleander.nu"]
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
21
|
s.add_dependency("rest-client", "1.6.1")
|
22
|
-
s.add_dependency("nokogiri", "1.
|
22
|
+
s.add_dependency("nokogiri", "1.5.0")
|
23
23
|
s.add_dependency("mimer_plus", "0.0.4")
|
24
24
|
s.add_dependency("levenshteinish", "0.0.3")
|
25
25
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: undertexter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.12
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Linus Oleander
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-07-12 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - "="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 1.
|
35
|
+
version: 1.5.0
|
36
36
|
type: :runtime
|
37
37
|
version_requirements: *id002
|
38
38
|
- !ruby/object:Gem::Dependency
|
@@ -114,6 +114,7 @@ files:
|
|
114
114
|
- spec/fixtures/error.html
|
115
115
|
- spec/fixtures/vcr_cassettes/die-hard.yml
|
116
116
|
- spec/fixtures/vcr_cassettes/non-existing.yml
|
117
|
+
- spec/fixtures/vcr_cassettes/tt0122933.yml
|
117
118
|
- spec/fixtures/vcr_cassettes/tt0499549.yml
|
118
119
|
- spec/fixtures/vcr_cassettes/tt0840361.yml
|
119
120
|
- spec/spec_helper.rb
|
@@ -153,6 +154,7 @@ test_files:
|
|
153
154
|
- spec/fixtures/error.html
|
154
155
|
- spec/fixtures/vcr_cassettes/die-hard.yml
|
155
156
|
- spec/fixtures/vcr_cassettes/non-existing.yml
|
157
|
+
- spec/fixtures/vcr_cassettes/tt0122933.yml
|
156
158
|
- spec/fixtures/vcr_cassettes/tt0499549.yml
|
157
159
|
- spec/fixtures/vcr_cassettes/tt0840361.yml
|
158
160
|
- spec/spec_helper.rb
|