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 +4 -4
- data/VERSION +1 -1
- data/grade_runner.gemspec +3 -3
- data/lib/tasks/grade.rake +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 54341e166f0121e0e0c49b298ffab7fdb9c288b769e432a25103da828d0340a3
|
|
4
|
+
data.tar.gz: 743765e6cefe82977460154250c9abf8f5dbb4d00cb5a3a8c22eb3a888a5d16c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91dbca294ec84fe7e1efd7dab82fbf827c61a86f7bb4bf54199ccd505efd1141a83246f326ca8a3aac9d5310a8d444da547cabc1a39b15eb6fe088a88bba703e
|
|
7
|
+
data.tar.gz: 6347b18ff8ca7b3c806511a5b054019729fe40327e4f02c2f9bdb3061686312c8278bd5ab94c0ab32f6445785fd5392a972b995c6cf7bcbf097d978b37b9a82b
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
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.
|
|
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
|
+
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 = "
|
|
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.
|
|
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:
|
|
12
|
+
date: 2024-07-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|