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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 412f20755aa500a89583d5dd54b276297fe1a1b8c98f3e98d8b34d5d4e2c18eb
4
- data.tar.gz: fcd75c378e15090ed40fdfcd0ffd49faa72718b332f3d9727d3d1dd97bd6628e
3
+ metadata.gz: ed833ac3ebadfee98a8b6fa2b9da7cdc28b52123328ebd90ab1ae997850e2461
4
+ data.tar.gz: 546418c16f83e2072d0cdd36eade766b99cea7450e1b93533768493f8b8b003c
5
5
  SHA512:
6
- metadata.gz: 0c67523e73f23fb0b61118686b0462fbf7c14407e6a0413171659c7660749b05328d79d39594560629d528ef2a67e5ea648dfbd1e79d9e5437a799701d572640
7
- data.tar.gz: 3189b842eea420ea716fae68cde51a884c70db74fd8f03ba8a8ff1d499e86adbb60f487b232b8558fe707c81a3d23e13ad5514ebfd61950a1508b30b779a2b49
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.to_s.gsub(/[^\w.]/, '_')
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|
@@ -1,3 +1,3 @@
1
1
  module RestfulSharePoint
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restful-sharepoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Wardrop