passaporteweb-client 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +3 -0
- data/.travis.yml +1 -1
- data/Gemfile.lock +4 -4
- data/lib/passaporte_web/identity.rb +3 -1
- data/lib/passaporte_web/version.rb +1 -1
- data/passaporteweb-client.gemspec +2 -2
- data/spec/passaporte_web/service_account_member_spec.rb +0 -1
- metadata +51 -80
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1cafa6b417031b79cda20fbb45fa8df105eb21c2
|
4
|
+
data.tar.gz: e6200c2e812a39131ca76f02ac8de727a839d365
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0a50f9b5df1901c337b84116c49578b99815b971f46b9120994b2803915669039f8b90139e3070d213f65b735eedf6e91b2710d65161d4fd20e184923f78e0be
|
7
|
+
data.tar.gz: b5c53b3a06311786c5e99919e2ae1094ca385baca01915c367374c519d89d69e92d7b4a392330a587eaa08a4d8fcfc3e969a208ebeeefd4315fc3b65a2dd524e
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
passaporteweb-client (0.0.
|
5
|
-
multi_json (~> 1.
|
4
|
+
passaporteweb-client (0.0.19)
|
5
|
+
multi_json (~> 1.9.0)
|
6
6
|
rest-client (~> 1.6.7)
|
7
7
|
|
8
8
|
GEM
|
@@ -23,7 +23,7 @@ GEM
|
|
23
23
|
json (1.7.7)
|
24
24
|
method_source (0.8.1)
|
25
25
|
mime-types (1.21)
|
26
|
-
multi_json (1.
|
26
|
+
multi_json (1.9.2)
|
27
27
|
pry (0.9.12)
|
28
28
|
coderay (~> 1.0.5)
|
29
29
|
method_source (~> 0.8)
|
@@ -59,7 +59,7 @@ PLATFORMS
|
|
59
59
|
|
60
60
|
DEPENDENCIES
|
61
61
|
awesome_print (~> 1.1)
|
62
|
-
bundler (~> 1.3
|
62
|
+
bundler (~> 1.5.3)
|
63
63
|
coveralls (~> 0.6)
|
64
64
|
passaporteweb-client!
|
65
65
|
pry (~> 0.9)
|
@@ -138,7 +138,9 @@ module PassaporteWeb
|
|
138
138
|
|
139
139
|
# Compares one Identity with another, returns true if they have the same UUID.
|
140
140
|
def ==(other)
|
141
|
-
self.uuid
|
141
|
+
if self.respond_to?(:uuid) && other.respond_to?(:uuid)
|
142
|
+
self.uuid == other.uuid
|
143
|
+
end
|
142
144
|
end
|
143
145
|
|
144
146
|
# Returns true if both Identity are the same object.
|
@@ -24,9 +24,9 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.require_paths = ["lib"]
|
25
25
|
|
26
26
|
spec.add_dependency "rest-client", "~> 1.6.7"
|
27
|
-
spec.add_dependency "multi_json", "~> 1.
|
27
|
+
spec.add_dependency "multi_json", "~> 1.9.0"
|
28
28
|
|
29
|
-
spec.add_development_dependency "bundler", "~> 1.3
|
29
|
+
spec.add_development_dependency "bundler", "~> 1.5.3"
|
30
30
|
spec.add_development_dependency "rake", "~> 10.0"
|
31
31
|
spec.add_development_dependency 'rdoc', '~> 4.0'
|
32
32
|
spec.add_development_dependency "rspec", "~> 2.13"
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: passaporteweb-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 0.0.18
|
4
|
+
version: 0.0.19
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Rodrigo Tassinari de Oliveira
|
@@ -10,216 +9,190 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2014-04-14 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rest-client
|
17
|
-
version_requirements: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
|
-
requirements:
|
20
|
-
- - ~>
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 1.6.7
|
23
16
|
requirement: !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
17
|
requirements:
|
26
18
|
- - ~>
|
27
19
|
- !ruby/object:Gem::Version
|
28
20
|
version: 1.6.7
|
29
21
|
type: :runtime
|
30
22
|
prerelease: false
|
31
|
-
- !ruby/object:Gem::Dependency
|
32
|
-
name: multi_json
|
33
23
|
version_requirements: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
24
|
requirements:
|
36
25
|
- - ~>
|
37
26
|
- !ruby/object:Gem::Version
|
38
|
-
version: 1.7
|
27
|
+
version: 1.6.7
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: multi_json
|
39
30
|
requirement: !ruby/object:Gem::Requirement
|
40
|
-
none: false
|
41
31
|
requirements:
|
42
32
|
- - ~>
|
43
33
|
- !ruby/object:Gem::Version
|
44
|
-
version: 1.
|
34
|
+
version: 1.9.0
|
45
35
|
type: :runtime
|
46
36
|
prerelease: false
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: bundler
|
49
37
|
version_requirements: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
38
|
requirements:
|
52
39
|
- - ~>
|
53
40
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
41
|
+
version: 1.9.0
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: bundler
|
55
44
|
requirement: !ruby/object:Gem::Requirement
|
56
|
-
none: false
|
57
45
|
requirements:
|
58
46
|
- - ~>
|
59
47
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.3
|
48
|
+
version: 1.5.3
|
61
49
|
type: :development
|
62
50
|
prerelease: false
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
|
-
name: rake
|
65
51
|
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
52
|
requirements:
|
68
53
|
- - ~>
|
69
54
|
- !ruby/object:Gem::Version
|
70
|
-
version:
|
55
|
+
version: 1.5.3
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rake
|
71
58
|
requirement: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
59
|
requirements:
|
74
60
|
- - ~>
|
75
61
|
- !ruby/object:Gem::Version
|
76
62
|
version: '10.0'
|
77
63
|
type: :development
|
78
64
|
prerelease: false
|
79
|
-
- !ruby/object:Gem::Dependency
|
80
|
-
name: rdoc
|
81
65
|
version_requirements: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
66
|
requirements:
|
84
67
|
- - ~>
|
85
68
|
- !ruby/object:Gem::Version
|
86
|
-
version: '
|
69
|
+
version: '10.0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: rdoc
|
87
72
|
requirement: !ruby/object:Gem::Requirement
|
88
|
-
none: false
|
89
73
|
requirements:
|
90
74
|
- - ~>
|
91
75
|
- !ruby/object:Gem::Version
|
92
76
|
version: '4.0'
|
93
77
|
type: :development
|
94
78
|
prerelease: false
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: rspec
|
97
79
|
version_requirements: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
80
|
requirements:
|
100
81
|
- - ~>
|
101
82
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
83
|
+
version: '4.0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: rspec
|
103
86
|
requirement: !ruby/object:Gem::Requirement
|
104
|
-
none: false
|
105
87
|
requirements:
|
106
88
|
- - ~>
|
107
89
|
- !ruby/object:Gem::Version
|
108
90
|
version: '2.13'
|
109
91
|
type: :development
|
110
92
|
prerelease: false
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: vcr
|
113
93
|
version_requirements: !ruby/object:Gem::Requirement
|
114
|
-
none: false
|
115
94
|
requirements:
|
116
95
|
- - ~>
|
117
96
|
- !ruby/object:Gem::Version
|
118
|
-
version: '2.
|
97
|
+
version: '2.13'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: vcr
|
119
100
|
requirement: !ruby/object:Gem::Requirement
|
120
|
-
none: false
|
121
101
|
requirements:
|
122
102
|
- - ~>
|
123
103
|
- !ruby/object:Gem::Version
|
124
104
|
version: '2.4'
|
125
105
|
type: :development
|
126
106
|
prerelease: false
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
name: webmock
|
129
107
|
version_requirements: !ruby/object:Gem::Requirement
|
130
|
-
none: false
|
131
108
|
requirements:
|
132
109
|
- - ~>
|
133
110
|
- !ruby/object:Gem::Version
|
134
|
-
version:
|
111
|
+
version: '2.4'
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: webmock
|
135
114
|
requirement: !ruby/object:Gem::Requirement
|
136
|
-
none: false
|
137
115
|
requirements:
|
138
116
|
- - ~>
|
139
117
|
- !ruby/object:Gem::Version
|
140
118
|
version: 1.9.3
|
141
119
|
type: :development
|
142
120
|
prerelease: false
|
143
|
-
- !ruby/object:Gem::Dependency
|
144
|
-
name: pry
|
145
121
|
version_requirements: !ruby/object:Gem::Requirement
|
146
|
-
none: false
|
147
122
|
requirements:
|
148
123
|
- - ~>
|
149
124
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
125
|
+
version: 1.9.3
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: pry
|
151
128
|
requirement: !ruby/object:Gem::Requirement
|
152
|
-
none: false
|
153
129
|
requirements:
|
154
130
|
- - ~>
|
155
131
|
- !ruby/object:Gem::Version
|
156
132
|
version: '0.9'
|
157
133
|
type: :development
|
158
134
|
prerelease: false
|
159
|
-
- !ruby/object:Gem::Dependency
|
160
|
-
name: pry-nav
|
161
135
|
version_requirements: !ruby/object:Gem::Requirement
|
162
|
-
none: false
|
163
136
|
requirements:
|
164
137
|
- - ~>
|
165
138
|
- !ruby/object:Gem::Version
|
166
|
-
version: '0.
|
139
|
+
version: '0.9'
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: pry-nav
|
167
142
|
requirement: !ruby/object:Gem::Requirement
|
168
|
-
none: false
|
169
143
|
requirements:
|
170
144
|
- - ~>
|
171
145
|
- !ruby/object:Gem::Version
|
172
146
|
version: '0.2'
|
173
147
|
type: :development
|
174
148
|
prerelease: false
|
175
|
-
- !ruby/object:Gem::Dependency
|
176
|
-
name: awesome_print
|
177
149
|
version_requirements: !ruby/object:Gem::Requirement
|
178
|
-
none: false
|
179
150
|
requirements:
|
180
151
|
- - ~>
|
181
152
|
- !ruby/object:Gem::Version
|
182
|
-
version: '
|
153
|
+
version: '0.2'
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: awesome_print
|
183
156
|
requirement: !ruby/object:Gem::Requirement
|
184
|
-
none: false
|
185
157
|
requirements:
|
186
158
|
- - ~>
|
187
159
|
- !ruby/object:Gem::Version
|
188
160
|
version: '1.1'
|
189
161
|
type: :development
|
190
162
|
prerelease: false
|
191
|
-
- !ruby/object:Gem::Dependency
|
192
|
-
name: simplecov
|
193
163
|
version_requirements: !ruby/object:Gem::Requirement
|
194
|
-
none: false
|
195
164
|
requirements:
|
196
165
|
- - ~>
|
197
166
|
- !ruby/object:Gem::Version
|
198
|
-
version: '
|
167
|
+
version: '1.1'
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: simplecov
|
199
170
|
requirement: !ruby/object:Gem::Requirement
|
200
|
-
none: false
|
201
171
|
requirements:
|
202
172
|
- - ~>
|
203
173
|
- !ruby/object:Gem::Version
|
204
174
|
version: '0.7'
|
205
175
|
type: :development
|
206
176
|
prerelease: false
|
207
|
-
- !ruby/object:Gem::Dependency
|
208
|
-
name: coveralls
|
209
177
|
version_requirements: !ruby/object:Gem::Requirement
|
210
|
-
none: false
|
211
178
|
requirements:
|
212
179
|
- - ~>
|
213
180
|
- !ruby/object:Gem::Version
|
214
|
-
version: '0.
|
181
|
+
version: '0.7'
|
182
|
+
- !ruby/object:Gem::Dependency
|
183
|
+
name: coveralls
|
215
184
|
requirement: !ruby/object:Gem::Requirement
|
216
|
-
none: false
|
217
185
|
requirements:
|
218
186
|
- - ~>
|
219
187
|
- !ruby/object:Gem::Version
|
220
188
|
version: '0.6'
|
221
189
|
type: :development
|
222
190
|
prerelease: false
|
191
|
+
version_requirements: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - ~>
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '0.6'
|
223
196
|
description: A Ruby client for the PassaporteWeb REST API
|
224
197
|
email:
|
225
198
|
- rodrigo@pittlandia.net
|
@@ -266,28 +239,27 @@ files:
|
|
266
239
|
homepage: https://github.com/myfreecomm/passaporteweb-client-ruby
|
267
240
|
licenses:
|
268
241
|
- Apache-v2
|
242
|
+
metadata: {}
|
269
243
|
post_install_message:
|
270
244
|
rdoc_options: []
|
271
245
|
require_paths:
|
272
246
|
- lib
|
273
247
|
required_ruby_version: !ruby/object:Gem::Requirement
|
274
|
-
none: false
|
275
248
|
requirements:
|
276
|
-
- -
|
249
|
+
- - '>='
|
277
250
|
- !ruby/object:Gem::Version
|
278
251
|
version: '0'
|
279
252
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
280
|
-
none: false
|
281
253
|
requirements:
|
282
|
-
- -
|
254
|
+
- - '>='
|
283
255
|
- !ruby/object:Gem::Version
|
284
256
|
version: '0'
|
285
257
|
requirements: []
|
286
258
|
rubyforge_project:
|
287
|
-
rubygems_version:
|
259
|
+
rubygems_version: 2.0.14
|
288
260
|
signing_key:
|
289
|
-
specification_version:
|
290
|
-
summary:
|
261
|
+
specification_version: 4
|
262
|
+
summary: 'A Ruby client for the PassaporteWeb REST API: https://app.passaporteweb.com.br/static/docs/'
|
291
263
|
test_files:
|
292
264
|
- spec/passaporte_web/configuration_spec.rb
|
293
265
|
- spec/passaporte_web/helpers_spec.rb
|
@@ -300,4 +272,3 @@ test_files:
|
|
300
272
|
- spec/passaporte_web/service_account_spec.rb
|
301
273
|
- spec/passaporte_web_spec.rb
|
302
274
|
- spec/spec_helper.rb
|
303
|
-
has_rdoc: true
|