simple-websocket-vcr 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db5656145b23681ce7430ff7033e3bbb40f2a56b
4
- data.tar.gz: abd01476ee358c3a897f44d99afeee61e3bf2856
3
+ metadata.gz: e4e3bd4ad497538c5854e17f3ec76a2a7f8026d6
4
+ data.tar.gz: 7d0c14cf83177b9eb994feba28316a58f2661d3d
5
5
  SHA512:
6
- metadata.gz: 56a331b9c80dbed37bbda8f3598886f8ac325868c6a845cd721640fea1992e002f0d4097a16c63a67b35ac92bf8cd2c815f26f0adf4c2912236ea88fc2f04a55
7
- data.tar.gz: 8824ae144e9cfcb09628fcb58d94be3f88bdcf5c95d32c8e178beb1a79a5204ac5387c8b245052ba5c9fb97315bdce8e02fcc8379309714c89bd580343854adb
6
+ metadata.gz: 5db4b3ba2fec4cfa2378dedd34812533aeac4f520d7c14f6dec58c67d9e1f73ac7104b243765d00b7202171295e2b8ca77bf90e17f041c6f4c2561e2b90a68c6
7
+ data.tar.gz: 15b87a93f9049c09fbd93ea294c5d4e2d4810a9c859232fba14f68cf38b2267f167ae78448c9cea4fa62141fab6674b07aec4bc8604d03b62a39c07bbbf30904
data/.travis.yml CHANGED
@@ -3,4 +3,4 @@ rvm:
3
3
  - 2.0
4
4
  - 2.1
5
5
  - 2.2
6
- - 2.3
6
+ # - 2.3 not yet on Travis
@@ -1,8 +1,8 @@
1
- require 'vcr/cassette'
2
- require 'vcr/configuration'
3
- require 'vcr/errors'
4
- require 'vcr/recordable_websocket_client'
5
- require 'vcr/version'
1
+ require 'simple-websocket-vcr/cassette'
2
+ require 'simple-websocket-vcr/configuration'
3
+ require 'simple-websocket-vcr/errors'
4
+ require 'simple-websocket-vcr/recordable_websocket_client'
5
+ require 'simple-websocket-vcr/version'
6
6
  require 'json'
7
7
  require 'websocket-client-simple'
8
8
 
@@ -1,4 +1,4 @@
1
- require 'vcr/errors'
1
+ require 'simple-websocket-vcr/errors'
2
2
  require 'fileutils'
3
3
 
4
4
  module VCR
File without changes
File without changes
@@ -1,7 +1,7 @@
1
1
  require 'delegate'
2
2
  require 'websocket-client-simple'
3
3
  require 'base64'
4
- require 'vcr/errors'
4
+ require 'simple-websocket-vcr/errors'
5
5
 
6
6
  module VCR
7
7
  module WebSocket
@@ -1,5 +1,5 @@
1
1
  module VCR
2
2
  module WebSocket
3
- VERSION = '0.0.1'.freeze
3
+ VERSION = '0.0.2'.freeze
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'vcr/version'
4
+ require 'simple-websocket-vcr/version'
5
5
 
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = 'simple-websocket-vcr'
@@ -12,6 +12,7 @@ Gem::Specification.new do |gem|
12
12
  gem.summary = 'simple-websocket-vcr is VCR add-on for websockets.'
13
13
  gem.homepage = 'https://github.com/Jiri-Kremser/simple-websocket-vcr'
14
14
  gem.license = 'Apache-2.0'
15
+ gem.required_ruby_version = '>= 2.0.0'
15
16
 
16
17
  gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
17
18
  gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
@@ -19,5 +20,6 @@ Gem::Specification.new do |gem|
19
20
  gem.require_paths = ['lib']
20
21
 
21
22
  gem.add_development_dependency('rspec-rails', '~> 3.0')
23
+ gem.add_development_dependency('rake', '~> 11')
22
24
  gem.add_development_dependency('websocket-client-simple', '~> 0.3')
23
25
  end
data/spec/vcr_spec.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'vcr'
1
+ require 'simple-websocket-vcr'
2
2
  require 'thread'
3
3
  require 'websocket-client-simple'
4
4
  require 'json'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-websocket-vcr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jirka Kremser
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '11'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '11'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: websocket-client-simple
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -54,12 +68,12 @@ files:
54
68
  - LICENSE.txt
55
69
  - README.md
56
70
  - Rakefile
57
- - lib/vcr.rb
58
- - lib/vcr/cassette.rb
59
- - lib/vcr/configuration.rb
60
- - lib/vcr/errors.rb
61
- - lib/vcr/recordable_websocket_client.rb
62
- - lib/vcr/version.rb
71
+ - lib/simple-websocket-vcr.rb
72
+ - lib/simple-websocket-vcr/cassette.rb
73
+ - lib/simple-websocket-vcr/configuration.rb
74
+ - lib/simple-websocket-vcr/errors.rb
75
+ - lib/simple-websocket-vcr/recordable_websocket_client.rb
76
+ - lib/simple-websocket-vcr/version.rb
63
77
  - simple-websocket-vcr.gemspec
64
78
  - spec/fixtures/vcr_cassettes/EXPLICIT/some_explicitly_specified_cassette.json
65
79
  - spec/fixtures/vcr_cassettes/VCR_for_WS/automatically_picked_cassette_name_is_ok,_when_describing_parent_and_example_child1.json
@@ -82,7 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
82
96
  requirements:
83
97
  - - ">="
84
98
  - !ruby/object:Gem::Version
85
- version: '0'
99
+ version: 2.0.0
86
100
  required_rubygems_version: !ruby/object:Gem::Requirement
87
101
  requirements:
88
102
  - - ">="
@@ -104,3 +118,4 @@ test_files:
104
118
  - spec/fixtures/vcr_cassettes/VCR_for_WS/should_record_the_very_first_message_caught_on_the_client_yielded_by_the_connect_method.json
105
119
  - spec/spec_helper.rb
106
120
  - spec/vcr_spec.rb
121
+ has_rdoc: