pitcher 0.1.1 → 0.1.2

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: 950f9fedf20ddabfcb429ff91bc7fd5fdde47929
4
- data.tar.gz: e5a4c19c15f0b9113ab88edc4981c15d45fb1c96
3
+ metadata.gz: 76576e1bba793b782409cd54cfb2de9e50916df9
4
+ data.tar.gz: 5652527d11fd9b03b19eb1e0e18b1beb9771470c
5
5
  SHA512:
6
- metadata.gz: f9322e6606945da0b68917599edcb5330ec5df74e92a96b18573ea155af23bc201e09c9354abfa878cdd875a58e83172178a739f8f7ef563a814bf135f5b868a
7
- data.tar.gz: 8ecbb0f2018aba87b00d84309d1e7dc8996436b189f7a0cbe930c983c3dc52cbe85f3d12793569d8c5e642d4ae03a93b09bf708445991998ab738b346a38e359
6
+ metadata.gz: 7cb5f6e89bb89c1ab57fa8da0bb031c76536702a7de7e0c9bc7e1b07047cb578effe860dbe80123bb79b0246f3cd85f5437ff716d0bf37b54dcf23d8d1c3cbcd
7
+ data.tar.gz: b9a05fb62d4a00ba2b984c5373dee3471093f37220f703d2274da9f766275176403316bf785d3e24b9b412bb2cebb4ebb461e6348b3e182ec3f945710451ba59
@@ -1,3 +1,3 @@
1
1
  module Pitcher
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/lib/pitcher.rb CHANGED
@@ -54,9 +54,7 @@ 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
- path = File.join Rails.root, 'public', 'uploads'
58
- FileUtils.mkdir_p(path) unless File.exist?(path)
59
- File.open(File.join(path, 'response.txt'), 'w') { |file| file.write(response.body.to_hash) }
57
+ File.open('response.txt', 'w') { |file| file.write(response.body.to_hash) }
60
58
  end
61
59
  end
62
60
  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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Little