rspec-hanami 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
2
  SHA256:
3
- metadata.gz: 766872a649aa3ae7578e764d28a1ac0c061a33486c061cf63f7ae7ef738c75db
4
- data.tar.gz: 9c24309c64e920ee42c8847c83849f426db7287d50de42e2f258a4bd41223a6d
3
+ metadata.gz: 1e6e35f4f31853c6187f05389c927febee58dc6c8b39f3eb46490046d7606413
4
+ data.tar.gz: f1ecdd4748b5d7b24ca225dc369045d36d946bd0b040de7de212ab8061061458
5
5
  SHA512:
6
- metadata.gz: 96f50c6b6a140a245ba0e4ca930e0c103d86ef4e6aa8b199ddc2ded81fc1631daa11086f5494af36778b11c3adc05d1a35760f3bce16956e3f5cbb8b4833041b
7
- data.tar.gz: a9338b35cbf52474c20006785312983dde752e46e16b2c44fcefd4d691bb8a2de42632aff249f185f2aed36ce9ac3f4e0ce318020bb468a759216d791a9e2f31
6
+ metadata.gz: c75721328c58abaf8ac4b42bf6a846c8a5dc1d4178bdddc75dabc9822d85cd2456fa3a5ff7a6bc5e87a4237edaadb0ba643fdba7249df06710947e15713f8dc8
7
+ data.tar.gz: 108c45586351fb8eb13d70e52511a151d1bef8329f8176c45da462b428962453597e8cb591f2f42569a1af04a8ab933a526a21862efbc7ff148cebc6edb753e0
@@ -11,13 +11,13 @@ module RSpec
11
11
 
12
12
  def env
13
13
  default_env.tap do |env|
14
- env['PATH_INFO'] = @path,
15
- env['REQUEST_METHOD'] = @method,
14
+ env['PATH_INFO'] = @path
15
+ env['REQUEST_METHOD'] = @method
16
16
  env['QUERY_STRING'] = "?#{@query_string}"
17
17
  env['rack.input'] = StringIO.new(@params.to_json) if @params
18
18
 
19
19
  @headers.each do |key, value|
20
- rack_name = key.upcase.tr('-', '_')
20
+ rack_name = key.to_s.upcase.tr('-', '_')
21
21
  env["HTTP_#{rack_name}"] = value
22
22
  end
23
23
  end
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module Hanami
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-hanami
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
  - Anton Davydov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-28 00:00:00.000000000 Z
11
+ date: 2018-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec