tracker_api 1.14.0 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 849c1d3fe22b5b812ed7144d3d0703a7a6f3701d575f5d794cf9f9dc8caf6643
4
- data.tar.gz: d142dccb5a2eec0474e54262f351e4ea148651dd7c0c7a28fcb93acdbb9f3d25
3
+ metadata.gz: 4f284c39ae525e093104bb8973d894af5eae82a265cbde0cd37c91788dfa7910
4
+ data.tar.gz: c5e2238157bf9cf50287ac16d57a53ff6e275361c7809c03b99a7e0ba3b8ae04
5
5
  SHA512:
6
- metadata.gz: 62a6cab610b4c3e4b43ff6b7ca007e477e0478e6c1e3821b2d49a1052a830d030dbf7bfcebb91158a2493cc589e8d7ca0155f3621a0e52119ff40fba560a243a
7
- data.tar.gz: a030d836b14d017f57c2eaf91f12cb7b9202c23a0cabd6e2e08b425c5185f10cb477b1ec3e598c19cdf63889dcaf23ae5c3ede9dfdc28adc562aac4f9785ad17
6
+ metadata.gz: ed2e3ab6564116f8b0d0188c88a67c9e1791caa6e26dc997ba28032946971c7bb432a2cab300b8fcc6791a25506d1777234e5fb288069b955ae241a164be1243
7
+ data.tar.gz: '09318fc6051a02f5a7b6a008b6e4c2cd4cd9fb434d97ab6018341963ba70b0d0f859f35147cf5af2bfe1dccdfbe58e426fb9b72a1750daa160ccd1e666857235'
@@ -21,23 +21,26 @@ jobs:
21
21
  - faraday-1
22
22
  - faraday-2
23
23
  ruby-version:
24
+ - "3.2"
24
25
  - "3.1"
25
26
  - "3.0"
26
27
  - "2.7"
27
- - "2.6"
28
28
  - jruby
29
29
  - truffleruby
30
30
 
31
31
  steps:
32
- - uses: actions/checkout@v2
32
+ - uses: actions/checkout@v3
33
33
  - name: Set up Ruby ${{ matrix.ruby-version }}
34
34
  uses: ruby/setup-ruby@v1
35
35
  with:
36
36
  ruby-version: ${{ matrix.ruby-version }}
37
+ - name: Set environment
38
+ run: echo "COVERAGE=true" >> "$GITHUB_ENV"
39
+ if: matrix.ruby-version == '3.2' && matrix.gemfile == 'faraday-2'
37
40
  - name: Install dependencies
38
41
  run: bundle install
39
42
  - name: Run tests
40
43
  run: bundle exec rake test
41
44
  - name: Upload Coverage
42
- uses: paambaati/codeclimate-action@v3.0.0
43
- if: matrix.ruby-version == '3.1' && matrix.gemfile == 'faraday-2'
45
+ uses: paambaati/codeclimate-action@v3.2.0
46
+ if: matrix.ruby-version == '3.2' && matrix.gemfile == 'faraday-2'
data/README.md CHANGED
@@ -12,8 +12,8 @@ It’s powered by [Faraday](https://github.com/lostisland/faraday) and [Virtus](
12
12
  ## Compatibility
13
13
 
14
14
  This gem is tested against the following officially supported Ruby versions:
15
- - Minimum Ruby Version: 2.6.x
16
- - Latest Ruby Supported: 3.1.x
15
+ - Minimum Ruby Version: 2.7.x
16
+ - Latest Ruby Supported: 3.2.x
17
17
 
18
18
  ## Installation
19
19
 
@@ -18,6 +18,7 @@ module TrackerApi
18
18
  attribute :project_id, Integer
19
19
  attribute :updated_at, DateTime
20
20
  attribute :completed_at, DateTime
21
+ attribute :projected_completion, DateTime
21
22
  attribute :url, String
22
23
 
23
24
  class UpdateRepresenter < Representable::Decorator
@@ -33,6 +33,7 @@ module TrackerApi
33
33
  attribute :public, Boolean
34
34
  attribute :start_date, DateTime
35
35
  attribute :start_time, DateTime
36
+ attribute :status, String
36
37
  attribute :time_zone, TimeZone
37
38
  attribute :updated_at, DateTime
38
39
  attribute :velocity_averaged_over, Integer
@@ -1,3 +1,3 @@
1
1
  module TrackerApi
2
- VERSION = '1.14.0'
2
+ VERSION = '1.15.0'
3
3
  end
@@ -1,8 +1,10 @@
1
1
  #Bundler.require(:test)
2
2
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
3
3
 
4
- require 'simplecov'
5
- SimpleCov.start
4
+ if ENV['COVERAGE'] == 'true'
5
+ require 'simplecov'
6
+ SimpleCov.start
7
+ end
6
8
 
7
9
  require 'minitest/byebug' if ENV['DEBUG']
8
10
  require 'minitest/autorun'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tracker_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ProductPlan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-05 00:00:00.000000000 Z
11
+ date: 2023-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -480,7 +480,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
480
480
  - !ruby/object:Gem::Version
481
481
  version: '0'
482
482
  requirements: []
483
- rubygems_version: 3.2.32
483
+ rubygems_version: 3.4.3
484
484
  signing_key:
485
485
  specification_version: 4
486
486
  summary: API client for the Pivotal Tracker v5 API