productive 0.4.2 → 0.4.3

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: a734f027ab184fb4b0f5056fc9b9f69ab65da6b5
4
- data.tar.gz: 2c0d1f4ac3e5088ffa47a94be07691cf714009ff
3
+ metadata.gz: 918ae87024e5c6676ac06550e71e3e10ec3d8801
4
+ data.tar.gz: e1d0a85c57feb77c901b5ab05212565a0e267e74
5
5
  SHA512:
6
- metadata.gz: f202ad0592a11c47b9be4d13be54e3d35ac0be9f3b546386276a9fb04289aeb8e2410553ec788f1bba7b5155b19f5a2d4bc6d8a97dba147928e298c756e7d50a
7
- data.tar.gz: a2e91ff379d277aa8511680b9f89ac798583abdbe62ee5a62728b45a2a2b859aad9e5b44eadbd671307ce55f29bf3b99f379d4073f1456abdb4c4059cdf7f515
6
+ metadata.gz: 3be37799c2d95d5fcdaedc16cbe9fe06a7cc8be0acbc111bf2ac2df1979eae06da626367d41f1079e06341331dc83a24c277ff8b7361ab37411f50d16fa9d4d0
7
+ data.tar.gz: b679807611b944ce1d743221ee93166aebff05ee22b020e489a2d4dcdc20ca56189a8426a2abe16fc75ae0daaf674fac8c9e546d2c736ddfc68e0450fb719d36
data/lib/productive.rb CHANGED
@@ -19,6 +19,7 @@ require 'productive/resources/person'
19
19
  require 'productive/resources/profitability_report'
20
20
  require 'productive/resources/project'
21
21
  require 'productive/resources/salary'
22
+ require 'productive/resources/sales_report'
22
23
  require 'productive/resources/service'
23
24
  require 'productive/resources/service_type'
24
25
  require 'productive/resources/time_entry'
@@ -0,0 +1,6 @@
1
+ module Productive
2
+ class SalesReport < BaseAccount
3
+ has_one :deal
4
+ has_one :manager, class_name: :person
5
+ end
6
+ end
@@ -1,3 +1,3 @@
1
1
  module Productive
2
- VERSION = '0.4.2'.freeze
2
+ VERSION = '0.4.3'.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.2
4
+ version: 0.4.3
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: 2016-12-21 00:00:00.000000000 Z
11
+ date: 2017-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -71,6 +71,7 @@ files:
71
71
  - lib/productive/resources/profitability_report.rb
72
72
  - lib/productive/resources/project.rb
73
73
  - lib/productive/resources/salary.rb
74
+ - lib/productive/resources/sales_report.rb
74
75
  - lib/productive/resources/service.rb
75
76
  - lib/productive/resources/service_type.rb
76
77
  - lib/productive/resources/time_entry.rb