tzu_mock 1.2.0 → 1.3.0

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
- SHA1:
3
- metadata.gz: add3ea6e0b5d294529170a40e2cebd3b9f7c4e08
4
- data.tar.gz: 1f56ebf946f95c2ac49c3d1c0554ed3a0da51e06
2
+ SHA256:
3
+ metadata.gz: bfeba27435b14487d4f44b1a34dff18bab63068684ec8f29eab3bfc9fc8a613d
4
+ data.tar.gz: 0340ffa48976774ba9472fc1564e490e753060bd674b2f69868b7e493aab04c6
5
5
  SHA512:
6
- metadata.gz: 813afb83eaee56ea9a570f22081752872505ec4d6240bfd7e51b61eb2628eefd1a7a1ea246ac8f423e03dc12cf5779e2d9c50f60ed15380eadbac6fe8792cd43
7
- data.tar.gz: 33acb4cd26ae3ff5b8154c76c64f9e9aa25d85ae2c37653dcf81081b096708cbd98ce786acd55e02bb5a4c4a455163c0dc50eec9ddc046ef1ef29f8454f82764
6
+ metadata.gz: 57f6e5f426dbd6b9b109a032d27fc139b9dde8493b5e9677b39726add3f33428d5dc5f3e33c5b3d5a042204938331220877fd690fa663b1abb87e74e54539e4b
7
+ data.tar.gz: bfdc27287313694416b94c56a6d787ec177fbc9abf1bab142dc94121c8fc945cb8e0b6722beb796236b3fdb72aeeade81967d4a65f84766ff823583b50302b01
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Tzu Mock [![Build Status](https://travis-ci.org/onfido/tzu_mock.svg)](https://travis-ci.org/onfido/tzu_mock)
1
+ # Tzu Mock
2
2
 
3
3
  A very simple library for mocking Tzu in RSpec
4
4
 
data/spec/spec_helper.rb CHANGED
@@ -1,8 +1,15 @@
1
- require 'rubygems'
2
- require 'byebug'
3
- require 'tzu'
4
- require 'rspec'
5
- require 'bundler/setup'
6
- Bundler.setup
1
+ # frozen_string_literal: true
7
2
 
8
3
  require 'tzu_mock'
4
+
5
+ RSpec.configure do |config|
6
+ # Enable flags like --only-failures and --next-failure
7
+ config.example_status_persistence_file_path = ".rspec_status"
8
+
9
+ # Disable RSpec exposing methods globally on `Module` and `main`
10
+ config.disable_monkey_patching!
11
+
12
+ config.expect_with :rspec do |c|
13
+ c.syntax = :expect
14
+ end
15
+ end
@@ -1,6 +1,6 @@
1
- require 'spec_helper'
1
+ require 'tzu'
2
2
 
3
- describe TzuMock do
3
+ RSpec.describe TzuMock do
4
4
  let(:result) { 'Desired Result' }
5
5
  let(:error) { { error: 'ERROR' } }
6
6
  let(:params) { { last_name: 'Turner' } }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tzu_mock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Turner
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-06 00:00:00.000000000 Z
11
+ date: 2022-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: binding_of_caller
@@ -26,48 +26,34 @@ dependencies:
26
26
  version: '0.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: hashie
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '='
32
- - !ruby/object:Gem::Version
33
- version: 3.4.0
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '='
39
- - !ruby/object:Gem::Version
40
- version: 3.4.0
41
- - !ruby/object:Gem::Dependency
42
- name: tzu
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
31
  - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: 0.0.1
48
- type: :development
33
+ version: '3'
34
+ type: :runtime
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
38
  - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: 0.0.1
40
+ version: '3'
55
41
  - !ruby/object:Gem::Dependency
56
- name: rspec
42
+ name: tzu
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - ">="
60
46
  - !ruby/object:Gem::Version
61
- version: 2.4.0
47
+ version: '0'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
52
  - - ">="
67
53
  - !ruby/object:Gem::Version
68
- version: 2.4.0
54
+ version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
- name: byebug
56
+ name: rspec
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
59
  - - ">="
@@ -81,7 +67,7 @@ dependencies:
81
67
  - !ruby/object:Gem::Version
82
68
  version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
- name: rake
70
+ name: byebug
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - ">="
@@ -95,7 +81,7 @@ dependencies:
95
81
  - !ruby/object:Gem::Version
96
82
  version: '0'
97
83
  - !ruby/object:Gem::Dependency
98
- name: jeweler
84
+ name: rake
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
87
  - - ">="
@@ -127,7 +113,7 @@ homepage: https://github.com/onfido/tzu_mock
127
113
  licenses:
128
114
  - MIT
129
115
  metadata: {}
130
- post_install_message:
116
+ post_install_message:
131
117
  rdoc_options: []
132
118
  require_paths:
133
119
  - lib
@@ -142,12 +128,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
128
  - !ruby/object:Gem::Version
143
129
  version: '0'
144
130
  requirements: []
145
- rubyforge_project:
146
- rubygems_version: 2.2.2
147
- signing_key:
131
+ rubygems_version: 3.0.3.1
132
+ signing_key:
148
133
  specification_version: 4
149
134
  summary: TDD with Tzu!
150
135
  test_files:
151
136
  - spec/spec_helper.rb
152
137
  - spec/tzu_mock_spec.rb
153
- has_rdoc: