teamdrive_api 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{LICENSE.txt → LICENSE} +0 -0
- data/lib/teamdrive_api/register.rb +11 -0
- data/lib/teamdrive_api/version.rb +1 -1
- metadata +34 -30
- data/.gitignore +0 -11
- data/.rubocop.yml +0 -3
- data/.travis.yml +0 -6
- data/Gemfile +0 -4
- data/Rakefile +0 -10
- data/bin/console +0 -10
- data/bin/setup +0 -7
- data/teamdrive_api.gemspec +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 140a180be0f2a968ff6ca3dbbba52b0de1e7a1c8
|
4
|
+
data.tar.gz: ef0633d60afb58ef2a758a1b95949663c9b3e5db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71d4d409cd90e7d14b5a90fbbe724b59d075b0c3e692e7dc0d453dc1c8666149c5e72426568a3defbfbf06e0f39a6546c77ebc3fda38792595d24c6e4bce4c25
|
7
|
+
data.tar.gz: 5cb9837662e432e873522a4c3bc6dfd7fd1f8a4c08ca30933c18e30df2d2c4eba6d7c53196bf54d9b14885e3a4ad7120709eea0bc2aaf922272f2b792e81c1ec
|
data/{LICENSE.txt → LICENSE}
RENAMED
File without changes
|
@@ -202,5 +202,16 @@ module TeamdriveApi
|
|
202
202
|
}.merge(query)
|
203
203
|
send_request :searchuser, query
|
204
204
|
end
|
205
|
+
|
206
|
+
# Reset Password (added in RegServ API v1.0.003)
|
207
|
+
#
|
208
|
+
# Resetting a user's password will set it to a random value.
|
209
|
+
#
|
210
|
+
# @param [String] username of the user to reset the password.
|
211
|
+
# @return [Boolean] success?
|
212
|
+
def reset_password(username)
|
213
|
+
opts = { username: username }
|
214
|
+
send_request :resetpassword, opts
|
215
|
+
end
|
205
216
|
end
|
206
217
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teamdrive_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Hutter
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -39,61 +39,75 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.8'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
47
|
+
version: '10.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
54
|
+
version: '10.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: pry
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0.10'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0.10'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: codeclimate-test-reporter
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: minitest
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '5.8'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '5.8'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: minitest-reporters
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: webmock
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -110,21 +124,13 @@ dependencies:
|
|
110
124
|
version: '1.20'
|
111
125
|
description: Client library for the TeamDrive XML API. Currently only supports the
|
112
126
|
RegServer API
|
113
|
-
email:
|
114
|
-
- git@mhutter.net
|
127
|
+
email: manuel@hutter.io
|
115
128
|
executables: []
|
116
129
|
extensions: []
|
117
130
|
extra_rdoc_files: []
|
118
131
|
files:
|
119
|
-
-
|
120
|
-
- ".rubocop.yml"
|
121
|
-
- ".travis.yml"
|
122
|
-
- Gemfile
|
123
|
-
- LICENSE.txt
|
132
|
+
- LICENSE
|
124
133
|
- README.md
|
125
|
-
- Rakefile
|
126
|
-
- bin/console
|
127
|
-
- bin/setup
|
128
134
|
- lib/teamdrive_api.rb
|
129
135
|
- lib/teamdrive_api/base.rb
|
130
136
|
- lib/teamdrive_api/core_ext/array.rb
|
@@ -132,7 +138,6 @@ files:
|
|
132
138
|
- lib/teamdrive_api/error.rb
|
133
139
|
- lib/teamdrive_api/register.rb
|
134
140
|
- lib/teamdrive_api/version.rb
|
135
|
-
- teamdrive_api.gemspec
|
136
141
|
homepage: https://github.com/mhutter/teamdrive_api
|
137
142
|
licenses:
|
138
143
|
- MIT
|
@@ -153,9 +158,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
158
|
version: '0'
|
154
159
|
requirements: []
|
155
160
|
rubyforge_project:
|
156
|
-
rubygems_version: 2.4.
|
161
|
+
rubygems_version: 2.4.5
|
157
162
|
signing_key:
|
158
163
|
specification_version: 4
|
159
164
|
summary: TeamDrive API Client
|
160
165
|
test_files: []
|
161
|
-
has_rdoc:
|
data/.gitignore
DELETED
data/.rubocop.yml
DELETED
data/.travis.yml
DELETED
data/Gemfile
DELETED
data/Rakefile
DELETED
data/bin/console
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'bundler/setup'
|
4
|
-
require 'teamdrive_api'
|
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
|
-
require 'pry'
|
10
|
-
Pry.start
|
data/bin/setup
DELETED
data/teamdrive_api.gemspec
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'teamdrive_api/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = 'teamdrive_api'
|
8
|
-
spec.version = TeamdriveApi::VERSION
|
9
|
-
spec.authors = ['Manuel Hutter']
|
10
|
-
spec.email = ['git@mhutter.net']
|
11
|
-
|
12
|
-
if spec.respond_to?(:metadata)
|
13
|
-
# spec.metadata['allowed_push_host'] = 'TODO: Set to 'http://mygemserver.com' to prevent pushes to rubygems.org, or delete to allow pushes to any server.'
|
14
|
-
end
|
15
|
-
|
16
|
-
spec.summary = 'TeamDrive API Client'
|
17
|
-
spec.description = 'Client library for the TeamDrive XML API. Currently only supports the RegServer API'
|
18
|
-
spec.homepage = 'https://github.com/mhutter/teamdrive_api'
|
19
|
-
spec.license = 'MIT'
|
20
|
-
|
21
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
22
|
-
spec.bindir = 'exe'
|
23
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
|
-
spec.require_paths = ['lib']
|
25
|
-
|
26
|
-
spec.add_runtime_dependency 'httparty', '~> 0.13'
|
27
|
-
|
28
|
-
spec.add_development_dependency 'bundler', '~> 1.8'
|
29
|
-
spec.add_development_dependency 'codeclimate-test-reporter'
|
30
|
-
spec.add_development_dependency 'minitest', '~> 5.5'
|
31
|
-
spec.add_development_dependency 'pry', '~> 0.10'
|
32
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
33
|
-
spec.add_development_dependency 'webmock', '~> 1.20'
|
34
|
-
end
|