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 +4 -4
- data/lib/pitcher.rb +1 -1
- data/lib/pitcher/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e799e738f04f1674fd9378f6e9d0a393b528c27
|
4
|
+
data.tar.gz: c501854a76e95b5a89bc58dad984df333bf78a76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/pitcher/version.rb
CHANGED