skydrive 0.1.0 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,6 +45,12 @@ module Skydrive
45
45
  response = filtered_response(self.class.put(url, {:body => options}))
46
46
  end
47
47
 
48
+ # Get the acting user
49
+ # @return [Hash]
50
+ def me
51
+ response = self.class.get("/me").parsed_response
52
+ end
53
+
48
54
  # Refresh the access token
49
55
  def refresh_access_token!
50
56
  @access_token = access_token.refresh!
@@ -1,7 +1,7 @@
1
1
  module Skydrive
2
2
  # The basic operations
3
3
  module Operations
4
-
4
+
5
5
  # Your home folder
6
6
  # @return [Skydrive::Folder]
7
7
  def my_skydrive
@@ -1,5 +1,5 @@
1
1
  # Skydrive base module
2
2
  module Skydrive
3
3
  # The gem version
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skydrive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-03 00:00:00.000000000 Z
12
+ date: 2013-05-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty