grade_runner 0.0.9 → 0.0.10

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: 126dec678889c8e49764337f85a40e87a389e960ad813a4cb04e297446bbf74e
4
- data.tar.gz: f4f36124eca6fecf133c6f2fe42ab1d3fa03cf8e1e26f3cf5f94bd6d88ca737f
3
+ metadata.gz: 54341e166f0121e0e0c49b298ffab7fdb9c288b769e432a25103da828d0340a3
4
+ data.tar.gz: 743765e6cefe82977460154250c9abf8f5dbb4d00cb5a3a8c22eb3a888a5d16c
5
5
  SHA512:
6
- metadata.gz: 6c3eb6813b2d0babbb39974430b7b7ba36e658f4970cc77a102f2ee0522feab2de89b2f7c42ecbed63acdfaed6c98544f64a4d8a9572c4e3fe462e574fc1fcfc
7
- data.tar.gz: 28d9326401af07677e5f6358b708695aa717571056ba0c0842cd71126b9f90594b12764cdca0790ab530c94e7fda818a67b2d9faef04bfab082a241a3069a6ef
6
+ metadata.gz: 91dbca294ec84fe7e1efd7dab82fbf827c61a86f7bb4bf54199ccd505efd1141a83246f326ca8a3aac9d5310a8d444da547cabc1a39b15eb6fe088a88bba703e
7
+ data.tar.gz: 6347b18ff8ca7b3c806511a5b054019729fe40327e4f02c2f9bdb3061686312c8278bd5ab94c0ab32f6445785fd5392a972b995c6cf7bcbf097d978b37b9a82b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.9
1
+ 0.0.10
data/grade_runner.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: grade_runner 0.0.9 ruby lib
5
+ # stub: grade_runner 0.0.10 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "grade_runner".freeze
9
- s.version = "0.0.9"
9
+ s.version = "0.0.10"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Raghu Betina".freeze, "Jelani Woods".freeze]
14
- s.date = "2023-11-20"
14
+ s.date = "2024-07-09"
15
15
  s.description = "This gem runs your RSpec test suite and posts the JSON output to grades.firstdraft.com.".freeze
16
16
  s.email = ["raghu@firstdraft.com".freeze, "jelani@firstdraft.com".freeze]
17
17
  s.extra_rdoc_files = [
data/lib/tasks/grade.rake CHANGED
@@ -151,6 +151,11 @@ def sync_specs_with_source(full_reponame)
151
151
  default_branch = `git remote show upstream | grep 'HEAD branch' | cut -d' ' -f5`.chomp
152
152
  # Overwrite local contents of spec folder with contents from upstream branch
153
153
  `git checkout upstream/#{default_branch} spec/ -q`
154
+ # Unstage new spec file contents
155
+ # - if wrong token is used, spec files can be removed properly when unstaged
156
+ # - spec file changes committed by learner are removed and updated
157
+ # - we are not committing spec file changes by default to avoid confusing the git history
158
+ `git restore --staged spec/*`
154
159
  end
155
160
  else
156
161
  abort("The project #{full_reponame} does not exist.")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grade_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raghu Betina
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-11-20 00:00:00.000000000 Z
12
+ date: 2024-07-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport