addic7ed 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,4 +19,8 @@ RSpec.configure do |config|
19
19
  config.formatter = :documentation # :progress, :html, :textmate
20
20
 
21
21
  config.raise_errors_for_deprecations!
22
+
23
+ config.before(:each) do
24
+ stub_request(:get, "http://www.addic7ed.com").to_return(File.new("spec/responses/homepage.http"))
25
+ end
22
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: addic7ed
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Baudino
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-06 00:00:00.000000000 Z
11
+ date: 2016-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -108,14 +108,17 @@ files:
108
108
  - lib/addic7ed/episode.rb
109
109
  - lib/addic7ed/errors.rb
110
110
  - lib/addic7ed/parser.rb
111
+ - lib/addic7ed/show_list.rb
111
112
  - lib/addic7ed/subtitle.rb
112
113
  - lib/addic7ed/version.rb
113
114
  - lib/addic7ed/video_file.rb
114
115
  - spec/lib/addic7ed/common_spec.rb
115
116
  - spec/lib/addic7ed/episode_spec.rb
117
+ - spec/lib/addic7ed/show_list_spec.rb
116
118
  - spec/lib/addic7ed/subtitle_spec.rb
117
119
  - spec/lib/addic7ed/video_file_spec.rb
118
120
  - spec/responses/basic_redirection.http
121
+ - spec/responses/homepage.http
119
122
  - spec/responses/redirection_loop.http
120
123
  - spec/responses/walking-dead-3-2-1.http
121
124
  - spec/responses/walking-dead-3-2-48.http
@@ -152,9 +155,11 @@ summary: Addic7ed auto-downloader
152
155
  test_files:
153
156
  - spec/lib/addic7ed/common_spec.rb
154
157
  - spec/lib/addic7ed/episode_spec.rb
158
+ - spec/lib/addic7ed/show_list_spec.rb
155
159
  - spec/lib/addic7ed/subtitle_spec.rb
156
160
  - spec/lib/addic7ed/video_file_spec.rb
157
161
  - spec/responses/basic_redirection.http
162
+ - spec/responses/homepage.http
158
163
  - spec/responses/redirection_loop.http
159
164
  - spec/responses/walking-dead-3-2-1.http
160
165
  - spec/responses/walking-dead-3-2-48.http