one_drive 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +107 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/one_drive/version.rb +3 -0
- data/lib/one_drive.rb +93 -0
- data/one_drive.gemspec +42 -0
- metadata +185 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6fb21d7ac41488e380327302fd30850a9fadceed
|
4
|
+
data.tar.gz: 686bdc3a7041fd5b809a989e15192d50baaa3fa5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4e8a3e8d90a502efa0497ca92cd5506c87fbb6f7a1d2fec2b360bd3c279cb37ed8df5d186073480a41060bd0bc419ce289970391a196bca9e81882a85a075170
|
7
|
+
data.tar.gz: 6a876bf4359604f1d8f778158d7afa91cf94b5fe7811578232ad3c0ffa203957295842d646557484ff720a9943f43cc71d0c0cefc795d4c825905d877be48016
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at mohit@leanpitch.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,107 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
one_drive (0.0.2)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
activesupport (5.2.0)
|
10
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
11
|
+
i18n (>= 0.7, < 2)
|
12
|
+
minitest (~> 5.1)
|
13
|
+
tzinfo (~> 1.1)
|
14
|
+
addressable (2.5.2)
|
15
|
+
public_suffix (>= 2.0.2, < 4.0)
|
16
|
+
aruba (0.14.5)
|
17
|
+
childprocess (>= 0.6.3, < 0.10.0)
|
18
|
+
contracts (~> 0.9)
|
19
|
+
cucumber (>= 1.3.19)
|
20
|
+
ffi (~> 1.9.10)
|
21
|
+
rspec-expectations (>= 2.99)
|
22
|
+
thor (~> 0.19)
|
23
|
+
backports (3.11.3)
|
24
|
+
builder (3.2.3)
|
25
|
+
capybara (3.2.1)
|
26
|
+
addressable
|
27
|
+
mini_mime (>= 0.1.3)
|
28
|
+
nokogiri (~> 1.8)
|
29
|
+
rack (>= 1.6.0)
|
30
|
+
rack-test (>= 0.6.3)
|
31
|
+
xpath (~> 3.1)
|
32
|
+
childprocess (0.9.0)
|
33
|
+
ffi (~> 1.0, >= 1.0.11)
|
34
|
+
concurrent-ruby (1.0.5)
|
35
|
+
contracts (0.16.0)
|
36
|
+
cucumber (3.1.1)
|
37
|
+
builder (>= 2.1.2)
|
38
|
+
cucumber-core (~> 3.1.0)
|
39
|
+
cucumber-expressions (~> 6.0.0)
|
40
|
+
cucumber-wire (~> 0.0.1)
|
41
|
+
diff-lcs (~> 1.3)
|
42
|
+
gherkin (~> 5.1.0)
|
43
|
+
multi_json (>= 1.7.5, < 2.0)
|
44
|
+
multi_test (>= 0.1.2)
|
45
|
+
cucumber-core (3.1.0)
|
46
|
+
backports (>= 3.8.0)
|
47
|
+
cucumber-tag_expressions (~> 1.1.0)
|
48
|
+
gherkin (>= 5.0.0)
|
49
|
+
cucumber-expressions (6.0.1)
|
50
|
+
cucumber-tag_expressions (1.1.1)
|
51
|
+
cucumber-wire (0.0.1)
|
52
|
+
diff-lcs (1.3)
|
53
|
+
ffi (1.9.25)
|
54
|
+
gherkin (5.1.0)
|
55
|
+
httparty (0.16.2)
|
56
|
+
multi_xml (>= 0.5.2)
|
57
|
+
i18n (1.0.1)
|
58
|
+
concurrent-ruby (~> 1.0)
|
59
|
+
json (2.1.0)
|
60
|
+
mini_mime (1.0.0)
|
61
|
+
mini_portile2 (2.3.0)
|
62
|
+
minitest (5.11.3)
|
63
|
+
multi_json (1.13.1)
|
64
|
+
multi_test (0.1.2)
|
65
|
+
multi_xml (0.6.0)
|
66
|
+
nokogiri (1.8.3)
|
67
|
+
mini_portile2 (~> 2.3.0)
|
68
|
+
power_assert (1.1.2)
|
69
|
+
public_suffix (3.0.2)
|
70
|
+
rack (2.0.5)
|
71
|
+
rack-test (1.0.0)
|
72
|
+
rack (>= 1.0, < 3)
|
73
|
+
rake (12.3.1)
|
74
|
+
rspec-expectations (3.7.0)
|
75
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
76
|
+
rspec-support (~> 3.7.0)
|
77
|
+
rspec-support (3.7.1)
|
78
|
+
test-unit (3.2.8)
|
79
|
+
power_assert
|
80
|
+
test-unit-capybara (1.0.6)
|
81
|
+
capybara (>= 2.1.0)
|
82
|
+
json
|
83
|
+
test-unit (>= 2.5.3)
|
84
|
+
thor (0.20.0)
|
85
|
+
thread_safe (0.3.6)
|
86
|
+
tzinfo (1.2.5)
|
87
|
+
thread_safe (~> 0.1)
|
88
|
+
xpath (3.1.0)
|
89
|
+
nokogiri (~> 1.8)
|
90
|
+
|
91
|
+
PLATFORMS
|
92
|
+
ruby
|
93
|
+
|
94
|
+
DEPENDENCIES
|
95
|
+
activesupport (> 4.0.13)
|
96
|
+
aruba
|
97
|
+
bundler (>= 1.11)
|
98
|
+
cucumber
|
99
|
+
httparty
|
100
|
+
minitest
|
101
|
+
one_drive!
|
102
|
+
rake
|
103
|
+
test-unit
|
104
|
+
test-unit-capybara
|
105
|
+
|
106
|
+
BUNDLED WITH
|
107
|
+
1.16.1
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Mohit
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# OneDrive
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/one_drive`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'one_drive'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install one_drive
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/one_drive. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
|
+
|
37
|
+
## License
|
38
|
+
|
39
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
40
|
+
|
41
|
+
## Code of Conduct
|
42
|
+
|
43
|
+
Everyone interacting in the OneDrive project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/one_drive/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "one_drive"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/lib/one_drive.rb
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
require "one_drive/version"
|
2
|
+
require "httparty"
|
3
|
+
module OneDrive
|
4
|
+
class V1
|
5
|
+
attr_accessor :client_id,:scope,:redirect_uri,:code,:token,:drives,:items,:current_drive,:current_item,:expires_in,:token_type
|
6
|
+
def initialize(client_id,redirect_uri,scope='files.read')
|
7
|
+
@client_id = client_id
|
8
|
+
@scope = scope
|
9
|
+
@redirect_uri = redirect_uri
|
10
|
+
end
|
11
|
+
def token_url
|
12
|
+
# OAuth URI token
|
13
|
+
# GET https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id={client_id}&scope={scope}
|
14
|
+
# &response_type=token&redirect_uri={redirect_uri}
|
15
|
+
"https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=#{@client_id}&scope=#{@scope}&response_type=token&redirect_uri=#{@redirect_uri}"
|
16
|
+
end
|
17
|
+
def code_url
|
18
|
+
# Get code
|
19
|
+
# https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id={client_id}&scope={scope}
|
20
|
+
# &response_type=code&redirect_uri={redirect_uri}
|
21
|
+
"https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=#{@client_id}&scope=#{@scope}&response_type=code&redirect_uri=#{@redirect_uri}"
|
22
|
+
|
23
|
+
#Get a new access token or refresh token
|
24
|
+
# POST https://login.microsoftonline.com/common/oauth2/v2.0/token
|
25
|
+
# Content-Type: application/x-www-form-urlencoded
|
26
|
+
#
|
27
|
+
# client_id={client_id}&redirect_uri={redirect_uri}&client_secret={client_secret}
|
28
|
+
# &refresh_token={refresh_token}&grant_type=refresh_token
|
29
|
+
end
|
30
|
+
def get_drives type = nil,id=nil
|
31
|
+
# GET /me/drives
|
32
|
+
# GET /users/{userId}/drives
|
33
|
+
# GET /sites/{siteId}/drives
|
34
|
+
# GET /groups/{groupId}/drives
|
35
|
+
case type
|
36
|
+
when 'users'
|
37
|
+
url = "https://graph.microsoft.com/v1.0/users/#{id}/drives"
|
38
|
+
when 'sites'
|
39
|
+
url = "https://graph.microsoft.com/v1.0/sites/#{id}/drives"
|
40
|
+
when 'groups'
|
41
|
+
url = "https://graph.microsoft.com/v1.0/groups/#{id}/drives"
|
42
|
+
else
|
43
|
+
url = "https://graph.microsoft.com/v1.0/me/drives"
|
44
|
+
end
|
45
|
+
@drives = JSON.parse(HTTParty.get(url,headers: set_headers).body)
|
46
|
+
end
|
47
|
+
def set_token token,expires_in=3600,token_type='bearer'
|
48
|
+
# &token_type=bearer&expires_in=3600&scope=Files.Read
|
49
|
+
@token = token
|
50
|
+
@expires_in = expires_in
|
51
|
+
@token_type = token_type
|
52
|
+
true
|
53
|
+
end
|
54
|
+
def set_code code
|
55
|
+
@code = code
|
56
|
+
end
|
57
|
+
def get_item
|
58
|
+
# Get item
|
59
|
+
# GET /drives/{drive-id}/items/{item-id}
|
60
|
+
# GET /drives/{drive-id}/root:/{item-path}
|
61
|
+
# GET /groups/{group-id}/drive/items/{item-id}
|
62
|
+
# GET /groups/{group-id}/drive/root:/{item-path}
|
63
|
+
# GET /me/drive/items/{item-id}
|
64
|
+
# GET /me/drive/root:/{item-path}
|
65
|
+
# GET /sites/{siteId}/drive/items/{itemId}
|
66
|
+
# GET /sites/{siteId}/drive/root:/{item-path}
|
67
|
+
# GET /users/{userId}/drive/items/{itemId}
|
68
|
+
# GET /users/{userId}/drive/root:/{item-path}
|
69
|
+
end
|
70
|
+
def download
|
71
|
+
# Download
|
72
|
+
# GET /drives/{drive-id}/items/{item-id}/content
|
73
|
+
# GET /groups/{group-id}/drive/items/{item-id}/content
|
74
|
+
# GET /me/drive/root:/{item-path}:/content
|
75
|
+
# GET /me/drive/items/{item-id}/content
|
76
|
+
# GET /sites/{siteId}/drive/items/{item-id}/content
|
77
|
+
# GET /users/{userId}/drive/items/{item-id}/content
|
78
|
+
# GET /drive/items/{item-id}/content?format={format}
|
79
|
+
# GET /drive/root:/{path and filename}:/content?format={format}
|
80
|
+
end
|
81
|
+
def get_list
|
82
|
+
# Find Children
|
83
|
+
# GET /drives/{drive-id}/items/{item-id}/children
|
84
|
+
# GET /groups/{group-id}/drive/items/{item-id}/children
|
85
|
+
# GET /me/drive/items/{item-id}/children
|
86
|
+
# GET /sites/{site-id}/drive/items/{item-id}/children
|
87
|
+
# GET /users/{user-id}/drive/items/{item-id}/children
|
88
|
+
end
|
89
|
+
def set_headers
|
90
|
+
{"Content-Type"=> 'application/json',"Authorization"=>"bearer #{@token}"}
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
data/one_drive.gemspec
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "one_drive/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "one_drive"
|
8
|
+
spec.version = OneDrive::VERSION
|
9
|
+
spec.authors = ["Mohit"]
|
10
|
+
spec.email = ["mohitdutta@live.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{A ruby gem to connect with your Microsoft One Drive and read and write the files.}
|
13
|
+
spec.description = %q{A ruby gem to connect with your Microsoft One Drive and read and write the files.}
|
14
|
+
spec.homepage = "https://github.com/DimoMohit/onedrive"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
# if spec.respond_to?(:metadata)
|
20
|
+
# spec.metadata["allowed_push_host"] = ""
|
21
|
+
# else
|
22
|
+
# raise "RubyGems 2.0 or newer is required to protect against " \
|
23
|
+
# "public gem pushes."
|
24
|
+
# end
|
25
|
+
|
26
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
27
|
+
f.match(%r{^(test|spec|features)/})
|
28
|
+
end
|
29
|
+
spec.bindir = "exe"
|
30
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
|
+
spec.require_paths = ["lib"]
|
32
|
+
|
33
|
+
spec.add_development_dependency "bundler", ">= 1.11"
|
34
|
+
spec.add_development_dependency 'activesupport',">4.0.13"
|
35
|
+
spec.add_development_dependency "rake"
|
36
|
+
spec.add_development_dependency 'minitest'
|
37
|
+
spec.add_development_dependency "httparty"
|
38
|
+
spec.add_development_dependency "cucumber"
|
39
|
+
spec.add_development_dependency "aruba"
|
40
|
+
spec.add_development_dependency "test-unit"
|
41
|
+
spec.add_development_dependency "test-unit-capybara"
|
42
|
+
end
|
metadata
ADDED
@@ -0,0 +1,185 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: one_drive
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mohit
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-06-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.11'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.11'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activesupport
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 4.0.13
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 4.0.13
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: minitest
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: httparty
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: cucumber
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: aruba
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: test-unit
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: test-unit-capybara
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
description: A ruby gem to connect with your Microsoft One Drive and read and write
|
140
|
+
the files.
|
141
|
+
email:
|
142
|
+
- mohitdutta@live.com
|
143
|
+
executables: []
|
144
|
+
extensions: []
|
145
|
+
extra_rdoc_files: []
|
146
|
+
files:
|
147
|
+
- ".gitignore"
|
148
|
+
- ".travis.yml"
|
149
|
+
- CODE_OF_CONDUCT.md
|
150
|
+
- Gemfile
|
151
|
+
- Gemfile.lock
|
152
|
+
- LICENSE.txt
|
153
|
+
- README.md
|
154
|
+
- Rakefile
|
155
|
+
- bin/console
|
156
|
+
- bin/setup
|
157
|
+
- lib/one_drive.rb
|
158
|
+
- lib/one_drive/version.rb
|
159
|
+
- one_drive.gemspec
|
160
|
+
homepage: https://github.com/DimoMohit/onedrive
|
161
|
+
licenses:
|
162
|
+
- MIT
|
163
|
+
metadata: {}
|
164
|
+
post_install_message:
|
165
|
+
rdoc_options: []
|
166
|
+
require_paths:
|
167
|
+
- lib
|
168
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '0'
|
178
|
+
requirements: []
|
179
|
+
rubyforge_project:
|
180
|
+
rubygems_version: 2.6.13
|
181
|
+
signing_key:
|
182
|
+
specification_version: 4
|
183
|
+
summary: A ruby gem to connect with your Microsoft One Drive and read and write the
|
184
|
+
files.
|
185
|
+
test_files: []
|