rspec_request_helpers 0.3.0 → 0.3.1

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
- SHA256:
3
- metadata.gz: 17e13bcdd36a8111ca76111fce8b9c53c7453d4bcc61817b2840952792afdd21
4
- data.tar.gz: d67ab35a255933d2e1ceac515e274474b7cacbc415e3892f66780ccc951c6c94
2
+ SHA1:
3
+ metadata.gz: df37b87f66b3ef889f13740b480e298796e25852
4
+ data.tar.gz: 433b0d8aadc7b780d40769bb20a65d1e655fc6e5
5
5
  SHA512:
6
- metadata.gz: 95f028fbf6238c016495c4bef1ab6aed57ba9b16b2f3c8fd7b90b7a40298dc95a26d74c88d732b061a391ca8ef60c8ce5718d2d8bd449ee212f432812fb43be9
7
- data.tar.gz: 39749b39469ed69c7cd57478b7cc060fb4b4765bd595a29824720c0ded45669b05f44a164ce2f0d395f3a02806f46e21e429647cba62d871ddbb1bc85300f496
6
+ metadata.gz: 64a21a5ff793253311fd48553212fb2294e83d9d28e91e501f9ccda8be84468bb50a33a8f654051c8d609777e88d1f8fb424078b7edd05f5963f207cbb0858c1
7
+ data.tar.gz: fdc1960151f2996dfda25a34d386c3b640f7b268d1a2d15c2118a6e2a28fcbc29a360e78af753da35dee21a334b8688c5e465a3ac7873c1658b0997d2a596909
data/.gitignore CHANGED
@@ -10,3 +10,5 @@
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
12
  .DS_Store
13
+
14
+ .ruby-version
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec_request_helpers (0.3.0)
4
+ rspec_request_helpers (0.3.1)
5
5
  actionpack (>= 3.0)
6
6
  activesupport (>= 3.0)
7
7
  rack
@@ -11,40 +11,39 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- actionpack (6.0.0)
15
- actionview (= 6.0.0)
16
- activesupport (= 6.0.0)
14
+ actionpack (5.2.4)
15
+ actionview (= 5.2.4)
16
+ activesupport (= 5.2.4)
17
17
  rack (~> 2.0)
18
18
  rack-test (>= 0.6.3)
19
19
  rails-dom-testing (~> 2.0)
20
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
21
- actionview (6.0.0)
22
- activesupport (= 6.0.0)
20
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
21
+ actionview (5.2.4)
22
+ activesupport (= 5.2.4)
23
23
  builder (~> 3.1)
24
24
  erubi (~> 1.4)
25
25
  rails-dom-testing (~> 2.0)
26
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
27
- activesupport (6.0.0)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
27
+ activesupport (5.2.4)
28
28
  concurrent-ruby (~> 1.0, >= 1.0.2)
29
29
  i18n (>= 0.7, < 2)
30
30
  minitest (~> 5.1)
31
31
  tzinfo (~> 1.1)
32
- zeitwerk (~> 2.1, >= 2.1.8)
33
- builder (3.2.3)
32
+ builder (3.2.4)
34
33
  coderay (1.1.2)
35
34
  concurrent-ruby (1.1.5)
36
- crass (1.0.4)
35
+ crass (1.0.5)
37
36
  diff-lcs (1.3)
38
- erubi (1.8.0)
39
- i18n (1.6.0)
37
+ erubi (1.9.0)
38
+ i18n (1.5.1)
40
39
  concurrent-ruby (~> 1.0)
41
- loofah (2.2.3)
40
+ loofah (2.4.0)
42
41
  crass (~> 1.0.2)
43
42
  nokogiri (>= 1.5.9)
44
43
  method_source (0.9.0)
45
44
  mini_portile2 (2.4.0)
46
- minitest (5.11.3)
47
- nokogiri (1.10.4)
45
+ minitest (5.13.0)
46
+ nokogiri (1.9.1)
48
47
  mini_portile2 (~> 2.4.0)
49
48
  pry (0.11.3)
50
49
  coderay (~> 1.1.0)
@@ -55,33 +54,32 @@ GEM
55
54
  rails-dom-testing (2.0.3)
56
55
  activesupport (>= 4.2.0)
57
56
  nokogiri (>= 1.6)
58
- rails-html-sanitizer (1.2.0)
59
- loofah (~> 2.2, >= 2.2.2)
60
- railties (6.0.0)
61
- actionpack (= 6.0.0)
62
- activesupport (= 6.0.0)
57
+ rails-html-sanitizer (1.3.0)
58
+ loofah (~> 2.3)
59
+ railties (5.2.4)
60
+ actionpack (= 5.2.4)
61
+ activesupport (= 5.2.4)
63
62
  method_source
64
63
  rake (>= 0.8.7)
65
- thor (>= 0.20.3, < 2.0)
64
+ thor (>= 0.19.0, < 2.0)
66
65
  rake (10.5.0)
67
- rspec (3.8.0)
68
- rspec-core (~> 3.8.0)
69
- rspec-expectations (~> 3.8.0)
70
- rspec-mocks (~> 3.8.0)
71
- rspec-core (3.8.0)
72
- rspec-support (~> 3.8.0)
73
- rspec-expectations (3.8.2)
66
+ rspec (3.9.0)
67
+ rspec-core (~> 3.9.0)
68
+ rspec-expectations (~> 3.9.0)
69
+ rspec-mocks (~> 3.9.0)
70
+ rspec-core (3.9.0)
71
+ rspec-support (~> 3.9.0)
72
+ rspec-expectations (3.9.0)
74
73
  diff-lcs (>= 1.2.0, < 2.0)
75
- rspec-support (~> 3.8.0)
76
- rspec-mocks (3.8.0)
74
+ rspec-support (~> 3.9.0)
75
+ rspec-mocks (3.9.0)
77
76
  diff-lcs (>= 1.2.0, < 2.0)
78
- rspec-support (~> 3.8.0)
79
- rspec-support (3.8.0)
80
- thor (0.20.3)
77
+ rspec-support (~> 3.9.0)
78
+ rspec-support (3.9.0)
79
+ thor (1.0.1)
81
80
  thread_safe (0.3.6)
82
81
  tzinfo (1.2.5)
83
82
  thread_safe (~> 0.1)
84
- zeitwerk (2.1.10)
85
83
 
86
84
  PLATFORMS
87
85
  ruby
@@ -90,7 +88,6 @@ DEPENDENCIES
90
88
  bundler (~> 1.16)
91
89
  pry
92
90
  rake (~> 10.0)
93
- rspec (~> 3.0)
94
91
  rspec_request_helpers!
95
92
 
96
93
  BUNDLED WITH
@@ -3,9 +3,9 @@ RSpec.describe '', type: :request do
3
3
  <%= "let(#{param}) { #{rand(99..500)} }" %>
4
4
  <% end %>
5
5
  path { "<%= @path %>" }
6
- headers { {} }
6
+ headers { {'Content-Type' => 'application/json', 'Accept' => 'application/json'} }
7
7
  params { {} }
8
- expected_response { {} }
8
+ response { {} }
9
9
 
10
10
  describe '<%= @http_verb.upcase %> <%= class_path.join('/') %>#<%= file_name %>' do
11
11
  context '' do
@@ -1,3 +1,3 @@
1
1
  module RspecRequestHelpers
2
- VERSION = "0.3.0"
2
+ VERSION = '0.3.1'
3
3
  end
@@ -39,7 +39,6 @@ Gem::Specification.new do |spec|
39
39
  spec.add_dependency 'rack'
40
40
 
41
41
  spec.add_development_dependency 'bundler', '~> 1.16'
42
- spec.add_development_dependency 'rspec', '~> 3.0'
43
42
  spec.add_development_dependency 'rake', '~> 10.0'
44
43
  spec.add_development_dependency 'pry'
45
44
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_request_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrii Baran
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-24 00:00:00.000000000 Z
11
+ date: 2019-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -94,20 +94,6 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.16'
97
- - !ruby/object:Gem::Dependency
98
- name: rspec
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '3.0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '3.0'
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: rake
113
99
  requirement: !ruby/object:Gem::Requirement
@@ -184,7 +170,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
170
  - !ruby/object:Gem::Version
185
171
  version: '0'
186
172
  requirements: []
187
- rubygems_version: 3.0.1
173
+ rubyforge_project:
174
+ rubygems_version: 2.4.5.5
188
175
  signing_key:
189
176
  specification_version: 4
190
177
  summary: A set of helpers for request test with RSpec