diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/config/initializers/log_formatting.rb b/config/initializers/log_formatting.rb
index abc1234..def5678 100644
--- a/config/initializers/log_formatting.rb
+++ b/config/initializers/log_formatting.rb
@@ -1,19 +1,21 @@ # Taken from: http://cbpowell.wordpress.com/2013/08/09/beautiful-logging-for-ruby-on-rails-4/... | Use the smaller and default log format in dev
PR #55
refs #1391
|
diff --git a/hi.gemspec b/hi.gemspec
index abc1234..def5678 100644
--- a/hi.gemspec
+++ b/hi.gemspec
@@ -18,7 +18,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_development_dependency "bundler", "~> 1.5"
- spec.add_development_dependency "rake"
+ ... | Add version to rake in gemspec
|
diff --git a/app/controllers/users.rb b/app/controllers/users.rb
index abc1234..def5678 100644
--- a/app/controllers/users.rb
+++ b/app/controllers/users.rb
@@ -1,14 +1,28 @@+get '/users/:id/edit' do
+ @user = current_user
+
+ if @user && (@user.id == params[:id].to_i)
+ erb :'users/edit'
+ else
+ redirect '/s... | Add route that shows a form where the user can edit their own password.
|
diff --git a/app/controllers/votes.rb b/app/controllers/votes.rb
index abc1234..def5678 100644
--- a/app/controllers/votes.rb
+++ b/app/controllers/votes.rb
@@ -24,11 +24,32 @@
post '/answers/:id/vote' do
answer = Answer.find(params[:id])
- question = answer.question
- if params[:vote] == "upvote"
- answer.vo... | Add logic to answer vote buttons
|
diff --git a/lib/remitano/client/coin_withdrawals.rb b/lib/remitano/client/coin_withdrawals.rb
index abc1234..def5678 100644
--- a/lib/remitano/client/coin_withdrawals.rb
+++ b/lib/remitano/client/coin_withdrawals.rb
@@ -10,11 +10,12 @@ config.net.post("/coin_withdrawals/#{id}/cancel").execute
end
- def... | Allow withdraw coin with destination tag
|
diff --git a/lib/exceptions/backends/honeybadger.rb b/lib/exceptions/backends/honeybadger.rb
index abc1234..def5678 100644
--- a/lib/exceptions/backends/honeybadger.rb
+++ b/lib/exceptions/backends/honeybadger.rb
@@ -2,7 +2,7 @@
module Exceptions
module Backends
- # Public: The Honeybadger backend is a Backend ... | Update to be compatible w HB 2
|
diff --git a/lib/rpush/daemon/interruptible_sleep.rb b/lib/rpush/daemon/interruptible_sleep.rb
index abc1234..def5678 100644
--- a/lib/rpush/daemon/interruptible_sleep.rb
+++ b/lib/rpush/daemon/interruptible_sleep.rb
@@ -5,15 +5,21 @@ class InterruptibleSleep
def initialize(duration)
@duration = dur... | Fix InterruptibleSleep so that it always sleep for the given duration.
|
diff --git a/lib/localized/parser/numeric_parser.rb b/lib/localized/parser/numeric_parser.rb
index abc1234..def5678 100644
--- a/lib/localized/parser/numeric_parser.rb
+++ b/lib/localized/parser/numeric_parser.rb
@@ -22,7 +22,7 @@ private
def build_object(value)
- value.gsub(delimiter, '_').gsub(s... | Use BigDecimal.new insted of to_f avoiding rounding errors.
|
diff --git a/lib/services/base/uniqueness_checker.rb b/lib/services/base/uniqueness_checker.rb
index abc1234..def5678 100644
--- a/lib/services/base/uniqueness_checker.rb
+++ b/lib/services/base/uniqueness_checker.rb
@@ -7,16 +7,18 @@
def check_uniqueness!(*args)
raise 'A variable named @uniqueness_key... | Refactor and fix service uniqueness checker, set a custom message on NotUniqueError
|
diff --git a/spec/models/student_spec.rb b/spec/models/student_spec.rb
index abc1234..def5678 100644
--- a/spec/models/student_spec.rb
+++ b/spec/models/student_spec.rb
@@ -1,7 +1,7 @@ require 'rails_helper'
require 'shoulda-matchers'
RSpec.describe Student, type: :model do
- it { should belong_to :user }
+ it { sh... | Fix student validation to check for belongs_to teacher instead of user
|
diff --git a/app/workers/import_connection_data_job.rb b/app/workers/import_connection_data_job.rb
index abc1234..def5678 100644
--- a/app/workers/import_connection_data_job.rb
+++ b/app/workers/import_connection_data_job.rb
@@ -24,6 +24,6 @@ end
def date_fields
- %w(creation_date startDate publishedAt pushed... | Add created at field for meetup
|
diff --git a/crass.gemspec b/crass.gemspec
index abc1234..def5678 100644
--- a/crass.gemspec
+++ b/crass.gemspec
@@ -11,6 +11,13 @@ s.homepage = 'https://github.com/rgrove/crass/'
s.license = 'MIT'
+ s.metadata = {
+ 'bug_tracker_uri' => 'https://github.com/rgrove/crass/issues',
+ 'changelog_uri'... | Add project metadata to the gemspec
As per https://guides.rubygems.org/specification-reference/#metadata,
add metadata to the gemspec file. This'll allow people to more easily
access the source code, raise issues and read the changelog. These
`bug_tracker_uri`, `changelog_uri`, `documentation_uri`, and
`source_code_ur... |
diff --git a/lib/plugins/commit_msg/release_note.rb b/lib/plugins/commit_msg/release_note.rb
index abc1234..def5678 100644
--- a/lib/plugins/commit_msg/release_note.rb
+++ b/lib/plugins/commit_msg/release_note.rb
@@ -0,0 +1,14 @@+module Causes::GitHook
+ class ReleaseNote < HookSpecificCheck
+ include HookRegistry
... | Add empty 'release note' linter for commit message
Still a warning, but better than letting these slip through.
Related story:
https://www.pivotaltracker.com/story/show/48023785 (delivery)
Change-Id: I45e6fdb7dfa64ba2e5e6e9b6444cb51fb87e13ee
Reviewed-on: https://gerrit.causes.com/22211
Tested-by: Aiden Scandella <... |
diff --git a/lib/serf/receivers/msgpack_receiver.rb b/lib/serf/receivers/msgpack_receiver.rb
index abc1234..def5678 100644
--- a/lib/serf/receivers/msgpack_receiver.rb
+++ b/lib/serf/receivers/msgpack_receiver.rb
@@ -10,10 +10,15 @@ class MsgpackHandler
def initialize(app, options={})
@app = app
+ @l... | Add error logging and reraising of errors in msgpack receiver.
Details:
* Want some local logging of caught errors in msgpack receiver.
So now both msgpack and redis_pubsub receivers will log an error
if an exception is routed up to them.
* We are ok with reraising the error since msgpack rpc is good
for us that... |
diff --git a/app/models/admin_area.rb b/app/models/admin_area.rb
index abc1234..def5678 100644
--- a/app/models/admin_area.rb
+++ b/app/models/admin_area.rb
@@ -22,6 +22,10 @@ class AdminArea < ActiveRecord::Base
belongs_to :region
- has_friendly_id :short_name, :use_slug => true
+ has_friendly_id :slug_name, ... | Handle older format data where there is no short name
|
diff --git a/app/models/api/client.rb b/app/models/api/client.rb
index abc1234..def5678 100644
--- a/app/models/api/client.rb
+++ b/app/models/api/client.rb
@@ -15,7 +15,7 @@ end
def post(path, body)
- response = ActiveSupport::Notifications.instrument('api_request', path: path, method: 'post') do
+ ... | 3433: Refactor to facilitate logging of api requests
Authors: 366e0de6ccd0189907498dabc55231b9a53e9bf8@richardtowers
|
diff --git a/app/models/assignment.rb b/app/models/assignment.rb
index abc1234..def5678 100644
--- a/app/models/assignment.rb
+++ b/app/models/assignment.rb
@@ -11,20 +11,20 @@
def as_json(options={})
json = {
- :id => id,
- :user_id => user_id,
- :project_id => project_id,
- :title => titl... | Use self.* for model fields
|
diff --git a/app/models/repository.rb b/app/models/repository.rb
index abc1234..def5678 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -13,4 +13,31 @@ length: { maximum: Constants::NAME_MAX_LENGTH }
validates :team, presence: true
validates :created_by, presence: true
+
+ def... | Implement 'copy' method on Repository object
|
diff --git a/mongoid-find_by.gemspec b/mongoid-find_by.gemspec
index abc1234..def5678 100644
--- a/mongoid-find_by.gemspec
+++ b/mongoid-find_by.gemspec
@@ -1,3 +1,6 @@+$:.unshift(File.expand_path('../lib', __FILE__))
+require "mongoid-find_by"
+
Gem::Specification.new do |spec|
spec.homepage = "https://github.com/... | Make the version a bit dynamic.
|
diff --git a/benchmark-ips/bm_js_symbols_vs_strings.rb b/benchmark-ips/bm_js_symbols_vs_strings.rb
index abc1234..def5678 100644
--- a/benchmark-ips/bm_js_symbols_vs_strings.rb
+++ b/benchmark-ips/bm_js_symbols_vs_strings.rb
@@ -0,0 +1,28 @@+Benchmark.ips do |x|
+ %x{
+ var o = {}
+ o[Symbol.for('foo')] = 123
+ ... | Add a benchmark about using JS Symbols vs Strings
|
diff --git a/nanoc-conref-fs.gemspec b/nanoc-conref-fs.gemspec
index abc1234..def5678 100644
--- a/nanoc-conref-fs.gemspec
+++ b/nanoc-conref-fs.gemspec
@@ -15,7 +15,7 @@ spec.test_files = spec.files.grep(%r{^(test)/})
spec.require_paths = ['lib']
- spec.add_runtime_dependency 'nanoc', '~> 4.3'
+ spec.add_r... | Revert "Relax version requirement of dependency on Nanoc"
|
diff --git a/lib/cc/cli/upgrade_config_generator.rb b/lib/cc/cli/upgrade_config_generator.rb
index abc1234..def5678 100644
--- a/lib/cc/cli/upgrade_config_generator.rb
+++ b/lib/cc/cli/upgrade_config_generator.rb
@@ -22,11 +22,11 @@ private
def engine_eligible?(engine)
- base_eligble = super
+ ... | Fix typo in lvar name
|
diff --git a/no-style-please.gemspec b/no-style-please.gemspec
index abc1234..def5678 100644
--- a/no-style-please.gemspec
+++ b/no-style-please.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "no-style-please"
- spec.version = "0.4.3"
+ spec.version = "0.4.4"
spec.au... | Update gem version to 0.4.4
|
diff --git a/app/controllers/admin.rb b/app/controllers/admin.rb
index abc1234..def5678 100644
--- a/app/controllers/admin.rb
+++ b/app/controllers/admin.rb
@@ -21,8 +21,10 @@ Merb.run_later do
log.info("File has been uploaded to the server. Now processing it into a bunch of csv files")
... | Update history to be run as part of upload script
|
diff --git a/lib/finite_machine/transition_event.rb b/lib/finite_machine/transition_event.rb
index abc1234..def5678 100644
--- a/lib/finite_machine/transition_event.rb
+++ b/lib/finite_machine/transition_event.rb
@@ -35,10 +35,11 @@ # @return [self]
#
# @api private
- def initialize(transition, *data)
... | Change to simple value object.
|
diff --git a/db/samples.rb b/db/samples.rb
index abc1234..def5678 100644
--- a/db/samples.rb
+++ b/db/samples.rb
@@ -1,8 +1,13 @@ require 'active_record/fixtures'
+require 'fileutils'
puts "adding seed data from fixtures..."
Dir.glob(File.join(Rails.root, "db", "fixtures", "*.csv")).each do |file|
puts "Adding... | Fix fixtures reference and rake db:nuke_pave
- s/Fixtures/ActiveRecord::Fixtures/g (necessary for > 4.0 Rails)
- Touches a 'db/fixtures/#{filename}.yml' because create_fixtures
doesn't seem to create file if not present.
|
diff --git a/test/lib/octobox/configurator_test.rb b/test/lib/octobox/configurator_test.rb
index abc1234..def5678 100644
--- a/test/lib/octobox/configurator_test.rb
+++ b/test/lib/octobox/configurator_test.rb
@@ -0,0 +1,18 @@+require 'test_helper'
+
+class ConfiguratorTest < ActiveSupport::TestCase
+
+ [
+ {env_val... | Add failing tests for blank SOURCE_REPO environment variable
|
diff --git a/recipes/mysql_user.rb b/recipes/mysql_user.rb
index abc1234..def5678 100644
--- a/recipes/mysql_user.rb
+++ b/recipes/mysql_user.rb
@@ -2,6 +2,14 @@ template node[:tungsten][:mysqlConfigFile] do
mode 00644
source "tungsten_my_cnf.erb"
+ owner "root"
+ group "root"
+ action :create
+end
+
+template... | Add root user credential file to user recipe
|
diff --git a/cats.gemspec b/cats.gemspec
index abc1234..def5678 100644
--- a/cats.gemspec
+++ b/cats.gemspec
@@ -8,8 +8,8 @@ spec.version = Cats::VERSION
spec.authors = ["Nicolas McCurdy"]
spec.email = ["thenickperson@gmail.com"]
- spec.description = %q{TODO: Write a gem description}
- s... | Add an initial description and summary
|
diff --git a/processors/parsers/postfix-received.rb b/processors/parsers/postfix-received.rb
index abc1234..def5678 100644
--- a/processors/parsers/postfix-received.rb
+++ b/processors/parsers/postfix-received.rb
@@ -0,0 +1,36 @@+module Extruder
+ module Parser
+ class PostfixReceivedProcessor
+ def process(ms... | Add a processor for Postfix received lines.
Signed-off-by: brian m. carlson <738bdd359be778fee9f0fc4e2934ad72f436ceda@crustytoothpaste.net>
|
diff --git a/app/services/lessons_token_creator.rb b/app/services/lessons_token_creator.rb
index abc1234..def5678 100644
--- a/app/services/lessons_token_creator.rb
+++ b/app/services/lessons_token_creator.rb
@@ -14,19 +14,31 @@
private
+ def payload
+ {
+ user_id: user_id,
+ role: ... | Tweak payload of lessons token
|
diff --git a/app/controllers/api/v1/customers_controller.rb b/app/controllers/api/v1/customers_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/v1/customers_controller.rb
+++ b/app/controllers/api/v1/customers_controller.rb
@@ -1,7 +1,32 @@ module Api
module V1
- class CustomersController < Appl... | Add API version for CustomerController
|
diff --git a/app/controllers/community/topics_controller.rb b/app/controllers/community/topics_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/community/topics_controller.rb
+++ b/app/controllers/community/topics_controller.rb
@@ -4,7 +4,7 @@
def show
@topic = Community::Topic.find_by_slu... | Fix accidental error instead of 404.
|
diff --git a/app/controllers/ecm/staff/people_controller.rb b/app/controllers/ecm/staff/people_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/ecm/staff/people_controller.rb
+++ b/app/controllers/ecm/staff/people_controller.rb
@@ -27,7 +27,7 @@ end
def load_resource
- resource_scope.fi... | Fix show action not finding records.
|
diff --git a/app/controllers/runs/application_controller.rb b/app/controllers/runs/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/runs/application_controller.rb
+++ b/app/controllers/runs/application_controller.rb
@@ -9,7 +9,11 @@
if params[:blank] == '1' # Build a fake, non-persist... | Fix bad order on route-only exports
|
diff --git a/test/mrb_memcached.rb b/test/mrb_memcached.rb
index abc1234..def5678 100644
--- a/test/mrb_memcached.rb
+++ b/test/mrb_memcached.rb
@@ -2,10 +2,26 @@ ## Memcached Test
##
-assert("Memcached#set,get") do
+assert("Memcached#set,get with string") do
m = Memcached.new "127.0.0.1", 11211
m.set "test", ... | Add test of symbol key
|
diff --git a/app/models/user_selected_topic.rb b/app/models/user_selected_topic.rb
index abc1234..def5678 100644
--- a/app/models/user_selected_topic.rb
+++ b/app/models/user_selected_topic.rb
@@ -2,4 +2,6 @@ belongs_to :user
belongs_to :topic
has_many :availabilities
+
+ validates :user, uniqueness: {scope: :... | Add validation for unique user/topic combo in UST
|
diff --git a/lib/active_admin_datetimepicker/base.rb b/lib/active_admin_datetimepicker/base.rb
index abc1234..def5678 100644
--- a/lib/active_admin_datetimepicker/base.rb
+++ b/lib/active_admin_datetimepicker/base.rb
@@ -1,11 +1,15 @@ module ActiveAdminDatetimepicker
module Base
+ mattr_accessor :default_datetime... | Move default_datetime_picker_options and format to mattr_accessor for easy override
|
diff --git a/lib/devise_cas_authenticatable/model.rb b/lib/devise_cas_authenticatable/model.rb
index abc1234..def5678 100644
--- a/lib/devise_cas_authenticatable/model.rb
+++ b/lib/devise_cas_authenticatable/model.rb
@@ -12,7 +12,13 @@ if ticket.is_valid?
conditions = {:username => ticket.respons... | Work even under conditions where find_for_authentication doesn't exist
|
diff --git a/lib/hexdump/numeric/base/hexadecimal.rb b/lib/hexdump/numeric/base/hexadecimal.rb
index abc1234..def5678 100644
--- a/lib/hexdump/numeric/base/hexadecimal.rb
+++ b/lib/hexdump/numeric/base/hexadecimal.rb
@@ -25,6 +25,14 @@ def initialize(type)
case type
when Type::Float
+ ... | Test whether jruby supports the "%a" format string.
|
diff --git a/lib/react/rails/controller_lifecycle.rb b/lib/react/rails/controller_lifecycle.rb
index abc1234..def5678 100644
--- a/lib/react/rails/controller_lifecycle.rb
+++ b/lib/react/rails/controller_lifecycle.rb
@@ -5,10 +5,10 @@
included do
# use both names to support Rails 3..5
- before_a... | Use a respond_to? strategy instead
|
diff --git a/lib/ruboty/brains/google_spreadsheet.rb b/lib/ruboty/brains/google_spreadsheet.rb
index abc1234..def5678 100644
--- a/lib/ruboty/brains/google_spreadsheet.rb
+++ b/lib/ruboty/brains/google_spreadsheet.rb
@@ -42,7 +42,8 @@
def reauthenticate
loop do
- sleep 1800
+ # access... | Fix the interval for reauthorization
|
diff --git a/features/step_definitions/search_steps.rb b/features/step_definitions/search_steps.rb
index abc1234..def5678 100644
--- a/features/step_definitions/search_steps.rb
+++ b/features/step_definitions/search_steps.rb
@@ -8,7 +8,7 @@ end
When(/^I drill into a specific search result$/) do
- click_link specifi... | Access Cucumber fixture data with .fetch
Missing attributes should raise an exception rather than return nil
|
diff --git a/cookbooks/nelhage/recipes/money.rb b/cookbooks/nelhage/recipes/money.rb
index abc1234..def5678 100644
--- a/cookbooks/nelhage/recipes/money.rb
+++ b/cookbooks/nelhage/recipes/money.rb
@@ -1,10 +1,4 @@-package "nodejs" do
- action [ :install, :upgrade ]
-end
-
-package "nodejs-legacy" do
- action [ :insta... | Install node using the nodejs cookbook.
|
diff --git a/roles/db-slave.rb b/roles/db-slave.rb
index abc1234..def5678 100644
--- a/roles/db-slave.rb
+++ b/roles/db-slave.rb
@@ -10,12 +10,12 @@ :hot_standby_feedback => "on",
:standby_mode => "on",
:primary_conninfo => {
- :host => "katla",
+ :host => "katla.ic.openstree... | Use fully qualified name for katla
|
diff --git a/assets/samples/sample_activity.rb b/assets/samples/sample_activity.rb
index abc1234..def5678 100644
--- a/assets/samples/sample_activity.rb
+++ b/assets/samples/sample_activity.rb
@@ -1,21 +1,23 @@-require 'ruboto'
+require 'ruboto/activity'
+require 'ruboto/widget'
+require 'ruboto/util/toast'
ruboto_i... | Update sample to match new ruboto split
|
diff --git a/spec/views/games/new.html.erb_spec.rb b/spec/views/games/new.html.erb_spec.rb
index abc1234..def5678 100644
--- a/spec/views/games/new.html.erb_spec.rb
+++ b/spec/views/games/new.html.erb_spec.rb
@@ -2,20 +2,19 @@
RSpec.describe "games/new", type: :view do
before(:each) do
- assign(:game, Game.new(... | Fix up new game view spec to match generated
|
diff --git a/Casks/opera-developer.rb b/Casks/opera-developer.rb
index abc1234..def5678 100644
--- a/Casks/opera-developer.rb
+++ b/Casks/opera-developer.rb
@@ -1,6 +1,6 @@ cask :v1 => 'opera-developer' do
- version '30.0.1812.0'
- sha256 'ec032b5545358e5358f96cdf16f5eb813f726727d9fcb878520f2669473f2bc7'
+ version '... | Upgrade Opera Developer.app to v30.0.1820.0
|
diff --git a/Casks/playlist-assist.rb b/Casks/playlist-assist.rb
index abc1234..def5678 100644
--- a/Casks/playlist-assist.rb
+++ b/Casks/playlist-assist.rb
@@ -1,11 +1,11 @@ cask :v1 => 'playlist-assist' do
- version '1.2.1'
- sha256 '70ef4c3cf78d39f8b1750ca44b6db42c3e72e24968ebd203fc146b2c189d5346'
+ version '1.2.... | Update Playlist Assist to 1.2.2
|
diff --git a/core/app/controllers/topics_controller.rb b/core/app/controllers/topics_controller.rb
index abc1234..def5678 100644
--- a/core/app/controllers/topics_controller.rb
+++ b/core/app/controllers/topics_controller.rb
@@ -15,7 +15,7 @@ end
def facts
- @facts = interactor :'topics/facts', topic.id.to_s,... | Use slug_title in topics/facts query
|
diff --git a/lib/classy/aliasable.rb b/lib/classy/aliasable.rb
index abc1234..def5678 100644
--- a/lib/classy/aliasable.rb
+++ b/lib/classy/aliasable.rb
@@ -1,11 +1,10 @@ module Aliasable
def self.extended (klass) #nodoc;
klass.class_exec do
- class_variable_set(:@@aliases, {})
+ class_variable_set(:@... | Use @@classy_aliases instead of just @@aliases
|
diff --git a/lib/gotgastro/models.rb b/lib/gotgastro/models.rb
index abc1234..def5678 100644
--- a/lib/gotgastro/models.rb
+++ b/lib/gotgastro/models.rb
@@ -5,6 +5,7 @@ Sequel::Model.plugin :dataset_associations
Sequel::Model.plugin :timestamps, :update_on_create => true
Sequel::Model.plugin :validation_helpers
+Sequ... | Add table select plugin, so columns in the other tables do not appear in the result sets of JOINs
|
diff --git a/lib/pacproxy/runtime.rb b/lib/pacproxy/runtime.rb
index abc1234..def5678 100644
--- a/lib/pacproxy/runtime.rb
+++ b/lib/pacproxy/runtime.rb
@@ -26,7 +26,7 @@ private
def autodetect
- name = ENV['PROXYPAC_RUNTIME']
+ name = ENV['PACPROXY_RUNTIME']
return Runtimes::Node.runtime if... | Fix miss spelling for PACPROXY_RUNTIME
|
diff --git a/lib/spbtv_code_style.rb b/lib/spbtv_code_style.rb
index abc1234..def5678 100644
--- a/lib/spbtv_code_style.rb
+++ b/lib/spbtv_code_style.rb
@@ -1,4 +1,4 @@ # Just namespace for version number
module SpbtvCodeStyle
- VERSION = '1.3.2'.freeze
+ VERSION = '1.3.1'.freeze
end
| Revert "Bump version to 1.3.2"
This reverts commit 327bdc2ccd80f1444b601d1acb6916229d60bced.
|
diff --git a/test/integration/concerns/messaging.rb b/test/integration/concerns/messaging.rb
index abc1234..def5678 100644
--- a/test/integration/concerns/messaging.rb
+++ b/test/integration/concerns/messaging.rb
@@ -7,11 +7,9 @@ assert_content 'Mensaje enviado'
end
- def send_message(params)
- subject = p... | Use keyword arguments for readability
We are using modern rubies, use modern features.
|
diff --git a/app/helpers/application_helper/toolbar/basic.rb b/app/helpers/application_helper/toolbar/basic.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper/toolbar/basic.rb
+++ b/app/helpers/application_helper/toolbar/basic.rb
@@ -12,13 +12,19 @@ end
def extension_classes_filtered(record)
-... | Extend toolbar pluggability to all plugins.
Newly any plugin can add content to to toolbars. Not only providers.
Plugged-in toolbars should implement class method:
def self.record_valid?(record)
...
end
that decides if the toolbar is to be displayed for a particular record.
Example display only for RHEV VMs:
... |
diff --git a/Casks/dungeon-crawl-stone-soup-tiles.rb b/Casks/dungeon-crawl-stone-soup-tiles.rb
index abc1234..def5678 100644
--- a/Casks/dungeon-crawl-stone-soup-tiles.rb
+++ b/Casks/dungeon-crawl-stone-soup-tiles.rb
@@ -1,8 +1,8 @@ cask 'dungeon-crawl-stone-soup-tiles' do
- version '0.16.2'
- sha256 '610b6c876c4704a... | Update DCSS Tiles to 0.17.1-1
|
diff --git a/RKParallaxEffect.podspec b/RKParallaxEffect.podspec
index abc1234..def5678 100644
--- a/RKParallaxEffect.podspec
+++ b/RKParallaxEffect.podspec
@@ -1,22 +1,14 @@-#
-# Be sure to run `pod lib lint RKParallaxEffect.podspec' to ensure this is a
-# valid spec and remove all comments before submitting the spec.... | Add iOS deployment target 8.0
|
diff --git a/spec/github/error/validations_spec.rb b/spec/github/error/validations_spec.rb
index abc1234..def5678 100644
--- a/spec/github/error/validations_spec.rb
+++ b/spec/github/error/validations_spec.rb
@@ -0,0 +1,21 @@+# encoding: utf-8
+
+require 'spec_helper'
+
+describe Github::Error::Validations do
+ descri... | Add tests for the validation error type.
|
diff --git a/spec/features/sessions/destroy_spec.rb b/spec/features/sessions/destroy_spec.rb
index abc1234..def5678 100644
--- a/spec/features/sessions/destroy_spec.rb
+++ b/spec/features/sessions/destroy_spec.rb
@@ -1,11 +1,10 @@ require "spec_helper"
RSpec.feature "Logging out", :type => :feature do
- scenario... | Use js:true and click logout button directly
|
diff --git a/app/controllers/spree/admin/look_book_images_controller.rb b/app/controllers/spree/admin/look_book_images_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/spree/admin/look_book_images_controller.rb
+++ b/app/controllers/spree/admin/look_book_images_controller.rb
@@ -0,0 +1,87 @@+# frozen_s... | Add admin look book images controller
|
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin_controller.rb
+++ b/app/controllers/admin_controller.rb
@@ -8,7 +8,7 @@ def dashboard
@recent_organizations = Organization.where('created_at > ?', 1.week.ago)
@rec... | Sort the recent users on the admin dashboard by organization.
|
diff --git a/app/controllers/items_controller.rb b/app/controllers/items_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/items_controller.rb
+++ b/app/controllers/items_controller.rb
@@ -22,17 +22,17 @@
def create
item.save
- redirect_to(campaign_items_path(campaign))
+ redirect_to camp... | Fix items controller action redirects
|
diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/pages_controller.rb
+++ b/app/controllers/pages_controller.rb
@@ -8,7 +8,7 @@ else
logger.error("[Forest][Error] 404 page not found. Looked for path \"#{request.fullp... | Add controller name to 404 page to match actual errors controller classes
|
diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/posts_controller.rb
+++ b/app/controllers/posts_controller.rb
@@ -13,9 +13,9 @@ # TODO (Shimmy): Watch out for duplicates
# TODO (Shimmy): Flash success notification on send
... | Use create instead of build in create method
|
diff --git a/spec/support/missing_factory_helper.rb b/spec/support/missing_factory_helper.rb
index abc1234..def5678 100644
--- a/spec/support/missing_factory_helper.rb
+++ b/spec/support/missing_factory_helper.rb
@@ -3,17 +3,21 @@ module Support
module MissingFactoryHelper
def build(factory, *args, &block... | Allow usage of string factories
|
diff --git a/app/serializers/paper_serializer.rb b/app/serializers/paper_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/paper_serializer.rb
+++ b/app/serializers/paper_serializer.rb
@@ -5,7 +5,7 @@ has_many relation, embed: :ids, include: true
end
- %i(assignees editors reviewers).each do |... | Add collaborators to paper serializer |
diff --git a/config/development_application.rb b/config/development_application.rb
index abc1234..def5678 100644
--- a/config/development_application.rb
+++ b/config/development_application.rb
@@ -2,7 +2,4 @@ set :development, true
# Rack middleware
-use Rack::CommonLogger
-use Rack::Lint
use Rack::Reloader, 0
-use... | Remove default Rack middleware from configs
|
diff --git a/lib/asynchronic/queue_engine/in_memory.rb b/lib/asynchronic/queue_engine/in_memory.rb
index abc1234..def5678 100644
--- a/lib/asynchronic/queue_engine/in_memory.rb
+++ b/lib/asynchronic/queue_engine/in_memory.rb
@@ -22,14 +22,23 @@ end
- class Queue < ::Queue
+ class Queue
- de... | Refactor in memory queue for error in JRuby
|
diff --git a/lib/autoparts/packages/graphics_magick.rb b/lib/autoparts/packages/graphics_magick.rb
index abc1234..def5678 100644
--- a/lib/autoparts/packages/graphics_magick.rb
+++ b/lib/autoparts/packages/graphics_magick.rb
@@ -0,0 +1,34 @@+module Autoparts
+ module Packages
+ class GraphicsMagick < Package
+ ... | Add GraphicsMagick as a new package
GraphicsMagick is an image processing library, similar to ImageMagick
See http://www.graphicsmagick.org/ for more details
|
diff --git a/lib/buildr_plus/roles/model_qa_support.rb b/lib/buildr_plus/roles/model_qa_support.rb
index abc1234..def5678 100644
--- a/lib/buildr_plus/roles/model_qa_support.rb
+++ b/lib/buildr_plus/roles/model_qa_support.rb
@@ -31,4 +31,8 @@
package(:jar)
package(:sources)
+
+ check package(:jar), 'should cont... | Add check to ensure generated content is present
|
diff --git a/lib/podio/models/application_field.rb b/lib/podio/models/application_field.rb
index abc1234..def5678 100644
--- a/lib/podio/models/application_field.rb
+++ b/lib/podio/models/application_field.rb
@@ -6,7 +6,7 @@
alias_method :id, :field_id
delegate_to_hash :config, :label, :description, :delta, :set... | Add valid_types to application field
|
diff --git a/lib/spree_brewbit_dashboard/engine.rb b/lib/spree_brewbit_dashboard/engine.rb
index abc1234..def5678 100644
--- a/lib/spree_brewbit_dashboard/engine.rb
+++ b/lib/spree_brewbit_dashboard/engine.rb
@@ -17,6 +17,6 @@
config.to_prepare &method(:activate).to_proc
- config.app_middleware.insert_be... | Clean up layout and homepage styling.
|
diff --git a/cookbooks/uiuc_vmd/recipes/mac.rb b/cookbooks/uiuc_vmd/recipes/mac.rb
index abc1234..def5678 100644
--- a/cookbooks/uiuc_vmd/recipes/mac.rb
+++ b/cookbooks/uiuc_vmd/recipes/mac.rb
@@ -16,4 +16,19 @@ type "app"
package_id "edu.uiuc.ks.vmd"
version "1.9.1"
-end+end
+
+# Create dock folder, if it does... | Add dock shortcut for VMD
|
diff --git a/lib/compound_commands/compound_command.rb b/lib/compound_commands/compound_command.rb
index abc1234..def5678 100644
--- a/lib/compound_commands/compound_command.rb
+++ b/lib/compound_commands/compound_command.rb
@@ -18,7 +18,7 @@ protected
def execute
self.class.commands.inject(input) do |d... | Move command instantication to build_command method
|
diff --git a/spec/factories.rb b/spec/factories.rb
index abc1234..def5678 100644
--- a/spec/factories.rb
+++ b/spec/factories.rb
@@ -56,6 +56,7 @@ factory :user do
email
password "password"
+ admin false
factory :admin do
admin true
| Add admin default false to user factory since database default will load as false
|
diff --git a/spec/i18n_spec.rb b/spec/i18n_spec.rb
index abc1234..def5678 100644
--- a/spec/i18n_spec.rb
+++ b/spec/i18n_spec.rb
@@ -7,7 +7,7 @@
it 'does not have missing keys' do
expect(missing_keys).to be_empty,
- "Missing #{missing_keys.leaves.count} i18n keys, run `i18n-tasks"\
+... | Fix typo in i18n spec
|
diff --git a/examples/my_projects.rb b/examples/my_projects.rb
index abc1234..def5678 100644
--- a/examples/my_projects.rb
+++ b/examples/my_projects.rb
@@ -2,17 +2,17 @@
p "configuring.."
Kickscraper.configure do |config|
- config.email = 'your-kickstarter-email-address@domain.com'
- config.password = 'This is not ... | Change up the example's format a tad
|
diff --git a/spec/site_spec.rb b/spec/site_spec.rb
index abc1234..def5678 100644
--- a/spec/site_spec.rb
+++ b/spec/site_spec.rb
@@ -7,6 +7,7 @@
describe '#generate' do
before { subject.generate }
+ after { FileUtils.remove_dir(subject.paths[:destination]) }
it 'finds all the templates' do
exp... | Clean up the output directory
|
diff --git a/spec/assumption_spec.rb b/spec/assumption_spec.rb
index abc1234..def5678 100644
--- a/spec/assumption_spec.rb
+++ b/spec/assumption_spec.rb
@@ -2,28 +2,28 @@ include Stats::Assumption
module Stats
- describe "#assume" do
- before do
- self.should_receive(:caller).twice.and_return(["`my_statisti... | Disable assumption specs on this branch - working on features/assumption for now.
|
diff --git a/spec/simple_app_spec.rb b/spec/simple_app_spec.rb
index abc1234..def5678 100644
--- a/spec/simple_app_spec.rb
+++ b/spec/simple_app_spec.rb
@@ -10,7 +10,8 @@ describe 'simple failing test' do
it 'fails' do
# Only the must_equal format gives the file and line where the failure occurred
- say_bye.... | Create new branch with specs passing and features failing
|
diff --git a/Library/Homebrew/test/test_hardware.rb b/Library/Homebrew/test/test_hardware.rb
index abc1234..def5678 100644
--- a/Library/Homebrew/test/test_hardware.rb
+++ b/Library/Homebrew/test/test_hardware.rb
@@ -10,7 +10,8 @@
def test_hardware_intel_family
if Hardware.cpu_type == :intel
- assert [:co... | Fix test failure on ivybridge cpus.
Closes Homebrew/homebrew#18371.
Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>
|
diff --git a/core/db/migrate/20140410141842_add_many_missing_indexes.rb b/core/db/migrate/20140410141842_add_many_missing_indexes.rb
index abc1234..def5678 100644
--- a/core/db/migrate/20140410141842_add_many_missing_indexes.rb
+++ b/core/db/migrate/20140410141842_add_many_missing_indexes.rb
@@ -13,6 +13,5 @@ add_i... | Remove spree_stores from index list.
|
diff --git a/Casks/mail-designer.rb b/Casks/mail-designer.rb
index abc1234..def5678 100644
--- a/Casks/mail-designer.rb
+++ b/Casks/mail-designer.rb
@@ -0,0 +1,11 @@+cask :v1 => 'mail-designer' do
+ version '2.3.1'
+ sha256 'ea4052960959f7a9fdc2033441eaba2267b0d0df01a7c70da57f747ee5438afd'
+
+ url "http://download.e... | Add Mail Designer.app version 2.3.1
|
diff --git a/spec/integration/commands/copy_spec.rb b/spec/integration/commands/copy_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/commands/copy_spec.rb
+++ b/spec/integration/commands/copy_spec.rb
@@ -0,0 +1,51 @@+require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
+
+describe "Copy ... | Test coverage for copy command file => bucket
|
diff --git a/app/controllers/superadmin/organizations_controller.rb b/app/controllers/superadmin/organizations_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/superadmin/organizations_controller.rb
+++ b/app/controllers/superadmin/organizations_controller.rb
@@ -2,7 +2,7 @@ class OrganizationsContro... | Remove filter pointing to old controller actions
|
diff --git a/new_relic-crepe.gemspec b/new_relic-crepe.gemspec
index abc1234..def5678 100644
--- a/new_relic-crepe.gemspec
+++ b/new_relic-crepe.gemspec
@@ -18,7 +18,7 @@ s.test_files = Dir['spec/**/*.rb']
# We can only support the same Ruby versions as Crepe itself, after all.
- s.required_ruby_version = '>... | Bump Ruby requirement to 2.1.0
Signed-off-by: David Celis <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@davidcel.is>
|
diff --git a/test/test_helpers.rb b/test/test_helpers.rb
index abc1234..def5678 100644
--- a/test/test_helpers.rb
+++ b/test/test_helpers.rb
@@ -3,34 +3,28 @@ class TestHelpers < Test::Unit::TestCase
context "The Rutty::Helpers module" do
setup do
- class Testing
- include Rutty::Helpers
- end
... | Rewrite much of the Rutty::Helpers tests to reflect changes
|
diff --git a/core_gems.rb b/core_gems.rb
index abc1234..def5678 100644
--- a/core_gems.rb
+++ b/core_gems.rb
@@ -8,6 +8,7 @@ download "cool.io", "1.6.0"
download 'serverengine', '2.2.1'
download "oj", "3.8.1"
+ download "async-http", "0.50.2"
end
download "http_parser.rb", "0.6.0"
download "yajl-ruby", "1.4... | Add async-http to core gems
|
diff --git a/sprout-osx-base/attributes/versions.rb b/sprout-osx-base/attributes/versions.rb
index abc1234..def5678 100644
--- a/sprout-osx-base/attributes/versions.rb
+++ b/sprout-osx-base/attributes/versions.rb
@@ -1 +1 @@-node.default['versions']['bash_it'] = '5cb0ecc1c813bc5619e0f708b8015a4596a37d6c'
+node.default[... | Update bash-it sha to latest for chruby support
* existing version is from Aug 2012
* changes: https://github.com/revans/bash-it/compare/5cb0ecc...8bf641b
Signed-off-by: Brian Cunnie <08b1994189fa435ac5418242919427d718cd7695@pivotallabs.com>
|
diff --git a/lib/openstack/openstack_handle/identity_delegate.rb b/lib/openstack/openstack_handle/identity_delegate.rb
index abc1234..def5678 100644
--- a/lib/openstack/openstack_handle/identity_delegate.rb
+++ b/lib/openstack/openstack_handle/identity_delegate.rb
@@ -15,7 +15,7 @@ def visible_tenants
respon... | Fix deprecation warning regarding Fog::Connection
|
diff --git a/features/support/env.rb b/features/support/env.rb
index abc1234..def5678 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -15,7 +15,31 @@ install_fixture_gems
end
+class RunnerEnvironment < Hash
+ # Override Hash#clear with a version that keeps the API key and endpoint
+ # These... | Add hack to workaround a maze runner bug
This is temporary to get CI passing, not something we want to keep!
|
diff --git a/features/support/env.rb b/features/support/env.rb
index abc1234..def5678 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -1,5 +1,5 @@ require 'aruba/cucumber'
Before do
- @aruba_timeout_seconds = 30
+ @aruba_timeout_seconds = 300
end
| Increase aruba timeout for Travis rbx-2.0.
|
diff --git a/TodUni/app/controllers/projects_controller.rb b/TodUni/app/controllers/projects_controller.rb
index abc1234..def5678 100644
--- a/TodUni/app/controllers/projects_controller.rb
+++ b/TodUni/app/controllers/projects_controller.rb
@@ -23,7 +23,8 @@
def create
@user = current_user
- @project = @user... | Fix user creates a project
|
diff --git a/ZVideoRecorder.podspec b/ZVideoRecorder.podspec
index abc1234..def5678 100644
--- a/ZVideoRecorder.podspec
+++ b/ZVideoRecorder.podspec
@@ -30,7 +30,7 @@ s.dependency "PBJVision", '0.2.1'
s.dependency "PBJVideoPlayer"
s.dependency "AFNetworking", '1.3.4'
- s.dependency "ZProgressView", '0.2.1'
+ ... | Remove version requirement for ZProgressView dependency
Signed-off-by: Jai Govindani <5e20fe37a69ce9fbd5fcf1954669306b1d3f834f@gmail.com>
|
diff --git a/db/data_migration/20130320151156_replace_target_url_with_new_for_undeleted_edition.rb b/db/data_migration/20130320151156_replace_target_url_with_new_for_undeleted_edition.rb
index abc1234..def5678 100644
--- a/db/data_migration/20130320151156_replace_target_url_with_new_for_undeleted_edition.rb
+++ b/db/da... | Update alternative_url for unpublished edition
https://www.pivotaltracker.com/story/show/46443439
|
diff --git a/spec/support/inspectable_mock_server.rb b/spec/support/inspectable_mock_server.rb
index abc1234..def5678 100644
--- a/spec/support/inspectable_mock_server.rb
+++ b/spec/support/inspectable_mock_server.rb
@@ -47,14 +47,18 @@
def handle_connection(client_socket)
if hold_requests
- condition = C... | Make InspectableMockServer register request before holding it
|
diff --git a/lib/aws/plugins/s3_location_constraint.rb b/lib/aws/plugins/s3_location_constraint.rb
index abc1234..def5678 100644
--- a/lib/aws/plugins/s3_location_constraint.rb
+++ b/lib/aws/plugins/s3_location_constraint.rb
@@ -5,8 +5,8 @@ class Handler < Seahorse::Client::Handler
def call(context)
- ... | Use Struct Syntax for Context Config
In the s3_location_constraint plugin, use struct syntax over hash syntax
for access to the context.config object.
|
diff --git a/juvet.gemspec b/juvet.gemspec
index abc1234..def5678 100644
--- a/juvet.gemspec
+++ b/juvet.gemspec
@@ -18,7 +18,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.required_ruby_version = ">= 2.2"
+ spec.required_ruby_version = ">= 2.1"
s... | Reduce the ruby verion requirement
|
diff --git a/core/db/migrate/20100209144531_polymorphic_payments.rb b/core/db/migrate/20100209144531_polymorphic_payments.rb
index abc1234..def5678 100644
--- a/core/db/migrate/20100209144531_polymorphic_payments.rb
+++ b/core/db/migrate/20100209144531_polymorphic_payments.rb
@@ -10,8 +10,11 @@ end
execute "UP... | Correct namespace in polymorphic payments migration
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.