pitcher 0.1.4 → 0.1.5

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
  SHA1:
3
- metadata.gz: bfdb0d22f09a4344a078e2b2b062dfeff8b2152c
4
- data.tar.gz: 0f37c440bc6a1a500ef01c834691b0004a0b8f32
3
+ metadata.gz: ab4d4b48c2574f6b02b46ca8b67d6578b7d420dd
4
+ data.tar.gz: ba0f42cb817e54410649d7b1ad3811b717e06969
5
5
  SHA512:
6
- metadata.gz: c9bde7d84563b058dafd5856ea01f773d41c1000c34ced335a2290f66b7f571245349777502f9b9c3ed54e7969d3b9e5808f61289bb28eb0d14fcd34ce2d21cc
7
- data.tar.gz: e19eee921e8d592d0ed939ac066881112b4d3a8a33f5bb9d2cb545820160277f9096bcd8d014ea43ff9d2a4ab782c9659b4ed9492935333b3a46aa31308b956c
6
+ metadata.gz: febfbc057f2684531a43f8b75183fdebbe4faa1303c4b2011499835f676d688c5bf752a64f8091de9bcf591ddb6e4a8bf785989cee8bf8f4594bf8fe3c80bb95
7
+ data.tar.gz: 1acb16b005d7d161d8a873095989ff1589748489159161306cf93a4767a334617916b8ae1ca6609ce4103e941aa7378cfcc07c0f3aa342bbd603f636887ac20b
@@ -1,3 +1,3 @@
1
1
  module Pitcher
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/lib/pitcher.rb CHANGED
@@ -54,7 +54,9 @@ module Pitcher
54
54
  )
55
55
  # Create the hash that will be sent as a message to the service with the creds and data above
56
56
  response = client.call(:process_conten_tdm, message: message)
57
- File.open('response.txt', 'a') { |file| file.write("\r" + message[:metadata] + response.body.to_hash[:process_conten_tdm_response][:return] ) }
57
+ # Write response to a file
58
+ user = message[:username]
59
+ File.open('response.txt', 'a') { |file| file.write("\r" + message + response.body.to_hash[:process_conten_tdm_response][:return] ) }
58
60
  end
59
61
  end
60
62
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pitcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Little