pitcher 0.2.2 → 0.2.3

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: dbc179b692937c0e053ac2a3cb3a0bab0e6e2eb4
4
- data.tar.gz: 3919eebd20fc7abce3bbc3b8ba1b85a28d940899
3
+ metadata.gz: 9e799e738f04f1674fd9378f6e9d0a393b528c27
4
+ data.tar.gz: c501854a76e95b5a89bc58dad984df333bf78a76
5
5
  SHA512:
6
- metadata.gz: b10285d38ab1f2f3d91dd6c4156c9d34b3a8b076860af046861079544618533462810fe6fe6416fad3de19df331c8f643024b80f5ef42fcc05ca32840e5b991e
7
- data.tar.gz: 139936dcdc6d1dce75f9111f3abb88794f868c31ae08d2d0865bffdd831eaf08a8792fa50a3e00949c2229a7217a18ee34bf5c3e6b6153ca4534916ea0502fe6
6
+ metadata.gz: 95dfe39950eb2830fb72f65b7a4ec95de4076c34dbb415cb42ee2218021ec442cffd2b04d15020ce4bb00fe6af552e3dd6f58def3b4b1d19ff28e729d319da39
7
+ data.tar.gz: 2b9424d64c415759ea7a99ad0d32d70d659f83c3eee9c5dc84625af7a308aa9db8a8cf28c53f4e887c6c021cca80161ea8c4566989707467984db2df36f33fc0
data/lib/pitcher.rb CHANGED
@@ -64,7 +64,7 @@ module Pitcher
64
64
  recordids = doc.xpath('//value')
65
65
  recordid = recordids[0].text
66
66
  # Write response to a file
67
- File.open('response-' + user + '.txt', 'a') { |file| file.write("\r\r" + "CONTENTdm Record Number:" + recordid + "\r" + response.body.to_hash[:process_conten_tdm_response][:return] ) }
67
+ File.open('./logs/response-' + user + '.txt', 'a') { |file| file.write("\r\r" + "CONTENTdm Record Number:" + recordid + "\r" + response.body.to_hash[:process_conten_tdm_response][:return] ) }
68
68
  end
69
69
  end
70
70
  end
@@ -1,3 +1,3 @@
1
1
  module Pitcher
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  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.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Little