Skip to content

Commit

Permalink
Remove lots of old deprecations.
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Sep 11, 2011
1 parent 145918e commit 004dfa9
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 185 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,7 @@
[Full Changelog](http://github.com/myronmarston/vcr/compare/v1.11.3...master)

* Removed support for Ruby 1.8.6 and 1.9.1.
* Removed lots of old deprecated APIs.

## 1.11.3 (August 31, 2011)

Expand Down
4 changes: 0 additions & 4 deletions lib/vcr.rb
Expand Up @@ -9,10 +9,6 @@

require 'vcr/http_stubbing_adapters/common'

require 'vcr/deprecations/cassette'
require 'vcr/deprecations/config'
require 'vcr/deprecations/http_stubbing_adapters/common'

require 'vcr/structs/normalizers/body'
require 'vcr/structs/normalizers/header'
require 'vcr/structs/normalizers/status_message'
Expand Down
3 changes: 0 additions & 3 deletions lib/vcr/cassette.rb
Expand Up @@ -15,7 +15,6 @@ def initialize(name, options = {})
invalid_options = options.keys - [
:record,
:erb,
:allow_real_http,
:match_requests_on,
:re_record_interval,
:tag,
Expand All @@ -35,7 +34,6 @@ def initialize(name, options = {})
@record_mode = :all if should_re_record?
@update_content_length_header = options[:update_content_length_header]

deprecate_old_cassette_options(options)
raise_error_unless_valid_record_mode

set_http_connections_allowed
Expand All @@ -46,7 +44,6 @@ def eject
write_recorded_interactions_to_disk
VCR.http_stubbing_adapter.restore_stubs_checkpoint(self)
restore_http_connections_allowed
restore_ignore_localhost_for_deprecation
end

def recorded_interactions
Expand Down
29 changes: 0 additions & 29 deletions lib/vcr/deprecations/cassette.rb

This file was deleted.

18 changes: 0 additions & 18 deletions lib/vcr/deprecations/config.rb

This file was deleted.

9 changes: 0 additions & 9 deletions lib/vcr/deprecations/http_stubbing_adapters/common.rb

This file was deleted.

11 changes: 0 additions & 11 deletions lib/vcr/deprecations/http_stubbing_adapters/fakeweb.rb

This file was deleted.

1 change: 0 additions & 1 deletion lib/vcr/http_stubbing_adapters/fakeweb.rb
@@ -1,5 +1,4 @@
require 'fakeweb'
require 'vcr/deprecations/http_stubbing_adapters/fakeweb'
require 'vcr/extensions/net_http'

module VCR
Expand Down
57 changes: 0 additions & 57 deletions spec/vcr/deprecations/cassette_spec.rb

This file was deleted.

30 changes: 0 additions & 30 deletions spec/vcr/deprecations/config_spec.rb

This file was deleted.

7 changes: 0 additions & 7 deletions spec/vcr/deprecations/http_stubbing_adapters/common_spec.rb

This file was deleted.

16 changes: 0 additions & 16 deletions spec/vcr/deprecations/http_stubbing_adapters/fakeweb_spec.rb

This file was deleted.

0 comments on commit 004dfa9

Please sign in to comment.