Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .firstdraft_project.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
submission_url: https://grades.firstdraft.com/builds
submission_url: https://grades-staging.firstdraft.com/builds
project_token: deprecated
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
group :development, :test do
gem 'dotenv-rails'
gem 'pry-rails'
gem 'grade_runner', github: 'firstdraft/grade_runner'
gem 'grade_runner', github: 'firstdraft/grade_runner', branch: "add-commit-sha"
gem 'web_git', github: 'firstdraft/web_git'
end

Expand Down
9 changes: 5 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
GIT
remote: https://github.com/firstdraft/grade_runner.git
revision: 881cce30367bc9a5f15a3e4ac4cb48599dbecec2
revision: b2880d874eff8447cc15fc9032eb92e10b493d50
branch: add-commit-sha
specs:
grade_runner (0.0.1)

Expand Down Expand Up @@ -62,7 +63,7 @@ GEM
activerecord (>= 3.2, < 6.0)
rake (>= 10.4, < 13.0)
arel (8.0.0)
autoprefixer-rails (7.1.1.3)
autoprefixer-rails (7.1.2.1)
execjs
awesome_print (1.8.0)
better_errors (2.1.1)
Expand Down Expand Up @@ -113,7 +114,7 @@ GEM
globalid (0.4.0)
activesupport (>= 4.2.0)
hashdiff (0.3.4)
i18n (0.8.4)
i18n (0.8.6)
jbuilder (2.7.0)
activesupport (>= 4.2.0)
multi_json (>= 1.2)
Expand Down Expand Up @@ -213,7 +214,7 @@ GEM
rspec-support (3.6.0)
ruby_dep (1.5.0)
safe_yaml (1.0.4)
sass (3.4.24)
sass (3.4.25)
sass-rails (5.0.6)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/calculations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def word_count
# ================================================================================


@word_count = "Replace this string with your answer."
@word_count = @text.split.count

@character_count_with_spaces = "Replace this string with your answer."

Expand Down