productive 0.4.8 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1841d04861bc7331507d1a8be6d5d76a09dc079b
4
- data.tar.gz: 6083de1c6f98103297208df6a27df81dccccd9f8
3
+ metadata.gz: d4249fc5266846f71588f9272145bb67aaf22c94
4
+ data.tar.gz: 4cf9c1cc7f957d19665285c346d89d4ac30ba36d
5
5
  SHA512:
6
- metadata.gz: 5647d9da18090e9784088b235e61756d3482dc2217b5b89539407a424a1626c0431e8fcc3450a95f70ab69f752aea5c7732ee8cf77ccad2917d5119abea854ee
7
- data.tar.gz: 97376fc8879ccbb093d20ccbab9809470ae8a15b37a47b21b86b6579561b185945b7f5f49fb4c5261026c84ea6fedfdf196b2593e053e9c9a99ac7de54eb1179
6
+ metadata.gz: 13316162aa19fafedeecf89dae4e2edae2338137c9aa62e923e39a48722eca3ca6ab0405f7dee5cca4146b68522029e64a5e062209fe56c764bce90f25405754
7
+ data.tar.gz: 6995d5a146c9ebc7c93838ef11d57e5d85a06a2668feac341965bfe9e0c35a1ef1c732723d1772e29396640c07ae9c0c8c1976b255805d102b4ee755869e4f69
@@ -58,6 +58,7 @@ class JsonApiPaginator
58
58
  end
59
59
 
60
60
  private
61
+
61
62
  def params_for_uri(uri)
62
63
  return {} unless uri
63
64
  uri = Addressable::URI.parse(uri)
@@ -31,6 +31,7 @@ require 'productive/resources/service_type'
31
31
  require 'productive/resources/task'
32
32
  require 'productive/resources/task_list'
33
33
  require 'productive/resources/time_entry'
34
+ require 'productive/resources/time_report'
34
35
  require 'productive/resources/user'
35
36
 
36
37
  require 'productive/railtie' if defined?(Rails::Railtie)
@@ -0,0 +1,5 @@
1
+ module Productive
2
+ class TimeReport < BaseAccount
3
+ has_one :person
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module Productive
2
- VERSION = '0.4.8'.freeze
2
+ VERSION = '0.4.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: productive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josip Bišćan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-22 00:00:00.000000000 Z
11
+ date: 2017-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -83,6 +83,7 @@ files:
83
83
  - lib/productive/resources/task.rb
84
84
  - lib/productive/resources/task_list.rb
85
85
  - lib/productive/resources/time_entry.rb
86
+ - lib/productive/resources/time_report.rb
86
87
  - lib/productive/resources/user.rb
87
88
  - lib/productive/version.rb
88
89
  - productive.gemspec