setsuzoku 0.10.8 → 0.10.9

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: 726efb395552a5927e31afa4acd12813f6e7f918dda1e7bfc0228649f6908178
4
- data.tar.gz: 93984b66449f1cbec2986569660e45e4a1ab3c3287774ff8faf915cfffe4686f
3
+ metadata.gz: 6c8b08a243d276dfb01612b33007ee093766cccadfadce6ef915b7c4bf9b429d
4
+ data.tar.gz: c06e45bdb58caa6d110dadb67b77e962022b753e94bc694cf473cf658d75c56f
5
5
  SHA512:
6
- metadata.gz: 8b5e47d6549a27ecb3688ddae78c77ae5284da2398eb2939e0749a936d1491430c8321adf0426bfbfb3f145ebfac2221d388d5be6be8754abb411c005342b672
7
- data.tar.gz: 3c033c68a032c683014a77387da6643bda95311c1f7e58c2590cfccb3d38b395ee758d6fb171263888c7ed041fc4a2cc25234cbca38605a2d17b6303457336f1
6
+ metadata.gz: 83448fd5e96fc2b25d0b0532dbdea1671be0f3282fcae35ea8e2d8cf1f0e0ed7d1294411fc5d69e50dc8fe66ad40ee16c4df5fbeb74c6d1b948c7781de5d528c
7
+ data.tar.gz: 05d695d1ebae47ba2e82f116926c0bdad0acce7310b4d738c3d0287d07254392fb095ef87270ab826bad7aecc2f889b676e819d598d7ebedbfaaba29ddd8a5d3
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- setsuzoku (0.10.7)
4
+ setsuzoku (0.10.9)
5
5
  activesupport (~> 5.0)
6
6
  faraday (~> 0.11)
7
7
  httparty (~> 0.16.4)
@@ -233,16 +233,7 @@ module Setsuzoku
233
233
  url = propz[:url]
234
234
  format = propz[:request_format].to_s.include?('x-www-form') || propz[:request_format] == :file ? :json : propz[:request_format]
235
235
  begin
236
- body = if propz[:request_format] == :file
237
- request_with_files = JSON.parse(ERB.new(File.read("#{Dir.pwd}/spec/support/setsuzoku/#{stub_directory}/#{action_name}_request.json.erb")).result)
238
- request_with_files['files'].each do |k, path|
239
- request_with_files[k] = File.new(path)
240
- end
241
- request_with_files.delete('files')
242
- request_with_files
243
- else
244
- File.read("#{Dir.pwd}/spec/support/setsuzoku/#{stub_directory}/#{action_name}_request.#{format}")
245
- end
236
+ body = File.read("#{Dir.pwd}/spec/support/setsuzoku/#{stub_directory}/#{action_name}_request.#{format}")
246
237
  body.squish!
247
238
  case format
248
239
  when :xml
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Setsuzoku
5
- VERSION = '0.10.8'
5
+ VERSION = '0.10.9'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: setsuzoku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.8
4
+ version: 0.10.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Stadtler