diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/db/migrate/20140815125817_create_notifications.rb b/db/migrate/20140815125817_create_notifications.rb
index abc1234..def5678 100644
--- a/db/migrate/20140815125817_create_notifications.rb
+++ b/db/migrate/20140815125817_create_notifications.rb
@@ -13,12 +13,12 @@ Reply.all.each do |reply|
addres... | Fix migration of notified users
|
diff --git a/pakyow-realtime/lib/pakyow-realtime/hooks.rb b/pakyow-realtime/lib/pakyow-realtime/hooks.rb
index abc1234..def5678 100644
--- a/pakyow-realtime/lib/pakyow-realtime/hooks.rb
+++ b/pakyow-realtime/lib/pakyow-realtime/hooks.rb
@@ -23,7 +23,7 @@ # mixin the socket connection id into the body tag
# this id... | Fix realtime content type check
|
diff --git a/app/controllers/concerns/social_helpers_handler.rb b/app/controllers/concerns/social_helpers_handler.rb
index abc1234..def5678 100644
--- a/app/controllers/concerns/social_helpers_handler.rb
+++ b/app/controllers/concerns/social_helpers_handler.rb
@@ -9,7 +9,7 @@ helper_method :fb_admins, :render_fac... | Remove facebook admins from SocialHelpersHandler
Maybe we have better solution for this in the future. But, for sure, we
don't want any person managing every page on Neighborly's project and
forks.
|
diff --git a/app/controllers/contentr/application_controller.rb b/app/controllers/contentr/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/contentr/application_controller.rb
+++ b/app/controllers/contentr/application_controller.rb
@@ -1,7 +1,7 @@ # coding: utf-8
module Contentr
- class... | Revert "Extend ActionController::Base instead of the ::ApplicationController"
This reverts commit 974d9bfabb9ae0d446d158a122ee70f336c6d222.
|
diff --git a/scripts/generate_toc.rb b/scripts/generate_toc.rb
index abc1234..def5678 100644
--- a/scripts/generate_toc.rb
+++ b/scripts/generate_toc.rb
@@ -9,7 +9,7 @@ next if !line.start_with?("#") || forbidden_words.any? { |w| line =~ /#{w}/ }
title = line.gsub("#", "").strip
- href = title.gsub(" ", "... | Improve toc generator to remove " in the anchors
[ci skip]
|
diff --git a/lib/active_merchant/billing/integrations/gp_webpay.rb b/lib/active_merchant/billing/integrations/gp_webpay.rb
index abc1234..def5678 100644
--- a/lib/active_merchant/billing/integrations/gp_webpay.rb
+++ b/lib/active_merchant/billing/integrations/gp_webpay.rb
@@ -38,6 +38,14 @@ Return.new(query_s... | Add GP Webpay direct link for payment. |
diff --git a/lib/covalence/notifications/covalence_notification.rb b/lib/covalence/notifications/covalence_notification.rb
index abc1234..def5678 100644
--- a/lib/covalence/notifications/covalence_notification.rb
+++ b/lib/covalence/notifications/covalence_notification.rb
@@ -17,7 +17,7 @@ type = args.delete(:... | Check for async observer on compose
|
diff --git a/lib/generators/domp/templates/model_authentication.rb b/lib/generators/domp/templates/model_authentication.rb
index abc1234..def5678 100644
--- a/lib/generators/domp/templates/model_authentication.rb
+++ b/lib/generators/domp/templates/model_authentication.rb
@@ -6,7 +6,7 @@ serialize :params
<% if Ra... | Fix model authentication for Rails < 4
|
diff --git a/lib/metacrunch/ubpb/transformations/mab2snr/status.rb b/lib/metacrunch/ubpb/transformations/mab2snr/status.rb
index abc1234..def5678 100644
--- a/lib/metacrunch/ubpb/transformations/mab2snr/status.rb
+++ b/lib/metacrunch/ubpb/transformations/mab2snr/status.rb
@@ -30,7 +30,7 @@ status = DELETE_S... | Check for all :blank cases.
|
diff --git a/lib/link_shrink/shrinkers/google.rb b/lib/link_shrink/shrinkers/google.rb
index abc1234..def5678 100644
--- a/lib/link_shrink/shrinkers/google.rb
+++ b/lib/link_shrink/shrinkers/google.rb
@@ -5,14 +5,20 @@ # @author Jonah Ruiz <jonah@pixelhipsters.com>
# Implements Google's URL Shortener API
... | Add documentation to Google class
|
diff --git a/lib/rspec/core/backtrace_cleaner.rb b/lib/rspec/core/backtrace_cleaner.rb
index abc1234..def5678 100644
--- a/lib/rspec/core/backtrace_cleaner.rb
+++ b/lib/rspec/core/backtrace_cleaner.rb
@@ -11,7 +11,7 @@ end
def include?(line)
- matches_an_include_pattern? line or not matches_a_excl... | Use "an_exclude" instead of "a_exclude". Grammar is important.
Signed-off-by: Sam Phippen <e5a09176608998a68778e11d5021c871e8fae93c@googlemail.com>
|
diff --git a/lib/xcode/builder/scheme_builder.rb b/lib/xcode/builder/scheme_builder.rb
index abc1234..def5678 100644
--- a/lib/xcode/builder/scheme_builder.rb
+++ b/lib/xcode/builder/scheme_builder.rb
@@ -29,12 +29,11 @@ cmd
end
- # def prepare_test_command sdk=@sdk
- # cmd = super sdk
- ... | Use test build action for schemes
|
diff --git a/lib/google_spreadsheets/enhanced/collection.rb b/lib/google_spreadsheets/enhanced/collection.rb
index abc1234..def5678 100644
--- a/lib/google_spreadsheets/enhanced/collection.rb
+++ b/lib/google_spreadsheets/enhanced/collection.rb
@@ -3,22 +3,30 @@ module GoogleSpreadsheets
module Enhanced
class C... | Fix finder methods of Collection
|
diff --git a/lib/identity/importer/tasks/civicrm/members.rb b/lib/identity/importer/tasks/civicrm/members.rb
index abc1234..def5678 100644
--- a/lib/identity/importer/tasks/civicrm/members.rb
+++ b/lib/identity/importer/tasks/civicrm/members.rb
@@ -8,7 +8,7 @@
def self.sql(sync_since=nil)
if sy... | Fix no quote in connecion :<
|
diff --git a/sparkpost_rails.gemspec b/sparkpost_rails.gemspec
index abc1234..def5678 100644
--- a/sparkpost_rails.gemspec
+++ b/sparkpost_rails.gemspec
@@ -6,11 +6,14 @@ s.description = "Delivery Method for sending emails via Sparkpost REST API in Rails"
s.authors = ["Kevin Kimball"]
s.email = 'kwkim... | Add HTTParty dependency, fix homepage URL
|
diff --git a/lib/email_config_info.rb b/lib/email_config_info.rb
index abc1234..def5678 100644
--- a/lib/email_config_info.rb
+++ b/lib/email_config_info.rb
@@ -15,7 +15,8 @@
def smtp_config
return {} unless File.exist?(email_config_path)
- YAML.load_file(email_config_path).fetch(Rails.env.to_s, {}).fetch('... | Fix bug loading nil email config
|
diff --git a/lib/jukeberx/searcher.rb b/lib/jukeberx/searcher.rb
index abc1234..def5678 100644
--- a/lib/jukeberx/searcher.rb
+++ b/lib/jukeberx/searcher.rb
@@ -16,11 +16,11 @@ end
def match_albums(name)
- @songs.select { |song| song.albums =~ /#{name}/i }
+ @songs.select { |song| song.album =~ /#... | Fix a pluralization bug. Thanks Randy!
|
diff --git a/Casks/dbeaver-enterprise.rb b/Casks/dbeaver-enterprise.rb
index abc1234..def5678 100644
--- a/Casks/dbeaver-enterprise.rb
+++ b/Casks/dbeaver-enterprise.rb
@@ -1,11 +1,11 @@ cask :v1 => 'dbeaver-enterprise' do
- version '3.1.5'
+ version '3.2.0'
if Hardware::CPU.is_32_bit?
- sha256 '5e7ebc0b2f2a3... | Update DBeaver enterprise to v3.2.0
|
diff --git a/Casks/lastpass-universal.rb b/Casks/lastpass-universal.rb
index abc1234..def5678 100644
--- a/Casks/lastpass-universal.rb
+++ b/Casks/lastpass-universal.rb
@@ -2,5 +2,6 @@ url 'https://lastpass.com/lpmacosx.dmg'
homepage 'https://lastpass.com/'
version 'latest'
+ sha1 'no_checksum'
install 'lpm... | Set sha1 to 'no_checksum' for Lastpass Universal cask
|
diff --git a/lib/rake_compiler_dock/predefined_user_group.rb b/lib/rake_compiler_dock/predefined_user_group.rb
index abc1234..def5678 100644
--- a/lib/rake_compiler_dock/predefined_user_group.rb
+++ b/lib/rake_compiler_dock/predefined_user_group.rb
@@ -1,5 +1,5 @@ # DO NOT EDIT - This file is generated per 'rake ... | Update user+group lists for new base image (ubuntu-16.10) per 'rake update_lists'
|
diff --git a/config/deploy/staging.rb b/config/deploy/staging.rb
index abc1234..def5678 100644
--- a/config/deploy/staging.rb
+++ b/config/deploy/staging.rb
@@ -1,7 +1,10 @@ set :application, "lincomp"
-set :repository, "http://code.zhdk.ch/svn-auth/lincomp/trunk"
-set :scm, :subversion
-# Or: `accurev`, `bzr`, `cvs`,... | Deploy recipe changed to git.
|
diff --git a/ruby/triangle/triangle.rb b/ruby/triangle/triangle.rb
index abc1234..def5678 100644
--- a/ruby/triangle/triangle.rb
+++ b/ruby/triangle/triangle.rb
@@ -1,37 +1,39 @@ class Triangle
- attr_reader :first_side, :second_side, :third_side, :sorted_lengths, :multiplied_lengths
+ attr_reader :sides
def ini... | Remove if statements rename scalene_ratio and only initialize what is needed
|
diff --git a/lib/active_admin/resource_controller/streaming.rb b/lib/active_admin/resource_controller/streaming.rb
index abc1234..def5678 100644
--- a/lib/active_admin/resource_controller/streaming.rb
+++ b/lib/active_admin/resource_controller/streaming.rb
@@ -31,6 +31,7 @@ options = default.merge active_admi... | Disable downstream response buffering of stream
|
diff --git a/lib/active_admin/view_helpers/auto_link_helper.rb b/lib/active_admin/view_helpers/auto_link_helper.rb
index abc1234..def5678 100644
--- a/lib/active_admin/view_helpers/auto_link_helper.rb
+++ b/lib/active_admin/view_helpers/auto_link_helper.rb
@@ -15,7 +15,7 @@ content = link_content || display_nam... | Fix auto_link helper after method signature change
|
diff --git a/lib/datapathy-ssbe-adapter/models/core/ui_link.rb b/lib/datapathy-ssbe-adapter/models/core/ui_link.rb
index abc1234..def5678 100644
--- a/lib/datapathy-ssbe-adapter/models/core/ui_link.rb
+++ b/lib/datapathy-ssbe-adapter/models/core/ui_link.rb
@@ -13,7 +13,7 @@ def const_missing(name)
if link = ... | Make uilink shortcut work for categories
|
diff --git a/actionview/lib/action_view/template/types.rb b/actionview/lib/action_view/template/types.rb
index abc1234..def5678 100644
--- a/actionview/lib/action_view/template/types.rb
+++ b/actionview/lib/action_view/template/types.rb
@@ -4,7 +4,7 @@
module ActionView
class Template #:nodoc:
- class Types
+ ... | Convert Template::Types.type_klass to instance ivar
|
diff --git a/app/controllers/monologue/tags_controller.rb b/app/controllers/monologue/tags_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/monologue/tags_controller.rb
+++ b/app/controllers/monologue/tags_controller.rb
@@ -11,6 +11,6 @@
private
def retrieve_tag
- Monologue::Tag.where("lower(... | Add missed mb_chars.to_s to TagController (1.9.3 compatibility)
|
diff --git a/gossiperl_client.gemspec b/gossiperl_client.gemspec
index abc1234..def5678 100644
--- a/gossiperl_client.gemspec
+++ b/gossiperl_client.gemspec
@@ -10,10 +10,9 @@ s.email = ["radek@gruchalski.com"]
s.summary = "Gossiperl Ruby client"
s.description = s.summary
- s.extra_rdoc_files = [ "RE... | Add shindo dependencies, tidy up the gemspec file.
|
diff --git a/lib/raven/railtie.rb b/lib/raven/railtie.rb
index abc1234..def5678 100644
--- a/lib/raven/railtie.rb
+++ b/lib/raven/railtie.rb
@@ -4,7 +4,7 @@ module Raven
class Railtie < ::Rails::Railtie
initializer "raven.use_rack_middleware" do |app|
- app.config.middleware.use "Raven::Rack" unless define... | Use Rack middleware in older versions of Rails 3 (3.1.3 for example)
|
diff --git a/deka_eiwakun.gemspec b/deka_eiwakun.gemspec
index abc1234..def5678 100644
--- a/deka_eiwakun.gemspec
+++ b/deka_eiwakun.gemspec
@@ -18,7 +18,7 @@ spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
spec.require_paths = ['lib']
- spec.add_dependency 'rubocop', '~> 0.40.0'
+ spec... | Update rubocop version to 0.52.1
|
diff --git a/lib/alf/renderer/html.rb b/lib/alf/renderer/html.rb
index abc1234..def5678 100644
--- a/lib/alf/renderer/html.rb
+++ b/lib/alf/renderer/html.rb
@@ -8,7 +8,7 @@
def each
return to_enum unless block_given?
- yield "<table class=\"table table-condensed table-bordered table-striped\">"
... | Remove bootstrap attributes generated by Html renderer.
We don't want to mary bootstrap here...
|
diff --git a/spec/operations/iteration_operations_spec.rb b/spec/operations/iteration_operations_spec.rb
index abc1234..def5678 100644
--- a/spec/operations/iteration_operations_spec.rb
+++ b/spec/operations/iteration_operations_spec.rb
@@ -15,7 +15,7 @@
describe '.call' do
it 'returns done stories' do
- ... | Fix array matching to avoid flaky result
|
diff --git a/spec/request/admin/request_add_token_spec.rb b/spec/request/admin/request_add_token_spec.rb
index abc1234..def5678 100644
--- a/spec/request/admin/request_add_token_spec.rb
+++ b/spec/request/admin/request_add_token_spec.rb
@@ -22,7 +22,7 @@
context 'when configured in janus' do
let(:instance) { {... | Fix method sample for create token
|
diff --git a/lib/defly.rb b/lib/defly.rb
index abc1234..def5678 100644
--- a/lib/defly.rb
+++ b/lib/defly.rb
@@ -1,7 +1,15 @@ require 'tracable'
require 'whinable'
+require 'inspectable'
module Defly
end
-NoMethodError.send(:include, Defly::Whinable)
+class Class
+ def debug!
+ self.send(:include, Defly::Ins... | Add debug! method to hook up
|
diff --git a/lib/ramom.rb b/lib/ramom.rb
index abc1234..def5678 100644
--- a/lib/ramom.rb
+++ b/lib/ramom.rb
@@ -16,7 +16,7 @@ module Ramom
# Represent an undefined argument
- Undefined = Class.new.freeze
+ Undefined = Module.new.freeze
# An empty hash useful for (default} parameters
EMPTY_HASH = {}.free... | Switch to Undefined = Module.new.freeze
|
diff --git a/support/support.gemspec b/support/support.gemspec
index abc1234..def5678 100644
--- a/support/support.gemspec
+++ b/support/support.gemspec
@@ -21,7 +21,6 @@ s.add_dependency 'rack-test'
s.add_dependency 'rake'
s.add_dependency 'yard'
- s.add_dependency 'redcarpet'
s.add_dependency 'simplecov'
... | Remove redcarpet dependency as it not being used
|
diff --git a/test/unit/services_and_information_finder_test.rb b/test/unit/services_and_information_finder_test.rb
index abc1234..def5678 100644
--- a/test/unit/services_and_information_finder_test.rb
+++ b/test/unit/services_and_information_finder_test.rb
@@ -5,7 +5,7 @@ organisation = build_stubbed(:organisation)... | Fix test to expect string "0"
|
diff --git a/lib/jekyll/converters/markdown/kramdown_parser.rb b/lib/jekyll/converters/markdown/kramdown_parser.rb
index abc1234..def5678 100644
--- a/lib/jekyll/converters/markdown/kramdown_parser.rb
+++ b/lib/jekyll/converters/markdown/kramdown_parser.rb
@@ -14,7 +14,7 @@ def convert(content)
# Che... | Support missing kramdown coderay option
|
diff --git a/app/models/calculator.rb b/app/models/calculator.rb
index abc1234..def5678 100644
--- a/app/models/calculator.rb
+++ b/app/models/calculator.rb
@@ -2,9 +2,13 @@ ALL = [{
title: "Child Benefit tax calculator",
slug: "child-benefit-tax-calculator",
+ content_id: "0e1de8f1-9909-4e45-a6a3-bffe95... | Make sure we don't register routes via panopticon
Sending an empty array for `paths` and `prefixes` will make sure we
don't register routes in Panopticon.
We don't want to register routes anymore because we will be using the
publishing-api for this.
|
diff --git a/app/models/github_api.rb b/app/models/github_api.rb
index abc1234..def5678 100644
--- a/app/models/github_api.rb
+++ b/app/models/github_api.rb
@@ -7,6 +7,8 @@ class GithubAPI
def initialize(token: nil, cache: true)
@api = Octokit::Client.new access_token: token
+ @api.auto_paginate = true
+ ... | Use large page sizes in API requests to use requests efficiently
|
diff --git a/app/models/lit/locale.rb b/app/models/lit/locale.rb
index abc1234..def5678 100644
--- a/app/models/lit/locale.rb
+++ b/app/models/lit/locale.rb
@@ -41,9 +41,8 @@ private
def reset_available_locales_cache
- if I18n.backend.respond_to?(:reset_available_locales_cache)
- I18n.backend.res... | Use guard statement in Lit::Locale
|
diff --git a/server/app/models/goal.rb b/server/app/models/goal.rb
index abc1234..def5678 100644
--- a/server/app/models/goal.rb
+++ b/server/app/models/goal.rb
@@ -14,7 +14,7 @@ end
def sources
- Source.find_by_sql ["select sources.* from sources, notes, goals, notegoals
+ Source.find_by_sql ["select dis... | Add distinct to sources list.
|
diff --git a/app/helpers/administration/log_items_helper.rb b/app/helpers/administration/log_items_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/administration/log_items_helper.rb
+++ b/app/helpers/administration/log_items_helper.rb
@@ -1,7 +1,11 @@ module Administration::LogItemsHelper
def log_item_... | Fix bug in log when showing pictures.
|
diff --git a/spec/controllers/permissions_controller_spec.rb b/spec/controllers/permissions_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/permissions_controller_spec.rb
+++ b/spec/controllers/permissions_controller_spec.rb
@@ -65,7 +65,7 @@ context 'when remember_token is blank' do
it '... | Replace deprecated `update_attributes` with `update` method
|
diff --git a/spec/system/bus_stops/editing_bus_stops_spec.rb b/spec/system/bus_stops/editing_bus_stops_spec.rb
index abc1234..def5678 100644
--- a/spec/system/bus_stops/editing_bus_stops_spec.rb
+++ b/spec/system/bus_stops/editing_bus_stops_spec.rb
@@ -22,4 +22,19 @@ expect(page.current_url).to end_with bus_stops... | Test data changes within edit
|
diff --git a/app/views/api/v1/relics/clusters.json.jbuilder b/app/views/api/v1/relics/clusters.json.jbuilder
index abc1234..def5678 100644
--- a/app/views/api/v1/relics/clusters.json.jbuilder
+++ b/app/views/api/v1/relics/clusters.json.jbuilder
@@ -1,4 +1,9 @@-leafs = leafs_of(@relics.polish_facets_tree)
+json.meta do ... | Add meta data to relics/clusters API
|
diff --git a/X4ImageViewer.podspec b/X4ImageViewer.podspec
index abc1234..def5678 100644
--- a/X4ImageViewer.podspec
+++ b/X4ImageViewer.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "X4ImageViewer"
- s.version = "1.0.2"
+ s.version = "1.0.3"
s.summary = "A ios easy-to-use image v... | Update pod spec to 1.0.3
|
diff --git a/TRVSEventSource.podspec b/TRVSEventSource.podspec
index abc1234..def5678 100644
--- a/TRVSEventSource.podspec
+++ b/TRVSEventSource.podspec
@@ -5,7 +5,8 @@ s.homepage = "http://github.com/travisjeffery/TRVSEventSource"
s.license = 'MIT'
s.author = { "Travis Jeffery" => "tj@travisjeff... | Set iOS and mac deployment targets to 7 and 10.9, respectively
|
diff --git a/palletjack-tools.gemspec b/palletjack-tools.gemspec
index abc1234..def5678 100644
--- a/palletjack-tools.gemspec
+++ b/palletjack-tools.gemspec
@@ -18,6 +18,8 @@ s.files = [ 'README.md', 'LICENSE' ]
s.files += Dir['tools/*']
s.bindir = 'tools/'
- s.executables = ['dump_pallet', 'palletjack2ke... | Package warehouse creation tools in the tools gem
|
diff --git a/app/controllers/password_resets_controller.rb b/app/controllers/password_resets_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/password_resets_controller.rb
+++ b/app/controllers/password_resets_controller.rb
@@ -10,10 +10,10 @@ if @user
@user.create_reset_digest
@user.... | Clean up password resets controller
|
diff --git a/app/lib/manual_section_indexable_formatter.rb b/app/lib/manual_section_indexable_formatter.rb
index abc1234..def5678 100644
--- a/app/lib/manual_section_indexable_formatter.rb
+++ b/app/lib/manual_section_indexable_formatter.rb
@@ -19,6 +19,7 @@ link: link,
indexable_content: section.body,
... | Send manual slug to to rummager for manual sections
So that search results can be scoped to sections within a manual.
|
diff --git a/app/serializers/progress_update_serializer.rb b/app/serializers/progress_update_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/progress_update_serializer.rb
+++ b/app/serializers/progress_update_serializer.rb
@@ -1,6 +1,24 @@ class ProgressUpdateSerializer < ActiveModel::Serializer
- at... | Remove unused associations from serializer and add custom methods
|
diff --git a/tests/spec/features/highlighting_error_output_spec.rb b/tests/spec/features/highlighting_error_output_spec.rb
index abc1234..def5678 100644
--- a/tests/spec/features/highlighting_error_output_spec.rb
+++ b/tests/spec/features/highlighting_error_output_spec.rb
@@ -24,7 +24,7 @@
scenario "github see-issu... | Bring error highlighting test up to date
|
diff --git a/lib/gemini/executions.rb b/lib/gemini/executions.rb
index abc1234..def5678 100644
--- a/lib/gemini/executions.rb
+++ b/lib/gemini/executions.rb
@@ -2,7 +2,7 @@ module Executions
def self.me(options = {})
Gemini.sanity_check!
- executions = Gemini::Net.get("/v1/mytrades", options, true)
+... | Use POST instead of GET
|
diff --git a/SSPPullToRefresh.podspec b/SSPPullToRefresh.podspec
index abc1234..def5678 100644
--- a/SSPPullToRefresh.podspec
+++ b/SSPPullToRefresh.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = 'SSPPullToRefresh'
- s.version = '0.1.1'
+ s.version = '0.1.2'
s.summary ... | Update pod spec to version 0.1.2
|
diff --git a/lib/build_log_parser.rb b/lib/build_log_parser.rb
index abc1234..def5678 100644
--- a/lib/build_log_parser.rb
+++ b/lib/build_log_parser.rb
@@ -3,4 +3,15 @@ require "chronic_duration"
module BuildLogParser
+ def tests(str)
+ self.new(str).tests
+ end
+
+ def coverage(str)
+ self.new(str).covera... | Add shorthand methods for metrics
|
diff --git a/lib/lines/rack_logger.rb b/lib/lines/rack_logger.rb
index abc1234..def5678 100644
--- a/lib/lines/rack_logger.rb
+++ b/lib/lines/rack_logger.rb
@@ -6,6 +6,7 @@ # In development mode the common logger is always inserted
def self.silence_common_logger!
Rack::CommonLogger.module_eval("def call... | Return self when silencing the Rack::CommonLogger
|
diff --git a/lib/messenger/workers.rb b/lib/messenger/workers.rb
index abc1234..def5678 100644
--- a/lib/messenger/workers.rb
+++ b/lib/messenger/workers.rb
@@ -1,7 +1,7 @@ class Messenger
module Workers
- def work
+ def work(message)
raise NotImplementedError.new('Subclass must implement work')
... | Fix work to take a message
|
diff --git a/app/controllers/question.rb b/app/controllers/question.rb
index abc1234..def5678 100644
--- a/app/controllers/question.rb
+++ b/app/controllers/question.rb
@@ -1,5 +1,6 @@ get '/questions/index' do
- if @user.access == 'student'
+ return if @user.nil?
+ if @user.access == 'student' || @user.access == 'a... | Check For Initial Ajax Call To Not Fail
|
diff --git a/Support/lib/spec/mate.rb b/Support/lib/spec/mate.rb
index abc1234..def5678 100644
--- a/Support/lib/spec/mate.rb
+++ b/Support/lib/spec/mate.rb
@@ -21,6 +21,7 @@ require 'spec/autorun'
rescue LoadError
require 'rspec/core'
+ ENV['DISABLE_RSPEC_AUTORUN'] = "true"
end
def rspec2?
| Disable rspec autorun for rspec 2
|
diff --git a/SwiftMeasurement.podspec b/SwiftMeasurement.podspec
index abc1234..def5678 100644
--- a/SwiftMeasurement.podspec
+++ b/SwiftMeasurement.podspec
@@ -6,8 +6,6 @@
s.osx.deployment_target = '10.12'
s.ios.deployment_target = '10.0'
- s.tvos.deployment_target = '10.0'
- s.watchos.deployment_t... | Drop tvOS and watchOS config for now
|
diff --git a/Casks/iterm2-nightly.rb b/Casks/iterm2-nightly.rb
index abc1234..def5678 100644
--- a/Casks/iterm2-nightly.rb
+++ b/Casks/iterm2-nightly.rb
@@ -1,10 +1,10 @@ cask 'iterm2-nightly' do
- version '2.9.20160131'
- sha256 'dd6692926e252edcccf00a7b96eb0fd3a56727e6a92207f472ad5d6903fe6c5d'
+ version '2.9.20160... | Upgrade iTerm2 nightly to 2.9.20160207 |
diff --git a/plugins/identity/config/initializers/constants.rb b/plugins/identity/config/initializers/constants.rb
index abc1234..def5678 100644
--- a/plugins/identity/config/initializers/constants.rb
+++ b/plugins/identity/config/initializers/constants.rb
@@ -29,7 +29,6 @@ resource_viewer
sharedfilesystem_admin
... | Remove swiftoperator role from selectable roles
|
diff --git a/app/utils.rb b/app/utils.rb
index abc1234..def5678 100644
--- a/app/utils.rb
+++ b/app/utils.rb
@@ -21,6 +21,18 @@
end
+ def self.command(name, num_args = Numeric)
+ pattern = /!#{name}\s*((?:[^,]+,?\s*)+)/
+ lambda { |cmd| ... | Add command parser (not used anywhere yet)
|
diff --git a/app/models/video_edition.rb b/app/models/video_edition.rb
index abc1234..def5678 100644
--- a/app/models/video_edition.rb
+++ b/app/models/video_edition.rb
@@ -11,9 +11,10 @@ end
def whole_body
- return nil if video_summary.nil? and video_url.nil?
- return "#{video_url}" if video_summary.nil?
... | Refactor the whole_body method to be simpler
|
diff --git a/lib/feed-utils/topix.rb b/lib/feed-utils/topix.rb
index abc1234..def5678 100644
--- a/lib/feed-utils/topix.rb
+++ b/lib/feed-utils/topix.rb
@@ -0,0 +1,11 @@+require 'open-uri'
+
+class TopixGrabber < Object
+
+ def query(keyphrase)
+ url = "http://www.topix.net/rss/search/article?x=0&y=0&q=" + keyphras... | Make sure we add the files this time!
|
diff --git a/lib/gitnesse/tasks.rake b/lib/gitnesse/tasks.rake
index abc1234..def5678 100644
--- a/lib/gitnesse/tasks.rake
+++ b/lib/gitnesse/tasks.rake
@@ -21,7 +21,7 @@ end
desc "Push features to remote git wiki repository, run cucumber, and push results to wiki"
- task :push => :environment do
+ task :push_... | Fix multiple definition of gitnesse:push
|
diff --git a/lib/health_graph/api.rb b/lib/health_graph/api.rb
index abc1234..def5678 100644
--- a/lib/health_graph/api.rb
+++ b/lib/health_graph/api.rb
@@ -44,7 +44,7 @@
Faraday.new(merged_options) do |builder|
builder.use Faraday::Request::UrlEncoded
- builder.use Faraday::Request::JSON ... | Fix removed Faraday JSON middleware.
The JSON request middleware is no longer included with Faraday. This
seems to have already been partially fixed, since FaradayMiddleware
was already a dependency.
The tests are now passing on Ruby 1.9.
|
diff --git a/lib/avatax/connection.rb b/lib/avatax/connection.rb
index abc1234..def5678 100644
--- a/lib/avatax/connection.rb
+++ b/lib/avatax/connection.rb
@@ -18,16 +18,18 @@ :proxy => proxy,
}.merge(connection_options)
- c = Faraday::Connection.new(options)
- if logger
- c.response ... | Use Faraday 1.0 compatible configuration
|
diff --git a/lib/neural_nets/math.rb b/lib/neural_nets/math.rb
index abc1234..def5678 100644
--- a/lib/neural_nets/math.rb
+++ b/lib/neural_nets/math.rb
@@ -9,7 +9,7 @@ ##
# NMatrix version of the sigmoid function
def self.sigmoid_vec(x)
- one = NMatrix.ones([x.rows, x.cols])
+ one = NMatrix.one... | Use shape method to get matrix dimensions.
|
diff --git a/lib/chaindrive/api/v1.rb b/lib/chaindrive/api/v1.rb
index abc1234..def5678 100644
--- a/lib/chaindrive/api/v1.rb
+++ b/lib/chaindrive/api/v1.rb
@@ -3,20 +3,34 @@ version 'v1'
namespace :gears do
+ desc "Return all gears inside the registry."
get do
compare_etag(Time.now.... | Refactor and actually require parameters strongly.
This is a little more complex syntax wise but it strongly requires the
parameters to be Strings (where proper).
|
diff --git a/lib/core_extend/array.rb b/lib/core_extend/array.rb
index abc1234..def5678 100644
--- a/lib/core_extend/array.rb
+++ b/lib/core_extend/array.rb
@@ -32,6 +32,7 @@ end
+# The opposite of Array.eat. If an array only contains one element, return the element.
# This allows to call a method with an array wi... | Make Array.spit symmetrical to Array.eat
|
diff --git a/lib/reddit_api/posts.rb b/lib/reddit_api/posts.rb
index abc1234..def5678 100644
--- a/lib/reddit_api/posts.rb
+++ b/lib/reddit_api/posts.rb
@@ -5,6 +5,7 @@ def initialize
@client = RedditApi::Client.new
@post_factory = RedditApi::Post
+ @query_factory = RedditApi::Query
end
... | Refactor Posts to use Query object
|
diff --git a/lib/storext/override.rb b/lib/storext/override.rb
index abc1234..def5678 100644
--- a/lib/storext/override.rb
+++ b/lib/storext/override.rb
@@ -44,6 +44,10 @@ attr_definition[:opts].reject { |k,v| k == :default },
)
+ storext_overrider_define_reader(association_name, column_name... | Move reader definition into its own method
|
diff --git a/spec/models/event_spec.rb b/spec/models/event_spec.rb
index abc1234..def5678 100644
--- a/spec/models/event_spec.rb
+++ b/spec/models/event_spec.rb
@@ -1,7 +1,3 @@-# TODO: Redefine the concerns here so we don't have to require a rabbit hole. There should be a better way. This may be affected by test order.... | Remove temporary todo since they are now included in the ar spec helper
|
diff --git a/spec/support/apartment.rb b/spec/support/apartment.rb
index abc1234..def5678 100644
--- a/spec/support/apartment.rb
+++ b/spec/support/apartment.rb
@@ -0,0 +1,11 @@+RSpec.configure do |config|
+ # No need to create each tenant, just pick one for testing purposes
+
+ config.before(:suite) do
+ Apartmen... | Create at least one tenant to use during specs
|
diff --git a/lib/domtrix_lb_config.rb b/lib/domtrix_lb_config.rb
index abc1234..def5678 100644
--- a/lib/domtrix_lb_config.rb
+++ b/lib/domtrix_lb_config.rb
@@ -6,6 +6,38 @@ def initialize(json_config, template)
@config = JSON.parse(json_config)
@template = template
+ end
+
+ def healthcheck
+ @config[... | Add healthcheck stanzas to generator file
|
diff --git a/opml.gemspec b/opml.gemspec
index abc1234..def5678 100644
--- a/opml.gemspec
+++ b/opml.gemspec
@@ -18,7 +18,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_dependency "activesupport", "~> 3.2.12"
+ spec.add_dependency "activesupport", ... | Allow activesupport v3.2 and v4.0
|
diff --git a/lib/jschematic/schema.rb b/lib/jschematic/schema.rb
index abc1234..def5678 100644
--- a/lib/jschematic/schema.rb
+++ b/lib/jschematic/schema.rb
@@ -47,8 +47,12 @@ return true unless schema
schema.all? do |property, schema|
- type_valid?(schema["type"], json[property]) &&
+ if j... | Validate type in properties if attribute exists
|
diff --git a/md-render/HHVM/UserDocumentation/IncludeExamplesFilter.rb b/md-render/HHVM/UserDocumentation/IncludeExamplesFilter.rb
index abc1234..def5678 100644
--- a/md-render/HHVM/UserDocumentation/IncludeExamplesFilter.rb
+++ b/md-render/HHVM/UserDocumentation/IncludeExamplesFilter.rb
@@ -4,12 +4,24 @@ module User... | Update markdown renderer to support new layout
|
diff --git a/lib/oga/xml/namespace.rb b/lib/oga/xml/namespace.rb
index abc1234..def5678 100644
--- a/lib/oga/xml/namespace.rb
+++ b/lib/oga/xml/namespace.rb
@@ -5,17 +5,15 @@ # name and URI.
#
class Namespace
- attr_accessor :name, :uri
+ attr_accessor :name
##
# @param [Hash] op... | Remove the uri attribute from Namespace.
Oga won't be handling URIs any time soon. The rationale is that they server zero
purpose when it comes to just parsing XML. Another goal of Oga is to make it
easy to modify and reserialize documents back to XML. If namespaces would also
store the URIs this would make this proce... |
diff --git a/lib/scnnr/recognition.rb b/lib/scnnr/recognition.rb
index abc1234..def5678 100644
--- a/lib/scnnr/recognition.rb
+++ b/lib/scnnr/recognition.rb
@@ -2,10 +2,11 @@
module Scnnr
class Recognition
- attr_reader :id, :objects, :state, :error
+ attr_reader :id, :image, :objects, :state, :error
... | Use image attributes from parsed JSON response
|
diff --git a/lib/cloud_cost_tracker.rb b/lib/cloud_cost_tracker.rb
index abc1234..def5678 100644
--- a/lib/cloud_cost_tracker.rb
+++ b/lib/cloud_cost_tracker.rb
@@ -3,3 +3,31 @@
# Load all ruby files from 'cloud_cost_tracker' directory
Dir[File.join(File.dirname(__FILE__), "cloud_cost_tracker/**/*.rb")].each {|f| re... | Add static module function for mapping resources to their Billing Policy class |
diff --git a/lib/deep_cover/node/if.rb b/lib/deep_cover/node/if.rb
index abc1234..def5678 100644
--- a/lib/deep_cover/node/if.rb
+++ b/lib/deep_cover/node/if.rb
@@ -2,57 +2,24 @@
module DeepCover
class Node
- class Else < Node
- include Wrapper
- has_child body: [Node, nil],
- is_statem... | Use can_be_empty & executed_loc_keys for If
|
diff --git a/lib/git_reflow/sandbox.rb b/lib/git_reflow/sandbox.rb
index abc1234..def5678 100644
--- a/lib/git_reflow/sandbox.rb
+++ b/lib/git_reflow/sandbox.rb
@@ -39,7 +39,7 @@
# WARNING: this currently only supports OS X and UBUNTU
def ask_to_open_in_browser(url)
- if OS.linux?
+ if OS.unix?
... | Fix the ask to open in browser dialog on Mac.
Why:
* GitReflow::Sandbox#ask_to_open_in_browser method currently only works
for linux.
This change addresses the need by:
* Add OS.mac? to the initial if statement guarding other platforms.
|
diff --git a/lib/layer/conversation.rb b/lib/layer/conversation.rb
index abc1234..def5678 100644
--- a/lib/layer/conversation.rb
+++ b/lib/layer/conversation.rb
@@ -15,6 +15,14 @@ RelationProxy.new(self, Message, [Operations::Create, Operations::Paginate])
end
+ def metadata
+ attributes['metadata'... | Make sure Conversations always have metadata and participants methods
|
diff --git a/Casks/sonos.rb b/Casks/sonos.rb
index abc1234..def5678 100644
--- a/Casks/sonos.rb
+++ b/Casks/sonos.rb
@@ -1,8 +1,8 @@ class Sonos < Cask
- version '5.1'
- sha256 '8a54102eb13879bd361624fa013279aecd27888b9575e19d60985dd029635d8a'
+ version :latest
+ sha256 :no_check
- url 'http://update.sonos.com/s... | Upgrade Sonos.app to latest version.
|
diff --git a/app/concerns/viewable.rb b/app/concerns/viewable.rb
index abc1234..def5678 100644
--- a/app/concerns/viewable.rb
+++ b/app/concerns/viewable.rb
@@ -2,7 +2,7 @@ extend ActiveSupport::Concern
included do
- has_many :views, class_name: self.name + 'View', dependent: :destroy
+ has_many :views, cl... | Disable Rails/ReflectionClassName on the class name in Viewable
|
diff --git a/app/models/analytics.rb b/app/models/analytics.rb
index abc1234..def5678 100644
--- a/app/models/analytics.rb
+++ b/app/models/analytics.rb
@@ -8,24 +8,24 @@
def track_user_creation
identify
- track(event: 'Create User')
+ track(event: 'Signed Up')
end
def track_user_deletion
- tr... | Change Segment events to use past tense
|
diff --git a/app/models/consultant.rb b/app/models/consultant.rb
index abc1234..def5678 100644
--- a/app/models/consultant.rb
+++ b/app/models/consultant.rb
@@ -11,7 +11,8 @@ private
def update_balance
- self.balance = self.income - self.outcome
+ new_balance = self.income - self.outcome
+ update_column... | Use update_column to skip callbacks
It avoids a redundant call
|
diff --git a/app/models/data_point.rb b/app/models/data_point.rb
index abc1234..def5678 100644
--- a/app/models/data_point.rb
+++ b/app/models/data_point.rb
@@ -15,8 +15,9 @@ class DataPoint < ApplicationRecord
belongs_to :series, class_name: 'DataPointSeries'
+ # TODO: Consider moving configuration values to con... | Increase history depth fro the analytics data
|
diff --git a/app/models/inspection.rb b/app/models/inspection.rb
index abc1234..def5678 100644
--- a/app/models/inspection.rb
+++ b/app/models/inspection.rb
@@ -11,8 +11,10 @@ # If not found in SORT_ORDER, then sort by the ascii code of character
# "A".ord is 65, so these will all appear in alphabetical orde... | Fix issue where infractions sometimes didn't have a severity
And TODO for later: Figure out why there are a few like this. For now, just rejecting them.
|
diff --git a/app/models/itemizable.rb b/app/models/itemizable.rb
index abc1234..def5678 100644
--- a/app/models/itemizable.rb
+++ b/app/models/itemizable.rb
@@ -7,7 +7,7 @@
has_one :user, through: :purchase
- after_save :send_swap_message, if: Proc.new { |i| i.swap_id && i.swap_id_changed? }
+ # after_save :sen... | Remove hook so migrations with run
|
diff --git a/app/models/article.rb b/app/models/article.rb
index abc1234..def5678 100644
--- a/app/models/article.rb
+++ b/app/models/article.rb
@@ -10,8 +10,10 @@ # user:: user who created article
#
# == methods
-# display_name:: name boldfaced for display
-# author:: user.name and... | Add documentation of Article methods in public interface
|
diff --git a/app/models/article.rb b/app/models/article.rb
index abc1234..def5678 100644
--- a/app/models/article.rb
+++ b/app/models/article.rb
@@ -9,7 +9,8 @@ has_many :authors
def comments
- Comment.find_all_by_content_id(self.id)
+ conditions = {:enabled => true, :spam => false}
+ Comment.find_all_b... | Make sure to only pull the comments we want
|
diff --git a/main.rb b/main.rb
index abc1234..def5678 100644
--- a/main.rb
+++ b/main.rb
@@ -4,6 +4,22 @@ def initialize
@up_requests = 0b0000000000
@down_requests = 0b0000000000
+ end
+
+ def add_up(level)
+
+ end
+
+ def add_down(level)
+
+ end
+
+ def serve_up(level)
+
+ end
+
+ def serve_down(le... | Add initial method declarations for RequestList
|
diff --git a/spec/features/todos/target_state_todos_spec.rb b/spec/features/todos/target_state_todos_spec.rb
index abc1234..def5678 100644
--- a/spec/features/todos/target_state_todos_spec.rb
+++ b/spec/features/todos/target_state_todos_spec.rb
@@ -0,0 +1,84 @@+require 'rails_helper'
+
+describe 'Todos > Target State L... | Add tests for Todos target's state
|
diff --git a/db/migrate/20160128160543_add_lookup_values.rb b/db/migrate/20160128160543_add_lookup_values.rb
index abc1234..def5678 100644
--- a/db/migrate/20160128160543_add_lookup_values.rb
+++ b/db/migrate/20160128160543_add_lookup_values.rb
@@ -1,44 +1,53 @@ class AddLookupValues < ActiveRecord::Migration
VALUES... | Fix the lists of lookup values...
|
diff --git a/spec/services/pending_payments_service_spec.rb b/spec/services/pending_payments_service_spec.rb
index abc1234..def5678 100644
--- a/spec/services/pending_payments_service_spec.rb
+++ b/spec/services/pending_payments_service_spec.rb
@@ -0,0 +1,28 @@+require 'spec_helper'
+
+describe PendingPayments do
+ le... | Add spec for pending payments service
|
diff --git a/config/initializers/activities_counter_cache.rb b/config/initializers/activities_counter_cache.rb
index abc1234..def5678 100644
--- a/config/initializers/activities_counter_cache.rb
+++ b/config/initializers/activities_counter_cache.rb
@@ -1,4 +1,6 @@-job = Delayed::Backend::ActiveRecord::Job.all :conditio... | Check if table exists before try to use it in the Rails initializers
Conflicts:
config/initializers/person_notification.rb
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.