restful-sharepoint 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/restful-sharepoint/connection.rb +1 -1
- data/lib/restful-sharepoint/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed833ac3ebadfee98a8b6fa2b9da7cdc28b52123328ebd90ab1ae997850e2461
|
4
|
+
data.tar.gz: 546418c16f83e2072d0cdd36eade766b99cea7450e1b93533768493f8b8b003c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41d9bd7486df21258be7ef1ffa903607128e303d7f2245d3dc5ec9ed94a44fbc52ee8c5e927380d3fc51fcb70b53f05fe9a393ec504d08acb4d5ebc9d024129f
|
7
|
+
data.tar.gz: 93134acddffbafb778f7254c955ccc61c2e38818d66d460e065a92ac215d6f44e4759c84f9cd4d33fc9e5289edb2c7cd8c1553ae4144c8867602637cee112c8f
|
@@ -37,7 +37,7 @@ module RestfulSharePoint
|
|
37
37
|
response = HTTPI.request(method, req)
|
38
38
|
# Log each request to file
|
39
39
|
if @debug
|
40
|
-
request_name = req.url.
|
40
|
+
request_name = req.url.path.gsub(/[^\w.]/, '_')
|
41
41
|
filepath = ::File.join(@debug, "#{DateTime.now.strftime('%FT%R')}_#{request_name}.log")
|
42
42
|
FileUtils.mkdir_p @debug
|
43
43
|
::File.open(filepath, 'w+') do |file|
|