party_cc 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjJkMjQ3OTcyYTIyODQ3MjZlYTRkOGJhNzU5Njk3NWI2YjI5ZDU2MQ==
4
+ OGEzM2Q2OTUyOTYzM2VkNjFjMzUyZGFiMGI2ZjI4Y2EwNmNmOGIxMA==
5
5
  data.tar.gz: !binary |-
6
- OTQ1OWM0MWMwZGY2ZTk2MDAwMjg0YzdlMzVmMWEwNTZkMTg2ZDQ1ZQ==
6
+ YjhhNWIyOThiMDNiZWNkOTBkZDY2ZGY3OTVjM2UyMzBhM2E0NzhhMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OGRjNmYzOWQ4ZTU2MGIwNDZiNzdlNjAyNmYwNzgzZDZhMWFjNmE4NDdiN2Mz
10
- Y2I2NzA1NDBkN2U2ZGMzNGRjZjI5MzYzYTAzODAwZDY0ZDRlYjYxMmQ3NTZm
11
- YThmMDEyZTI1OGU1NmI4MzQ2ZTVlNmJlNzdiNzJjMmE4MTE0OTg=
9
+ MzUwNjgwMmQ0YzM3MDgxM2E5ZjlmZDJjY2E5MjgwZDU5MWMzNDdmZTM0MTU5
10
+ ZDcyYWI0NDZhNTMxMjA3Mzk4ZDlkM2MzMGQ4YmIxMDhhYmM3ZmFiYjFhMDg0
11
+ MzQzNDE2NmM5NTkyZjM5Yjg5NjVhZmU5ZWJlMzdmZWZkMmEwNzQ=
12
12
  data.tar.gz: !binary |-
13
- YzhlNWZiOGM4OWRjODAwMmZhNzU5MDg3YTVmZjY0ZGQ3OGYzMWM0NDlhMmI4
14
- MWRkY2M0NzdlMTVlYmYzMjAyMzUyYjg1NGJmYTY1ZTA3NzkzMjFhY2QzYzBl
15
- ODE0MzMyNjljOWZkNTQxMjRmMjAzODgzZWUwYWFmNDg3OTg5MzI=
13
+ MDk5OGVlNzgxYWJlNzZmYTk0ODNhZDM3MmE0YTM4YjU5YWViYzhmMjYwNGE1
14
+ NWM5MjBkZTcwMzg0NjA5ZTcyZTM1NzA3YWQ0Njc4NjQ2MGIwY2NjYmYzOGYx
15
+ OGEwN2E0OGJhMTliOWZhMWRmMGFkMjAyN2YxMDQzODE2OWE2Zjc=
@@ -33,7 +33,7 @@ module HTTParty
33
33
  headers.gsub!(/(Content-Length|content-length)(:\s+)(\d+)/, '\1\2<CONTENTLENGTH>')
34
34
  size_without_substituion = headers.bytesize + rsp.bytesize - 15
35
35
  size = size_without_substituion + size_without_substituion.to_s.length
36
- headers.gsub!("<CONTENTLENGTH>", size.to_s)
36
+ headers.gsub("<CONTENTLENGTH>", size.to_s)
37
37
  end
38
38
 
39
39
 
@@ -55,7 +55,6 @@ module HTTParty
55
55
  prettied_rsp = decode_ruby(pp_body(rsp.response.body))
56
56
  adjusted_headers = adjust_content_length_for_pretty_print prettied_rsp, rsp
57
57
 
58
- binding.pry
59
58
  File.write("stub_\#{base_file_name}", generate_stub(:#{method}, response_file_name, *args))
60
59
  File.open(response_file_name, 'w') do |f|
61
60
  f.write adjusted_headers
@@ -1,3 +1,3 @@
1
1
  module PartyCC
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: party_cc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - barberj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-04 00:00:00.000000000 Z
11
+ date: 2014-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler