diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/app/models/gobierto_people/person.rb b/app/models/gobierto_people/person.rb
index abc1234..def5678 100644
--- a/app/models/gobierto_people/person.rb
+++ b/app/models/gobierto_people/person.rb
@@ -7,9 +7,9 @@ belongs_to :admin, class_name: "GobiertoAdmin::Admin"
belongs_to :site
- has_many :ev... | Make Person resources dependent on destroy
|
diff --git a/Casks/twitch-desktop.rb b/Casks/twitch-desktop.rb
index abc1234..def5678 100644
--- a/Casks/twitch-desktop.rb
+++ b/Casks/twitch-desktop.rb
@@ -0,0 +1,11 @@+cask 'twitch-desktop' do
+ version :latest
+ sha256 'e39c5c748be23cd6bf4e0164aa26575f7d86473994f9d39c13e44b5bd0fbadac'
+
+ # updates.twitchapp.net ... | Add Twitch Desktop App latest
Add Twitch Desktop App latest
|
diff --git a/server/webapp/WEB-INF/rails.new/app/presenters/api_v1/config/pipeline_config_with_minimal_attributes_representer.rb b/server/webapp/WEB-INF/rails.new/app/presenters/api_v1/config/pipeline_config_with_minimal_attributes_representer.rb
index abc1234..def5678 100644
--- a/server/webapp/WEB-INF/rails.new/app/p... | Fix tests: Rename param to :pipeline_name
Looks like it was left over by changes in beea6428ab23a99dfcf8fc4e63541a6f0fe02ebf
|
diff --git a/Casks/skitch.rb b/Casks/skitch.rb
index abc1234..def5678 100644
--- a/Casks/skitch.rb
+++ b/Casks/skitch.rb
@@ -1,7 +1,7 @@ class Skitch < Cask
- url 'http://cdn1.evernote.com/skitch/mac/release/Skitch-2.0.5.zip'
+ url 'http://cdn1.evernote.com/skitch/mac/release/Skitch-2.5.2.zip'
homepage 'http://eve... | Update Skitch to v. 2.5.2
|
diff --git a/Casks/tg-pro.rb b/Casks/tg-pro.rb
index abc1234..def5678 100644
--- a/Casks/tg-pro.rb
+++ b/Casks/tg-pro.rb
@@ -1,11 +1,11 @@ cask :v1 => 'tg-pro' do
- version '2.8.5'
- sha256 'ddffad55f0c8998323d270649f22f3e7a63ed45f867ba141a4b6df2b76bca6fc'
+ version '2.8.7'
+ sha256 '32b622cec40f4cfe0cd5455dd110696... | Update TG Pro to 2.8.7
|
diff --git a/embed/ruby/catissue/embed/jbridge.rb b/embed/ruby/catissue/embed/jbridge.rb
index abc1234..def5678 100644
--- a/embed/ruby/catissue/embed/jbridge.rb
+++ b/embed/ruby/catissue/embed/jbridge.rb
@@ -25,13 +25,8 @@ end
# load the caRuby annotations if necessary
hook.class.ensure_annotations... | Set annotation hook using the hook attribute.
|
diff --git a/tasks/testng_patch.rake b/tasks/testng_patch.rake
index abc1234..def5678 100644
--- a/tasks/testng_patch.rake
+++ b/tasks/testng_patch.rake
@@ -0,0 +1,47 @@+raise "Patch applied upstream " if Buildr::VERSION.to_s > '1.5.8'
+
+class Buildr::TestNG < TestFramework::Java
+
+ def run(tests, dependencies) #:no... | Patch the TestNG addon to ensure that test failures result in a failed build.
|
diff --git a/reversal/lib/reversal.rb b/reversal/lib/reversal.rb
index abc1234..def5678 100644
--- a/reversal/lib/reversal.rb
+++ b/reversal/lib/reversal.rb
@@ -19,11 +19,10 @@ module Reversal
VERSION = "0.9.0"
- class << self
- def decompile(iseq)
- Reverser.new(iseq).to_ir.to_s
- end
+ def decompile... | Use module functions for easier interop
|
diff --git a/lib/vagrant-notify/middleware/start_server.rb b/lib/vagrant-notify/middleware/start_server.rb
index abc1234..def5678 100644
--- a/lib/vagrant-notify/middleware/start_server.rb
+++ b/lib/vagrant-notify/middleware/start_server.rb
@@ -10,7 +10,8 @@ if pid = server_is_running?(env)
env[:... | Move logging code out of method to start server
|
diff --git a/spec/controllers/admin/orders_controller_spec.rb b/spec/controllers/admin/orders_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/admin/orders_controller_spec.rb
+++ b/spec/controllers/admin/orders_controller_spec.rb
@@ -1,7 +1,6 @@ require 'spec_helper'
RSpec.describe Spree::Admi... | Revert "Fixed a Spree::Order ActiveRecord stub"
This reverts commit dcde059475049a4b933442b9294c4f4090c96b7d which breaks on 2-4-stable.
|
diff --git a/hero_mapper/config/initializers/constants.rb b/hero_mapper/config/initializers/constants.rb
index abc1234..def5678 100644
--- a/hero_mapper/config/initializers/constants.rb
+++ b/hero_mapper/config/initializers/constants.rb
@@ -0,0 +1,16 @@+CITIES = { "NYC" => [40.730610, -73.935242],
+ "Boston" ... | Move city locations to initialize
|
diff --git a/MGBenchmark.podspec b/MGBenchmark.podspec
index abc1234..def5678 100644
--- a/MGBenchmark.podspec
+++ b/MGBenchmark.podspec
@@ -1,11 +1,11 @@ Pod::Spec.new do |s|
s.name = "MGBenchmark"
- s.version = "0.1.0"
+ s.version = "0.1.1"
s.summary = "This library provides an easy way... | Increase version number to 0.1.1
|
diff --git a/event_store-messaging.gemspec b/event_store-messaging.gemspec
index abc1234..def5678 100644
--- a/event_store-messaging.gemspec
+++ b/event_store-messaging.gemspec
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
s.name = 'event_store-messaging'
s.summary = 'Messaging primitives for EventStore using the... | Package version is increased from 0.3.0.0 to 0.3.0.1
|
diff --git a/lib/buoys/link.rb b/lib/buoys/link.rb
index abc1234..def5678 100644
--- a/lib/buoys/link.rb
+++ b/lib/buoys/link.rb
@@ -16,7 +16,7 @@ end
def mark_as_current!
- options.merge!(class: config[:current_class])
+ options[:class] = config[:current_class]
@current = true
end
| Fix `Use options[:class] = config[:current_class] instead of options.merge!(class: config[:current_class]).`
|
diff --git a/lib/docs/scrapers/symfony.rb b/lib/docs/scrapers/symfony.rb
index abc1234..def5678 100644
--- a/lib/docs/scrapers/symfony.rb
+++ b/lib/docs/scrapers/symfony.rb
@@ -26,8 +26,13 @@ Licensed under the MIT License.
HTML
+ version '3.2' do
+ self.release = '3.2.1'
+ self.base_url = "ht... | Update Symfony documentation (3.2.1, 3.1.8, 3.0.1, 2.8.2, 2.7.9)
|
diff --git a/app/models/agreement.rb b/app/models/agreement.rb
index abc1234..def5678 100644
--- a/app/models/agreement.rb
+++ b/app/models/agreement.rb
@@ -12,7 +12,12 @@ store_accessor :headcount_responsibilities, :number_of_staff, :staff_engagement_score,
:payband_1, :payband_a, :payband_b, :payband_c, :payba... | Use code rather than strings
|
diff --git a/app/models/developer.rb b/app/models/developer.rb
index abc1234..def5678 100644
--- a/app/models/developer.rb
+++ b/app/models/developer.rb
@@ -5,44 +5,6 @@
after_commit :cache_login!
- def self.fetch_by_login(username)
- premium = REDIS.sismember('hireables:developers_logins', username)
-
- i... | Remove fetch methods from model
|
diff --git a/SPDebugMenu.podspec b/SPDebugMenu.podspec
index abc1234..def5678 100644
--- a/SPDebugMenu.podspec
+++ b/SPDebugMenu.podspec
@@ -1,11 +1,11 @@ Pod::Spec.new do |s|
s.name = 'SPDebugMenu'
- s.version = '0.1'
+ s.version = '0.2'
s.license = 'MIT'
s.summary = 'Make your own debug menu with f... | Update podspec file to version 0.2
|
diff --git a/app/controllers/onboarding/school_details_controller.rb b/app/controllers/onboarding/school_details_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/onboarding/school_details_controller.rb
+++ b/app/controllers/onboarding/school_details_controller.rb
@@ -15,6 +15,7 @@ @school = Schoo... | Update the onboarding name with the school name
|
diff --git a/week-4/factorial/my_solution.rb b/week-4/factorial/my_solution.rb
index abc1234..def5678 100644
--- a/week-4/factorial/my_solution.rb
+++ b/week-4/factorial/my_solution.rb
@@ -1,32 +1,21 @@ # Factorial
-# I worked on this challenge [by myself, with: ].
+# I worked on this challenge with: Trevor Newcomb.
... | Clean up factorial ruby file for submission
|
diff --git a/spec/integration/v2/order_spec.rb b/spec/integration/v2/order_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/v2/order_spec.rb
+++ b/spec/integration/v2/order_spec.rb
@@ -16,12 +16,16 @@ #
context "using a single resource" do
let(:singular_resource) { build(:v2_order_from_fixture) }
... | Add blank lines for readability
|
diff --git a/spec/unit/recipes/default_spec.rb b/spec/unit/recipes/default_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/recipes/default_spec.rb
+++ b/spec/unit/recipes/default_spec.rb
@@ -1,13 +1,25 @@ require 'spec_helper'
-describe 'default recipe on Ubuntu 14.04' do
+describe 'mysql_database_test::default... | Test converge on the test cookbooks
|
diff --git a/test/system/intern_extern_volunteers_test.rb b/test/system/intern_extern_volunteers_test.rb
index abc1234..def5678 100644
--- a/test/system/intern_extern_volunteers_test.rb
+++ b/test/system/intern_extern_volunteers_test.rb
@@ -10,6 +10,6 @@ visit volunteers_path
click_link 'New Volunteer'
ch... | Fix testing for wrong state preselected
|
diff --git a/lib/soundcloud.rb b/lib/soundcloud.rb
index abc1234..def5678 100644
--- a/lib/soundcloud.rb
+++ b/lib/soundcloud.rb
@@ -15,6 +15,17 @@ end
module_function :new
+ def method_missing(method_name, *args, &block)
+ return super unless respond_to_missing?(method_name)
+ Client.send(method_name, *a... | Add back support for get/post/put/delete/head module functions
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -2,8 +2,10 @@ maintainer 'Dennis Hoer'
maintainer_email 'dennis.hoer@gmail.com'
license 'MIT'
-description 'Configures Safari'
+description 'Configures Apple Safari'
long_description IO.read(File.join(File.dir... | Add source and issues url
|
diff --git a/lib/with_model.rb b/lib/with_model.rb
index abc1234..def5678 100644
--- a/lib/with_model.rb
+++ b/lib/with_model.rb
@@ -6,32 +6,32 @@ module WithModel
def with_model(name, options = {}, &block)
options = options.dup
- scope = options.delete(:scope) { :each }
+ scope = options.delete(:scope)
... | Allow before/after to naturally use their own defaults
Instead of explicitly specifying that it should be :each.
(#18)
|
diff --git a/lib/scripts/restore_db_from_dump_20160616.rb b/lib/scripts/restore_db_from_dump_20160616.rb
index abc1234..def5678 100644
--- a/lib/scripts/restore_db_from_dump_20160616.rb
+++ b/lib/scripts/restore_db_from_dump_20160616.rb
@@ -0,0 +1,30 @@+# restore data from production
+# only contest, products(entrant),... | Create script that migration prizes data from db dump
|
diff --git a/lib/ankirb/anki/deck.rb b/lib/ankirb/anki/deck.rb
index abc1234..def5678 100644
--- a/lib/ankirb/anki/deck.rb
+++ b/lib/ankirb/anki/deck.rb
@@ -7,7 +7,14 @@ @name = name
@id = Time.now.to_i
@cards = {}
-
+
+ #change @cards#to_s to prevent recursive output via parent / child r... | Modify Deck.cards.to_s to prevent recursive log output.
|
diff --git a/lib/seek/samples/attribute_type_handlers/seek_resource_attribute_type_handler.rb b/lib/seek/samples/attribute_type_handlers/seek_resource_attribute_type_handler.rb
index abc1234..def5678 100644
--- a/lib/seek/samples/attribute_type_handlers/seek_resource_attribute_type_handler.rb
+++ b/lib/seek/samples/att... | Stop ID being set to the title, when title is used to look-up SEEK sample
|
diff --git a/lib/license_finder/tables.rb b/lib/license_finder/tables.rb
index abc1234..def5678 100644
--- a/lib/license_finder/tables.rb
+++ b/lib/license_finder/tables.rb
@@ -2,6 +2,9 @@ require 'sequel'
require LicenseFinder::Platform.sqlite_load_path
-LicenseFinder::DB = Sequel.connect("#{LicenseFinder::Platform... | Use module namespace to reduce noise
|
diff --git a/lib/mios/services/camera1.rb b/lib/mios/services/camera1.rb
index abc1234..def5678 100644
--- a/lib/mios/services/camera1.rb
+++ b/lib/mios/services/camera1.rb
@@ -4,6 +4,14 @@ def self.extended(base)
base.instance_variable_set("@camera1_urn", "urn:micasaverde-com:serviceId:Camera1")
... | Add methods to get camera url
|
diff --git a/lib/cukeq/scm/shell_svn_bridge.rb b/lib/cukeq/scm/shell_svn_bridge.rb
index abc1234..def5678 100644
--- a/lib/cukeq/scm/shell_svn_bridge.rb
+++ b/lib/cukeq/scm/shell_svn_bridge.rb
@@ -0,0 +1,63 @@+require "open3"
+require "nokogiri"
+
+module CukeQ
+ class Scm
+ class ShellSvnBridge
+
+ def initia... | Add ShellSvnBridge for platforms where the svn bindings are not easily installable.
|
diff --git a/Casks/zotero.rb b/Casks/zotero.rb
index abc1234..def5678 100644
--- a/Casks/zotero.rb
+++ b/Casks/zotero.rb
@@ -1,7 +1,7 @@ class Zotero < Cask
- url 'http://download.zotero.org/standalone/4.0.15/Zotero-4.0.15.dmg'
+ url 'http://download.zotero.org/standalone/4.0.16/Zotero-4.0.16.dmg'
homepage 'http:/... | Update Zotero to version 4.0.16
|
diff --git a/messaging.gemspec b/messaging.gemspec
index abc1234..def5678 100644
--- a/messaging.gemspec
+++ b/messaging.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'evt-messaging'
- s.version = '0.29.0.6'
+ s.version = '0.29.0.7'
s.summary = 'Common primitives for ... | Package version is increased from 0.29.0.6 to 0.29.0.7
|
diff --git a/html.rb b/html.rb
index abc1234..def5678 100644
--- a/html.rb
+++ b/html.rb
@@ -6,7 +6,14 @@ class Renderer
@@standard_options = {
- :block_elements => [ :h1, :p, :blockquote, :pre ]
+ :block_elements => [ :body,
+ :h1, :h2, :h3, :h4, :h5, :h6,
+ :... | Add a few more block elements.
|
diff --git a/lib/oo/haunted_house.rb b/lib/oo/haunted_house.rb
index abc1234..def5678 100644
--- a/lib/oo/haunted_house.rb
+++ b/lib/oo/haunted_house.rb
@@ -30,7 +30,7 @@ while true
@rooms.current_room.show(message)
message = ""
- message += inventory.time
+ message += @rooms.inven... | Move inventory and room creation into rooms.
|
diff --git a/lib/rubeuler/problem.rb b/lib/rubeuler/problem.rb
index abc1234..def5678 100644
--- a/lib/rubeuler/problem.rb
+++ b/lib/rubeuler/problem.rb
@@ -7,18 +7,20 @@ def initialize(options)
load_options(:number, :answer, options)
raise TypeError, ':answer should be a string' unless @answer.is_a?(... | Move Benchmark closer to the code being evaluated (inside the instance_eval)
|
diff --git a/test/unit/taxon_test.rb b/test/unit/taxon_test.rb
index abc1234..def5678 100644
--- a/test/unit/taxon_test.rb
+++ b/test/unit/taxon_test.rb
@@ -7,9 +7,9 @@ # end
test "Child taxa are in same project as parent" do
- import_job = import_jobs(:one)
+ import_job = import_jobs(:import_job1)
pa... | Fix bad reference to taxa fixture
|
diff --git a/lib/fubot/commands/fubot_image.rb b/lib/fubot/commands/fubot_image.rb
index abc1234..def5678 100644
--- a/lib/fubot/commands/fubot_image.rb
+++ b/lib/fubot/commands/fubot_image.rb
@@ -12,7 +12,7 @@ # q = v: '1.0', rsz: '8', q: query, safe: 'active'
# q.imgtype = 'animated' if typeof animated is 'b... | Disable nsfw filters for image search
|
diff --git a/test/blank_test.rb b/test/blank_test.rb
index abc1234..def5678 100644
--- a/test/blank_test.rb
+++ b/test/blank_test.rb
@@ -13,7 +13,7 @@ end
BLANK = [ EmptyTrue.new, nil, false, '', ' ', " \n\t \r ", ' ', "\u00a0", [], {} ]
-NOT = [ EmptyFalse.new, Object.new, true, 0, 1, 'a', [nil], { nil => 0 }... | Add Time blank test for coverage
|
diff --git a/spec/unit/facter/mysql_version_spec.rb b/spec/unit/facter/mysql_version_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/facter/mysql_version_spec.rb
+++ b/spec/unit/facter/mysql_version_spec.rb
@@ -8,6 +8,7 @@ describe 'mysql_version' do
context 'with value' do
before :each do
+ ... | Fix facter mysql version unit test
|
diff --git a/IRLSize.podspec b/IRLSize.podspec
index abc1234..def5678 100644
--- a/IRLSize.podspec
+++ b/IRLSize.podspec
@@ -20,5 +20,5 @@ s.public_header_files = 'Pod/Classes/**/*.h'
s.frameworks = 'Foundation', 'UIKit'
- s.dependency 'SDVersion', '~> 3.0'
+ s.dependency 'SDVersion', '~> 3.0.1'
end
| Fix SDVersion import for Travis.
|
diff --git a/locales/untranslated.rb b/locales/untranslated.rb
index abc1234..def5678 100644
--- a/locales/untranslated.rb
+++ b/locales/untranslated.rb
@@ -7,10 +7,10 @@ ar: "العربية",
de: "Deutsch",
en: "English",
- es: "Español",
- fr: "Français",
- hu: "Mag... | Use lower case unless grammatically required
|
diff --git a/lib/rabl-rails/nodes/attribute.rb b/lib/rabl-rails/nodes/attribute.rb
index abc1234..def5678 100644
--- a/lib/rabl-rails/nodes/attribute.rb
+++ b/lib/rabl-rails/nodes/attribute.rb
@@ -1,17 +1,20 @@-require 'forwardable'
-
module RablRails
module Nodes
class Attribute
- extend Forwardable
-
- ... | Remove Forwardable in favor of code (making `each` 9% faster yay)
|
diff --git a/test/tc_relaxng.rb b/test/tc_relaxng.rb
index abc1234..def5678 100644
--- a/test/tc_relaxng.rb
+++ b/test/tc_relaxng.rb
@@ -0,0 +1,39 @@+require "xml"
+require 'test/unit'
+
+class TestRelaxNG < Test::Unit::TestCase
+ def setup
+ xp = XML::Parser.new
+ @doc = XML::Document.file(File.join(File.dirnam... | Apply patch 21285 from Morus Walter which adds RelaxNG support.
|
diff --git a/npm-rails.gemspec b/npm-rails.gemspec
index abc1234..def5678 100644
--- a/npm-rails.gemspec
+++ b/npm-rails.gemspec
@@ -21,8 +21,8 @@ ]
spec.require_paths = ["lib"]
- spec.add_development_dependency "bundler", "~> 1.9"
- spec.add_development_dependency "rake", "~> 10.0"
+ spec.add_development_dep... | Remove version from from bundler dependencie
|
diff --git a/lib/websocket/server_handshake.rb b/lib/websocket/server_handshake.rb
index abc1234..def5678 100644
--- a/lib/websocket/server_handshake.rb
+++ b/lib/websocket/server_handshake.rb
@@ -1,9 +1,23 @@ module WebSocket
class ServerHandshake < Http::Response
- def initialize(status = nil, version = "1.1"... | Add method to render handshake response
|
diff --git a/library/logger/fixtures/common.rb b/library/logger/fixtures/common.rb
index abc1234..def5678 100644
--- a/library/logger/fixtures/common.rb
+++ b/library/logger/fixtures/common.rb
@@ -6,7 +6,9 @@ str.gsub(/[A-Z].*\[.*\]/, "").lstrip
end
- ruby_version_is ''...'2.2' do
+ # Use defined? so that ev... | Use defined? in Logger fixtures to avoid issues with --unguarded
* --unguarded is for instance used for mspec tag --purge.
|
diff --git a/app/presenters/queries/expanded_link_set.rb b/app/presenters/queries/expanded_link_set.rb
index abc1234..def5678 100644
--- a/app/presenters/queries/expanded_link_set.rb
+++ b/app/presenters/queries/expanded_link_set.rb
@@ -10,18 +10,7 @@ end
def links
- @links ||= dependees.merge(dep... | Use LinkExpansion in ExpandedLinkSet Query Presenter
This replaces the previous dual direction approaches to link expansion
to use a single class that mediates both directions.
|
diff --git a/app/representers/api/license_representer.rb b/app/representers/api/license_representer.rb
index abc1234..def5678 100644
--- a/app/representers/api/license_representer.rb
+++ b/app/representers/api/license_representer.rb
@@ -1,9 +1,11 @@ # encoding: utf-8
+require 'roar/json/hal'
+require 'hal_api/represent... | Use HAR base, remove includes
|
diff --git a/library/rbconfig/rbconfig_spec.rb b/library/rbconfig/rbconfig_spec.rb
index abc1234..def5678 100644
--- a/library/rbconfig/rbconfig_spec.rb
+++ b/library/rbconfig/rbconfig_spec.rb
@@ -23,6 +23,20 @@ File.should.exist?("#{archdir}/etc.#{RbConfig::CONFIG['DLEXT']}")
end
end
+
+ it "contains no... | Add spec for checking rbconfig strings are not frozen.
|
diff --git a/spree-refinerycms-authentication.gemspec b/spree-refinerycms-authentication.gemspec
index abc1234..def5678 100644
--- a/spree-refinerycms-authentication.gemspec
+++ b/spree-refinerycms-authentication.gemspec
@@ -13,6 +13,6 @@ gem.test_files = gem.files.grep(%r{^spec/})
gem.require_paths = ["lib"]
... | Support Spree 1.3 in gemspec |
diff --git a/lib/qiita/markdown/embed/code_pen.rb b/lib/qiita/markdown/embed/code_pen.rb
index abc1234..def5678 100644
--- a/lib/qiita/markdown/embed/code_pen.rb
+++ b/lib/qiita/markdown/embed/code_pen.rb
@@ -5,6 +5,7 @@ SCRIPT_URLS = [
"https://production-assets.codepen.io/assets/embed/ei.js",
... | Add new codepen embeded script url
|
diff --git a/vagrant_box_defaults.rb b/vagrant_box_defaults.rb
index abc1234..def5678 100644
--- a/vagrant_box_defaults.rb
+++ b/vagrant_box_defaults.rb
@@ -5,4 +5,4 @@ $SERVER_BOX = "cilium/ubuntu-dev"
$SERVER_VERSION= "164"
$NETNEXT_SERVER_BOX= "cilium/ubuntu-next"
-$NETNEXT_SERVER_VERSION= "32"
+$NETNEXT_SERVER_VE... | Bump cilium/ubuntu-next version to 42
This includes an updated version of cilium/iproute2 (50a9b6da)
and bumps the net-next tree to version 5.4.
Signed-off-by: Sebastian Wicki <db043b2055cb3a47b2eb0b5aebf4e114a8c24a5a@isovalent.com>
|
diff --git a/rvpacker.gemspec b/rvpacker.gemspec
index abc1234..def5678 100644
--- a/rvpacker.gemspec
+++ b/rvpacker.gemspec
@@ -4,18 +4,18 @@ require 'rvpacker/version'
Gem::Specification.new do |spec|
- spec.name = "rvpacker"
+ spec.name = 'rvpacker'
spec.version = Rvpacker::VERSION
- ... | Update ownership information in gemspec.
|
diff --git a/event_store-messaging.gemspec b/event_store-messaging.gemspec
index abc1234..def5678 100644
--- a/event_store-messaging.gemspec
+++ b/event_store-messaging.gemspec
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
s.name = 'event_store-messaging'
s.summary = 'Messaging primitives for EventStore using the... | Package version is increased from 0.1.18 to 0.2.0
[breaking change] Writer substitute interface is not entirely compatible with previous version
|
diff --git a/ruby-measurement.gemspec b/ruby-measurement.gemspec
index abc1234..def5678 100644
--- a/ruby-measurement.gemspec
+++ b/ruby-measurement.gemspec
@@ -14,7 +14,7 @@ gem.license = 'MIT'
gem.files = `git ls-files`.split($/)
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.ba... | Add space before block braces
|
diff --git a/TrailsKit.podspec b/TrailsKit.podspec
index abc1234..def5678 100644
--- a/TrailsKit.podspec
+++ b/TrailsKit.podspec
@@ -1,18 +1,18 @@ Pod::Spec.new do |s|
- s.name = 'TrailsKit'
- s.version = '0.3.0'
- s.summary = 'Tools for representing and displaying geographical data for parks and trails.'
- s.homep... | Fix quotes so publishing script works
|
diff --git a/example/zulip_message_echo.rb b/example/zulip_message_echo.rb
index abc1234..def5678 100644
--- a/example/zulip_message_echo.rb
+++ b/example/zulip_message_echo.rb
@@ -0,0 +1,18 @@+$:.push File.expand_path('../../lib', __FILE__)
+require 'zulip'
+
+### Sends a private message to a new thread is posted to a... | Add an example useage of the eventual api
|
diff --git a/app/helpers/admin_helper.rb b/app/helpers/admin_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/admin_helper.rb
+++ b/app/helpers/admin_helper.rb
@@ -7,4 +7,9 @@ def authorize
redirect_to '/login' unless current_user
end
+
+ # check if user is admin
+ def admin?
+ User.find(session... | Add check if user is admin
|
diff --git a/app/helpers/blogs_helper.rb b/app/helpers/blogs_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/blogs_helper.rb
+++ b/app/helpers/blogs_helper.rb
@@ -18,7 +18,7 @@ else
"
<div class='delete' id=comment_#{comment.id}>
- <span>#{comment.id}楼 来自 <span class='red'>#{comment... | Fix deleted comments for specific blog 500 server error.
|
diff --git a/app/helpers/items_helper.rb b/app/helpers/items_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/items_helper.rb
+++ b/app/helpers/items_helper.rb
@@ -5,6 +5,6 @@ end
def item_params
- params.require(:item).permit(:name, :description, :image, :price, :quantity )
+ params.requi... | Include category_id as an allowed param for items
|
diff --git a/app/helpers/pages_helper.rb b/app/helpers/pages_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/pages_helper.rb
+++ b/app/helpers/pages_helper.rb
@@ -3,7 +3,7 @@ unless page.parent.nil?
path_to_page(page.parent) + '/' + page.slug
else
- root_url + '/' + page.slug
+ root_... | Make root_url always have trailing slash |
diff --git a/spec/apis/voting_spec.rb b/spec/apis/voting_spec.rb
index abc1234..def5678 100644
--- a/spec/apis/voting_spec.rb
+++ b/spec/apis/voting_spec.rb
@@ -27,8 +27,7 @@ expect(question.reload.vote_count).to eq 1
end
- it "should reorder questions based on votes" do
-
+ xit "validates so... | Write pending test for vote validations
|
diff --git a/spec/hash_branch_spec.rb b/spec/hash_branch_spec.rb
index abc1234..def5678 100644
--- a/spec/hash_branch_spec.rb
+++ b/spec/hash_branch_spec.rb
@@ -1,5 +1,6 @@ require 'spec_helper'
require 'compo'
+require 'hash_composite_spec'
describe Compo::HashBranch do
describe '#initialize' do
@@ -11,4 +12,6 ... | Include hash composite examples in HashBranch.
|
diff --git a/spec/models/post.spec.rb b/spec/models/post.spec.rb
index abc1234..def5678 100644
--- a/spec/models/post.spec.rb
+++ b/spec/models/post.spec.rb
@@ -0,0 +1,28 @@+require "rails_helper"
+
+RSpec.describe Post, :type => :model do
+ before(:all) do
+ user = User.create(name: 'Bob', email: 'bob@dbc.com', pa... | Add tests for post mode
|
diff --git a/spec/reel/server_spec.rb b/spec/reel/server_spec.rb
index abc1234..def5678 100644
--- a/spec/reel/server_spec.rb
+++ b/spec/reel/server_spec.rb
@@ -37,6 +37,7 @@ with_reel(handler) do
http = Net::HTTP.new(endpoint.host, endpoint.port)
request = Net::HTTP::Post.new(endpoint.request_uri)
+ ... | Send Connection: close in test
|
diff --git a/spec/tic_tac_toe_spec.rb b/spec/tic_tac_toe_spec.rb
index abc1234..def5678 100644
--- a/spec/tic_tac_toe_spec.rb
+++ b/spec/tic_tac_toe_spec.rb
@@ -10,4 +10,14 @@ expect(game).to be_an_instance_of TicTacToe::Board
end
+ describe TicTacToe::Board do
+
+ before :each do
+ @game = TicTacToe:... | Add failing test about pos method
|
diff --git a/cookbooks/bcpc-hadoop/recipes/mysql_connector.rb b/cookbooks/bcpc-hadoop/recipes/mysql_connector.rb
index abc1234..def5678 100644
--- a/cookbooks/bcpc-hadoop/recipes/mysql_connector.rb
+++ b/cookbooks/bcpc-hadoop/recipes/mysql_connector.rb
@@ -40,7 +40,7 @@ maven 'mysql-connector-java' do
group_id 'mysq... | Revert the mysql jar install target
Prior to #960, the mysql-connector.jar is being installed in
/usr/share/java/mysql-connector.jar instead of
/usr/share/java/mysql-connector.jar/mysql-connector.jar. This new
location causes Oozie and Hive to no find the jar.
Fixes #970 and #971
|
diff --git a/kernel/bootstrap/metaclass.rb b/kernel/bootstrap/metaclass.rb
index abc1234..def5678 100644
--- a/kernel/bootstrap/metaclass.rb
+++ b/kernel/bootstrap/metaclass.rb
@@ -4,7 +4,7 @@ # Do not define #methods as an accessor for @methods, use #method_table instead
def method_cache ; @method_cache ... | Fix constants lookup in MetaClasses.
|
diff --git a/ClusterPrePermissions.podspec b/ClusterPrePermissions.podspec
index abc1234..def5678 100644
--- a/ClusterPrePermissions.podspec
+++ b/ClusterPrePermissions.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "ClusterPrePermissions"
- s.version = "0.3.0"
+ s.version = "0... | Update to '0.4.0' for reals
|
diff --git a/app/models/playlist_item.rb b/app/models/playlist_item.rb
index abc1234..def5678 100644
--- a/app/models/playlist_item.rb
+++ b/app/models/playlist_item.rb
@@ -1,4 +1,6 @@ class PlaylistItem < ActiveRecord::Base
+ include AuthUtilities
+
acts_as_category :scope => :playlist, :hidden => :active
act... | Fix for default item model
git-svn-id: 40f48ef6be603b97d118b87e4ef5b23ea6e9fa7c@201 ac1452a4-9358-4c15-a3b0-de1119e254d8
|
diff --git a/test/integration/users_profile_test.rb b/test/integration/users_profile_test.rb
index abc1234..def5678 100644
--- a/test/integration/users_profile_test.rb
+++ b/test/integration/users_profile_test.rb
@@ -5,6 +5,7 @@
def setup
@user = users(:nick)
+ log_in_as(@user)
end
test "profile dis... | Test for the display of a user's groups
Note that this test also checks that groups with long descriptions
only show the first 140 characters.
|
diff --git a/lib/tasks/register_q_assessment_results_subscriber.rake b/lib/tasks/register_q_assessment_results_subscriber.rake
index abc1234..def5678 100644
--- a/lib/tasks/register_q_assessment_results_subscriber.rake
+++ b/lib/tasks/register_q_assessment_results_subscriber.rake
@@ -5,9 +5,6 @@
desc 'Register a subs... | REFACTOR: Remove puts statements in rake task
|
diff --git a/db/migrate/20140524232230_devise_create_users.rb b/db/migrate/20140524232230_devise_create_users.rb
index abc1234..def5678 100644
--- a/db/migrate/20140524232230_devise_create_users.rb
+++ b/db/migrate/20140524232230_devise_create_users.rb
@@ -34,7 +34,7 @@ t.timestamps
end
- # add_index :u... | Fix uncommented email index for devise user model
|
diff --git a/generators/govkit/templates/govkit.rb b/generators/govkit/templates/govkit.rb
index abc1234..def5678 100644
--- a/generators/govkit/templates/govkit.rb
+++ b/generators/govkit/templates/govkit.rb
@@ -2,7 +2,7 @@ GovKit.configure do |config|
# Get an API key for Sunlight's Open States project here:
... | Update Rails 2 generate to be in sync w/Rails 3 generator
|
diff --git a/initforthe-routes.gemspec b/initforthe-routes.gemspec
index abc1234..def5678 100644
--- a/initforthe-routes.gemspec
+++ b/initforthe-routes.gemspec
@@ -15,5 +15,5 @@
s.files = Dir["{lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
- s.add_dependency "rails", "~> 3.2.2"
+ s.add_dependency "r... | Allow versions of rails greater than 3.2.2
|
diff --git a/spec/replace_cls_spec.rb b/spec/replace_cls_spec.rb
index abc1234..def5678 100644
--- a/spec/replace_cls_spec.rb
+++ b/spec/replace_cls_spec.rb
@@ -1,11 +1,9 @@ require 'spec_helper'
describe ReplaceGemname::ReplaceCls do
-
subject(:replace_cls) { ReplaceGemname::ReplaceCls.new }
describe ".new"... | Remove some empty lines in example spec.
|
diff --git a/spec/unit/schema_spec.rb b/spec/unit/schema_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/schema_spec.rb
+++ b/spec/unit/schema_spec.rb
@@ -17,7 +17,7 @@ schema = rom.schema
expect(schema.people.to_a).to eql(rom.postgres.people.to_a)
- expect(schema.people.header).to eql([:id, :... | Update spec to pass on rom from master
|
diff --git a/lib/code_hunter/git_blamer.rb b/lib/code_hunter/git_blamer.rb
index abc1234..def5678 100644
--- a/lib/code_hunter/git_blamer.rb
+++ b/lib/code_hunter/git_blamer.rb
@@ -20,7 +20,7 @@ end
def invoke
- `git blame #{File.realpath(@path)} -L #@line,+1 -l -e -p`
+ `git blame #{File.realpath(... | Remove unnecessary git-blame option `-e`
Unfortunately, this is not only unncecessary but also broken in git version
less than 1.7.4. Git learned -e option at version 1.7.4
|
diff --git a/lib/flop/repository/memory.rb b/lib/flop/repository/memory.rb
index abc1234..def5678 100644
--- a/lib/flop/repository/memory.rb
+++ b/lib/flop/repository/memory.rb
@@ -1,18 +1,16 @@ module Flop
module Repository
class Memory
- attr_accessor :features
-
def initialize
- self.featu... | Replace `attr_accessor` with instance variable
The `features` hash does not have to be accessed from outside the
repository class.
|
diff --git a/lib/gooder_data/session_id.rb b/lib/gooder_data/session_id.rb
index abc1234..def5678 100644
--- a/lib/gooder_data/session_id.rb
+++ b/lib/gooder_data/session_id.rb
@@ -29,9 +29,7 @@ end
def encrypt_options
- options = { recipients: @options[:good_data_sso_recipient], armor: true, always_tru... | Fix password parameter to GPG
|
diff --git a/lib/heroku/deploy/strategy.rb b/lib/heroku/deploy/strategy.rb
index abc1234..def5678 100644
--- a/lib/heroku/deploy/strategy.rb
+++ b/lib/heroku/deploy/strategy.rb
@@ -11,48 +11,40 @@ module Heroku::Deploy
class Strategy
def self.build_from_delta(delta, app_data, api)
- task_klasses = [ Task::... | Create task classes, instead of collecting klasses.
|
diff --git a/lib/i18n_lazy_scope/helper.rb b/lib/i18n_lazy_scope/helper.rb
index abc1234..def5678 100644
--- a/lib/i18n_lazy_scope/helper.rb
+++ b/lib/i18n_lazy_scope/helper.rb
@@ -3,5 +3,6 @@ def t_scoped(key, **args)
t(key, scope: lazy_scope, **args)
end
+ alias_method :ts, :t_scoped
end
end
| Create alias as :ts of :t_scoped method
|
diff --git a/lib/open_mensa/feed_parser.rb b/lib/open_mensa/feed_parser.rb
index abc1234..def5678 100644
--- a/lib/open_mensa/feed_parser.rb
+++ b/lib/open_mensa/feed_parser.rb
@@ -1,3 +1,5 @@+require 'nokogiri'
+
module OpenMensa
# FeedParser provide methods to parse XML input into an Nokogiri
@@ -32,7 +34,7 @@ ... | Fix constant lookup exception in FeedParser
|
diff --git a/lib/tasks/publishing_api.rake b/lib/tasks/publishing_api.rake
index abc1234..def5678 100644
--- a/lib/tasks/publishing_api.rake
+++ b/lib/tasks/publishing_api.rake
@@ -0,0 +1,7 @@+namespace :publishing_api do
+ desc "Publish all Policies to the Publishing API"
+ task publish_policies: :environment do
+ ... | Add rake task for mass publishing
As we continue to iterate on what is sent as part of the ContentItem, we
need a way to mass publish all the Policies with the new information.
This commit adds a rake task which triggers a save for all PolicyAreas
and Programmes, which then publishes them to the PublishingAPI.
|
diff --git a/app.rb b/app.rb
index abc1234..def5678 100644
--- a/app.rb
+++ b/app.rb
@@ -2,7 +2,7 @@ require 'sinatra/base'
require_relative 'lib/tictactoe_rules'
require_relative 'lib/tictactoe_board'
-require_relative 'lib/comp_player'
+require_relative 'lib/player_ai'
require_relative 'lib/web_game_engine'
cla... | Move to Playeai for consistency
|
diff --git a/lib/generators/controller_override.rb b/lib/generators/controller_override.rb
index abc1234..def5678 100644
--- a/lib/generators/controller_override.rb
+++ b/lib/generators/controller_override.rb
@@ -5,13 +5,13 @@ module Rails
module Generators
class ControllerGenerator
- hook_for :decorator, ... | Fix warnings with recent thor versions
Otherwise running things like `bin/rails g --help` with `draper`
installed leads to warnings like this:
```
Expected string default value for '--decorator'; got true (boolean)
```
See https://github.com/erikhuda/thor/issues/538 for reference.
|
diff --git a/app/models/bug_entry.rb b/app/models/bug_entry.rb
index abc1234..def5678 100644
--- a/app/models/bug_entry.rb
+++ b/app/models/bug_entry.rb
@@ -3,7 +3,7 @@
def initialize(bz)
@bz_id = bz.bz_id
- @depends_on_ids = bz.depends_on_ids == "[]" ? "" : bz.depends_on_ids.to_s.split(",") ... | Fix has_all_acks? indentation and logic
|
diff --git a/app/helpers/blog/blogs_helper.rb b/app/helpers/blog/blogs_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/blog/blogs_helper.rb
+++ b/app/helpers/blog/blogs_helper.rb
@@ -14,7 +14,7 @@ end
def all_tags
- Blog::Tag.all
+ Blog::Tag.all.sort_by(&:name)
end
end
| Sort 'all tags' by name
|
diff --git a/app/models/ecm/cms/navigation.rb b/app/models/ecm/cms/navigation.rb
index abc1234..def5678 100644
--- a/app/models/ecm/cms/navigation.rb
+++ b/app/models/ecm/cms/navigation.rb
@@ -7,7 +7,8 @@
# validations
validates :locale, inclusion: I18n.available_locales.map(&:to_s),
- allow_... | Fix validations in rails 5.
|
diff --git a/app/services/receiver_service.rb b/app/services/receiver_service.rb
index abc1234..def5678 100644
--- a/app/services/receiver_service.rb
+++ b/app/services/receiver_service.rb
@@ -3,8 +3,8 @@ # @param Receiver object
# @param boolean true false
def self.save(receiver)
- if !TeamPolicy.can_manage... | Fix bug wrong receiver condition
|
diff --git a/app/controllers/users/registrations_controller.rb b/app/controllers/users/registrations_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/users/registrations_controller.rb
+++ b/app/controllers/users/registrations_controller.rb
@@ -6,6 +6,12 @@ else
flash[:alert] = resource.e... | Include casual reader transition when profile is saved with existing email
|
diff --git a/jobs/commercial_dashboard.rb b/jobs/commercial_dashboard.rb
index abc1234..def5678 100644
--- a/jobs/commercial_dashboard.rb
+++ b/jobs/commercial_dashboard.rb
@@ -1,5 +1,9 @@+#!/bin/env ruby
+# encoding: utf-8
+
SCHEDULER.every '1h', :first_at => Time.now do
send_event('members', { current: Commercial... | Add suffix to average age
|
diff --git a/tasks/linting.rake b/tasks/linting.rake
index abc1234..def5678 100644
--- a/tasks/linting.rake
+++ b/tasks/linting.rake
@@ -1,10 +1,11 @@ desc "Build *corelib* and *stdlib* and lint the result"
task :jshint do
dir = 'tmp/lint'
-
+ puts
+ puts "= Checking distributed files..."
unless ENV['SKIP_BUIL... | Check every corelib file with jshint |
diff --git a/tasks/testing.rake b/tasks/testing.rake
index abc1234..def5678 100644
--- a/tasks/testing.rake
+++ b/tasks/testing.rake
@@ -10,8 +10,7 @@ desc 'Run tests'
task :execute_rake_tests do
SUPPORTED_RUBIES.each do |r|
- # `rvm use #{ r }`
- `chruby #{ r }`
+ `rvm use #{ r }`
`bun... | Revert "convert from rvm to chruby"
This reverts commit 6b78333bcb01e88967e904e11743685a3121c35c.
|
diff --git a/app/views/layouts/bobcat.rb b/app/views/layouts/bobcat.rb
index abc1234..def5678 100644
--- a/app/views/layouts/bobcat.rb
+++ b/app/views/layouts/bobcat.rb
@@ -21,18 +21,6 @@ end
end
end
-
- # Login link and icon
- def login(params={})
- (current_user) ? link_to_l... | Remove firstname login code for the BobCat layout since it's now bundled in with nyulibraries-assets
|
diff --git a/app/helpers/sessions_helper.rb b/app/helpers/sessions_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/sessions_helper.rb
+++ b/app/helpers/sessions_helper.rb
@@ -1,2 +1,10 @@ module SessionsHelper
+ # Login the given user
+ def log_in(user)
+ session[:user_id] = user.id
+ end
+
+ def curre... | Add session helper methods log_in & current_user
|
diff --git a/SIGS/app/controllers/user_controller.rb b/SIGS/app/controllers/user_controller.rb
index abc1234..def5678 100644
--- a/SIGS/app/controllers/user_controller.rb
+++ b/SIGS/app/controllers/user_controller.rb
@@ -15,7 +15,9 @@ def create
@user = User.new(user_params)
if @user.save
- #usuario cri... | Add error log to create
|
diff --git a/lib/discordrb/events/bans.rb b/lib/discordrb/events/bans.rb
index abc1234..def5678 100644
--- a/lib/discordrb/events/bans.rb
+++ b/lib/discordrb/events/bans.rb
@@ -1,3 +1,5 @@+require 'discordrb/events/generic'
+
module Discordrb::Events
# Raised when a user is banned
class UserBanEvent
@@ -16,7 +18... | Make UserBanEventHandler correctly inherit from EventHandler
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.