diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/spec/features/api_spec.rb b/spec/features/api_spec.rb
index abc1234..def5678 100644
--- a/spec/features/api_spec.rb
+++ b/spec/features/api_spec.rb
@@ -11,7 +11,7 @@
Dir.chdir(project_path) do
Bundler.with_clean_env do
- expect(`rake`).to include("0 failures")
+ expect(`rspec spe... | Use rspec instead of rake because rubocop will fail for sure
|
diff --git a/spec/hatchet/node_spec.rb b/spec/hatchet/node_spec.rb
index abc1234..def5678 100644
--- a/spec/hatchet/node_spec.rb
+++ b/spec/hatchet/node_spec.rb
@@ -2,7 +2,17 @@
describe "Node" do
it "works with node buildpack" do
- Hatchet::Runner.new("node_multi", buildpack_url: "https://github.com/heroku/her... | Update multi-buildpack test to use current branch of the buildpack |
diff --git a/spec/support/factories.rb b/spec/support/factories.rb
index abc1234..def5678 100644
--- a/spec/support/factories.rb
+++ b/spec/support/factories.rb
@@ -29,12 +29,6 @@ FactoryGirl.create(:mock_token, :user_id => user.id)
end
end
-
- factory :user_with_invalid_mock_token do
- af... | Remove invalid token from factory
|
diff --git a/app/controllers/dre/devices_controller.rb b/app/controllers/dre/devices_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/dre/devices_controller.rb
+++ b/app/controllers/dre/devices_controller.rb
@@ -2,7 +2,7 @@
module Dre
class DevicesController < ApplicationController
- before_fil... | Switch to before_filter to before_action
Rails 5.1 deprecates `before_filter` for `before_action1`, so the change is needed to support newer versions of Rails.
|
diff --git a/app/presenters/tree_builder_containers.rb b/app/presenters/tree_builder_containers.rb
index abc1234..def5678 100644
--- a/app/presenters/tree_builder_containers.rb
+++ b/app/presenters/tree_builder_containers.rb
@@ -18,6 +18,6 @@
# Get root nodes count/array for explorer tree
def x_get_tree_roots(co... | Add Rbac search to containers tree
|
diff --git a/files/gitlab-cookbooks/gitlab/recipes/selinux.rb b/files/gitlab-cookbooks/gitlab/recipes/selinux.rb
index abc1234..def5678 100644
--- a/files/gitlab-cookbooks/gitlab/recipes/selinux.rb
+++ b/files/gitlab-cookbooks/gitlab/recipes/selinux.rb
@@ -18,6 +18,7 @@ if RedhatHelper.system_is_rhel7?
ssh_keygen_mo... | Check if SElinux is enforced and skip loading module if disabled.
|
diff --git a/examples/simple_iteration_of_games_in_a_directory.rb b/examples/simple_iteration_of_games_in_a_directory.rb
index abc1234..def5678 100644
--- a/examples/simple_iteration_of_games_in_a_directory.rb
+++ b/examples/simple_iteration_of_games_in_a_directory.rb
@@ -0,0 +1,11 @@+#Assuming you have the gem install... | Add a very simple example of usage. More to come.
Fix #13
|
diff --git a/features/step_definitions/common_steps.rb b/features/step_definitions/common_steps.rb
index abc1234..def5678 100644
--- a/features/step_definitions/common_steps.rb
+++ b/features/step_definitions/common_steps.rb
@@ -11,6 +11,6 @@ end
Then /^debugger$/ do
- debugger
+ binding.pry
:debugger
end
| Change debugger step to use binding.pry
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -6,7 +6,7 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.0.1'
-depends 'yum', '>= 3.6', '< 5.0'
+depends 'yum', '>= 3.6'
%w(amazon centos oracle redhat scientific zli... | Remove upper bound on yum constraint
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/Casks/mini-metro.rb b/Casks/mini-metro.rb
index abc1234..def5678 100644
--- a/Casks/mini-metro.rb
+++ b/Casks/mini-metro.rb
@@ -1,7 +1,7 @@ class MiniMetro < Cask
- url 'http://static.dinopoloclub.com/minimetro/builds/alpha9/MiniMetro-alpha9c-osx.zip'
+ url 'http://static.dinopoloclub.com/minimetro/build... | Update Mini Metro to Alpha 9d
|
diff --git a/lib/git-deploy/git_tag.rb b/lib/git-deploy/git_tag.rb
index abc1234..def5678 100644
--- a/lib/git-deploy/git_tag.rb
+++ b/lib/git-deploy/git_tag.rb
@@ -7,6 +7,11 @@
def initialize( app, options )
@app, @options = app, options
+
+ # "2013-04-12.1132AM"
+ @options[ :tagname ] ||= '%F.%I%M%p'
+... | Add some defaults to the git tag middleware
|
diff --git a/lib/hogger/application.rb b/lib/hogger/application.rb
index abc1234..def5678 100644
--- a/lib/hogger/application.rb
+++ b/lib/hogger/application.rb
@@ -1,7 +1,7 @@ module Hogger
class Application
def self.routes
- @@routes ||= RouteCollection.new
+ @@routes ||= Hogger::Routing::RouteColle... | Fix a Module error on Application
|
diff --git a/LeetCode/bootleg/find_all_sum_solutions.rb b/LeetCode/bootleg/find_all_sum_solutions.rb
index abc1234..def5678 100644
--- a/LeetCode/bootleg/find_all_sum_solutions.rb
+++ b/LeetCode/bootleg/find_all_sum_solutions.rb
@@ -21,6 +21,21 @@ .reduce(:+)
end
+def count_sum_solution_dp(targ... | Read the fucking problem statement... count all sum solutions - DP
|
diff --git a/test/test_http_upload.rb b/test/test_http_upload.rb
index abc1234..def5678 100644
--- a/test/test_http_upload.rb
+++ b/test/test_http_upload.rb
@@ -35,7 +35,7 @@ response = uploader.upload_attachment attachment
assert_fail "Should throw an ApiError"
rescue ApiError => e
- ass... | Update http test with latest error msg.
|
diff --git a/SackOfRainbows.podspec b/SackOfRainbows.podspec
index abc1234..def5678 100644
--- a/SackOfRainbows.podspec
+++ b/SackOfRainbows.podspec
@@ -5,12 +5,12 @@ s.description = <<-DESC
SackOfRainbows provides an expressive syntax to create color generators. Chain generators in serial or par... | Fix source URL in podspec
|
diff --git a/lib/fog/vsphere/requests/compute/vm_take_snapshot.rb b/lib/fog/vsphere/requests/compute/vm_take_snapshot.rb
index abc1234..def5678 100644
--- a/lib/fog/vsphere/requests/compute/vm_take_snapshot.rb
+++ b/lib/fog/vsphere/requests/compute/vm_take_snapshot.rb
@@ -7,10 +7,10 @@ raise ArgumentError, "n... | Use Ruby 1.8 hash syntax
Changed a single hash to use 1.8 syntax to continue 1.8 support (at
least for the time being).
|
diff --git a/lib/jekyll-responsive-image/extra_image_generator.rb b/lib/jekyll-responsive-image/extra_image_generator.rb
index abc1234..def5678 100644
--- a/lib/jekyll-responsive-image/extra_image_generator.rb
+++ b/lib/jekyll-responsive-image/extra_image_generator.rb
@@ -2,6 +2,7 @@ module ResponsiveImage
class... | Add condition to extra image generation to only operate on 'files' returned by the glob
|
diff --git a/core/app/models/comment.rb b/core/app/models/comment.rb
index abc1234..def5678 100644
--- a/core/app/models/comment.rb
+++ b/core/app/models/comment.rb
@@ -15,7 +15,9 @@ end
- has_many :sub_comments, inverse_of: :parent
+ def sub_comments
+ SubComment.where(parent_id: self.id)
+ end
index(... | Use method instead of relation
|
diff --git a/lib/rubella/input/json.rb b/lib/rubella/input/json.rb
index abc1234..def5678 100644
--- a/lib/rubella/input/json.rb
+++ b/lib/rubella/input/json.rb
@@ -3,7 +3,13 @@ module Rubella
module Input
+ # Gets data in JSON formate and translate it into a Ruby readable form to
+ # make it possible to han... | Add documentation and TODOs for JSON input
|
diff --git a/lib/services/http_post.rb b/lib/services/http_post.rb
index abc1234..def5678 100644
--- a/lib/services/http_post.rb
+++ b/lib/services/http_post.rb
@@ -1,6 +1,4 @@ class Service::HttpPost < Service
- Service.services.delete(self)
-
include HttpHelper
alias receive_event deliver
@@ -15,4 +13,3 @@ ... | Allow Serivce::HttpPost to be registered
|
diff --git a/lib/strict_open_struct.rb b/lib/strict_open_struct.rb
index abc1234..def5678 100644
--- a/lib/strict_open_struct.rb
+++ b/lib/strict_open_struct.rb
@@ -1,10 +1,16 @@ require 'ostruct'
-class StrictOpenStruct < OpenStruct
- # Raises NoMethodError if the called method is not a setter and was not explicitl... | Refactor so we don't inherit from core class
|
diff --git a/spec/controllers/api/contests/submissions_controller_spec.rb b/spec/controllers/api/contests/submissions_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/api/contests/submissions_controller_spec.rb
+++ b/spec/controllers/api/contests/submissions_controller_spec.rb
@@ -1,6 +1,6 @@ req... | Fix spec to deal with renaming SubmissionsController.
|
diff --git a/recursion-vs-iteration/recursion_matt.rb b/recursion-vs-iteration/recursion_matt.rb
index abc1234..def5678 100644
--- a/recursion-vs-iteration/recursion_matt.rb
+++ b/recursion-vs-iteration/recursion_matt.rb
@@ -1,3 +1,16 @@+require "benchmark"
+
+def all_prime_factors_recursive(num, factors = [])
+
+ ret... | Add benchmark and working recursion solution
|
diff --git a/ouvrages_scaffold.gemspec b/ouvrages_scaffold.gemspec
index abc1234..def5678 100644
--- a/ouvrages_scaffold.gemspec
+++ b/ouvrages_scaffold.gemspec
@@ -16,6 +16,6 @@
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
- s.add_dependency "rails", "~> 5.0.1"
+ s.add_depe... | Fix dependency to works with Rails > 5.0.1
|
diff --git a/spec/factories/page_factory.rb b/spec/factories/page_factory.rb
index abc1234..def5678 100644
--- a/spec/factories/page_factory.rb
+++ b/spec/factories/page_factory.rb
@@ -8,11 +8,5 @@ factory :page_with_layout do
layout
end
-
- # :parent_id => nil
-
- # factory :admin_user do... | Clean up copy/paste remnants in page factory
|
diff --git a/telemetry-logger.gemspec b/telemetry-logger.gemspec
index abc1234..def5678 100644
--- a/telemetry-logger.gemspec
+++ b/telemetry-logger.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'telemetry-logger'
- s.version = '0.1.11'
+ s.version = '0.1.12'
s.summar... | Package version number increased from 0.1.11 to 0.1.12
|
diff --git a/test/compilation_test.rb b/test/compilation_test.rb
index abc1234..def5678 100644
--- a/test/compilation_test.rb
+++ b/test/compilation_test.rb
@@ -3,7 +3,7 @@ class CompilationTest < Test::Unit::TestCase
def test_compilation
path = 'vendor/assets/stylesheets'
- %w(bootstrap responsive).each do ... | Fix import in the test
|
diff --git a/test/contrib/test_sys.rb b/test/contrib/test_sys.rb
index abc1234..def5678 100644
--- a/test/contrib/test_sys.rb
+++ b/test/contrib/test_sys.rb
@@ -2,7 +2,13 @@
require 'test/unit'
require 'test/filecreation'
-require 'rake/contrib/sys'
+begin
+ old_verbose = $VERBOSE
+ $VERBOSE = nil
+ require 'rake... | Disable expected sys warnings during test.
|
diff --git a/test/omise/test_token.rb b/test/omise/test_token.rb
index abc1234..def5678 100644
--- a/test/omise/test_token.rb
+++ b/test/omise/test_token.rb
@@ -6,7 +6,7 @@ end
def test_that_we_can_create_a_token
- token = Omise::Token.create({
+ token = Omise::Token.create(card: {
name: "JOHN DOE",... | Add card param in token test
|
diff --git a/spec/hamlit/engine/error_spec.rb b/spec/hamlit/engine/error_spec.rb
index abc1234..def5678 100644
--- a/spec/hamlit/engine/error_spec.rb
+++ b/spec/hamlit/engine/error_spec.rb
@@ -37,9 +37,10 @@ %9
HAML
rescue Hamlit::SyntaxError => e
- return unless e.respond_to?(:backtrac... | Fix an error on Ruby 2.0
|
diff --git a/rspec-matchers_test.gemspec b/rspec-matchers_test.gemspec
index abc1234..def5678 100644
--- a/rspec-matchers_test.gemspec
+++ b/rspec-matchers_test.gemspec
@@ -20,4 +20,5 @@
spec.add_development_dependency "bundler", "~> 1.7"
spec.add_development_dependency "rake", "~> 10.0"
+ spec.add_development_... | Set RSpec 3.2 dependency since it supports failure_message_for_should and failure_message_for_should_not
|
diff --git a/spec/dummy_app/app/models/fan.rb b/spec/dummy_app/app/models/fan.rb
index abc1234..def5678 100644
--- a/spec/dummy_app/app/models/fan.rb
+++ b/spec/dummy_app/app/models/fan.rb
@@ -1,11 +1,5 @@ class Fan < ActiveRecord::Base
validates_presence_of(:name)
+
has_and_belongs_to_many :teams
-
- RailsAdm... | Revert Fan model to it's original state
|
diff --git a/spec/integration/adapter_spec.rb b/spec/integration/adapter_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/adapter_spec.rb
+++ b/spec/integration/adapter_spec.rb
@@ -23,6 +23,21 @@ def adapter() DataMapper::Spec.adapter end
def repository() DataMapper.repository(adapter.name) end
+ # ... | Add explicit model for shared spec
* This model will be modified to use a UUID instead of a Serial
property.
|
diff --git a/spec/requests/user_pages_spec.rb b/spec/requests/user_pages_spec.rb
index abc1234..def5678 100644
--- a/spec/requests/user_pages_spec.rb
+++ b/spec/requests/user_pages_spec.rb
@@ -32,6 +32,11 @@ it "should not create a user" do
expect { click_button submit}.not_to change(User, :count)
... | Add tests for after new user submission
|
diff --git a/lib/fog/hp/models/compute/flavor.rb b/lib/fog/hp/models/compute/flavor.rb
index abc1234..def5678 100644
--- a/lib/fog/hp/models/compute/flavor.rb
+++ b/lib/fog/hp/models/compute/flavor.rb
@@ -11,30 +11,10 @@ attribute :disk
attribute :name
attribute :ram
- attribute :vcpus
... | Add cores as an attribute to alias vcpus.
|
diff --git a/lib/nanoc-deploy/extra/deployers.rb b/lib/nanoc-deploy/extra/deployers.rb
index abc1234..def5678 100644
--- a/lib/nanoc-deploy/extra/deployers.rb
+++ b/lib/nanoc-deploy/extra/deployers.rb
@@ -1,6 +1,6 @@ # encoding: utf-8
-module Nanoc3::Extra
+module NanocDeploy::Extra
module Deployers
autoload ... | Fix typo in Deployers module name
|
diff --git a/lib/omniship/dhlgm/track/package.rb b/lib/omniship/dhlgm/track/package.rb
index abc1234..def5678 100644
--- a/lib/omniship/dhlgm/track/package.rb
+++ b/lib/omniship/dhlgm/track/package.rb
@@ -25,8 +25,8 @@ # 600 : DELIVERED
# 699 : DELIVERY STATUS NOT UPDATED
def has_arrived?
- ... | Revert "Revert "do not mark arrived if at usps""
This reverts commit 91bb774390d15792caf68946c1e4ecd3acbca76e.
|
diff --git a/app/models/timeslot.rb b/app/models/timeslot.rb
index abc1234..def5678 100644
--- a/app/models/timeslot.rb
+++ b/app/models/timeslot.rb
@@ -10,14 +10,6 @@
def open?
student.nil?
- end
-
- def booked_slot
- "#FF5722"
- end
-
- def open_slot
- "#2196F3"
end
def new_york_ordinal_tim... | Remove uneccessary model methods for determining color
|
diff --git a/db/migrate/20140601114738_create_users.rb b/db/migrate/20140601114738_create_users.rb
index abc1234..def5678 100644
--- a/db/migrate/20140601114738_create_users.rb
+++ b/db/migrate/20140601114738_create_users.rb
@@ -1,7 +1,7 @@ class CreateUsers < ActiveRecord::Migration
def change
create_table :us... | Fix a typo in the create user migration
|
diff --git a/spec/client_spec.rb b/spec/client_spec.rb
index abc1234..def5678 100644
--- a/spec/client_spec.rb
+++ b/spec/client_spec.rb
@@ -2,15 +2,22 @@ require "biased/client"
describe(Biased::Client) do
- before do
- allow(Wikipedia).to(
- receive_message_chain(:find, :content).and_return("owner = [[AOL... | Test parents which have two words
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -7,12 +7,16 @@
require 'infinity_test'
require 'ostruct'
+Bundler.require
RSpec.configure do |config|
config.include InfinityTest::Strategy::SharedExample
config.includ... | Add focus feature to rspec specs
|
diff --git a/lib/activerecord_chronological_records.rb b/lib/activerecord_chronological_records.rb
index abc1234..def5678 100644
--- a/lib/activerecord_chronological_records.rb
+++ b/lib/activerecord_chronological_records.rb
@@ -8,7 +8,7 @@
self.instance_eval <<-EOS
def at(date)
- where("#{start_col... | Handle start/end dates being blank |
diff --git a/app/controllers/endorsements_controller.rb b/app/controllers/endorsements_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/endorsements_controller.rb
+++ b/app/controllers/endorsements_controller.rb
@@ -23,6 +23,7 @@ redirect_to endorsements_url, notice: 'La teva signatura ha estat r... | Fix counter issue on failing endorsement creation
|
diff --git a/app/controllers/kaui/credits_controller.rb b/app/controllers/kaui/credits_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/kaui/credits_controller.rb
+++ b/app/controllers/kaui/credits_controller.rb
@@ -23,13 +23,13 @@ # No need to show the newly created invoice for account level credi... | Fix credit controller to support receiving multiple credit items back
|
diff --git a/app/models/gobierto_common/custom_field.rb b/app/models/gobierto_common/custom_field.rb
index abc1234..def5678 100644
--- a/app/models/gobierto_common/custom_field.rb
+++ b/app/models/gobierto_common/custom_field.rb
@@ -20,6 +20,7 @@ translates :name
before_create :set_uid, :set_position
+ af... | Update payload key of depending records when custom field uid changes
|
diff --git a/lib/avoid_metreon/moscone_event_crawler.rb b/lib/avoid_metreon/moscone_event_crawler.rb
index abc1234..def5678 100644
--- a/lib/avoid_metreon/moscone_event_crawler.rb
+++ b/lib/avoid_metreon/moscone_event_crawler.rb
@@ -7,7 +7,7 @@
base_url 'http://www.moscone.com/site/do/event/list'
- items 'xp... | Fix selector for calendar rows.
The + symbol isn't actually supported in XPath. By using it, the event
crawler was always matching 0 elements. Instead, you can select an
element and specify its position within its parent element.
|
diff --git a/app/serializers/task_comment_serializer.rb b/app/serializers/task_comment_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/task_comment_serializer.rb
+++ b/app/serializers/task_comment_serializer.rb
@@ -1,7 +1,17 @@ class TaskCommentSerializer < ActiveModel::Serializer
- attributes :id, :... | ENHANCE: Add author and recipient to task comment serialiser
|
diff --git a/brainfuck.rb b/brainfuck.rb
index abc1234..def5678 100644
--- a/brainfuck.rb
+++ b/brainfuck.rb
@@ -1,6 +1,6 @@ memory_idx = 0
ip = 0
-main_memory = Array.new(30000, 0)
+main_memory = Array.new(256, 0)
program = File.read("program.bf")
| Reduce memory allocation for these toy examples
|
diff --git a/lib/patch/active_record/connection_pool.rb b/lib/patch/active_record/connection_pool.rb
index abc1234..def5678 100644
--- a/lib/patch/active_record/connection_pool.rb
+++ b/lib/patch/active_record/connection_pool.rb
@@ -40,6 +40,7 @@ synchronize do
super.tap do |stat|
stat[:idle_t... | Add janitor frequency setting to pool stat
|
diff --git a/226_invert_binary_tree.rb b/226_invert_binary_tree.rb
index abc1234..def5678 100644
--- a/226_invert_binary_tree.rb
+++ b/226_invert_binary_tree.rb
@@ -0,0 +1,18 @@+# Definition for a binary tree node.
+# class TreeNode
+# attr_accessor :val, :left, :right
+# def initialize(val)
+# @val = v... | Add invert binary tree problem
|
diff --git a/scripts/verify-buildpack-binaries.rb b/scripts/verify-buildpack-binaries.rb
index abc1234..def5678 100644
--- a/scripts/verify-buildpack-binaries.rb
+++ b/scripts/verify-buildpack-binaries.rb
@@ -1,7 +1,7 @@ #! /usr/bin/env ruby
buildpacks_ci_dir = File.expand_path(File.join(File.dirname(__FILE__), '..'... | Correct relative pathing for including buildpack-binary-md5-verifier
[#128159787]
|
diff --git a/billplz.gemspec b/billplz.gemspec
index abc1234..def5678 100644
--- a/billplz.gemspec
+++ b/billplz.gemspec
@@ -17,6 +17,6 @@ spec.require_paths = ["lib"]
spec.add_development_dependency "rake"
- spec.add_development_dependency "test-unit"
- spec.add_development_dependency "mocha"
+ spec.add_deve... | Add version numbers to dependencies
|
diff --git a/app/controllers/news_items_controller.rb b/app/controllers/news_items_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/news_items_controller.rb
+++ b/app/controllers/news_items_controller.rb
@@ -1,9 +1,10 @@ class NewsItemsController < ApplicationController
include NewsItemsHelper
+ ... | Load networks for browsing and searching news items
|
diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/users_controller_spec.rb
+++ b/spec/controllers/users_controller_spec.rb
@@ -14,4 +14,24 @@ expect(response).to be_success
end
end
+
+ describe 'PUT upda... | Add tests for user update endpoint
|
diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/users_controller_spec.rb
+++ b/spec/controllers/users_controller_spec.rb
@@ -0,0 +1,42 @@+require 'rails_helper'
+
+describe UsersController do
+ let(:user) { create(:... | Add tests for Users controller
|
diff --git a/spec/features/issues/note_polling_spec.rb b/spec/features/issues/note_polling_spec.rb
index abc1234..def5678 100644
--- a/spec/features/issues/note_polling_spec.rb
+++ b/spec/features/issues/note_polling_spec.rb
@@ -0,0 +1,18 @@+require 'spec_helper'
+
+feature 'Issue notes polling' do
+ let!(:project) { ... | Add feature specs for note polling
Ref. #4032, !2084
|
diff --git a/spec/routing/dice_rolls_routing_spec.rb b/spec/routing/dice_rolls_routing_spec.rb
index abc1234..def5678 100644
--- a/spec/routing/dice_rolls_routing_spec.rb
+++ b/spec/routing/dice_rolls_routing_spec.rb
@@ -0,0 +1,9 @@+require "rails_helper"
+
+RSpec.describe DiceRollsController, type: :routing do
+ desc... | Add routing spec for dice rolls
|
diff --git a/spec/views/help/index.html.haml_spec.rb b/spec/views/help/index.html.haml_spec.rb
index abc1234..def5678 100644
--- a/spec/views/help/index.html.haml_spec.rb
+++ b/spec/views/help/index.html.haml_spec.rb
@@ -0,0 +1,55 @@+require 'rails_helper'
+
+describe 'help/index' do
+ describe 'version information' d... | Add a view spec (gasp!) for help/index
|
diff --git a/Casks/font-fira-code.rb b/Casks/font-fira-code.rb
index abc1234..def5678 100644
--- a/Casks/font-fira-code.rb
+++ b/Casks/font-fira-code.rb
@@ -1,10 +1,13 @@ cask :v1 => 'font-fira-code' do
- version '0.6'
- sha256 '0ae8324527fbcbaf93eaf7be1171b5fa039b8444154a7262a914f75c6da78aae'
+ version '1.100'
+ s... | Update Fira Code to 1.100 |
diff --git a/StompClient.podspec b/StompClient.podspec
index abc1234..def5678 100644
--- a/StompClient.podspec
+++ b/StompClient.podspec
@@ -9,7 +9,7 @@ s.author = { "ShengHua Wu" => "fantasy0404@gmail.com" }
s.social_media_url = "https://twitter.com/ShengHuaWu"
s.platform = :ios, "9.0"
- s.s... | Fix the source url in podspec file.
|
diff --git a/recipes/source_install.rb b/recipes/source_install.rb
index abc1234..def5678 100644
--- a/recipes/source_install.rb
+++ b/recipes/source_install.rb
@@ -21,7 +21,7 @@ source_version = "v#{node[:consul][:version]}"
env = {
- 'PATH' => "#{node[:go][:install_dir]}/bin:#{node[:go][:gobin]}:/usr/bin",
+ 'PATH... | Fix the path to the go binary.
|
diff --git a/grizzly_ber.gemspec b/grizzly_ber.gemspec
index abc1234..def5678 100644
--- a/grizzly_ber.gemspec
+++ b/grizzly_ber.gemspec
@@ -10,4 +10,5 @@ s.homepage = ''
s.license = 'MIT'
s.files = ["lib/grizzly_ber.rb", "lib/grizzly_tag.rb"]
+ s.required_ruby_version = '>= 2.0.0' #This gem uses ... | Set minimum ruby version in gemspec
|
diff --git a/0_code_wars/triple_shiftian.rb b/0_code_wars/triple_shiftian.rb
index abc1234..def5678 100644
--- a/0_code_wars/triple_shiftian.rb
+++ b/0_code_wars/triple_shiftian.rb
@@ -0,0 +1,25 @@+# http://www.codewars.com/kata/56b7526481290c2ff1000c75/
+# --- iteration 1 ---
+def triple_shiftian(base, n, memo={})
+ ... | Add code wars (7) triple shiftian
|
diff --git a/AFNetworking+AutoRetry.podspec b/AFNetworking+AutoRetry.podspec
index abc1234..def5678 100644
--- a/AFNetworking+AutoRetry.podspec
+++ b/AFNetworking+AutoRetry.podspec
@@ -14,6 +14,7 @@ :tag => "v#{s.version}" }
s.ios.deployment_target = '6.0'
+ s.osx.deployment_target = '10.8'
... | Update Podspec to support osx
AFNetworking fully supports both iOS and OSX.
Since this is just a category on AFHTTPRequestOperationManager and
AFHTTPSessionManager the pod spec should inherit the dependencies of
the Base Spec
|
diff --git a/spec/factories/user_factory.rb b/spec/factories/user_factory.rb
index abc1234..def5678 100644
--- a/spec/factories/user_factory.rb
+++ b/spec/factories/user_factory.rb
@@ -5,6 +5,9 @@ email { "#{username}@example.com" }
firstname 'Dev'
lastname 'Eloper'
+ institution_code 'NYU'
+ aleph_... | Use the new columns and remove the old ones in the UserFactory
|
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb
index abc1234..def5678 100644
--- a/spec/spec_helper_acceptance.rb
+++ b/spec/spec_helper_acceptance.rb
@@ -18,6 +18,7 @@ # Install module and dependencies
hosts.each do |host|
copy_module_to(host, source: proj_root, module_nam... | Add missing dependency for Beaker tests
|
diff --git a/app/controllers/admin/base_controller.rb b/app/controllers/admin/base_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin/base_controller.rb
+++ b/app/controllers/admin/base_controller.rb
@@ -30,12 +30,12 @@ end
rescue_from Whitehall::Authority::Errors::PermissionDenied do |excep... | Replace debug puts statements with logger.warn
|
diff --git a/paid.gemspec b/paid.gemspec
index abc1234..def5678 100644
--- a/paid.gemspec
+++ b/paid.gemspec
@@ -9,7 +9,7 @@ s.version = Paid::VERSION
s.authors = ['Ryan Jackson']
s.email = ['ryan@paidapi.com']
- s.homepage = 'https://docs.paidapi.com'
+ s.homepage = 'http://docs.paidapi.c... | Update homepage url to be http
|
diff --git a/Wrap.podspec b/Wrap.podspec
index abc1234..def5678 100644
--- a/Wrap.podspec
+++ b/Wrap.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "Wrap"
- s.version = "2.1.0"
+ s.version = "2.1.1"
s.summary = "The easy to use Swift JSON encoder"
s.description = <<-DESC
Wra... | Bump Podspec to version 2.1.1 |
diff --git a/spec/classes/trove_db_postgresql_spec.rb b/spec/classes/trove_db_postgresql_spec.rb
index abc1234..def5678 100644
--- a/spec/classes/trove_db_postgresql_spec.rb
+++ b/spec/classes/trove_db_postgresql_spec.rb
@@ -15,6 +15,8 @@ let :params do
req_params
end
+
+ it { is_expected.to ... | Include deps class in unit test for postgresql
Change-Id: I9bafbff58643af7734c883326e819faa4bbddbb3
|
diff --git a/spec/integration/user_attributes_spec.rb b/spec/integration/user_attributes_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/user_attributes_spec.rb
+++ b/spec/integration/user_attributes_spec.rb
@@ -0,0 +1,48 @@+require 'spec_helper'
+
+describe ROM::Model::Attributes do
+ let(:attributes) do... | Reorganize spec locations and rake spec tasks
|
diff --git a/app/models/topic.rb b/app/models/topic.rb
index abc1234..def5678 100644
--- a/app/models/topic.rb
+++ b/app/models/topic.rb
@@ -27,7 +27,16 @@ index node_id: 1
index user_id: 1
index last_active_mark: -1
- index like_count: 1
+ index likes_count: 1
index suggested_at: 1
index excellent: -1
... | Add the scope method for the Topic model for easier query.
|
diff --git a/spec/acceptance/puppetserver_spec.rb b/spec/acceptance/puppetserver_spec.rb
index abc1234..def5678 100644
--- a/spec/acceptance/puppetserver_spec.rb
+++ b/spec/acceptance/puppetserver_spec.rb
@@ -23,7 +23,7 @@
describe port(8140) do
it 'should listen on port 8140' do
- pending 'Need to ... | Add sleep in acceptance tests to give a change to puppetserver to be up before testing port listening
|
diff --git a/spec/models/protected_branch_spec.rb b/spec/models/protected_branch_spec.rb
index abc1234..def5678 100644
--- a/spec/models/protected_branch_spec.rb
+++ b/spec/models/protected_branch_spec.rb
@@ -37,19 +37,6 @@ end
end
- describe '#update_repository' do
- let(:gitolite) { mock }
-
- subject... | Remove useless Protected branch test
|
diff --git a/spec/nanoc/cli/commands/view_spec.rb b/spec/nanoc/cli/commands/view_spec.rb
index abc1234..def5678 100644
--- a/spec/nanoc/cli/commands/view_spec.rb
+++ b/spec/nanoc/cli/commands/view_spec.rb
@@ -0,0 +1,29 @@+describe Nanoc::CLI::Commands::View, site: true, stdio: true do
+ describe '#run' do
+ def run... | Add spec for view command
|
diff --git a/app/controllers/interviews_controller.rb b/app/controllers/interviews_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/interviews_controller.rb
+++ b/app/controllers/interviews_controller.rb
@@ -11,7 +11,6 @@ @interview.update hired: false,
interview_note... | Remove TODO related to future API call to create users
We'll integrate the apps when we integrate the apps.
When that happens, we'll know where to go.
No need to clutter up the source code with this.
Closes #160.
|
diff --git a/lib/badgeoverflow/core/models/badges/moderation/civic_duty.rb b/lib/badgeoverflow/core/models/badges/moderation/civic_duty.rb
index abc1234..def5678 100644
--- a/lib/badgeoverflow/core/models/badges/moderation/civic_duty.rb
+++ b/lib/badgeoverflow/core/models/badges/moderation/civic_duty.rb
@@ -36,12 +36,8... | Refactor Electorate badge to inherit from Badge class, not CivicDuty
|
diff --git a/lib/govuk_message_queue_consumer/test_helpers/mock_message.rb b/lib/govuk_message_queue_consumer/test_helpers/mock_message.rb
index abc1234..def5678 100644
--- a/lib/govuk_message_queue_consumer/test_helpers/mock_message.rb
+++ b/lib/govuk_message_queue_consumer/test_helpers/mock_message.rb
@@ -7,9 +7,7 @@... | Use super to initialise MockMessage
This resolves a rubocop violation.
|
diff --git a/jedict.gemspec b/jedict.gemspec
index abc1234..def5678 100644
--- a/jedict.gemspec
+++ b/jedict.gemspec
@@ -7,7 +7,6 @@ s.authors = ["Sylvain Leclercq"]
s.email = 'maisbiensurqueoui@gmail.com'
s.files = ["lib/jedict.rb"]
- s.executables.concat nil
s.homepage =
'http://www.githu... | Fix generation error in gemspec
|
diff --git a/spec/watirspec/meta_spec.rb b/spec/watirspec/meta_spec.rb
index abc1234..def5678 100644
--- a/spec/watirspec/meta_spec.rb
+++ b/spec/watirspec/meta_spec.rb
@@ -8,7 +8,7 @@
describe "#exist?" do
it "returns true if the meta tag exists" do
- browser.meta('http-equiv', "Content-Type").should exi... | Fix meta spec after merge..
|
diff --git a/factlink_blacklist.gemspec b/factlink_blacklist.gemspec
index abc1234..def5678 100644
--- a/factlink_blacklist.gemspec
+++ b/factlink_blacklist.gemspec
@@ -6,10 +6,10 @@ Gem::Specification.new do |spec|
spec.name = "factlink_blacklist"
spec.version = FactlinkBlacklist::VERSION
- spec.... | Update gemspec (make it valid, for one)
|
diff --git a/week-6/bingo_solution.rb b/week-6/bingo_solution.rb
index abc1234..def5678 100644
--- a/week-6/bingo_solution.rb
+++ b/week-6/bingo_solution.rb
@@ -0,0 +1,80 @@+# A Nested Array to Model a Bingo Board SOLO CHALLENGE
+
+# I spent [#] hours on this challenge.
+
+
+# Release 0: Pseudocode
+# Outline:
+
+# Cre... | Add firt trial of solo project/letter and number working
|
diff --git a/copilot.gemspec b/copilot.gemspec
index abc1234..def5678 100644
--- a/copilot.gemspec
+++ b/copilot.gemspec
@@ -17,7 +17,7 @@ s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
s.test_files = Dir["test/**/*"]
- s.add_dependency "rails", "~> 4.2.0"
+ s.add_dependenc... | Update dependency version of rails
|
diff --git a/collaborate.gemspec b/collaborate.gemspec
index abc1234..def5678 100644
--- a/collaborate.gemspec
+++ b/collaborate.gemspec
@@ -9,9 +9,8 @@ s.version = Collaborate::VERSION
s.authors = ['Hayden Ball']
s.email = ['hayden@haydenball.me.uk']
- s.homepage = 'TODO'
- s.summary = '... | Add summary and homepage to gemspec
|
diff --git a/app/controllers/study_groups_controller.rb b/app/controllers/study_groups_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/study_groups_controller.rb
+++ b/app/controllers/study_groups_controller.rb
@@ -20,7 +20,7 @@
def update
myparams = study_group_params
- myparams[:users] =... | Fix update of StudyGroups after providing all (int + ext) users
|
diff --git a/app/helpers/spree/base_helper_decorator.rb b/app/helpers/spree/base_helper_decorator.rb
index abc1234..def5678 100644
--- a/app/helpers/spree/base_helper_decorator.rb
+++ b/app/helpers/spree/base_helper_decorator.rb
@@ -5,6 +5,8 @@ max_price = prices.max_by(&:price)
min_price = prices.min_by(&:pri... | Add "out of stock" error message if item doesn't have a max or min price
|
diff --git a/lib/apns-s3.rb b/lib/apns-s3.rb
index abc1234..def5678 100644
--- a/lib/apns-s3.rb
+++ b/lib/apns-s3.rb
@@ -22,7 +22,7 @@ bucketname: nil,
filename: nil
)
- unless File.exists? filename
+ unless File.exist? filename
credentials = Aws::Credentials.new(
aws_access_key_id, aw... | Fix from "File.exists?" method to "File.exist?"
|
diff --git a/lib/bourbon.rb b/lib/bourbon.rb
index abc1234..def5678 100644
--- a/lib/bourbon.rb
+++ b/lib/bourbon.rb
@@ -1,7 +1,3 @@-# CodeKit needs relative paths
-dir = File.dirname(__FILE__)
-$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
-
require "bourbon/generator"
module Bourbon
| Remove left over path helpers
|
diff --git a/lib/html_mockup/release/finalizers/dir.rb b/lib/html_mockup/release/finalizers/dir.rb
index abc1234..def5678 100644
--- a/lib/html_mockup/release/finalizers/dir.rb
+++ b/lib/html_mockup/release/finalizers/dir.rb
@@ -5,16 +5,16 @@ # The directory name will have the format PREFIX-VERSION
#
module HtmlMocku... | Update Finalizers::Dir to new options interface |
diff --git a/website/spec/controllers/sessions_controller_spec.rb b/website/spec/controllers/sessions_controller_spec.rb
index abc1234..def5678 100644
--- a/website/spec/controllers/sessions_controller_spec.rb
+++ b/website/spec/controllers/sessions_controller_spec.rb
@@ -12,7 +12,7 @@
describe 'show' do
it 's... | Use id instead of instance in spec
|
diff --git a/lib/pakyow/console/editors/html_editor.rb b/lib/pakyow/console/editors/html_editor.rb
index abc1234..def5678 100644
--- a/lib/pakyow/console/editors/html_editor.rb
+++ b/lib/pakyow/console/editors/html_editor.rb
@@ -1,3 +1,3 @@ Pakyow::Console.editor :html do
- Pakyow::Presenter::View.new('<textarea data-... | Use redactor instead of trix for html editor
|
diff --git a/lib/travis/build/script/addons/firefox.rb b/lib/travis/build/script/addons/firefox.rb
index abc1234..def5678 100644
--- a/lib/travis/build/script/addons/firefox.rb
+++ b/lib/travis/build/script/addons/firefox.rb
@@ -10,10 +10,10 @@
def before_install
@script.fold('install_firefox')... | Add {} around interpolated instance variables
This isn't required, but it makes the strings a little bit clearer.
|
diff --git a/bench/bench_enum.rb b/bench/bench_enum.rb
index abc1234..def5678 100644
--- a/bench/bench_enum.rb
+++ b/bench/bench_enum.rb
@@ -0,0 +1,37 @@+require File.expand_path(File.join(File.dirname(__FILE__), "bench_helper"))
+
+module LibTest
+ extend FFI::Library
+ ffi_lib LIBTEST_PATH
+ enum :foo, [ :a, :b, :... | Add benchmark for enum parameters
|
diff --git a/lib/yard/code_objects/step_transformer.rb b/lib/yard/code_objects/step_transformer.rb
index abc1234..def5678 100644
--- a/lib/yard/code_objects/step_transformer.rb
+++ b/lib/yard/code_objects/step_transformer.rb
@@ -31,9 +31,9 @@ protected
def find_value_for_constant(name)
- @@constants ||=... | Fix Step Tranformer Caching Issue
- Thought that I could cache the Constants Object from the Registry
but it turns out that it cannot be done and calls to the Registry
must be made each time; otherwise the cache of Constants is out
of date after the first call by a StepTransformer.
|
diff --git a/benchmarks/speed.rb b/benchmarks/speed.rb
index abc1234..def5678 100644
--- a/benchmarks/speed.rb
+++ b/benchmarks/speed.rb
@@ -1,8 +1,9 @@-# coding: utf-8
+# frozen_string_literal: true
require 'benchmark/ips'
-require 'splay_tree'
require 'securerandom'
+
+require_relative '../lib/splay_tree'
def ... | Change to use local version
|
diff --git a/Casks/vivaldi-snapshot.rb b/Casks/vivaldi-snapshot.rb
index abc1234..def5678 100644
--- a/Casks/vivaldi-snapshot.rb
+++ b/Casks/vivaldi-snapshot.rb
@@ -1,6 +1,6 @@ cask :v1 => 'vivaldi-snapshot' do
- version '1.0.156.2'
- sha256 '5bf824d69cc78746c0644b4b257e79adc49a4960ff690b3f7a09bca7f1c0d3a9'
+ versio... | Upgrade Vivaldi.app to v1.0.167.2 (Snapshot)
|
diff --git a/spec/unit/veritas/attribute/class_methods/descendants_spec.rb b/spec/unit/veritas/attribute/class_methods/descendants_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/veritas/attribute/class_methods/descendants_spec.rb
+++ b/spec/unit/veritas/attribute/class_methods/descendants_spec.rb
@@ -14,11 +14,7... | Use let! to eagerly evaluate the descendant value
|
diff --git a/lib/konjak/parser.rb b/lib/konjak/parser.rb
index abc1234..def5678 100644
--- a/lib/konjak/parser.rb
+++ b/lib/konjak/parser.rb
@@ -10,8 +10,10 @@
def parse(xml)
if gtt
- # FIXME
+ # FIXME GTT's tmx store © as &copy;
xml = xml.gsub(/&(#\d+|#x[0-9a-fA-F]+|[0-... | Replace \u00A0 -> \u0020 before parse gtt tmx
GTTのtmxはsegmentのleading spaceをnon-breaking spaceとして記録しているよ
うだった。本来はseg要素のtext nodeのみを置き換えるべきだが、
通常の文章でnon-breaking spaceが出てくることはなさそうなので、
XMLをパースする前に置き換えてしまう。
|
diff --git a/lib/puffery/model.rb b/lib/puffery/model.rb
index abc1234..def5678 100644
--- a/lib/puffery/model.rb
+++ b/lib/puffery/model.rb
@@ -38,7 +38,8 @@ end
def down
- if client.down(self)
+ if client.down(self.remote_uid)
+ true
# Sätt något för att visa att den är nere. LAST... | Return true if request returns data
|
diff --git a/lib/outpost.rb b/lib/outpost.rb
index abc1234..def5678 100644
--- a/lib/outpost.rb
+++ b/lib/outpost.rb
@@ -1,5 +1,3 @@-##
-# Outpost
require "outpost/engine"
require 'active_record'
require 'action_controller'
@@ -16,8 +14,6 @@ autoload :Breadcrumb, 'outpost/breadcrumbs'
autoload :Breadcrumbs
- ... | Fix comments to allow yard to run
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.