author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
332,091 | 11.06.2018 09:15:34 | -19,080 | c1537f342ac1fccc717b9390f87297888b343af4 | Add gh_repo_created_at in test case | [
{
"change_type": "MODIFY",
"old_path": "test/jobs/user_repos_job_test.rb",
"new_path": "test/jobs/user_repos_job_test.rb",
"diff": "@@ -166,7 +166,7 @@ class UserReposJobTest < ActiveJob::TestCase\nassert_equal 25, repo.stars\nend\n- describe 'set gh_repo_updated_at' do\n+ describe 'set gh_repo_upda... | Ruby | MIT License | joshsoftware/code-curiosity | Add gh_repo_created_at in test case |
332,090 | 08.06.2018 19:00:41 | -19,080 | cf7d3c7154827cb46fb95f55e2df92e5b54f3230 | Set default date range in case not provided | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/commits_controller.rb",
"new_path": "app/controllers/commits_controller.rb",
"diff": "@@ -2,7 +2,9 @@ class CommitsController < ApplicationController\nbefore_action :user_commits, only: [:index]\ndef index\n- @commits = @commits.in_range(params... | Ruby | MIT License | joshsoftware/code-curiosity | Set default date range in case not provided |
332,091 | 11.06.2018 15:22:12 | -19,080 | 693b341bbc75c89e9b4fa44223993107107b0dfc | Redeem point changes | [
{
"change_type": "MODIFY",
"old_path": "app/helpers/users_helper.rb",
"new_path": "app/helpers/users_helper.rb",
"diff": "@@ -7,10 +7,9 @@ module UsersHelper\ndef github_points_options\nREDEEM['github_redeem_amounts'].collect do |v|\n[\n- \"$#{v} - #{v * REDEEM['one_dollar_to_points'] * 2} points\",... | Ruby | MIT License | joshsoftware/code-curiosity | Redeem point changes |
332,090 | 11.06.2018 18:24:14 | -19,080 | 15b052b8f8f87645f0cc277507141a933a15a2e3 | Modify tests and add select2 gem | [
{
"change_type": "MODIFY",
"old_path": "Gemfile.lock",
"new_path": "Gemfile.lock",
"diff": "@@ -368,6 +368,8 @@ GEM\nsdoc (0.4.1)\njson (~> 1.7, >= 1.7.7)\nrdoc (~> 4.0)\n+ select2-rails (4.0.3)\n+ thor (~> 0.14)\nsexp_processor (4.7.0)\nsidekiq (4.1.4)\nconcurrent-ruby (~> 1.0)\n@@ -494,6 +496,7 @@... | Ruby | MIT License | joshsoftware/code-curiosity | Modify tests and add select2 gem |
332,090 | 12.06.2018 12:43:30 | -19,080 | 9bbb89d0c93e16bfac66291afa6eaf8aafbcd2d6 | Fix Test cases of commits controller and users helper | [
{
"change_type": "MODIFY",
"old_path": "test/controllers/commits_controller_test.rb",
"new_path": "test/controllers/commits_controller_test.rb",
"diff": "require \"test_helper\"\n-class CommitsControllerTest < ActionController::TestCase\n+describe CommitsController do\nbefore do\nuser = create :user... | Ruby | MIT License | joshsoftware/code-curiosity | Fix Test cases of commits controller and users helper |
332,090 | 12.06.2018 17:35:17 | -19,080 | 93d84c444aa80e60d35a1ba35c1a2dd85450fcd5 | UI fix in commits | [
{
"change_type": "MODIFY",
"old_path": "app/assets/stylesheets/commits.scss",
"new_path": "app/assets/stylesheets/commits.scss",
"diff": "// They will automatically be included in application.css.\n// You can use Sass (SCSS) here: http://sass-lang.com/\n-form, button#reveal_all {\n+form#filters, but... | Ruby | MIT License | joshsoftware/code-curiosity | UI fix in commits |
332,090 | 12.06.2018 17:01:02 | -19,080 | a363b7444fa28a11c1ad9a5706d2853c9c45d978 | Feature to reveal points of commits | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "app/assets/javascripts/commits.js",
"diff": "+$(document).on('page:change', function(event) {\n+ $(document).ready(function() {\n+ $(document).on('click', '.reveal', function() {\n+ var $this = $(this);\n+ $this.fadeOut('fast', function() {\n+ $... | Ruby | MIT License | joshsoftware/code-curiosity | Feature to reveal points of commits |
332,090 | 12.06.2018 18:30:58 | -19,080 | cab40dddd4872e059f00472860d08afea90d939e | Reveal feature changes | [
{
"change_type": "MODIFY",
"old_path": "app/assets/stylesheets/commits.scss",
"new_path": "app/assets/stylesheets/commits.scss",
"diff": "// They will automatically be included in application.css.\n// You can use Sass (SCSS) here: http://sass-lang.com/\n-form#filters, button#reveal_all {\n+form#filt... | Ruby | MIT License | joshsoftware/code-curiosity | Reveal feature changes |
332,090 | 13.06.2018 15:47:30 | -19,080 | 9ca1697b2efe52b540885b451534d633d9911446 | Task to assign auto_score to score | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/concerns/contribution_helper.rb",
"new_path": "app/controllers/concerns/contribution_helper.rb",
"diff": "@@ -9,7 +9,7 @@ module ContributionHelper\n@user_commits.map do |key, value|\n@xAxis << key.strftime('%b %Y')\n@commits << value.count\n- ... | Ruby | MIT License | joshsoftware/code-curiosity | Task to assign auto_score to score |
332,090 | 13.06.2018 18:41:51 | -19,080 | b8a8d3a982ddd0ca03106943ec139c902edc7e2e | Task to set gh_repo_created_at field for all repos | [
{
"change_type": "MODIFY",
"old_path": "app/models/repository.rb",
"new_path": "app/models/repository.rb",
"diff": "@@ -153,4 +153,21 @@ class Repository\nreturn repo\nend\n+\n+ def set_gh_repo_created_at\n+ begin\n+ info = GitApp.info.repos.get(owner, name)\n+ set(gh_repo_created_at: info.created_a... | Ruby | MIT License | joshsoftware/code-curiosity | Task to set gh_repo_created_at field for all repos |
332,090 | 14.06.2018 14:28:53 | -19,080 | 0d8102fa8d5dd36081a48b8c28a482950ad2dee5 | Fetch commit stats
1. To get total number of lines changed in a commit. | [
{
"change_type": "MODIFY",
"old_path": "app/models/commit.rb",
"new_path": "app/models/commit.rb",
"diff": "@@ -16,6 +16,7 @@ class Commit\nfield :score, type: Float, default: 0\nfield :reward, type: Float, default: 0\nfield :frequency_factor, type: Float, default: 1\n+ field :lines, type: Integer, ... | Ruby | MIT License | joshsoftware/code-curiosity | Fetch commit stats
1. To get total number of lines changed in a commit. |
332,090 | 15.06.2018 12:10:53 | -19,080 | d891c519eb173cedd00cfc6af4f7def74bd30a59 | Task to score and reward commits daily | [
{
"change_type": "MODIFY",
"old_path": "app/models/commit.rb",
"new_path": "app/models/commit.rb",
"diff": "@@ -14,7 +14,7 @@ class Commit\nfield :sha, type: String\nfield :auto_score, type: Integer\nfield :score, type: Float, default: 0\n- field :reward, type: Float, default: 0\n+ field :reward, ty... | Ruby | MIT License | joshsoftware/code-curiosity | Task to score and reward commits daily |
332,090 | 18.06.2018 17:51:44 | -19,080 | 2880e9a0afa92877af33fffc1403abcf83779dd9 | Modification in GitApp model | [
{
"change_type": "MODIFY",
"old_path": "app/models/git_app.rb",
"new_path": "app/models/git_app.rb",
"diff": "class GitApp\ninclude Mongoid::Document\n+ GIT_INFO = YAML.load_file('config/git.yml')\n- @@app_credentials_counter = 1\n+ @@access_token_counter = 1\n- def self.app_credentials_counter\n- @... | Ruby | MIT License | joshsoftware/code-curiosity | Modification in GitApp model |
332,090 | 19.06.2018 19:20:55 | -19,080 | a571c62595df34bfe8cbe35cf011ac4f49a03997 | UI changes
1. Show no transaction message in ponts history if there are no transaction.
2. Make points history tab active.
3. Add organization sponsors at home page.
4. Do not show reveal all button in case no commits. | [
{
"change_type": "MODIFY",
"old_path": "app/assets/javascripts/components/points_history.es6.jsx",
"new_path": "app/assets/javascripts/components/points_history.es6.jsx",
"diff": "@@ -21,7 +21,7 @@ class PointsHistory extends React.Component {\nthis.state.transactions.map(function(transaction, index... | Ruby | MIT License | joshsoftware/code-curiosity | UI changes
1. Show no transaction message in ponts history if there are no transaction.
2. Make points history tab active.
3. Add organization sponsors at home page.
4. Do not show reveal all button in case no commits. |
332,090 | 20.06.2018 16:53:23 | -19,080 | dfc301d8062206dd85100d56c5079c18ff67213c | Modifications in redemption feature
1. Redemption of amount instead of points. | [
{
"change_type": "MODIFY",
"old_path": "app/assets/javascripts/components/points_history.es6.jsx",
"new_path": "app/assets/javascripts/components/points_history.es6.jsx",
"diff": "@@ -19,7 +19,7 @@ class PointsHistory extends React.Component {\nrender() {\nvar rows = [];\nthis.state.transactions.map... | Ruby | MIT License | joshsoftware/code-curiosity | Modifications in redemption feature
1. Redemption of amount instead of points. |
332,090 | 21.06.2018 15:02:46 | -19,080 | f6a62be288a0489e5cb877d9b6d56f77100156d8 | Use of full text search in commits | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -44,6 +44,7 @@ gem 'versionist'\ngem 'active_model_serializers', '~> 0.10.0'\ngem 'sidekiq-status'\ngem 'select2-rails'\n+gem 'mongoid_search'\ngroup :development, :test do\ngem 'byebug'\n"
},
{
"change_type... | Ruby | MIT License | joshsoftware/code-curiosity | Use of full text search in commits |
332,090 | 22.06.2018 15:37:52 | -19,080 | 8c5bea835c21d2d91c230e72316ca20cb52ec1fa | Create unforked repository only. | [
{
"change_type": "MODIFY",
"old_path": "app/jobs/user_repos_job.rb",
"new_path": "app/jobs/user_repos_job.rb",
"diff": "@@ -30,12 +30,13 @@ class UserReposJob < ActiveJob::Base\nend\ndef add_repo(gh_repo)\n- #check if the repository is not soft deleted and\n- repo = Repository.unscoped.where(gh_id: ... | Ruby | MIT License | joshsoftware/code-curiosity | Create unforked repository only. |
332,090 | 22.06.2018 19:27:32 | -19,080 | e0f2bc20e872c4de6d9285c74cf73ab461fb4539 | Update test cases in user repos job | [
{
"change_type": "MODIFY",
"old_path": "app/jobs/user_repos_job.rb",
"new_path": "app/jobs/user_repos_job.rb",
"diff": "@@ -68,6 +68,6 @@ class UserReposJob < ActiveJob::Base\nuser_repo.save\nuser.repositories << user_repo\nuser.save\n- Sidekiq.logger.info \"Persisted repository #{repo.name} for use... | Ruby | MIT License | joshsoftware/code-curiosity | Update test cases in user repos job |
332,090 | 22.06.2018 18:47:48 | -19,080 | 522ef8067e20e62c048984368e044b564a133ba2 | UI changes
1. Do not show chart in dashboard if no commits are present.
2. Show total points in user profile.
3. Change in width of search field in rewards table. | [
{
"change_type": "MODIFY",
"old_path": "app/assets/javascripts/components/points_history.es6.jsx",
"new_path": "app/assets/javascripts/components/points_history.es6.jsx",
"diff": "@@ -31,6 +31,7 @@ class PointsHistory extends React.Component {\n<th className=\"col-xs-1\">#</th>\n<th className=\"col-... | Ruby | MIT License | joshsoftware/code-curiosity | UI changes
1. Do not show chart in dashboard if no commits are present.
2. Show total points in user profile.
3. Change in width of search field in rewards table. |
332,090 | 22.06.2018 20:50:55 | -19,080 | 8e7266a2058614187b7e572c1b96db40ba2fd569 | Task to Set user total points | [
{
"change_type": "MODIFY",
"old_path": "app/models/transaction.rb",
"new_path": "app/models/transaction.rb",
"diff": "@@ -27,7 +27,6 @@ class Transaction\nt.amount = t.credit? ? t.amount.abs : -(t.amount.abs)\nend\n- after_create :update_user_total_points\nafter_create :set_amount\ndef credit?\n@@ -... | Ruby | MIT License | joshsoftware/code-curiosity | Task to Set user total points |
332,090 | 25.06.2018 10:56:50 | -19,080 | d62cc4f30b5bba97ab27d018e7ef1998c00110af | Task to remove forked repositories | [
{
"change_type": "MODIFY",
"old_path": "lib/tasks/set.rake",
"new_path": "lib/tasks/set.rake",
"diff": "@@ -22,4 +22,9 @@ namespace :set do\nuser.set(points: credited_points)\nend\nend\n+\n+ desc 'Remove forked repos'\n+ task remove_forked_repos: :environment do\n+ Repository.where(:source_gh_id.ne ... | Ruby | MIT License | joshsoftware/code-curiosity | Task to remove forked repositories |
332,090 | 25.06.2018 11:49:37 | -19,080 | ed4e8bc5313bc89a27d6706ee555c1ec6c5118de | Remove redeemable-points in user profile | [
{
"change_type": "MODIFY",
"old_path": "app/views/users/show.html.haml",
"new_path": "app/views/users/show.html.haml",
"diff": "%li.list-group-item\n%b Reward\n%a.pull-right $ #{format_points(@user.points)}\n- %li.list-group-item\n- %b Redeemable Reward\n- %a.pull-right $ #{format_points(@user.redee... | Ruby | MIT License | joshsoftware/code-curiosity | Remove redeemable-points in user profile |
332,090 | 26.06.2018 15:26:23 | -19,080 | d5c86bf8927aad853bfe83b28eadf8fbaff94e6e | Badge feature
1. Showing badges domain/language wise.
2. Dividing badges in levels. | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -45,6 +45,7 @@ gem 'active_model_serializers', '~> 0.10.0'\ngem 'sidekiq-status'\ngem 'select2-rails'\ngem 'mongoid_search'\n+gem 'bootstrap-popover-rails'\ngroup :development, :test do\ngem 'byebug'\n"
},
{
... | Ruby | MIT License | joshsoftware/code-curiosity | Badge feature
1. Showing badges domain/language wise.
2. Dividing badges in levels. |
332,090 | 26.06.2018 16:01:32 | -19,080 | 1295daf4b124e9122ff7bd218a6f03007e6c868a | Set user badges and language in repositories. | [
{
"change_type": "MODIFY",
"old_path": "app/models/repository.rb",
"new_path": "app/models/repository.rb",
"diff": "@@ -141,10 +141,10 @@ class Repository\nend\nend\n- def set_gh_repo_created_at\n+ def set_fields\nbegin\ninfo = GitApp.info.repos.get(owner, name)\n- set(gh_repo_created_at: info.creat... | Ruby | MIT License | joshsoftware/code-curiosity | Set user badges and language in repositories. |
332,090 | 26.06.2018 20:46:51 | -19,080 | a6d214f9755587f3f82399b2f49cf8f84f5ca03c | Feature to add a repository | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/repositories_controller.rb",
"new_path": "app/controllers/admin/repositories_controller.rb",
"diff": "@@ -14,6 +14,23 @@ class Admin::RepositoriesController < ApplicationController\nend\nend\n+ def create\n+ gh_repo = Repository.new(repo_... | Ruby | MIT License | joshsoftware/code-curiosity | Feature to add a repository |
332,090 | 27.06.2018 14:58:34 | -19,080 | c7663b76a2276bf0c1e6382740d8954b3ca5125d | Test cases for add-repo feature | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/repositories_controller.rb",
"new_path": "app/controllers/admin/repositories_controller.rb",
"diff": "@@ -17,13 +17,14 @@ class Admin::RepositoriesController < ApplicationController\ndef create\ngh_repo = Repository.new(repo_params).info\... | Ruby | MIT License | joshsoftware/code-curiosity | Test cases for add-repo feature |
332,090 | 27.06.2018 18:01:04 | -19,080 | 7b454a6bffb9b2c5a787931274291cc81a3ff593 | Test cases for set repo language task | [
{
"change_type": "MODIFY",
"old_path": "app/models/repository.rb",
"new_path": "app/models/repository.rb",
"diff": "@@ -14,7 +14,7 @@ class Repository\nfield :source_url, type: String\nfield :gh_id, type: Integer\nfield :source_gh_id, type: Integer\n- field :languages, type: Array\n+ field :language... | Ruby | MIT License | joshsoftware/code-curiosity | Test cases for set repo language task |
332,091 | 29.06.2018 12:31:20 | -19,080 | f6b4cb56cf7e6083ed8176abb61ac69d945440be | Add scheduler to fetch and reward commit | [
{
"change_type": "MODIFY",
"old_path": "config/schedule.rb",
"new_path": "config/schedule.rb",
"diff": "@@ -33,3 +33,11 @@ every :day, :at => '10:30am' do\nrake 'repo:delete_large_repositories'\nend\n+\n+every :day, :at => '00:00am' do\n+ rake 'fetch_commits'\n+end\n+\n+every :day, :at => '01:00am' ... | Ruby | MIT License | joshsoftware/code-curiosity | Add scheduler to fetch and reward commit |
332,090 | 29.06.2018 17:55:50 | -19,080 | 6a111b500a201b16523e8edd75249fa1ef41dbcd | Modifications in git fetcher
1. Check if commit is related to merging pull request
2. find user by github handle | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/commits_controller.rb",
"new_path": "app/controllers/commits_controller.rb",
"diff": "@@ -22,6 +22,6 @@ class CommitsController < ApplicationController\nprivate\ndef user_commits\n- @commits = current_user.commits.asc(:commit_date)\n+ @commits ... | Ruby | MIT License | joshsoftware/code-curiosity | Modifications in git fetcher
1. Check if commit is related to merging pull request
2. find user by github handle |
332,090 | 29.06.2018 18:31:44 | -19,080 | 38bd35b6d8e85d4ce0c61ac218efe0a03c736ece | Fix git fetcher tests | [
{
"change_type": "MODIFY",
"old_path": "test/models/git_fetcher_test.rb",
"new_path": "test/models/git_fetcher_test.rb",
"diff": "@@ -39,7 +39,7 @@ class GitFetcherTest < ActiveSupport::TestCase\nbefore do\n@user = create(\n:user,\n- email: 'rahul.rj9421@gmail.com',\n+ github_handle: 'pain11',\ncrea... | Ruby | MIT License | joshsoftware/code-curiosity | Fix git fetcher tests |
332,091 | 29.06.2018 21:13:48 | -19,080 | f3e41539a96f10c81066144c135d7dc4d6811e93 | New redemption strategy | [
{
"change_type": "MODIFY",
"old_path": "app/mailers/subscription_mailer.rb",
"new_path": "app/mailers/subscription_mailer.rb",
"diff": "@@ -26,4 +26,8 @@ class SubscriptionMailer < ApplicationMailer\nmail(to: user.email, subject: \"[CODECURIOSITY] Your points for the month of #{Date.today.strftime(\... | Ruby | MIT License | joshsoftware/code-curiosity | New redemption strategy |
332,091 | 30.06.2018 10:58:43 | -19,080 | bf928d938a5d25a7438cc210792d392a05abd0ce | Faq file updated | [
{
"change_type": "MODIFY",
"old_path": "config/info.yml",
"new_path": "config/info.yml",
"diff": "@@ -14,7 +14,7 @@ home:\nanswer: You earn points for contributions. You can redeem points for rewards. You're contributing back to the community!\n-\nquestion: How does it work?\n- answer: Set a monthly... | Ruby | MIT License | joshsoftware/code-curiosity | Faq file updated |
332,091 | 30.06.2018 12:07:31 | -19,080 | 193e1fee13fac5fba85afa0825a74f2a320636bd | T&C file updated | [
{
"change_type": "MODIFY",
"old_path": "app/views/registrations/terms_and_conditions.html.haml",
"new_path": "app/views/registrations/terms_and_conditions.html.haml",
"diff": "Each day has a budget to commits variance. So you may earn more on some days, so keep committing regularly.\n%li\n%b New Sco... | Ruby | MIT License | joshsoftware/code-curiosity | T&C file updated |
332,091 | 30.06.2018 12:16:00 | -19,080 | 306b00698b60b21f4c285511e3301174be3e34c5 | Update user badge task | [
{
"change_type": "MODIFY",
"old_path": "lib/tasks/set.rake",
"new_path": "lib/tasks/set.rake",
"diff": "@@ -32,7 +32,8 @@ namespace :set do\ntask badges: :environment do\nUser.contestants.each do |user|\nuser.commits.includes(:repository).each do |commit|\n- language = commit.repository.language\n+ ... | Ruby | MIT License | joshsoftware/code-curiosity | Update user badge task |
332,090 | 30.06.2018 14:34:07 | -19,080 | 7e39d458bfc51dd27bf04e14c407a1043a73d72f | Changes in rewards table
1. Do not show reveal_all button if there is no reward to reveal
2. Show processing icon if commits are in processing
3. Show hover msg if commits doesn't have score or reward | [
{
"change_type": "MODIFY",
"old_path": "app/assets/javascripts/commits.js",
"new_path": "app/assets/javascripts/commits.js",
"diff": "@@ -15,4 +15,16 @@ $(document).on('page:change', function(event) {\n$('.reward').fadeIn('slow').show();\n});\n});\n+\n+ $(document).ready(function() {\n+ $('.scores')... | Ruby | MIT License | joshsoftware/code-curiosity | Changes in rewards table
1. Do not show reveal_all button if there is no reward to reveal
2. Show processing icon if commits are in processing
3. Show hover msg if commits doesn't have score or reward |
332,091 | 01.07.2018 01:15:19 | -19,080 | f6247e032df6b46036216c7ef9842812c294f0f2 | Commit done after launch are considered | [
{
"change_type": "MODIFY",
"old_path": "app/models/commit.rb",
"new_path": "app/models/commit.rb",
"diff": "@@ -64,6 +64,10 @@ class Commit\nCOMMIT_RATINGS.last\nend\n+ def non_rewardable_commit?\n+ commit_date < NEW_FEATURE_LAUNCH_DATE - 1.day\n+ end\n+\nprivate\ndef schedule_scoring_job\n"
},
... | Ruby | MIT License | joshsoftware/code-curiosity | Commit done after launch are considered |
332,091 | 01.07.2018 01:22:31 | -19,080 | 71a7e9e43539d23b4e2145146bf82f927aabee41 | Some commit are not associated with repo | [
{
"change_type": "MODIFY",
"old_path": "app/views/commits/_commits.html.haml",
"new_path": "app/views/commits/_commits.html.haml",
"diff": "- @commits.each do |commit|\n%tr\n%td= commit.commit_date.strftime(\"%d %B %y\")\n- %td= commit.repository.name\n+ %td= commit.repository&.name\n%td\n= commit.m... | Ruby | MIT License | joshsoftware/code-curiosity | Some commit are not associated with repo |
332,091 | 01.07.2018 01:30:42 | -19,080 | 641b99840e39aedecbdbd72bfa675a7fadb174f5 | Add footer message to reward table | [
{
"change_type": "MODIFY",
"old_path": "app/views/commits/_commits.html.haml",
"new_path": "app/views/commits/_commits.html.haml",
"diff": "= commit.score.to_i\n%td\n- if commit.non_rewardable_commit?\n- '-'\n+ %span -\n- else\n- if commit.reward.nil?\n%a.rewards.fa.fa-hourglass-2\n"
},
{
"c... | Ruby | MIT License | joshsoftware/code-curiosity | Add footer message to reward table |
332,090 | 01.07.2018 10:41:16 | -19,080 | 3c64e056977e7049c1890a1402cd9de6eb03b832 | Transactions after launch date are considered | [
{
"change_type": "MODIFY",
"old_path": "app/models/transaction.rb",
"new_path": "app/models/transaction.rb",
"diff": "@@ -19,7 +19,7 @@ class Transaction\nindex(user_id: 1, type: 1)\nindex(transaction_type: 1)\n- scope :redeemable, -> { where(:created_at.gte => TRANSACTION['date']) }\n+ scope :redee... | Ruby | MIT License | joshsoftware/code-curiosity | Transactions after launch date are considered |
332,090 | 01.07.2018 13:23:36 | -19,080 | de808c3474f6607c581c5d90782dfe5c50633963 | Show required transactions in points history
1. All debited Transactions
2. Transactions credited after launch | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/v1/transactions_controller.rb",
"new_path": "app/controllers/v1/transactions_controller.rb",
"diff": "@@ -3,6 +3,6 @@ class V1::TransactionsController < V1::BaseController\ndef index\nuser = User.find params[:id]\n- render json: user.transactio... | Ruby | MIT License | joshsoftware/code-curiosity | Show required transactions in points history
1. All debited Transactions
2. Transactions credited after launch |
332,091 | 01.07.2018 14:15:22 | -19,080 | f4fab558d6111dde565d6d7b185db6c06507a652 | Update sponsor feature | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/sponsors_controller.rb",
"new_path": "app/controllers/admin/sponsors_controller.rb",
"diff": "@@ -26,6 +26,18 @@ class Admin::SponsorsController < ApplicationController\nend\nend\n+ def edit\n+ @sponsor = Sponsor.find(params[:id])\n+ end\... | Ruby | MIT License | joshsoftware/code-curiosity | Update sponsor feature |
332,090 | 01.07.2018 14:17:40 | -19,080 | a455dd136d311aee958636a9b7552f11b035861e | Show message if no transaction found in points history | [
{
"change_type": "MODIFY",
"old_path": "app/views/users/show.html.haml",
"new_path": "app/views/users/show.html.haml",
"diff": "= link_to 'Settings', '#settings', data: { toggle: 'tab' }\n.tab-content\n.tab-pane.active#wallet\n- - if current_user.transactions.any?\n+ - if current_user.transactions.w... | Ruby | MIT License | joshsoftware/code-curiosity | Show message if no transaction found in points history |
332,090 | 01.07.2018 15:44:55 | -19,080 | 102a850ee6b55d995af38973e7bd0def46137db9 | Create last month transaction | [
{
"change_type": "MODIFY",
"old_path": "app/models/user.rb",
"new_path": "app/models/user.rb",
"diff": "@@ -115,12 +115,6 @@ class User\ndef create_transaction(attrs = {})\ntransaction = self.transactions.create(attrs)\nreturn false if transaction.errors.any?\n-\n- if attrs[:type] == 'credit'\n- sel... | Ruby | MIT License | joshsoftware/code-curiosity | Create last month transaction |
332,091 | 01.07.2018 17:30:44 | -19,080 | 2aee39f66beb7516adcd394df6bfe67d341a2d1b | Change label from points to redeemable | [
{
"change_type": "MODIFY",
"old_path": "app/views/application/_admin_sidebar.html.haml",
"new_path": "app/views/application/_admin_sidebar.html.haml",
"diff": "%a{href: admin_sponsors_path}\n%i.fa.fa-circle-o\n%span Sponsors\n- / It can be used in the future, hence commenting.\n- / %li\n- / %a{href:... | Ruby | MIT License | joshsoftware/code-curiosity | Change label from points to redeemable |
332,107 | 04.07.2018 17:52:07 | -19,080 | 227368c6f5661edc03834ca5e14b49c363d732ed | Hide Undebited transactions | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -47,6 +47,7 @@ gem 'backup'\ngem 'select2-rails'\ngem 'mongoid_search'\ngem 'bootstrap-popover-rails'\n+gem 'mongoid_paranoia'\ngroup :development, :test do\ngem 'byebug'\n"
},
{
"change_type": "MODIFY",
... | Ruby | MIT License | joshsoftware/code-curiosity | Hide Undebited transactions |
332,107 | 06.07.2018 16:31:19 | -19,080 | f9f8d1fd0670ffff31c37732d524a633fdafddb9 | Updated Redemption Strategy and Terms of Service | [
{
"change_type": "MODIFY",
"old_path": "app/views/info/faq.html.haml",
"new_path": "app/views/info/faq.html.haml",
"diff": ".callout-info.col-md-offset-2.col-md-8.col-sm-12.col-sm-offset-0\n.alert.alert-error\nPlease review the\n- = link_to \"Terms of Service\", \"/Terms_of_service_CodeCuriosity.pdf... | Ruby | MIT License | joshsoftware/code-curiosity | Updated Redemption Strategy and Terms of Service |
332,107 | 06.07.2018 13:17:49 | -19,080 | b6eaedee9314ac5e655e9e123fa0789bb1d0d7a4 | Added Commits view and search for Admin | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "app/controllers/admin/commits_controller.rb",
"diff": "+class Admin::CommitsController < ApplicationController\n+\n+ def index\n+ from = params[:from].presence.try(:to_date).try(:beginning_of_day) || Date.yesterday.beginning_of_day\n+ to = param... | Ruby | MIT License | joshsoftware/code-curiosity | Added Commits view and search for Admin |
332,107 | 09.07.2018 09:45:41 | -19,080 | 9e7e0408c291f5f0b3ad44e6dfca4303a25fbcc8 | Fixed test cases for commits controller | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/commits_controller.rb",
"new_path": "app/controllers/admin/commits_controller.rb",
"diff": "class Admin::CommitsController < ApplicationController\ndef index\n- from = params[:from].presence.try(:to_date).try(:beginning_of_day) || Date.ye... | Ruby | MIT License | joshsoftware/code-curiosity | Fixed test cases for commits controller |
332,107 | 13.07.2018 10:29:23 | -19,080 | 81f3303970f74a4a83f3aa475807c3c182432400 | show admin commits from start of month till today | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/commits_controller.rb",
"new_path": "app/controllers/admin/commits_controller.rb",
"diff": "class Admin::CommitsController < ApplicationController\ndef index\n- from = (params[:from].presence.try(:to_date) || Date.yesterday).beginning_of_... | Ruby | MIT License | joshsoftware/code-curiosity | show admin commits from start of month till today |
332,091 | 13.07.2018 16:44:24 | -19,080 | c08de11bd36954b281f0e72c30e9b041de932f02 | Remove bugspot gem | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -29,8 +29,6 @@ gem 'omniauth-github', '~> 1.1.2'\ngem 'sidekiq', '~> 4.0'\ngem 'dotenv-rails'\ngem 'git', git: 'https://github.com/prasadsurase/ruby-git.git', branch: 'get-branches-having-a-commit'\n-gem 'rugged', g... | Ruby | MIT License | joshsoftware/code-curiosity | Remove bugspot gem |
332,107 | 13.07.2018 18:24:45 | -19,080 | 4ae5c5868d81dd2e1c8a4d637a3c8a400f13bd40 | Added Commit Reward tests | [
{
"change_type": "MODIFY",
"old_path": "app/models/commit_reward.rb",
"new_path": "app/models/commit_reward.rb",
"diff": "class CommitReward\ndef calculate\n- rand(10)\n+ set_score\n+ set_reward_for_commit\n+ create_transaction\n+ end\n+\n+ private\n+\n+ def set_score\n+ day_commits.each do |commit|... | Ruby | MIT License | joshsoftware/code-curiosity | Added Commit Reward tests |
332,107 | 19.07.2018 13:22:33 | -19,080 | 3e537c88b4f9ebc8060b3fc5854f8c8f10dfc302 | Commit score and reward calculation tests | [
{
"change_type": "MODIFY",
"old_path": "app/models/commit_reward.rb",
"new_path": "app/models/commit_reward.rb",
"diff": "class CommitReward\n+ attr_accessor :date\n+\n+ def initialize(date)\n+ @date = date\n+ end\n+\ndef calculate\nset_score\nset_reward_for_commit\n@@ -9,7 +15,7 @@ class CommitRewa... | Ruby | MIT License | joshsoftware/code-curiosity | Commit score and reward calculation tests |
332,107 | 19.07.2018 19:40:53 | -19,080 | 8953e9faca7acb9120b738732d7a6710ad52ed2b | Added VCR gem | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -63,6 +63,7 @@ group :development, :test do\ngem 'brakeman', :require => false\ngem 'simplecov', :require => false\ngem 'webmock'\n+ gem 'vcr'\nend\ngroup :test do\n"
},
{
"change_type": "MODIFY",
"old_p... | Ruby | MIT License | joshsoftware/code-curiosity | Added VCR gem |
332,107 | 19.07.2018 19:42:38 | -19,080 | 80086ef0bfaaa88691d5001d45833403177b4c47 | Test for calculate score and reward rake task | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "test/lib/tasks/score_and_reward_test.rb",
"diff": "+require 'test_helper'\n+\n+class ScoreAndRewardTest < ActiveSupport::TestCase\n+ def test_score_and_reward_calculations\n+ repo = create :repository, name: 'tanya-josh', owner: 'tanya-saroha', ... | Ruby | MIT License | joshsoftware/code-curiosity | Test for calculate score and reward rake task |
332,107 | 20.07.2018 10:57:15 | -19,080 | 5baca26c5c9ef7c34fafc4d2c0a6e7b9df67d66e | Score and Reward Calculation Tests | [
{
"change_type": "MODIFY",
"old_path": "app/models/commit_reward.rb",
"new_path": "app/models/commit_reward.rb",
"diff": "@@ -23,7 +23,7 @@ class CommitReward\ndef set_reward_for_commit\nday_commits.each do |commit|\n- commit.update(reward: rand(10))\n+ commit.update(reward: rand(6..10))\nend\nend\n... | Ruby | MIT License | joshsoftware/code-curiosity | Score and Reward Calculation Tests |
332,091 | 24.07.2018 13:12:19 | -19,080 | 4aabd226962814f5197afb25443386eb8d3462a8 | Fix test case: VCR config for code climate | [
{
"change_type": "MODIFY",
"old_path": "test/test_helper.rb",
"new_path": "test/test_helper.rb",
"diff": "@@ -23,6 +23,12 @@ require 'capybara/poltergeist'\n# Uncomment for awesome colorful output\n#require \"minitest/pride\"\n+require 'vcr'\n+\n+VCR.configure do |config|\n+ config.ignore_hosts 'cod... | Ruby | MIT License | joshsoftware/code-curiosity | Fix test case: VCR config for code climate |
332,107 | 24.07.2018 16:11:58 | -19,080 | e384a517dc4bcc4ec22028358fe8b6a6e568888c | [Fixed] Fetch commits daily | [
{
"change_type": "MODIFY",
"old_path": "app/jobs/fetch_commit_job.rb",
"new_path": "app/jobs/fetch_commit_job.rb",
"diff": "@@ -22,16 +22,20 @@ class FetchCommitJob < ActiveJob::Base\nrescue Github::Error::NotFound\n# repository moved or deleted means we no longer care about this repos.\nSidekiq.log... | Ruby | MIT License | joshsoftware/code-curiosity | [Fixed] Fetch commits daily |
332,107 | 24.07.2018 17:51:49 | -19,080 | 16fdca72f364c2a444cee59e9bc21435699c70e6 | [Fixed] Test cases of git_app | [
{
"change_type": "MODIFY",
"old_path": "app/models/git_app.rb",
"new_path": "app/models/git_app.rb",
"diff": "@@ -3,9 +3,12 @@ class GitApp\n@@access_token = nil\n+ def self.access_token\n+ @@access_token\n+ end\n+\ndef self.info\nupdate_token if @@access_token.nil?\n-\nGithub.new(\noauth_token: @@a... | Ruby | MIT License | joshsoftware/code-curiosity | [Fixed] Test cases of git_app |
332,091 | 24.07.2018 22:19:57 | -19,080 | 71526ef3a96add3d550df0043355939afa91df4a | GitApp test case commented out | [
{
"change_type": "MODIFY",
"old_path": "test/models/git_app_test.rb",
"new_path": "test/models/git_app_test.rb",
"diff": "@@ -11,6 +11,7 @@ class GitAppTest < ActiveSupport::TestCase\nassert git_app.valid?\nend\n+=begin\ntest 'inc function should increament access_token_counter' do\nassert_equal Git... | Ruby | MIT License | joshsoftware/code-curiosity | GitApp test case commented out |
332,107 | 25.07.2018 16:34:07 | -19,080 | 3cc59026d4f2a654d65f843486a9fe2204e727b4 | [Fixed] commit reward calculations | [
{
"change_type": "MODIFY",
"old_path": "app/models/commit_reward.rb",
"new_path": "app/models/commit_reward.rb",
"diff": "@@ -7,7 +7,8 @@ class CommitReward\ndef calculate\nset_score\n- set_reward_for_commit\n+ repo_budget = RepoBudget.new(@date).calculate\n+ set_reward_for_commit(repo_budget)\ncrea... | Ruby | MIT License | joshsoftware/code-curiosity | [Fixed] commit reward calculations |
332,091 | 26.07.2018 01:47:48 | -19,080 | a6e93a3c7ef21d4a117edfe21da4be79c5638af3 | Floor reward before saving | [
{
"change_type": "MODIFY",
"old_path": "app/models/commit_reward.rb",
"new_path": "app/models/commit_reward.rb",
"diff": "@@ -28,7 +28,8 @@ class CommitReward\ncommit.update(reward: 0)\nif commit.repository\nid = commit.repository.id.to_s\n- commit.update(reward: (commit.score * repo_budget[id][:fac... | Ruby | MIT License | joshsoftware/code-curiosity | Floor reward before saving |
332,107 | 26.07.2018 13:54:36 | -19,080 | 9008b3a3aa0569216a571aa2739498e033112392 | [Fixed] sponsor can be edited now | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/sponsors_controller.rb",
"new_path": "app/controllers/admin/sponsors_controller.rb",
"diff": "@@ -30,6 +30,17 @@ class Admin::SponsorsController < ApplicationController\n@sponsor = Sponsor.find(params[:id])\nend\n+ def update\n+ @sponsor ... | Ruby | MIT License | joshsoftware/code-curiosity | [Fixed] sponsor can be edited now |
332,091 | 26.07.2018 14:45:08 | -19,080 | bef26607a948439c6f123fab1f436d9cb4a6e8c4 | Add nested form for sponsor | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -46,6 +46,7 @@ gem 'select2-rails'\ngem 'mongoid_search'\ngem 'bootstrap-popover-rails'\ngem 'mongoid_paranoia'\n+gem \"nested_form\"\ngroup :development, :test do\ngem 'byebug'\n"
},
{
"change_type": "MODIF... | Ruby | MIT License | joshsoftware/code-curiosity | Add nested form for sponsor |
332,107 | 26.07.2018 18:47:06 | -19,080 | ed2589654391d5a996278f45df2d90090ae362f5 | [Fixed] Creation and editing of budgets | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/sponsors_controller.rb",
"new_path": "app/controllers/admin/sponsors_controller.rb",
"diff": "@@ -54,6 +54,6 @@ class Admin::SponsorsController < ApplicationController\ndef sponsor_params\nparams.require(:sponsor).permit(:name, :is_indivi... | Ruby | MIT License | joshsoftware/code-curiosity | [Fixed] Creation and editing of budgets |
332,091 | 27.07.2018 12:53:52 | -19,080 | 2cf5c12f279126c37debe3e64a585168a72b1199 | DOnt show reveal button if no zero rewards | [
{
"change_type": "MODIFY",
"old_path": "app/views/admin/commits/_commits.html.haml",
"new_path": "app/views/admin/commits/_commits.html.haml",
"diff": "- if commit.reward.nil?\n%a.rewards.fa.fa-hourglass-2\n- else\n- - if commit.is_reveal\n- = \"$ #{commit.reward}\"\n- - else\n- = link_to reveal_com... | Ruby | MIT License | joshsoftware/code-curiosity | DOnt show reveal button if no zero rewards |
332,091 | 27.07.2018 20:16:50 | -19,080 | 20d4554221292424b9cf8942a380324c5e9f856e | Show total on admin page | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/commits_controller.rb",
"new_path": "app/controllers/admin/commits_controller.rb",
"diff": "@@ -6,6 +6,8 @@ class Admin::CommitsController < ApplicationController\n@commits = Commit.all.in_range(from, to)\n.search_by(params[:query])\n- .p... | Ruby | MIT License | joshsoftware/code-curiosity | Show total on admin page |
332,091 | 28.07.2018 15:19:33 | -19,080 | a263fb8f92dcdd8ca189c1b31d09cf35f5d993b7 | 1. Add rake to recalculate task
2. Update commit_reward and commit_score | [
{
"change_type": "MODIFY",
"old_path": "app/models/commit_reward.rb",
"new_path": "app/models/commit_reward.rb",
"diff": "@@ -28,7 +28,7 @@ class CommitReward\ncommit.update(reward: 0)\nif commit.repository\nid = commit.repository.id.to_s\n- reward = (commit.score * repo_budget[id][:factor]).floor\n... | Ruby | MIT License | joshsoftware/code-curiosity | 1. Add rake to recalculate task
2. Update commit_reward and commit_score |
332,091 | 28.07.2018 16:33:36 | -19,080 | 796b15143eecd94a8b4e5879a2ce330a7da90b96 | Commit List: commit score format | [
{
"change_type": "MODIFY",
"old_path": "app/views/admin/commits/_commits.html.haml",
"new_path": "app/views/admin/commits/_commits.html.haml",
"diff": "- if commit.score.nil?\n%a.scores.fa.fa-hourglass-2\n- else\n- = commit.score.to_i\n+ = commit.score\n%td\n- if commit.non_rewardable_commit?\n%span... | Ruby | MIT License | joshsoftware/code-curiosity | Commit List: commit score format |
332,107 | 06.08.2018 18:08:33 | -19,080 | 920eae4b523f9124506fea83e46d3c150ba363dd | Calculation of reward for 1st and 2nd August | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "lib/tasks/fix_august_budget.rake",
"diff": "+desc 'fix budget for august 1 and 2'\n+task :fix_august_budget => :environment do\n+ budget = Budget.new\n+ budget.start_date = Date.new(2018, 8, 1)\n+ budget.end_date = Date.new(2018, 8, 2)\n+ budget... | Ruby | MIT License | joshsoftware/code-curiosity | Calculation of reward for 1st and 2nd August |
332,107 | 07.08.2018 14:24:23 | -19,080 | 8b9b19ab2d081fe92a8962078d7b3ba3ae15bb70 | [Added] budget for 2 days | [
{
"change_type": "MODIFY",
"old_path": "lib/tasks/fix_august_budget.rake",
"new_path": "lib/tasks/fix_august_budget.rake",
"diff": "desc 'fix budget for august 1 and 2'\ntask :fix_august_budget => :environment do\nbudget = Budget.new\n+\nbudget.start_date = Date.new(2018, 8, 1)\nbudget.end_date = Da... | Ruby | MIT License | joshsoftware/code-curiosity | [Added] budget for 2 days |
332,107 | 07.08.2018 19:15:20 | -19,080 | e9e292dfee11ff0aac6a9ca411c61806b6a056c9 | [Updated] Transaction date | [
{
"change_type": "MODIFY",
"old_path": "app/models/commit_reward.rb",
"new_path": "app/models/commit_reward.rb",
"diff": "@@ -40,7 +40,7 @@ class CommitReward\nuser.create_transaction(\ntype: 'credit',\npoints: commits.sum{|c| c.reward.to_f },\n- description: \"Daily reward: #{Date.today - 1}\",\n+ ... | Ruby | MIT License | joshsoftware/code-curiosity | [Updated] Transaction date |
332,105 | 21.09.2020 15:39:22 | 21,600 | 2047cbf997e48a4f7fa13ddee94585baaa1e1f08 | Upgrade Ruby to 2.7.1
Also upgrade json and nokogiri. To install nokogiri on MacOS you
might need to gem install nokogiri --version 1.6.8.1 -- --with-system-libraries
because otherwise it fails due to missing libiconv symbols for
x86_64 architecture.
* | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "source 'https://rubygems.org'\n-ruby '2.3.0'\n+ruby '2.7.1'\n# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'\ngem 'rails', '4.2.5'\ngem 'mongoid', '~> 5.0'\n"
},
{
"change_type": "MODIFY",
"... | Ruby | MIT License | joshsoftware/code-curiosity | Upgrade Ruby to 2.7.1
Also upgrade json and nokogiri. To install nokogiri on MacOS you
might need to gem install nokogiri --version 1.6.8.1 -- --with-system-libraries
because otherwise it fails due to missing libiconv symbols for
x86_64 architecture.
* |
332,105 | 21.09.2020 16:25:08 | 21,600 | 415c4486a94cdf8b82cdeb2edb111d06dda360cb | remove sent_mails file per GH issue 484 | [
{
"change_type": "DELETE",
"old_path": "sent_mails",
"new_path": null,
"diff": "-[\"jirenpatel@gmail.com\", \"sethu@joshsoftware.com\", \"gautam@joshsoftware.com\", \"v.zambre@gmail.com\", \"shirshendu.mukherjee.88@gmail.com\", \"aitashish173@gmail.com\", \"vishwasjain2010@gmail.com\", \"selectdebas... | Ruby | MIT License | joshsoftware/code-curiosity | remove sent_mails file per GH issue 484 |
332,105 | 21.09.2020 16:50:56 | 21,600 | 706b6551fb5f611590d67040a2d41bb68981bbf8 | pre-bundler update | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -2,8 +2,8 @@ source 'https://rubygems.org'\nruby '2.7.1'\n# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'\n-gem 'rails', '4.2.5'\n-gem 'mongoid', '~> 5.0'\n+gem 'rails', '5.0.0'\n+gem 'mongoid'\ngem ... | Ruby | MIT License | joshsoftware/code-curiosity | pre-bundler update |
332,105 | 21.09.2020 16:55:16 | 21,600 | 8c2163727adeaa5b30c5a81c1e79412c740d819e | update Rails to latest 4.2 | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -2,7 +2,7 @@ source 'https://rubygems.org'\nruby '2.7.1'\n# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'\n-gem 'rails', '5.0.0'\n+gem 'rails', '~> 4.2'\ngem 'mongoid'\ngem 'bootstrap-sass', '~> 3.3.... | Ruby | MIT License | joshsoftware/code-curiosity | update Rails to latest 4.2 |
332,105 | 21.09.2020 19:14:43 | 21,600 | 13c35ce0813b1aee9b58d72214f4e16aaa8f5fad | successful upgrade to 5.0 | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -2,7 +2,7 @@ source 'https://rubygems.org'\nruby '2.7.1'\n# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'\n-gem 'rails', '~> 4.2'\n+gem 'rails', '5.0.7.2'\ngem 'mongoid'\ngem 'bootstrap-sass', '~> 3.... | Ruby | MIT License | joshsoftware/code-curiosity | successful upgrade to 5.0 |
332,105 | 21.09.2020 19:40:32 | 21,600 | 5d5bd3345c02c896a578f52e5df397caf99bc5cc | tests run (but do error out) | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -66,7 +66,7 @@ group :development, :test do\nend\ngroup :test do\n- gem 'database_cleaner'\n+ gem 'database_cleaner-mongoid'\ngem \"codeclimate-test-reporter\", require: nil\ngem 'minitest-rails-capybara'\ngem 'polt... | Ruby | MIT License | joshsoftware/code-curiosity | tests run (but do error out) |
332,105 | 22.09.2020 11:11:16 | 21,600 | c579d988d55a36422aa85bf63f868c10b1d0c485 | Rails 5.1 upgrade | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -2,12 +2,12 @@ source 'https://rubygems.org'\nruby '2.7.1'\n# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'\n-gem 'rails', '5.0.7.2'\n+gem 'rails', '5.1.7'\ngem 'mongoid'\ngem 'bootstrap-sass', '~> 3... | Ruby | MIT License | joshsoftware/code-curiosity | Rails 5.1 upgrade |
332,105 | 22.09.2020 12:01:29 | 21,600 | 8c3a416ab0e11bc5d45f308e3042f19c3e5de3aa | can at least start rails console now | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -31,7 +31,7 @@ gem 'dotenv-rails'\ngem 'git', git: 'https://github.com/prasadsurase/ruby-git.git', branch: 'get-branches-having-a-commit'\ngem 'redis-rails'\ngem 'whenever', :require => false\n-gem 'mongoid-slug', '... | Ruby | MIT License | joshsoftware/code-curiosity | can at least start rails console now |
332,105 | 23.09.2020 10:03:07 | 21,600 | 6a22e4aec969540a132db9be5df9e00e90b3aca3 | dependency update to rails 6 | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -2,10 +2,10 @@ source 'https://rubygems.org'\nruby '2.7.1'\n# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'\n-gem 'rails', '5.1.7'\n+gem 'rails', '~> 6.0'\ngem 'mongoid'\n-gem 'bootstrap-sass', '~> 3... | Ruby | MIT License | joshsoftware/code-curiosity | dependency update to rails 6 |
332,105 | 23.09.2020 14:12:57 | 21,600 | 5b39889a0947956dc8469a976a57a77c66c5a141 | rails zeitwerk:check | [
{
"change_type": "MODIFY",
"old_path": "app/models/git_fetcher.rb",
"new_path": "app/models/git_fetcher.rb",
"diff": "class GitFetcher\n- include VCS\n+ include Vcs\nattr_reader :repo_owner, :repo_name,\n:branch_name, :from_date, :to_date\n@@ -42,7 +42,7 @@ class GitFetcher\nprivate\ndef fetch_commi... | Ruby | MIT License | joshsoftware/code-curiosity | rails zeitwerk:check |
332,105 | 23.09.2020 20:46:20 | 0 | d21ce1d0465a7a74dbcc90687d990f4dcdc76c83 | out of date, apis/libs have changed substantially | [
{
"change_type": "MODIFY",
"old_path": "test/test_helper.rb",
"new_path": "test/test_helper.rb",
"diff": "-require \"codeclimate-test-reporter\"\n+# require \"codeclimate-test-reporter\"\nrequire 'sidekiq/testing'\n-CodeClimate::TestReporter.start\n+# CodeClimate::TestReporter.start\nrequire 'simple... | Ruby | MIT License | joshsoftware/code-curiosity | out of date, apis/libs have changed substantially |
332,105 | 24.09.2020 12:48:03 | 21,600 | 1fb0b3db7a30da89abdfbdddbbef304706376ac5 | update sdoc, removes outdated json dependency | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -18,7 +18,7 @@ gem 'kaminari-mongoid'\ngem 'jquery-rails'\ngem 'turbolinks', '~>2.5'\ngem 'jbuilder'\n-gem 'sdoc', '~> 0.4.0', group: :doc\n+gem 'sdoc', '~> 1.1', group: :doc\ngem 'github_api', '~> 0.18.2'\ngem 'has... | Ruby | MIT License | joshsoftware/code-curiosity | update sdoc, removes outdated json dependency |
332,105 | 24.09.2020 15:29:28 | 21,600 | ce880686f57698547c33fba9aa8abdeaed82d534 | upgrade (lots of) dependencies, fixes deprecation warnings | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -6,7 +6,7 @@ gem 'rails', '~> 6.0'\ngem 'mongoid'\ngem 'bootstrap-sass'\ngem 'sass-rails'\n-gem 'uglifier', '>= 1.3.0'\n+gem 'uglifier'\ngem 'coffee-rails'\ngem 'haml'\ngem 'webpacker'\n@@ -15,19 +15,19 @@ gem 'webp... | Ruby | MIT License | joshsoftware/code-curiosity | upgrade (lots of) dependencies, fixes deprecation warnings |
332,105 | 24.09.2020 15:33:55 | 21,600 | 639c737928e175fb643bbeba40476844002c58f7 | fix further deprecation warnings; home controller test passes | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -55,6 +55,7 @@ group :development, :test do\ngem \"minitest-rails\", '~> 6.0.0'\ngem \"factory_bot_rails\"\ngem 'faker'\n+ gem 'rubocop-faker'\ngem 'pry'\ngem 'pry-nav'\ngem 'mina'\n"
},
{
"change_type": "MO... | Ruby | MIT License | joshsoftware/code-curiosity | fix further deprecation warnings; home controller test passes |
332,101 | 01.10.2020 08:48:43 | 21,600 | 2a86c5efee98e5486423d42da9855d5550f38b3c | Update the binstubs. | [
{
"change_type": "MODIFY",
"old_path": "bin/rails",
"new_path": "bin/rails",
"diff": "#!/usr/bin/env ruby\n-APP_PATH = File.expand_path('../../config/application', __FILE__)\n+APP_PATH = File.expand_path('../config/application', __dir__)\nrequire_relative '../config/boot'\nrequire 'rails/commands'\n... | Ruby | MIT License | joshsoftware/code-curiosity | Update the binstubs. |
332,101 | 21.10.2020 12:48:15 | 21,600 | d78ff92c5b10f43573e6e244dd1435d3b49691d2 | Changed so that the secret key comes from the environment. | [
{
"change_type": "MODIFY",
"old_path": "config/initializers/devise.rb",
"new_path": "config/initializers/devise.rb",
"diff": "@@ -5,7 +5,7 @@ Devise.setup do |config|\n# The secret key used by Devise. Devise uses this key to generate\n# random tokens. Changing this key will render invalid all existi... | Ruby | MIT License | joshsoftware/code-curiosity | Changed so that the secret key comes from the environment. |
332,101 | 22.10.2020 13:05:53 | 21,600 | b301491df2131c48c04087b8790460ac7ecfa132 | Changes that might make Mina work with rvm. Let's see. :fingers_crossed: | [
{
"change_type": "MODIFY",
"old_path": "config/deploy.rb",
"new_path": "config/deploy.rb",
"diff": "require 'mina/bundler'\nrequire 'mina/rails'\nrequire 'mina/git'\n-require 'mina/rbenv' # for rbenv support. (http://rbenv.org)\n-# require 'mina/rvm' # for rvm support. (http://rvm.io)\n+#require 'mi... | Ruby | MIT License | joshsoftware/code-curiosity | Changes that might make Mina work with rvm. Let's see. :fingers_crossed: |
332,101 | 22.10.2020 13:07:59 | 21,600 | 3a66cf81f25bdaef729c2df64fb8f0e9e83e8a9b | Add an RVM path. | [
{
"change_type": "MODIFY",
"old_path": "config/deploy.rb",
"new_path": "config/deploy.rb",
"diff": "@@ -23,7 +23,7 @@ set :keep_releases, 5\nset :branch, 'master'\n# For system-wide RVM install.\n-# set :rvm_path, '/usr/local/rvm/bin/rvm'\n+set :rvm_path, '/usr/local/rvm/bin/rvm'\n# Manually create ... | Ruby | MIT License | joshsoftware/code-curiosity | Add an RVM path. |
329,148 | 06.09.2017 08:55:11 | 21,600 | 2ac43fc9693e4d21c31f2e4abef8b909f28a3e4b | Additional read/write methods | [
{
"change_type": "MODIFY",
"old_path": "ExchangeAPI/API/ExchangeOrderBook.cs",
"new_path": "ExchangeAPI/API/ExchangeOrderBook.cs",
"diff": "@@ -12,13 +12,14 @@ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI\nusing System;\nusing System.Collections.Generic;\n+using... | C# | MIT License | jjxtra/exchangesharp | Additional read/write methods |
329,148 | 06.09.2017 20:31:53 | 21,600 | 1caa74812418c071f615a89b1295d7582ab765a2 | Fix bugs in serialization, plot form
Also increased max order book for some exchanges | [
{
"change_type": "MODIFY",
"old_path": "ExchangeAPI/API/Backend/ExchangeBittrexAPI.cs",
"new_path": "ExchangeAPI/API/Backend/ExchangeBittrexAPI.cs",
"diff": "@@ -96,8 +96,9 @@ namespace ExchangeSharp\npublic override ExchangeOrderBook GetOrderBook(string symbol)\n{\n+ const int maxCount = 100;\nsymb... | C# | MIT License | jjxtra/exchangesharp | Fix bugs in serialization, plot form
Also increased max order book for some exchanges |
329,148 | 07.09.2017 19:58:41 | 21,600 | ab2061983050a589f0a518cbe4cc352c62fb1f8b | Add constructor with window size | [
{
"change_type": "MODIFY",
"old_path": "ExchangeAPI/Traders/MovingAverageCalculator.cs",
"new_path": "ExchangeAPI/Traders/MovingAverageCalculator.cs",
"diff": "@@ -19,15 +19,8 @@ using System.Threading.Tasks;\nnamespace ExchangeSharp\n{\n/// <summary>\n- /// Calculates a moving average value over a ... | C# | MIT License | jjxtra/exchangesharp | Add constructor with window size |
329,148 | 11.09.2017 20:50:39 | 21,600 | d0aea9adfb66679db07fc8c4e57318b162ddebac | Add additional logging capabilities
Added a logger than can notify of new exchange data. Great for building
a real-time interactive trader that monitors all the exchanges. | [
{
"change_type": "MODIFY",
"old_path": "ExchangeAPI/API/Backend/ExchangeAPI.cs",
"new_path": "ExchangeAPI/API/Backend/ExchangeAPI.cs",
"diff": "@@ -45,6 +45,16 @@ namespace ExchangeSharp\n/// </summary>\npublic const string ExchangeNameGDAX = \"GDAX\";\n+ /// <summary>\n+ /// Kraken\n+ /// </summary... | C# | MIT License | jjxtra/exchangesharp | Add additional logging capabilities
Added a logger than can notify of new exchange data. Great for building
a real-time interactive trader that monitors all the exchanges. |
329,148 | 19.09.2017 14:14:43 | 21,600 | 4899a4dd525e80f330e208adae0facd8e2f55bdc | Fix compile error
Also make sure to use absolute value for Bitfinex amount in trades | [
{
"change_type": "MODIFY",
"old_path": "App.config",
"new_path": "App.config",
"diff": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<configuration>\n<startup>\n- <supportedRuntime version=\"v4.0\" sku=\".NETFramework,Version=v4.6.2\"/>\n+ <supportedRuntime version=\"v4.0\" sku=\".NETFramework,Versio... | C# | MIT License | jjxtra/exchangesharp | Fix compile error
Also make sure to use absolute value for Bitfinex amount in trades |
329,148 | 21.09.2017 14:41:34 | 21,600 | 944a249f3fee5c61be572b043666112f1b25111e | Use ticks as trade id for Kraken | [
{
"change_type": "MODIFY",
"old_path": "ExchangeAPI/API/Backend/ExchangeKrakenAPI.cs",
"new_path": "ExchangeAPI/API/Backend/ExchangeKrakenAPI.cs",
"diff": "@@ -103,6 +103,7 @@ namespace ExchangeSharp\nsymbol = NormalizeSymbol(symbol);\nstring baseUrl = \"/0/public/Trades?pair=\" + symbol;\nstring ur... | C# | MIT License | jjxtra/exchangesharp | Use ticks as trade id for Kraken |
329,148 | 23.09.2017 20:15:50 | 21,600 | f1152ca92b00b5a37774127dd27421ff17c549b3 | Add better error checks for Kraken
Better error checking for other exchanges will be added in the future | [
{
"change_type": "MODIFY",
"old_path": "ExchangeAPI/API/Backend/ExchangeAPI.cs",
"new_path": "ExchangeAPI/API/Backend/ExchangeAPI.cs",
"diff": "@@ -25,6 +25,18 @@ using Newtonsoft.Json.Linq;\nnamespace ExchangeSharp\n{\n+ /// <summary>\n+ /// Exception class for ExchangeAPI exceptions\n+ /// </summa... | C# | MIT License | jjxtra/exchangesharp | Add better error checks for Kraken
Better error checking for other exchanges will be added in the future |
329,148 | 25.09.2017 16:07:42 | 21,600 | 406e18561abcb935ce3e46b75f08862fdf885b05 | Bug fixes from decimal upgrade
Add Bitfinex to stats console command | [
{
"change_type": "MODIFY",
"old_path": "ExchangeAPI/API/Backend/ExchangeAPI.cs",
"new_path": "ExchangeAPI/API/Backend/ExchangeAPI.cs",
"diff": "@@ -205,6 +205,10 @@ namespace ExchangeSharp\nresponse = we.Response as HttpWebResponse;\n}\nstring responseString = (response == null ? null : new StreamRe... | C# | MIT License | jjxtra/exchangesharp | Bug fixes from decimal upgrade
Add Bitfinex to stats console command |
329,148 | 25.09.2017 16:31:04 | 21,600 | 3a4a1ded66f1b1ad137cdb2474acd448f54e9bef | Add integration tests
Also fix getting gdax historical trades with no date time | [
{
"change_type": "MODIFY",
"old_path": "ExchangeAPI/API/Backend/ExchangeGdaxAPI.cs",
"new_path": "ExchangeAPI/API/Backend/ExchangeGdaxAPI.cs",
"diff": "@@ -75,7 +75,7 @@ namespace ExchangeSharp\npublic override IEnumerable<ExchangeTrade> GetHistoricalTrades(string symbol, DateTime? sinceDateTime = n... | C# | MIT License | jjxtra/exchangesharp | Add integration tests
Also fix getting gdax historical trades with no date time |
329,148 | 17.10.2017 15:11:46 | 21,600 | 2359b527c2b6961541d50b8543eacd3e99c6de1e | Add GetTickers API call | [
{
"change_type": "MODIFY",
"old_path": "ExchangeAPI/API/Backend/ExchangeAPI.cs",
"new_path": "ExchangeAPI/API/Backend/ExchangeAPI.cs",
"diff": "@@ -264,9 +264,15 @@ namespace ExchangeSharp\n/// Get exchange ticker\n/// </summary>\n/// <param name=\"symbol\">Symbol to get ticker for</param>\n- /// <r... | C# | MIT License | jjxtra/exchangesharp | Add GetTickers API call |
329,148 | 20.10.2017 13:32:27 | 21,600 | ee0e475cc8cf9fb5e238740aeb3e820e1e6a451b | Add Poloniex public API
Also refactored some interfaces and fixed leaks in the shared make
request method. | [
{
"change_type": "MODIFY",
"old_path": "ExchangeAPI/API/Backend/ExchangeAPI.cs",
"new_path": "ExchangeAPI/API/Backend/ExchangeAPI.cs",
"diff": "@@ -48,24 +48,29 @@ namespace ExchangeSharp\npublic const string ExchangeNameBitfinex = \"Bitfinex\";\n/// <summary>\n- /// Gemini\n+ /// Bittrex\n/// </sum... | C# | MIT License | jjxtra/exchangesharp | Add Poloniex public API
Also refactored some interfaces and fixed leaks in the shared make
request method. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.