knapsack_pro 7.6.1 → 7.6.2

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
  SHA256:
3
- metadata.gz: 11356d7eace33ba43c1dec527436091c103ac8b5d6c9bd2ae28851294854d4df
4
- data.tar.gz: 15717cbb12d7d9143be84504464ecd32a25841bb984e70ec88ec6b3c05b0dcbe
3
+ metadata.gz: 1fd5c8d52aa9de26d125b40b1c3b60ee7536a75e9351b524ad9d99386fd6bfc8
4
+ data.tar.gz: 491d49252b139b817939ef4555a36fba6ca6ca74cc70e9a325124e0a900bb5ab
5
5
  SHA512:
6
- metadata.gz: 5a12e300c1a6a7427836b2a62d71b7ccb35174c31d444ac77fdd19847a7b9b85fc805adb9bd966329d0c7e21e58c233230e63e8943b14bad6b9267236c69ee3a
7
- data.tar.gz: 3ac187d311a35d343c5c6fd86c667049642638862d5dff4d68ecff91d63191b05a1206881d24efebd3163d92cbd69e08bd8d0a4b129f69bf45b348dde49662be
6
+ metadata.gz: f1b030ead892b4251f9e191049425675105940777e5061a81e23b90ce8481e3a0564832068202d56d912afe62e5e92482a771f06e7c3faeaf331dc5d772a583c
7
+ data.tar.gz: 82f5ba33b17213da4b7a7b8e2647042559b52ac12c0aae7255f838ed4e6ed70d0fab80d7009434855e58c1c63d3c11fb9cfe69f85fab5968fa37edc3005d1250
data/.circleci/config.yml CHANGED
@@ -165,6 +165,18 @@ jobs:
165
165
  export KNAPSACK_PRO_ENDPOINT=https://api-fake.knapsackpro.com
166
166
  export KNAPSACK_PRO_MAX_REQUEST_RETRIES=1
167
167
  bundle exec rake knapsack_pro:rspec
168
+ - run:
169
+ working_directory: ~/rails-app-with-knapsack_pro
170
+ command: |
171
+ # ensures KnapsackPro::Formatters::TimeTracker works when the .rspec file does not exist
172
+ export KNAPSACK_PRO_BRANCH="$CIRCLE_BRANCH--$CIRCLE_BUILD_NUM--regular--no-dot-rspec-file"
173
+ mv .rspec .rspec.off
174
+ # load test files that require spec_helper explicitly
175
+ export KNAPSACK_PRO_TEST_FILE_PATTERN="{spec/time_tracker_spec.rb}"
176
+ bundle exec rake knapsack_pro:rspec
177
+ RSPEC_EXIT_CODE=$?
178
+ mv .rspec.off .rspec
179
+ exit $RSPEC_EXIT_CODE
168
180
  - run:
169
181
  working_directory: ~/rails-app-with-knapsack_pro
170
182
  command: |
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ### UNRELEASED
4
4
 
5
+ ### 7.6.2
6
+
7
+ * Fix an error for the `KnapsackPro::Formatters::TimeTracker` formatter in RSpec when using Knapsack Pro Regular Mode and the `.rspec` file is not present.
8
+
9
+ https://github.com/KnapsackPro/knapsack_pro-ruby/pull/265
10
+
11
+ https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v7.6.1...v7.6.2
12
+
5
13
  ### 7.6.1
6
14
 
7
15
  * Add support for the Timecop 0.9.9 gem version so that we could track proper tests' execution time when `Process.clock_gettime` is mocked.
data/README.md CHANGED
@@ -78,7 +78,7 @@ Scripted tests can be found in the [Rails App With Knapsack Pro repository](http
78
78
 
79
79
  2. Update the gem version in `lib/knapsack_pro/version.rb`
80
80
 
81
- 3. `git commit -am "chore: prepare release"`
81
+ 3. `git commit -am "Bump version x.x.x"`
82
82
 
83
83
  4. Build, tag, push, release: `bundle exec rake release`
84
84
 
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'stringio'
4
+ require_relative '../utils'
4
5
 
5
6
  module KnapsackPro
6
7
  module Formatters
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KnapsackPro
4
- VERSION = '7.6.1'
4
+ VERSION = '7.6.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knapsack_pro
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.6.1
4
+ version: 7.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ArturT
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-19 00:00:00.000000000 Z
11
+ date: 2024-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake