timestamp_api 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/timestamp_api.rb +1 -0
- data/lib/timestamp_api/models/user.rb +8 -0
- data/lib/timestamp_api/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a0f32becb73b472f08339084946177bd46c4e91
|
4
|
+
data.tar.gz: 6231f1d36873b7467d6d5d70d4d2ea1db26e3e74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84bc0fe028acd831ee41d3e1f81d7c11e78a807974fcae420ab2f382fb808ea9bb112d4b1e90b8dce21b7f71908ed1a1d4e167fb39f5904a5774c0ed4a7e73ad
|
7
|
+
data.tar.gz: 71a13d05744b67fc07ec4f13ce5bc50135c9428a731b50157105ed7dfecbd67e27eac8383734f97124dd03c52e346d402b1e9dc73b24d3767946ef0a33899056
|
data/README.md
CHANGED
@@ -128,6 +128,7 @@ There's also a `bin/console` executable provided with this gem, if you want a RE
|
|
128
128
|
* [x] `Project` model
|
129
129
|
* [x] `Client` model
|
130
130
|
* [x] `Task` model
|
131
|
+
* [x] `User` model (their `roles` could be enhanced, though)
|
131
132
|
* [x] `belongs_to` relationships
|
132
133
|
|
133
134
|
### What's not implemented yet ?
|
data/lib/timestamp_api.rb
CHANGED
@@ -0,0 +1,8 @@
|
|
1
|
+
module TimestampAPI
|
2
|
+
class User < Model
|
3
|
+
api_path "/users"
|
4
|
+
|
5
|
+
has_attributes :id, :created_at, :user_type, :first_name, :last_name, :email_address, :time_zone, :culture, :is_active,
|
6
|
+
:avatar_url, :last_accessed, :invited_at, :roles, :employment_type, :time_entry_mode, :importStatus, :invited
|
7
|
+
end
|
8
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timestamp_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Baudino
|
@@ -167,6 +167,7 @@ files:
|
|
167
167
|
- lib/timestamp_api/models/client.rb
|
168
168
|
- lib/timestamp_api/models/project.rb
|
169
169
|
- lib/timestamp_api/models/task.rb
|
170
|
+
- lib/timestamp_api/models/user.rb
|
170
171
|
- lib/timestamp_api/utils.rb
|
171
172
|
- lib/timestamp_api/version.rb
|
172
173
|
- timestamp_api.gemspec
|