diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/test/git_test.rb b/test/git_test.rb
index abc1234..def5678 100644
--- a/test/git_test.rb
+++ b/test/git_test.rb
@@ -0,0 +1,37 @@+require 'test_helper'
+
+class GitTest < Minitest::Test
+ def test_get_tags_sort_by_date_asc
+ output = <<-EOF
+refs/tags/0.0.1 Thu Aug 4 12:34:56 2011 +0200
+refs/tags/1.0.0... | Add unit tests for Git class
|
diff --git a/lib/generators/georgia/upgrade/upgrade_generator.rb b/lib/generators/georgia/upgrade/upgrade_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/georgia/upgrade/upgrade_generator.rb
+++ b/lib/generators/georgia/upgrade/upgrade_generator.rb
@@ -23,6 +23,10 @@ rake 'db:migrate'
end... | Add guest role and clean roles to keep only one
|
diff --git a/lib/generators/pwdcalc/install/install_generator.rb b/lib/generators/pwdcalc/install/install_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/pwdcalc/install/install_generator.rb
+++ b/lib/generators/pwdcalc/install/install_generator.rb
@@ -1,19 +1,22 @@ module Pwdcalc
module Generators
-... | Fix generator for Rails version 3.0.x |
diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb
index abc1234..def5678 100644
--- a/config/initializers/assets.rb
+++ b/config/initializers/assets.rb
@@ -1,7 +1,8 @@ Rails.application.config.assets.precompile += %w(
publify.js
+ publify.css
publify_admin.js
- publify.css
+ publify_ad... | Include admin css in precompile list
|
diff --git a/app/jobs/import_async_job.rb b/app/jobs/import_async_job.rb
index abc1234..def5678 100644
--- a/app/jobs/import_async_job.rb
+++ b/app/jobs/import_async_job.rb
@@ -2,6 +2,6 @@
class ImportAsyncJob
def perform(import_job)
- ::ETL::AsyncImporter.perform(import_job)
+ ::ETL::AsyncImporter.import!(i... | Call the right method from the async job
|
diff --git a/app/jobs/import_paper_job.rb b/app/jobs/import_paper_job.rb
index abc1234..def5678 100644
--- a/app/jobs/import_paper_job.rb
+++ b/app/jobs/import_paper_job.rb
@@ -0,0 +1,18 @@+class ImportPaperJob < ActiveJob::Base
+ queue_as :import
+
+ def perform(body, legislative_term, reference)
+ fail "No scrap... | Add single paper import job
|
diff --git a/app/models/email_template.rb b/app/models/email_template.rb
index abc1234..def5678 100644
--- a/app/models/email_template.rb
+++ b/app/models/email_template.rb
@@ -4,7 +4,7 @@
include Concerns::Sortable
- validates :description, :from_name, presence: true
+ validates :description, :from_name, :from... | Make sure simple form recognizes from email to be required.
|
diff --git a/lib/tasks/remove_duplicate_virtual_users.rake b/lib/tasks/remove_duplicate_virtual_users.rake
index abc1234..def5678 100644
--- a/lib/tasks/remove_duplicate_virtual_users.rake
+++ b/lib/tasks/remove_duplicate_virtual_users.rake
@@ -0,0 +1,49 @@+namespace :remove_duplicate_virtual_users do
+ desc 'Remove d... | Add rake task to remove virtual users
|
diff --git a/db/migrate/20140623105038_populate_extra_fields_for_cma_cases.rb b/db/migrate/20140623105038_populate_extra_fields_for_cma_cases.rb
index abc1234..def5678 100644
--- a/db/migrate/20140623105038_populate_extra_fields_for_cma_cases.rb
+++ b/db/migrate/20140623105038_populate_extra_fields_for_cma_cases.rb
@@ ... | Copy CMA case metadata into extra_fields
The code was updated to pull the CMA case specific metadata from
extra_fields but the data wasn't migrated.
|
diff --git a/ConsistencyManager.podspec b/ConsistencyManager.podspec
index abc1234..def5678 100644
--- a/ConsistencyManager.podspec
+++ b/ConsistencyManager.podspec
@@ -5,7 +5,7 @@ spec.homepage = 'https://linkedin.github.io/ConsistencyManager-iOS'
spec.authors = 'LinkedIn'
spec.summary ... | Fix spec source to point to linkedIn |
diff --git a/lib/baton/server.rb b/lib/baton/server.rb
index abc1234..def5678 100644
--- a/lib/baton/server.rb
+++ b/lib/baton/server.rb
@@ -8,6 +8,7 @@ # Public: Initialize a Server. ALso, configures the server by reading Baton's configuration
# file.
def initialize
+ Ohai::Config[:plugin_path] << "... | Allow for custom ohai plugins
|
diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb
index abc1234..def5678 100644
--- a/config/initializers/assets.rb
+++ b/config/initializers/assets.rb
@@ -5,6 +5,7 @@
# Add additional assets to the asset load path
# Rails.application.config.assets.paths << Emoji.images_path
+Rails.applicati... | Include vendor images in asset pipeline
|
diff --git a/lib/alephant/publisher.rb b/lib/alephant/publisher.rb
index abc1234..def5678 100644
--- a/lib/alephant/publisher.rb
+++ b/lib/alephant/publisher.rb
@@ -29,8 +29,7 @@ opts[:receive_wait_time] || RECEIVE_WAIT_TIME,
)
- @writer_opts = opts.select do |k,v|
- [
+ @wr... | Update Publisher to match new API within the BBC Cosmos Config gem
|
diff --git a/lib/cfcmd/cli/ls.rb b/lib/cfcmd/cli/ls.rb
index abc1234..def5678 100644
--- a/lib/cfcmd/cli/ls.rb
+++ b/lib/cfcmd/cli/ls.rb
@@ -16,7 +16,7 @@ directories = connection.directories.map do |dir|
{
name: "cf://#{ dir.key }",
- files: ::CFcmd::Util.number_to_human(dir.files.c... | Use directory metadata instead of crawling buckets :flushed:
|
diff --git a/lib/document_generator.rb b/lib/document_generator.rb
index abc1234..def5678 100644
--- a/lib/document_generator.rb
+++ b/lib/document_generator.rb
@@ -35,7 +35,6 @@ end
def generate_matchers!
- generate_matcher_dir!
Rambo::RSpec::MatcherFile.new.generate
end
end
| Delete extraneous line that wasn't helping anything
|
diff --git a/lib/mu/auth-sudo.rb b/lib/mu/auth-sudo.rb
index abc1234..def5678 100644
--- a/lib/mu/auth-sudo.rb
+++ b/lib/mu/auth-sudo.rb
@@ -1,4 +1,10 @@ require 'sparql/client'
+require 'logger'
+
+log_dir = '/logs'
+Dir.mkdir(log_dir) unless Dir.exist?(log_dir)
+log = Logger.new("#{log_dir}/application.log")
+log.lev... | Add logging for sudo queries
|
diff --git a/lib/replay/rails.rb b/lib/replay/rails.rb
index abc1234..def5678 100644
--- a/lib/replay/rails.rb
+++ b/lib/replay/rails.rb
@@ -30,12 +30,24 @@ event_type.constantize.new(JSON.parse(data))
end
+ def metadata
+ Hash.new(envelope_data)
+ end
+
+ def envelope... | Store should be returning an entire event envelope
|
diff --git a/lib/scrunch/meta.rb b/lib/scrunch/meta.rb
index abc1234..def5678 100644
--- a/lib/scrunch/meta.rb
+++ b/lib/scrunch/meta.rb
@@ -20,7 +20,7 @@ end
def self.apply_metadata(file, metadata, cover)
- %{AtomicParsley \"#{file}\"
+ %{AtomicParsley \"#{file}\" \
--title \"#{metadata... | Fix a typo that causes AtomicParsley to fail
|
diff --git a/lib/engineyard/version.rb b/lib/engineyard/version.rb
index abc1234..def5678 100644
--- a/lib/engineyard/version.rb
+++ b/lib/engineyard/version.rb
@@ -1,4 +1,4 @@ module EY
- VERSION = '2.0.3'
+ VERSION = '2.0.4.pre'
ENGINEYARD_SERVERSIDE_VERSION = ENV['ENGINEYARD_SERVERSIDE_VERSION'] || '2.0.1'
end... | Add .pre for next release
|
diff --git a/lib/facter/iis_version.rb b/lib/facter/iis_version.rb
index abc1234..def5678 100644
--- a/lib/facter/iis_version.rb
+++ b/lib/facter/iis_version.rb
@@ -1,4 +1,4 @@-Facter.add(:iis_version) do
+Facter.add(:iis_version4) do
confine :kernel => :windows
setcode do
version = nil
@@ -6,7 +6,7 @@ begin
... | Change to handle versionnumbers abbove 10
|
diff --git a/lib/facter/netbiosname.rb b/lib/facter/netbiosname.rb
index abc1234..def5678 100644
--- a/lib/facter/netbiosname.rb
+++ b/lib/facter/netbiosname.rb
@@ -2,6 +2,7 @@ # $hostname or $fqdn because these may be non-unique when truncated. Instead
# we use the first 9 alphanumeric chars of the hostname and then ... | Add explicit requires to fact
|
diff --git a/lib/active_tsv/reflection.rb b/lib/active_tsv/reflection.rb
index abc1234..def5678 100644
--- a/lib/active_tsv/reflection.rb
+++ b/lib/active_tsv/reflection.rb
@@ -4,7 +4,7 @@ class_eval <<-CODE, __FILE__, __LINE__ + 1
def #{name}
#{name.to_s.singularize.classify}.where(
- ... | Use underscore instead of downcase
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -1,7 +1,7 @@ class ApplicationController < ActionController::Base
# Prevent CSRF attacks ... | Switch from Null Session to Exception for CSRF Protection
There are apparently some vulnerabilities to session
nulling, depending on how one uses before_action. Not using before_action in vulnerable ways right now, but
since I will undoubtedly forget this in the future I'm
switching to exception. |
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -1,12 +1,11 @@ class ApplicationController < ActionController::Base
- before_action :store_... | Refactor: Use hash rocket abbr and Rubyish String comparison
|
diff --git a/app/controllers/csv_preview_controller.rb b/app/controllers/csv_preview_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/csv_preview_controller.rb
+++ b/app/controllers/csv_preview_controller.rb
@@ -34,4 +34,13 @@ def visible_edition
@visible_edition ||= attachment_data.visible_edit... | Copy BaseAttachmentsController methods into CsvPreviewController
I think these are the only two methods in BaseAttachmentsController
which need access to the filesystem. I'm hoping to implement them in a
different way to avoid needing this access.
|
diff --git a/lib/cyclid/monkey_patches.rb b/lib/cyclid/monkey_patches.rb
index abc1234..def5678 100644
--- a/lib/cyclid/monkey_patches.rb
+++ b/lib/cyclid/monkey_patches.rb
@@ -0,0 +1,32 @@+class Hash
+ # http://chrisholtz.com/blog/lets-make-a-ruby-hash-map-method-that-returns-a-hash-instead-of-an-array/
+ def hmap(&... | Add useful methods to Hash & Array
Hash.map returns an Array, so add Hash.hamp to return a Hash
Add Array.interpolate & Hash.interpolate to centralise comprehensive methods
to interpolate data into those structures E.g. job context.
|
diff --git a/lib/pansophy_authenticator/configuration/configurator.rb b/lib/pansophy_authenticator/configuration/configurator.rb
index abc1234..def5678 100644
--- a/lib/pansophy_authenticator/configuration/configurator.rb
+++ b/lib/pansophy_authenticator/configuration/configurator.rb
@@ -25,20 +25,20 @@ end
... | Rename and organise methods for clarity
|
diff --git a/benchmarks/list_comprehension.rb b/benchmarks/list_comprehension.rb
index abc1234..def5678 100644
--- a/benchmarks/list_comprehension.rb
+++ b/benchmarks/list_comprehension.rb
@@ -8,20 +8,23 @@ require 'combinatorics/list_comprehension'
Benchmark.bm(12) do |b|
+ singleton_list = ([1] * 500)
+ single_e... | Remove the list creating outside of the benchmark code.
|
diff --git a/lib/tty/prompt/symbols.rb b/lib/tty/prompt/symbols.rb
index abc1234..def5678 100644
--- a/lib/tty/prompt/symbols.rb
+++ b/lib/tty/prompt/symbols.rb
@@ -32,6 +32,7 @@ pointer: '>',
line: '─',
pipe: '|',
+ handle: 'O',
ellipsis: '...',
radio_on: '(*)',
... | Fix unicode symbol on windows.
|
diff --git a/get_column_widths.rb b/get_column_widths.rb
index abc1234..def5678 100644
--- a/get_column_widths.rb
+++ b/get_column_widths.rb
@@ -0,0 +1,18 @@+def extract_values line
+ spaces = []
+ result = []
+
+ while result != nil do
+
+ if spaces.length==0
+ line=line[0,line.length]
+ else
+ line=line[spac... | ADD - get column widths
|
diff --git a/plugins/guests/debian/cap/change_host_name.rb b/plugins/guests/debian/cap/change_host_name.rb
index abc1234..def5678 100644
--- a/plugins/guests/debian/cap/change_host_name.rb
+++ b/plugins/guests/debian/cap/change_host_name.rb
@@ -9,11 +9,11 @@ def self.change_host_name(machine, name)
c... | guests/debian: Set hostname to short value
Refs GH-7488 |
diff --git a/lib/dry/matcher/evaluator.rb b/lib/dry/matcher/evaluator.rb
index abc1234..def5678 100644
--- a/lib/dry/matcher/evaluator.rb
+++ b/lib/dry/matcher/evaluator.rb
@@ -8,8 +8,8 @@ @output = nil
end
- def call(&block)
- block.call(self)
+ def call
+ yield self
@... | Use yield instead of block.call with &block arguments
This yields us a little performance improvement (see https://github.com/JuanitoFatas/fast-ruby#proccall-and-block-arguments-vs-yieldcode) |
diff --git a/lib/forem/user_extensions.rb b/lib/forem/user_extensions.rb
index abc1234..def5678 100644
--- a/lib/forem/user_extensions.rb
+++ b/lib/forem/user_extensions.rb
@@ -3,7 +3,14 @@ def self.included(base)
Forem::Topic.belongs_to :user, :class_name => base.to_s
Forem::Post.belongs_to :user, :... | [refinery] Make refinery user's forem_admin? key off of refinery roles.
|
diff --git a/lib/lightspeed_restaurant.rb b/lib/lightspeed_restaurant.rb
index abc1234..def5678 100644
--- a/lib/lightspeed_restaurant.rb
+++ b/lib/lightspeed_restaurant.rb
@@ -1,43 +1,11 @@ # Lightspeed Restaurant Ruby Bindings
# API spec at http://staging-exact-integration.posios.com/PosServer/swagger-ui.html
... | Remove unnecessary require in the main module
|
diff --git a/lib/remotipart/middleware.rb b/lib/remotipart/middleware.rb
index abc1234..def5678 100644
--- a/lib/remotipart/middleware.rb
+++ b/lib/remotipart/middleware.rb
@@ -24,8 +24,8 @@ end
# Override the accepted format, because it isn't what we really want
- if params['X-Http-Accept']
-... | Update HTTP_ACCEPT for jquery.iframe-transport update
Change params['X-Http-Accept'] with params['X-HTTP-Accept'] |
diff --git a/lib/tasks/cached_assets.rake b/lib/tasks/cached_assets.rake
index abc1234..def5678 100644
--- a/lib/tasks/cached_assets.rake
+++ b/lib/tasks/cached_assets.rake
@@ -4,6 +4,18 @@ include ActionView::Helpers::TagHelper
include ActionView::Helpers::UrlHelper
include ActionView::Helpers::AssetTagH... | Destroy existing cached assets if they exist.
|
diff --git a/lib/tasks/evm_rake_helper.rb b/lib/tasks/evm_rake_helper.rb
index abc1234..def5678 100644
--- a/lib/tasks/evm_rake_helper.rb
+++ b/lib/tasks/evm_rake_helper.rb
@@ -3,7 +3,7 @@ # For some rake tasks, the database.yml may not yet be setup and is not required anyway.
# Note: Rails will not actually use t... | Use unix sockets, not IPv4, for the dummy DB configuration.
By default, we trust local unix socket connections[1], but not
127.0.0.1 or ::1. Therefore, we should use unix sockets for the rake task
that ensures we don't try to connect using a badly configured
database URL when we try to load rails environment.
[1] h... |
diff --git a/config/initializers/cookies_serializer.rb b/config/initializers/cookies_serializer.rb
index abc1234..def5678 100644
--- a/config/initializers/cookies_serializer.rb
+++ b/config/initializers/cookies_serializer.rb
@@ -2,4 +2,4 @@
# Specify a serializer for the signed and encrypted cookie jars.
# Valid opt... | Change cookie serialiser to hybrid to prepare for switch to json
|
diff --git a/aphrodite/app/views/api/v2/documents/search.json.rabl b/aphrodite/app/views/api/v2/documents/search.json.rabl
index abc1234..def5678 100644
--- a/aphrodite/app/views/api/v2/documents/search.json.rabl
+++ b/aphrodite/app/views/api/v2/documents/search.json.rabl
@@ -1,2 +1,6 @@ collection @results
-attributes... | [aphrodite] Send id for documents in search
|
diff --git a/app/controllers/gobierto_people/welcome_controller.rb b/app/controllers/gobierto_people/welcome_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/gobierto_people/welcome_controller.rb
+++ b/app/controllers/gobierto_people/welcome_controller.rb
@@ -4,13 +4,24 @@
def index
@peopl... | Fix events retrieval for GobiertoPeople welcome controller
|
diff --git a/app/controllers/user_module_assessments_controller.rb b/app/controllers/user_module_assessments_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/user_module_assessments_controller.rb
+++ b/app/controllers/user_module_assessments_controller.rb
@@ -1,8 +1,12 @@ class UserModuleAssessmentsCon... | Update strong parameters for UserModuleAssessment
Rails 5.1 has a new feature for supporting arbitrary hashes that we'll
be using to permit the selected_answer_choices for an assessment.
https://github.com/rails/rails/commit/e86524c0c5a26ceec92895c830d1355ae47a7034
|
diff --git a/lib/xlogin/firmwares/vyos.rb b/lib/xlogin/firmwares/vyos.rb
index abc1234..def5678 100644
--- a/lib/xlogin/firmwares/vyos.rb
+++ b/lib/xlogin/firmwares/vyos.rb
@@ -1,7 +1,8 @@ Xlogin.configure :vyos do |os|
os.prompt(/[$#] (?:\e\[K)?\z/n)
- os.bind(:login) do |username, password|
+ os.bind(:login) d... | Change the login method to handle variable numbers of args
|
diff --git a/lib/engineyard/version.rb b/lib/engineyard/version.rb
index abc1234..def5678 100644
--- a/lib/engineyard/version.rb
+++ b/lib/engineyard/version.rb
@@ -1,4 +1,4 @@ module EY
- VERSION = '3.1.1'
+ VERSION = '3.1.2.pre'
ENGINEYARD_SERVERSIDE_VERSION = ENV['ENGINEYARD_SERVERSIDE_VERSION'] || '2.6.1'
end... | Add .pre for next release
|
diff --git a/lib/fabrication/config.rb b/lib/fabrication/config.rb
index abc1234..def5678 100644
--- a/lib/fabrication/config.rb
+++ b/lib/fabrication/config.rb
@@ -27,7 +27,7 @@
def fabricator_dir=(folders)
puts "DEPRECATION WARNING: Fabrication::Config.fabricator_dir has been replaced by Fabrication::Con... | Fix calling to setter method
|
diff --git a/lib/frankie/primitives.rb b/lib/frankie/primitives.rb
index abc1234..def5678 100644
--- a/lib/frankie/primitives.rb
+++ b/lib/frankie/primitives.rb
@@ -7,7 +7,7 @@
def initialize body=[], status=200, header={}
@raw_body = body
- super
+ super body.to_s, status, header
end
... | Convert the response to string before passing it to the superclass
|
diff --git a/config/initializers/omniauth.rb b/config/initializers/omniauth.rb
index abc1234..def5678 100644
--- a/config/initializers/omniauth.rb
+++ b/config/initializers/omniauth.rb
@@ -6,6 +6,6 @@ warn 'with the command: CONSUMER_KEY=abc CONSUMER_SECRET=123 rails server'
warn '*' * 80
else
- provider... | Add twitter API KEY and sceret
|
diff --git a/lib/kupong_integration.rb b/lib/kupong_integration.rb
index abc1234..def5678 100644
--- a/lib/kupong_integration.rb
+++ b/lib/kupong_integration.rb
@@ -1,4 +1,5 @@-require "kupong_integration/version"
+require 'kupong_integration/version'
+require 'kupong_integration/service'
module KupongIntegration
... | Fix country code for sweden
|
diff --git a/lib/seam/active_record.rb b/lib/seam/active_record.rb
index abc1234..def5678 100644
--- a/lib/seam/active_record.rb
+++ b/lib/seam/active_record.rb
@@ -1,6 +1,5 @@ require 'seam'
require "seam/active_record/version"
-require 'moped'
require 'subtle'
module Seam
| Remove one more bad ref, tests pass in-memory.
|
diff --git a/lib/blimp.rb b/lib/blimp.rb
index abc1234..def5678 100644
--- a/lib/blimp.rb
+++ b/lib/blimp.rb
@@ -9,7 +9,6 @@ require_relative "blimp/sources/disk_source"
require_relative "blimp/sources/fake_source"
require_relative "blimp/sources/git_source"
-require_relative "blimp/sources/mock_source"
require_re... | Remove require for unexistant mocksource
|
diff --git a/lib/tasks/statistics.rake b/lib/tasks/statistics.rake
index abc1234..def5678 100644
--- a/lib/tasks/statistics.rake
+++ b/lib/tasks/statistics.rake
@@ -0,0 +1,20 @@+require_relative '../statistics.rb'
+
+namespace :statistics do
+ desc '月次のイベント履歴を集計します'
+ task :aggregation, [:yyyymm] => :environment do |... | Create a task for the monthly aggregation
|
diff --git a/lib/vagrant-soa/plugin.rb b/lib/vagrant-soa/plugin.rb
index abc1234..def5678 100644
--- a/lib/vagrant-soa/plugin.rb
+++ b/lib/vagrant-soa/plugin.rb
@@ -24,6 +24,10 @@ require_relative 'actions/setup_machine'
hook.prepend(Action::SetupMachine)
end
+ action_hook 'setup_machine', ... | Make sure we're setting up the machine when we provision
|
diff --git a/lib/myaso.rb b/lib/myaso.rb
index abc1234..def5678 100644
--- a/lib/myaso.rb
+++ b/lib/myaso.rb
@@ -5,6 +5,7 @@ require 'myaso/version'
require 'myaso/pi_table'
require 'myaso/ngrams'
+require 'myaso/lexicon'
require 'myaso/tagger'
require 'myaso/tagger/model'
@@ -24,7 +25,3 @@ 'unknown word "%s"... | Use Lexicon instead of Word
|
diff --git a/lib/xdrgen/output_file.rb b/lib/xdrgen/output_file.rb
index abc1234..def5678 100644
--- a/lib/xdrgen/output_file.rb
+++ b/lib/xdrgen/output_file.rb
@@ -29,7 +29,7 @@ EOS
end
- def puts(s)
+ def puts(s="")
@io.puts indented(s)
end
| Allow empty puts in OutputFile
|
diff --git a/lib/robot.rb b/lib/robot.rb
index abc1234..def5678 100644
--- a/lib/robot.rb
+++ b/lib/robot.rb
@@ -14,7 +14,7 @@ end
def address_pattern
- /^#{@name}\s*/
+ /^((#{@name}[:,]?)|\/)\s*/
end
def hear(raw_message)
| Update calling pattern for greater ease of communication |
diff --git a/app/exporters/formatters/manual_indexable_formatter.rb b/app/exporters/formatters/manual_indexable_formatter.rb
index abc1234..def5678 100644
--- a/app/exporters/formatters/manual_indexable_formatter.rb
+++ b/app/exporters/formatters/manual_indexable_formatter.rb
@@ -6,6 +6,12 @@ end
private
+ def ex... | Send specialist sectors to Rummager for Manuals
In order to list Manuals on Topic pages for Specialist Sectors we need
to send these to Rummager. We do this by pulling out the Specialist
Sector tags when formatting the Manual for indexing and merging it into
the `indexable_attributes` provided by the `AbstractIndexabl... |
diff --git a/Casks/unity-android-support-for-editor.rb b/Casks/unity-android-support-for-editor.rb
index abc1234..def5678 100644
--- a/Casks/unity-android-support-for-editor.rb
+++ b/Casks/unity-android-support-for-editor.rb
@@ -0,0 +1,15 @@+cask 'unity-android-support-for-editor' do
+ version '5.3.1f1'
+ sha256 'c80... | Add Unity Android Build Support 5.3.1f1
|
diff --git a/whenever.gemspec b/whenever.gemspec
index abc1234..def5678 100644
--- a/whenever.gemspec
+++ b/whenever.gemspec
@@ -21,4 +21,5 @@
s.add_development_dependency "mocha", ">= 0.9.5"
s.add_development_dependency "rake"
+ s.add_development_dependency "minitest"
end
| Add minitest to development dependencies
|
diff --git a/tasks/boxes.rake b/tasks/boxes.rake
index abc1234..def5678 100644
--- a/tasks/boxes.rake
+++ b/tasks/boxes.rake
@@ -12,6 +12,7 @@ sh 'rm -f boxes/quantal64/rootfs.tar.gz'
sh 'cd boxes/quantal64 && sudo tar --numeric-owner -czf rootfs.tar.gz ./rootfs-amd64/*'
sh "cd boxes/quantal64 && su... | Clean up quantal64 rootfs after building box
|
diff --git a/lib/active_job/queue_adapters/sidekiq_adapter.rb b/lib/active_job/queue_adapters/sidekiq_adapter.rb
index abc1234..def5678 100644
--- a/lib/active_job/queue_adapters/sidekiq_adapter.rb
+++ b/lib/active_job/queue_adapters/sidekiq_adapter.rb
@@ -8,6 +8,7 @@ #Sidekiq::Client does not support symbols... | Add wrapped class name for sidekiq web interface |
diff --git a/lib/ffi-gobject_introspection/i_constant_info.rb b/lib/ffi-gobject_introspection/i_constant_info.rb
index abc1234..def5678 100644
--- a/lib/ffi-gobject_introspection/i_constant_info.rb
+++ b/lib/ffi-gobject_introspection/i_constant_info.rb
@@ -21,7 +21,7 @@ when :utf8
raw_value.force_encodin... | Fix up constant value extraction
|
diff --git a/lib/generators/refinerycms_podcasts_generator.rb b/lib/generators/refinerycms_podcasts_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/refinerycms_podcasts_generator.rb
+++ b/lib/generators/refinerycms_podcasts_generator.rb
@@ -1,6 +1,6 @@ class RefinerycmsPodcasts < Refinery::Generators::E... | Fix generator source_root, so migrations get copied over correctly. |
diff --git a/lib/whatsapp/protocol/nodes/clean_dirty_query_node.rb b/lib/whatsapp/protocol/nodes/clean_dirty_query_node.rb
index abc1234..def5678 100644
--- a/lib/whatsapp/protocol/nodes/clean_dirty_query_node.rb
+++ b/lib/whatsapp/protocol/nodes/clean_dirty_query_node.rb
@@ -8,7 +8,7 @@
def initialize(dirty_no... | Fix wrong attribute name in CleanDirtyQueryNode
|
diff --git a/NeoveraColorPicker.podspec b/NeoveraColorPicker.podspec
index abc1234..def5678 100644
--- a/NeoveraColorPicker.podspec
+++ b/NeoveraColorPicker.podspec
@@ -7,11 +7,11 @@ s.author = 'Neovera'
s.source = {
:git => 'https://github.com/neovera/colorpicker.git',
- :tag => '1.0'
+ :commit => '7e4... | Fix pod spec to include the resources
I missed the xib files and bundle in the original pod spec. This commit fixes that issue
|
diff --git a/db/migrate/20101202205446_remove_published_articles.rb b/db/migrate/20101202205446_remove_published_articles.rb
index abc1234..def5678 100644
--- a/db/migrate/20101202205446_remove_published_articles.rb
+++ b/db/migrate/20101202205446_remove_published_articles.rb
@@ -3,7 +3,7 @@ select_all("SELECT * fr... | Fix migration to generate proper SQL
(ActionItem1733)
|
diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb
index abc1234..def5678 100644
--- a/config/initializers/mime_types.rb
+++ b/config/initializers/mime_types.rb
@@ -3,4 +3,4 @@ # Add new mime types for use in respond_to blocks:
# Mime::Type.register "text/richtext", :rtf
# Mime::Type.r... | Remove useless PDF mime-type registration
Signed-off-by: Tommaso Visconti <be60654a2ce5335d5724f2c9dcbf232b965b889e@gmail.com>
|
diff --git a/CMRefresh.podspec b/CMRefresh.podspec
index abc1234..def5678 100644
--- a/CMRefresh.podspec
+++ b/CMRefresh.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "CMRefresh"
- s.version = "0.0.8"
+ s.version = "0.0.9"
s.summary = "Some util refresh categories for UIScrollView... | Update podspec file(Version number to 0.0.9).
|
diff --git a/CMSignals.podspec b/CMSignals.podspec
index abc1234..def5678 100644
--- a/CMSignals.podspec
+++ b/CMSignals.podspec
@@ -0,0 +1,10 @@+Pod::Spec.new do |s|
+ s.name = "CMSignals"
+ s.version = "1.0.0"
+ s.summary = "Qt Signals and Slots clone to Objective-C."
+ s.homepage = "https:/... | Add podspec for version 1.0.0
|
diff --git a/lib/feedcellar/curses_view.rb b/lib/feedcellar/curses_view.rb
index abc1234..def5678 100644
--- a/lib/feedcellar/curses_view.rb
+++ b/lib/feedcellar/curses_view.rb
@@ -9,7 +9,8 @@ Curses.nonl
# TODO
- feeds.to_a.reject! {|feed| feed.title.nil? }
+ feeds = feeds.to_a
+ feeds.re... | Fix a link of the cursor position is not display
|
diff --git a/ruby/receive.rb b/ruby/receive.rb
index abc1234..def5678 100644
--- a/ruby/receive.rb
+++ b/ruby/receive.rb
@@ -9,12 +9,13 @@ ch = conn.create_channel
q = ch.queue("hello")
-puts " [*] Waiting for messages in #{q.name}. To exit press CTRL+C"
-q.subscribe(:block => true) do |delivery_info, propertie... | Make the consumer in Tutorial 1 wait for messages until interrupted
Just like the Java version does.
|
diff --git a/lib/postgresql/check/table.rb b/lib/postgresql/check/table.rb
index abc1234..def5678 100644
--- a/lib/postgresql/check/table.rb
+++ b/lib/postgresql/check/table.rb
@@ -1,12 +1,12 @@ module Postgresql
module Check
module Table
- def check(column, condition = nil)
- @base.add_check(@table... | Change add_check and remove_check signatures
|
diff --git a/lib/response_mate/recorder.rb b/lib/response_mate/recorder.rb
index abc1234..def5678 100644
--- a/lib/response_mate/recorder.rb
+++ b/lib/response_mate/recorder.rb
@@ -4,7 +4,7 @@ class Recorder
include ResponseMate::ManifestParser
- attr_accessor :base_url, :conn, :requests_manifest, :manifest... | Remove redundant attr_accessor for :requests_manifest
|
diff --git a/SwiftCharts.podspec b/SwiftCharts.podspec
index abc1234..def5678 100644
--- a/SwiftCharts.podspec
+++ b/SwiftCharts.podspec
@@ -5,7 +5,7 @@ s.homepage = "https://github.com/i-schuetz/SwiftCharts"
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
s.authors = { "Ivan Schuetz"... | Set pods deployment target back to 8
|
diff --git a/lib/subscription_fu/models.rb b/lib/subscription_fu/models.rb
index abc1234..def5678 100644
--- a/lib/subscription_fu/models.rb
+++ b/lib/subscription_fu/models.rb
@@ -8,7 +8,7 @@ def needs_subscription
send(:include, InstanceMethods)
has_many :subscriptions, :class_name => "Subscri... | Rename current subscription to active subscription
|
diff --git a/morpher_inflecter.gemspec b/morpher_inflecter.gemspec
index abc1234..def5678 100644
--- a/morpher_inflecter.gemspec
+++ b/morpher_inflecter.gemspec
@@ -15,6 +15,7 @@ gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files... | Put a license into gemspec
|
diff --git a/db/migrate/limits_to_mysql.rb b/db/migrate/limits_to_mysql.rb
index abc1234..def5678 100644
--- a/db/migrate/limits_to_mysql.rb
+++ b/db/migrate/limits_to_mysql.rb
@@ -6,5 +6,6 @@ change_column :merge_request_diffs, :st_diffs, :text, limit: 2147483647
change_column :snippets, :content, :text, limi... | Add limit change for 'data' column in 'events' when using MySQL
|
diff --git a/db/migrate/20150429184013_create_fitness_professional_profiles.rb b/db/migrate/20150429184013_create_fitness_professional_profiles.rb
index abc1234..def5678 100644
--- a/db/migrate/20150429184013_create_fitness_professional_profiles.rb
+++ b/db/migrate/20150429184013_create_fitness_professional_profiles.rb... | Add foreign key to fitness professional profile table
|
diff --git a/spec/models/product_spec.rb b/spec/models/product_spec.rb
index abc1234..def5678 100644
--- a/spec/models/product_spec.rb
+++ b/spec/models/product_spec.rb
@@ -10,4 +10,9 @@ it 'has many orders' do
expect(product.orders).to be_truthy
end
+
+ it 'has many categories' do
+ product.categories.cr... | Add spec for products having many categories
|
diff --git a/Casks/android-studio.rb b/Casks/android-studio.rb
index abc1234..def5678 100644
--- a/Casks/android-studio.rb
+++ b/Casks/android-studio.rb
@@ -1,9 +1,9 @@ cask :v1 => 'android-studio' do
- version '1.1.0'
- sha256 '7d31edf46f57c2be12e228fbdb2344c0fb3a4e3fc07b692ec05156c575ef7a61'
+ version '1.2.0.12'
+... | Upgrade Android Studio.app to v1.2.0.12
|
diff --git a/spec/classes/rundeck_spec.rb b/spec/classes/rundeck_spec.rb
index abc1234..def5678 100644
--- a/spec/classes/rundeck_spec.rb
+++ b/spec/classes/rundeck_spec.rb
@@ -39,4 +39,14 @@ it { expect { should contain_package('rundeck') }.to raise_error(Puppet::Error, /Nexenta not supported/) }
end
end... | Add context for merging potentially conflicting tests
|
diff --git a/Casks/omnifocus-beta.rb b/Casks/omnifocus-beta.rb
index abc1234..def5678 100644
--- a/Casks/omnifocus-beta.rb
+++ b/Casks/omnifocus-beta.rb
@@ -1,6 +1,6 @@ cask :v1 => 'omnifocus-beta' do
- version '2.3.x-r245365'
- sha256 'd601cc7585c2a8c9127e3ca8ac1ac00afb64e63d643ca40491acc0d796768857'
+ version '2.3... | Update OmniFocus Beta to version 2.3.x-r247728
This commit updates the version and sha256 stanzas.
|
diff --git a/Casks/the-unarchiver.rb b/Casks/the-unarchiver.rb
index abc1234..def5678 100644
--- a/Casks/the-unarchiver.rb
+++ b/Casks/the-unarchiver.rb
@@ -0,0 +1,5 @@+class TheUnarchiver < Cask
+ url 'http://theunarchiver.googlecode.com/files/TheUnarchiver3.3.zip'
+ homepage 'http://unarchiver.c3.cx/'
+ version '3... | Add The Unarchiver - a free replacement for Archive Utiliy.app
|
diff --git a/db/migrate/20130321170151_rename_bookable_to_resource.rb b/db/migrate/20130321170151_rename_bookable_to_resource.rb
index abc1234..def5678 100644
--- a/db/migrate/20130321170151_rename_bookable_to_resource.rb
+++ b/db/migrate/20130321170151_rename_bookable_to_resource.rb
@@ -1,5 +1,5 @@-class Renameresourc... | Fix erroneous search/replace in migration
|
diff --git a/db/migrate/20140818152233_default_value_for_task_body.rb b/db/migrate/20140818152233_default_value_for_task_body.rb
index abc1234..def5678 100644
--- a/db/migrate/20140818152233_default_value_for_task_body.rb
+++ b/db/migrate/20140818152233_default_value_for_task_body.rb
@@ -1,13 +1,13 @@ class DefaultValu... | Use SQL for all the things |
diff --git a/spec/provider/appfog_spec.rb b/spec/provider/appfog_spec.rb
index abc1234..def5678 100644
--- a/spec/provider/appfog_spec.rb
+++ b/spec/provider/appfog_spec.rb
@@ -21,7 +21,7 @@
describe "#push_app" do
example "Without :app" do
- expect(provider.context).to receive(:shell).with("af update dpl... | Fix appfog spec about the directory's basename
This fixes #154
|
diff --git a/spec/rpub/epub/cover_spec.rb b/spec/rpub/epub/cover_spec.rb
index abc1234..def5678 100644
--- a/spec/rpub/epub/cover_spec.rb
+++ b/spec/rpub/epub/cover_spec.rb
@@ -1,7 +1,7 @@ require 'spec_helper'
describe Rpub::Epub::Cover do
- let(:book) { double('book', config: double('config', :cover_image => '... | Fix accidental Ruby 1.9 Hash syntax
|
diff --git a/spec/support/email_helper.rb b/spec/support/email_helper.rb
index abc1234..def5678 100644
--- a/spec/support/email_helper.rb
+++ b/spec/support/email_helper.rb
@@ -2,8 +2,6 @@ module EmailHelper
# Some specs trigger actions that send emails, for example creating an order.
# But sending emails d... | Remove comment refering to old spree upgrade
|
diff --git a/test/integration/test_installation.rb b/test/integration/test_installation.rb
index abc1234..def5678 100644
--- a/test/integration/test_installation.rb
+++ b/test/integration/test_installation.rb
@@ -1,6 +1,5 @@ # encoding: UTF-8
-require File.expand_path('../../test_helper', __FILE__)
require File.expa... | Remove standard helpers from integration tests
|
diff --git a/spec/unit/auom/unit/class_methods/try_convert_spec.rb b/spec/unit/auom/unit/class_methods/try_convert_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/auom/unit/class_methods/try_convert_spec.rb
+++ b/spec/unit/auom/unit/class_methods/try_convert_spec.rb
@@ -1,6 +1,6 @@ require 'spec_helper'
-descri... | Correct spec metadata for explicit coverage
|
diff --git a/lib/twentyfour_seven_office/services/authentication.rb b/lib/twentyfour_seven_office/services/authentication.rb
index abc1234..def5678 100644
--- a/lib/twentyfour_seven_office/services/authentication.rb
+++ b/lib/twentyfour_seven_office/services/authentication.rb
@@ -6,12 +6,18 @@ api_operation :logi... | Make Authentication.login input recognition more robust |
diff --git a/app/controllers/admin/users_controller.rb b/app/controllers/admin/users_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin/users_controller.rb
+++ b/app/controllers/admin/users_controller.rb
@@ -2,7 +2,7 @@ before_filter :load_user, only: [:show, :edit, :update]
def index
- @... | Fix admin users list when user has no org
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -18,7 +18,7 @@ ]
@nav_items.each do |ni|
- if ni[:path] == request.env['REQU... | Replace ENV['REQUEST_PATH'] with path to make it work in production too.
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -4,9 +4,9 @@
private
- # def after_sign_in_path_for(resource_or_scope)
- # current... | Add redirect method after sign in
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -2,4 +2,9 @@ # Prevent CSRF attacks by raising an exception.
# For APIs, you may want t... | Enable the rack mini profiler in production
* Use the ?rmp=1 query parameter to enable it.
|
diff --git a/app/controllers/friendships_controller.rb b/app/controllers/friendships_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/friendships_controller.rb
+++ b/app/controllers/friendships_controller.rb
@@ -3,13 +3,16 @@ current_user = User.find(params[:current_user])
@user = User.find(pa... | Fix two way friendships ;)
|
diff --git a/config.ru b/config.ru
index abc1234..def5678 100644
--- a/config.ru
+++ b/config.ru
@@ -3,5 +3,5 @@
Bundler.require :default, :development
-Combustion.initialize!
+Combustion.initialize! :all
run Combustion::Application
| Fix for Combustion's generated rackup file.
|
diff --git a/lib/nanoc/base/services/compiler/stages/determine_outdatedness.rb b/lib/nanoc/base/services/compiler/stages/determine_outdatedness.rb
index abc1234..def5678 100644
--- a/lib/nanoc/base/services/compiler/stages/determine_outdatedness.rb
+++ b/lib/nanoc/base/services/compiler/stages/determine_outdatedness.rb... | Refactor: Clean up DetermineOutdatedness stage a bit more
|
diff --git a/app/views/categories/rss_feed.rss.builder b/app/views/categories/rss_feed.rss.builder
index abc1234..def5678 100644
--- a/app/views/categories/rss_feed.rss.builder
+++ b/app/views/categories/rss_feed.rss.builder
@@ -1,7 +1,7 @@ xml.instruct! :xml, version: '1.0'
xml.feed xmlns: 'http://www.w3.org/2005/Ato... | Make RSS feeds use the right URL
|
diff --git a/domain.rb b/domain.rb
index abc1234..def5678 100644
--- a/domain.rb
+++ b/domain.rb
@@ -29,6 +29,5 @@ # CocoaDocs
#
dom.entity :cocoadocs_pod_metrics, :cocoadocs_pod_metric, 'cocoadocs_pod_metrics'
- dom.entity :cocoadocs_cloc_metrics, :cocoadocs_cloc_metric, 'cocoadocs_cloc_metrics'
dom.entity... | Remove refernce to cloc table
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -11,7 +11,7 @@ resources :users, except: :show
get '/profile' => 'users#show'
- root 'site#index'
+ root 'welcome#index'
namespace :api do
| Change root to map/query page
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -38,5 +38,6 @@
get 'user/:id', to: 'users#show', as: 'show_user'
get 'media/:id', to: 'media_items#show', as: 'show_media_item'
+ get ':id/edit', to: redirect('/admin/pages/%{id}/edit'... | Add route to edit any page by visiting /page/edit
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.