projector 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/README.md +1 -1
- data/lib/projector/end_user.rb +10 -6
- data/lib/projector/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MjE0MWMzOTlkNzMyZDIyYWI2MWFjOWIzZjU2YTcwYmI5NWM0MzcxOQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MmQyNDcxZWQ2ZWM1YjYzYTM3NWY1NzU3OTMyMDYzM2ZjYjFkNWUxOQ==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MGI4MjQ2MTU1M2YyMDNmZTNlYjllZWM3NDg3NmM2MDdkYTNkYzIwZGFkNGUw
|
10
|
+
ZDM3YWMzNDMyY2U1MjRlZDM1MGRjOWU0NDJkOGZmOTBlMGYwMjA2YzIzMWFk
|
11
|
+
N2YzMjRmYjc3ZWUwNWU5MGMzMWE3YjUyOTE3YzljMWRkNjBjMDY=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NmZjYTU3MDM0ODliNWY4MmEzYTgzMTA3OTY0YmJmYTY0NDcyMjkzOTJjOGEw
|
14
|
+
Yjc2MWQwNmJjODlkZGQzODBkYzEzZTRhMWU5YWE3YzMxYWM3Y2Y0ODI1NGRh
|
15
|
+
NDJmMDEzNTAzMGMwYzYzNmI0YzEwNmEyNzJkNzMyOGZjNWRjMWQ=
|
data/README.md
CHANGED
data/lib/projector/end_user.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Projector
|
2
2
|
class EndUser
|
3
3
|
|
4
|
-
SCHEMA = 'http://schemas.projector.com/schemas/com.projector/server_api/jsonschema/0-9-
|
4
|
+
SCHEMA = 'http://schemas.projector.com/schemas/com.projector/server_api/jsonschema/0-9-2#/definitions/end_user_post'
|
5
5
|
|
6
6
|
attr_accessor :id, :tags
|
7
7
|
|
@@ -17,11 +17,15 @@ module Projector
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def to_hash
|
20
|
-
{
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
20
|
+
basic_hash = {
|
21
|
+
id: self.id.to_s,
|
22
|
+
profile: {}
|
23
|
+
}
|
24
|
+
if tags && tags.any?
|
25
|
+
basic_hash.merge({tags: tags})
|
26
|
+
else
|
27
|
+
basic_hash
|
28
|
+
end
|
25
29
|
end
|
26
30
|
end
|
27
31
|
end
|
data/lib/projector/version.rb
CHANGED
metadata
CHANGED
@@ -1,33 +1,33 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: projector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Projector
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-http-persistent
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '2.9'
|
20
|
-
- -
|
20
|
+
- - ! '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.9.4
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '2.9'
|
30
|
-
- -
|
30
|
+
- - ! '>='
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.9.4
|
33
33
|
description: Create and manage users, devices, and events going to Projector.
|
@@ -37,7 +37,7 @@ executables: []
|
|
37
37
|
extensions: []
|
38
38
|
extra_rdoc_files: []
|
39
39
|
files:
|
40
|
-
-
|
40
|
+
- .gitignore
|
41
41
|
- Gemfile
|
42
42
|
- LICENSE
|
43
43
|
- README.md
|
@@ -71,17 +71,17 @@ require_paths:
|
|
71
71
|
- lib
|
72
72
|
required_ruby_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - ! '>='
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- -
|
79
|
+
- - ! '>='
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.4.8
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: Ruby SDK for interacting with the Projector SDK
|