diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/mysql-tools.gemspec b/mysql-tools.gemspec
index abc1234..def5678 100644
--- a/mysql-tools.gemspec
+++ b/mysql-tools.gemspec
@@ -13,6 +13,8 @@ s.required_rubygems_version = ">= 1.3.6"
s.add_dependency "gli"
+ s.add_dependency "mysql2"
+ s.add_dependency "my_obfuscate"
s.add_development_depende... | Update dependency information in gemspec.
|
diff --git a/catarse_stripe.gemspec b/catarse_stripe.gemspec
index abc1234..def5678 100644
--- a/catarse_stripe.gemspec
+++ b/catarse_stripe.gemspec
@@ -18,7 +18,7 @@
s.add_dependency "rails", "~> 3.2.11"
s.add_dependency "activemerchant", ">= 1.17.0"
- s.add_dependency "stripe", :git => 'https://github.com/str... | Fix new dependencies and Migrations
|
diff --git a/lib/ansible/transmit.rb b/lib/ansible/transmit.rb
index abc1234..def5678 100644
--- a/lib/ansible/transmit.rb
+++ b/lib/ansible/transmit.rb
@@ -1,9 +1,7 @@ module Ansible
module Transmit
def self.extended(base)
- base.class_eval do
- include ActionController::Live
- end
+ base... | Use concise block syntax for one liner
|
diff --git a/lib/bonsai/webserver.rb b/lib/bonsai/webserver.rb
index abc1234..def5678 100644
--- a/lib/bonsai/webserver.rb
+++ b/lib/bonsai/webserver.rb
@@ -14,7 +14,7 @@ begin
Page.find("index").render
rescue Exception => e
- @error = e.message
+ @error = e
erb :error
... | Send the whole exception instance to the view
|
diff --git a/lib/elbow/capistrano.rb b/lib/elbow/capistrano.rb
index abc1234..def5678 100644
--- a/lib/elbow/capistrano.rb
+++ b/lib/elbow/capistrano.rb
@@ -9,11 +9,14 @@ all_cnames= packet.answer.reject { |p| !p.instance_of? Net::DNS::RR::CNAME }
cname = all_cnames.find { |c| c.name == "#{name}."}.cname[0..-2... | Support for different AWS regions.
Simply set a cap variable called 'aws_region' to the region of your
ELB.
|
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
@@ -16,7 +16,7 @@ [S], [S, E], [E], [], [S, E], [], [E], [S],
[S], [S], [S, E], [E], [U, D], [S, E], [U, D], [S],
[], [S], [S, E], [E], [E], ... | Make room hidden swing axe.
|
diff --git a/lib/plezi/activation.rb b/lib/plezi/activation.rb
index abc1234..def5678 100644
--- a/lib/plezi/activation.rb
+++ b/lib/plezi/activation.rb
@@ -16,9 +16,10 @@ self.hash_proc_4symstr # creates the Proc object used for request params
@plezi_autostart = true if @plezi_autostart.nil?
... | Add timeout support to the ENV
|
diff --git a/lib/whoopsie/railtie.rb b/lib/whoopsie/railtie.rb
index abc1234..def5678 100644
--- a/lib/whoopsie/railtie.rb
+++ b/lib/whoopsie/railtie.rb
@@ -13,15 +13,17 @@
# Adds a condition to decide when an exception must be ignored or not.
# The ignore_if method can be invoked multiple times to a... | Disable notifications by not configuring notifier
|
diff --git a/Library/Formula/p0f.rb b/Library/Formula/p0f.rb
index abc1234..def5678 100644
--- a/Library/Formula/p0f.rb
+++ b/Library/Formula/p0f.rb
@@ -19,6 +19,6 @@ 'RAAAAAIAAABFAABAbvpAAEAGAAB/AAABfwAAAcv8Iyjt2/Pg' \
'AAAAALAC///+NAAAAgQ/2AEDAwQBAQgKCyrc9wAAAAAEAgAA'
(testpath / 'test.pca... | Use relative path to test file
Reverted last commits use of the full path to the test file.
The executable is tested from within the `testpath`, so it's unnecessary.
|
diff --git a/Socket.IO-Client-Swift.podspec b/Socket.IO-Client-Swift.podspec
index abc1234..def5678 100644
--- a/Socket.IO-Client-Swift.podspec
+++ b/Socket.IO-Client-Swift.podspec
@@ -12,7 +12,7 @@ s.license = { :type => 'MIT' }
s.author = { "Erik" => "nuclear.ace@gmail.com" }
s.ios.deployment_targe... | Modify mac version base mac os 10.9
|
diff --git a/ve.gemspec b/ve.gemspec
index abc1234..def5678 100644
--- a/ve.gemspec
+++ b/ve.gemspec
@@ -5,6 +5,7 @@ s.platform = Gem::Platform::RUBY
s.authors = ["Kim Ahlström"]
s.email = ["kim.ahlstrom@gmail.com"]
+ s.license = 'MIT'
s.homepage = "http://github.com/kimtaro/ve"
s.sum... | Add license metadata to gem specification
|
diff --git a/fake_email_validator.gemspec b/fake_email_validator.gemspec
index abc1234..def5678 100644
--- a/fake_email_validator.gemspec
+++ b/fake_email_validator.gemspec
@@ -7,9 +7,9 @@ spec.version = '0.0.1'
spec.authors = ['Maxim Dobryakov']
spec.email = ['maxim.dobryakov@gmail.com']
- ... | Fix warnings related to *.gemspec
|
diff --git a/app/controllers/bench_controller.rb b/app/controllers/bench_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/bench_controller.rb
+++ b/app/controllers/bench_controller.rb
@@ -3,7 +3,7 @@
private
def find_records
- @records = (1..500).map do |n|
+ @records = 500.times.map do |n... | Use time.map instead of making a range
|
diff --git a/app/controllers/items_controller.rb b/app/controllers/items_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/items_controller.rb
+++ b/app/controllers/items_controller.rb
@@ -2,10 +2,13 @@ helper_method :display_user_votes_for, :new_item_for_current_user
def index
+ @items = Item.whe... | Change Item Index Search To Use Least Code
Change Item index search to use lest code in order allow for updates in
the search for future updates.
|
diff --git a/app/controllers/terms_controller.rb b/app/controllers/terms_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/terms_controller.rb
+++ b/app/controllers/terms_controller.rb
@@ -1,7 +1,7 @@ class TermsController < ApplicationController
before_filter :store_location
-
+ layout 'relaunch'... | Use new layout for terms controller.
|
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -6,13 +6,14 @@
def create
@user = User.new(user_params)
- if @user.save
- session[:user_id] = @user... | Fix user controller to function with Swift and Heroku
|
diff --git a/app/models/cloud_search_document.rb b/app/models/cloud_search_document.rb
index abc1234..def5678 100644
--- a/app/models/cloud_search_document.rb
+++ b/app/models/cloud_search_document.rb
@@ -0,0 +1,20 @@+class CloudSearchDocument
+ include Mongoid::Document
+
+ field :url, type: String
+... | Add cloud search document model.
|
diff --git a/app/models/concerns/participable.rb b/app/models/concerns/participable.rb
index abc1234..def5678 100644
--- a/app/models/concerns/participable.rb
+++ b/app/models/concerns/participable.rb
@@ -32,12 +32,10 @@ case value
when User
[value]
- when Array
+ when Enumerable, ActiveRecord::Re... | Fix behavior for Enumerable-like ActiveRecord relations.
|
diff --git a/knife-windows.gemspec b/knife-windows.gemspec
index abc1234..def5678 100644
--- a/knife-windows.gemspec
+++ b/knife-windows.gemspec
@@ -15,7 +15,7 @@
s.required_ruby_version = ">= 1.9.1"
s.add_dependency "winrm", "~> 1.3"
- s.add_dependency "winrm-s", "~> 0.3.0.dev.0"
+ s.add_dependency "winrm-s",... | Bump winrm-s dep to 0.3.0 final
|
diff --git a/lib/ba_speak/nodes.rb b/lib/ba_speak/nodes.rb
index abc1234..def5678 100644
--- a/lib/ba_speak/nodes.rb
+++ b/lib/ba_speak/nodes.rb
@@ -18,6 +18,5 @@ class RequirementNode < Node; end
class ExamplesNode < Node; end
class RowNode < Node; end
- class TextNode < Node; end
end
| Remove extraneous BA Speak node
|
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb
index abc1234..def5678 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -14,7 +14,7 @@
def version_message(spec)
message = "#{spec.name} #{spec.version}"
- message += " (#{spec.platform})" if spec.platform != Gem::Platform::RU... | [Source] Remove empty parenthesis in installing gem message
|
diff --git a/lib/espn_page_grab.rb b/lib/espn_page_grab.rb
index abc1234..def5678 100644
--- a/lib/espn_page_grab.rb
+++ b/lib/espn_page_grab.rb
@@ -0,0 +1,50 @@+require 'rubygems'
+require 'nokogiri'
+require 'open-uri'
+require 'fileutils'
+
+BASE_URL = 'http://espn.go.com/nfl/statistics/player/_/stat/'
+BASE_DIR = {... | Move grabbing script to lib directory. Add Scrape class
|
diff --git a/lib/freddy/payload.rb b/lib/freddy/payload.rb
index abc1234..def5678 100644
--- a/lib/freddy/payload.rb
+++ b/lib/freddy/payload.rb
@@ -23,7 +23,7 @@
class OjAdapter
def self.parse(payload)
- Oj.load(payload, symbol_keys: true)
+ Oj.strict_load(payload, symbol_keys: true)
... | Configure Oj to use strict mode
This is so that strings will stay strings when loaded instead of strings
starting with ':' (a colon) being automatically converted into symbols.
|
diff --git a/lib/howitzer/utils.rb b/lib/howitzer/utils.rb
index abc1234..def5678 100644
--- a/lib/howitzer/utils.rb
+++ b/lib/howitzer/utils.rb
@@ -1,5 +1,5 @@ require 'repeater'
require 'active_support'
-require 'active_support/core_ext'
+require 'active_support/all'
Dir[File.join(File.dirname(__FILE__), "./utils... | Fix ActiveSupport gem deprecation error |
diff --git a/lib/hubspot/config.rb b/lib/hubspot/config.rb
index abc1234..def5678 100644
--- a/lib/hubspot/config.rb
+++ b/lib/hubspot/config.rb
@@ -4,7 +4,7 @@ class Config
CONFIG_KEYS = [:hapikey, :base_url, :portal_id, :logger]
- DEFAULT_LOGGER = Logger.new('/dev/null')
+ DEFAULT_LOGGER = Logger.new(n... | Fix failing initialization on Windows
|
diff --git a/lib/rake/file_task.rb b/lib/rake/file_task.rb
index abc1234..def5678 100644
--- a/lib/rake/file_task.rb
+++ b/lib/rake/file_task.rb
@@ -29,12 +29,12 @@
# Are there any prerequisites with a later time than the given time stamp?
def out_of_date?(stamp)
- @prerequisites.any? { |p|
- pta... | Use prereq instead of p for variable name
https://github.com/ruby/rake/pull/183/files/a094e2584295005c7b1ee1419b7bf9136b9f4411#r94092645
|
diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb
index abc1234..def5678 100644
--- a/app/mailers/user_mailer.rb
+++ b/app/mailers/user_mailer.rb
@@ -9,20 +9,20 @@ def password_reset(user)
@user = user
- mail to: user.email, subject: "Password Reset"
+ mail to: user.email, subject: "[D... | Update email messages to have do no reply in the subject
|
diff --git a/lib/staytus/config.rb b/lib/staytus/config.rb
index abc1234..def5678 100644
--- a/lib/staytus/config.rb
+++ b/lib/staytus/config.rb
@@ -9,7 +9,7 @@ end
def theme_root
- Rails.root.join('content', 'themes', self.theme_name)
+ ENV['STAYTUS_THEME_ROOT'] ? File.join(ENV['STAYTUS_TH... | Allow to point the theme root somewhere else.
I am currently integrating Staytus into NixOS. This change will allow me to pass a theme from another package. The problem is that packages in NixOS are read-only, which means I cannot copy a theme into the staytus package once it is already there.
|
diff --git a/lib/thor/task_hash.rb b/lib/thor/task_hash.rb
index abc1234..def5678 100644
--- a/lib/thor/task_hash.rb
+++ b/lib/thor/task_hash.rb
@@ -13,7 +13,7 @@ end
def [](name)
- if task = super(name)
+ if task = super(name) || (@klass == Thor && @klass.superclass.tasks[name])
return task.with_kl... | Make Thor::TaskHash look up tasks from the superclass.
|
diff --git a/lib/webcmd/options.rb b/lib/webcmd/options.rb
index abc1234..def5678 100644
--- a/lib/webcmd/options.rb
+++ b/lib/webcmd/options.rb
@@ -10,7 +10,7 @@ opts.banner = "Usage: webcmd [options]"
opts.on '-o', '--host HOST', 'listen on HOST (default: 0.0.0.0)' do |host|
- options[:Hos... | Fix typo in Options class
|
diff --git a/spec/coverage_helper.rb b/spec/coverage_helper.rb
index abc1234..def5678 100644
--- a/spec/coverage_helper.rb
+++ b/spec/coverage_helper.rb
@@ -11,4 +11,9 @@ add_filter '/lib/generators'
add_filter '/spec/'
add_filter '/vendor/'
+ add_filter '/public'
+ add_filter '/swagger'
+ add_filter '/scrip... | Add more directories to filter.
|
diff --git a/teamocil.gemspec b/teamocil.gemspec
index abc1234..def5678 100644
--- a/teamocil.gemspec
+++ b/teamocil.gemspec
@@ -3,6 +3,7 @@ require "teamocil"
spec = Gem::Specification.new do |s|
+ # Metadata
s.name = "teamocil"
s.version = Teamocil::VERSION
s.platform = Gem::Platform::RU... | Use a more futureproof gemspec file
|
diff --git a/pilfer.gemspec b/pilfer.gemspec
index abc1234..def5678 100644
--- a/pilfer.gemspec
+++ b/pilfer.gemspec
@@ -25,7 +25,4 @@ spec.add_development_dependency 'rake'
spec.add_development_dependency 'rack', '~> 1.5.2'
- dev_null = File.exist?('/dev/null') ? '/dev/null' : 'NUL'
- git_files = `git ls... | Remove shell out to git from gemspec
There's no need to exclude git ignored files so this addition was premature.
|
diff --git a/spec/lib/logicgraph_parser_spec.rb b/spec/lib/logicgraph_parser_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/logicgraph_parser_spec.rb
+++ b/spec/lib/logicgraph_parser_spec.rb
@@ -2,7 +2,7 @@
describe LogicgraphParser do
def open_fixture(name)
- File.open(fixture_file(name))
+ File.open(... | Use correct fixture file path.
|
diff --git a/guard-process.gemspec b/guard-process.gemspec
index abc1234..def5678 100644
--- a/guard-process.gemspec
+++ b/guard-process.gemspec
@@ -4,7 +4,7 @@
Gem::Specification.new do |s|
s.name = "guard-process"
- s.version = "0.0.1"
+ s.version = "1.0"
s.authors = ["Mark Kremer"]
s.... | Set version number to 1.0
|
diff --git a/nehm.gemspec b/nehm.gemspec
index abc1234..def5678 100644
--- a/nehm.gemspec
+++ b/nehm.gemspec
@@ -14,7 +14,7 @@ spec.homepage = 'http://www.github.com/bogem/nehm'
spec.license = 'MIT'
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(Screenshots|Rakefi... | Add removing 'Pictures' folder from gem
|
diff --git a/week-6/gps2_3.rb b/week-6/gps2_3.rb
index abc1234..def5678 100644
--- a/week-6/gps2_3.rb
+++ b/week-6/gps2_3.rb
@@ -0,0 +1,43 @@+# Your Names
+# 1)
+# 2)
+
+# We spent [#] hours on this challenge.
+
+# Bakery Serving Size portion calculator.
+
+def serving_size_calc(item_to_make, num_of_ingredients)
+ lib... | Create document for GPS 2.3
|
diff --git a/spec/routing/games_routing_spec.rb b/spec/routing/games_routing_spec.rb
index abc1234..def5678 100644
--- a/spec/routing/games_routing_spec.rb
+++ b/spec/routing/games_routing_spec.rb
@@ -19,10 +19,6 @@ expect(:get => "/games/1/edit").to route_to("games#edit", :id => "1")
end
- it "routes t... | Remove spec for game create method
|
diff --git a/raheui.gemspec b/raheui.gemspec
index abc1234..def5678 100644
--- a/raheui.gemspec
+++ b/raheui.gemspec
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
spec.name = 'raheui'
spec.version = Raheui::Version::STRING
- spec.authors = ['ChaYoung You']
+ spec.authors = ['Chayou... | Update capitalization of the name
|
diff --git a/lib/mappers/nuorder/product_mapper.rb b/lib/mappers/nuorder/product_mapper.rb
index abc1234..def5678 100644
--- a/lib/mappers/nuorder/product_mapper.rb
+++ b/lib/mappers/nuorder/product_mapper.rb
@@ -12,6 +12,7 @@ color: 'color',
season: 'season',
department: 'department',
+... | Add category to product mapper
|
diff --git a/lib/pipeline_dealers/model/company.rb b/lib/pipeline_dealers/model/company.rb
index abc1234..def5678 100644
--- a/lib/pipeline_dealers/model/company.rb
+++ b/lib/pipeline_dealers/model/company.rb
@@ -27,7 +27,8 @@ :import_id,
:owner_id,
:milestones,
- :is_cu... | Add missing is_customer attribute to Company model
|
diff --git a/lib/ruxero/base_model/attributable.rb b/lib/ruxero/base_model/attributable.rb
index abc1234..def5678 100644
--- a/lib/ruxero/base_model/attributable.rb
+++ b/lib/ruxero/base_model/attributable.rb
@@ -14,7 +14,6 @@ end
def initialize(attributes = {})
- super
_set_attributes(attributes)
end... | Fix error when initializing models
The BaseModel class doesn't inherit from anything so super was an erroneous call
|
diff --git a/lib/tasks/zammad/ci/refresh_envs.rake b/lib/tasks/zammad/ci/refresh_envs.rake
index abc1234..def5678 100644
--- a/lib/tasks/zammad/ci/refresh_envs.rake
+++ b/lib/tasks/zammad/ci/refresh_envs.rake
@@ -18,7 +18,7 @@ refresh_token: ENV['MICROSOFT365_REFRESH_TOKEN'],
)
- token_env = %(MIC... | Maintenance: Fix env setting for microsoft 365 refresh token.
|
diff --git a/lib/live_soccer/checker.rb b/lib/live_soccer/checker.rb
index abc1234..def5678 100644
--- a/lib/live_soccer/checker.rb
+++ b/lib/live_soccer/checker.rb
@@ -9,7 +9,7 @@
module LiveSoccer
class Checker
- MATCHES_URL = "http://espn.estadao.com.br/old/temporeal/acoes.listaPartidasAjax.tiles.logic?"
+ ... | Modify MATCHES_URL. Becasuse old MATCHES_URL is invalid URL.
|
diff --git a/lib/rake_shared_context.rb b/lib/rake_shared_context.rb
index abc1234..def5678 100644
--- a/lib/rake_shared_context.rb
+++ b/lib/rake_shared_context.rb
@@ -1,7 +1,8 @@ require "rake_shared_context/version"
require "rake"
-if defined? RSpec::SharedContext
+begin
+ require "rspec/core"
shared_context ... | Fix bug that raise error when running guard
|
diff --git a/lib/saasable/middleware.rb b/lib/saasable/middleware.rb
index abc1234..def5678 100644
--- a/lib/saasable/middleware.rb
+++ b/lib/saasable/middleware.rb
@@ -8,13 +8,13 @@ Rails::Mongoid.load_models(Rails.application) if defined?(Rails::Mongoid)
env[:saasable] = {:current_saas => saas_for_host... | Allow current_saas to be nil |
diff --git a/lib/tasks/sisyphusarm.rake b/lib/tasks/sisyphusarm.rake
index abc1234..def5678 100644
--- a/lib/tasks/sisyphusarm.rake
+++ b/lib/tasks/sisyphusarm.rake
@@ -1,18 +1,29 @@ # encoding: utf-8
-# namespace :sisyphusarm do
-# desc "Import *.src.rpm from SisyphusARM to database"
-# task :srpms => :environme... | Update rake task for sisyphus arm
|
diff --git a/lib/tasks/user_create.rake b/lib/tasks/user_create.rake
index abc1234..def5678 100644
--- a/lib/tasks/user_create.rake
+++ b/lib/tasks/user_create.rake
@@ -0,0 +1,20 @@+begin
+ namespace :user do
+ task :create => :environment do
+ puts "You will be prompted to enter a login, email address and ... | Add rake task to create ADMIN user
|
diff --git a/lib/togls/rules/boolean.rb b/lib/togls/rules/boolean.rb
index abc1234..def5678 100644
--- a/lib/togls/rules/boolean.rb
+++ b/lib/togls/rules/boolean.rb
@@ -27,7 +27,7 @@
Togls::Rules::Boolean.new(true) # rule that always evaluates to on
-Togls::Rules::Boolean.new(false) # rule that always evaluates to ... | Fix small typo in Boolean rule type description
Why you made the change:
I did this so it would be more easily consumed.
|
diff --git a/lib/travis/logs/receive.rb b/lib/travis/logs/receive.rb
index abc1234..def5678 100644
--- a/lib/travis/logs/receive.rb
+++ b/lib/travis/logs/receive.rb
@@ -1,14 +1,16 @@ # frozen_string_literal: true
+require 'active_support/core_ext/logger'
+
require 'travis/logs'
+require 'travis/logs/helpers/database... | Add requirement for relevant sidekiq class
|
diff --git a/lib/fulmar/domain/task/environment.rake b/lib/fulmar/domain/task/environment.rake
index abc1234..def5678 100644
--- a/lib/fulmar/domain/task/environment.rake
+++ b/lib/fulmar/domain/task/environment.rake
@@ -4,8 +4,6 @@ namespace :environment do
full_configuration[:environments].each_key do |env|
- ... | [TASK] Remove unnecessary condition, :all is removed in config service
|
diff --git a/app/controllers/artists_controller.rb b/app/controllers/artists_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/artists_controller.rb
+++ b/app/controllers/artists_controller.rb
@@ -3,7 +3,7 @@ # GET /artists.json
def index
if params[:genre]
- @artist_names = Image.sectione... | Include images without an artist name.
|
diff --git a/app/controllers/courses_controller.rb b/app/controllers/courses_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/courses_controller.rb
+++ b/app/controllers/courses_controller.rb
@@ -1,10 +1,13 @@ class CoursesController < ApplicationController
- before_filter :authenticate_user!, :except... | Add show Action to Courses Controller
Update the Courses controller to include the show action.
|
diff --git a/app/decorators/procedure_decorator.rb b/app/decorators/procedure_decorator.rb
index abc1234..def5678 100644
--- a/app/decorators/procedure_decorator.rb
+++ b/app/decorators/procedure_decorator.rb
@@ -11,9 +11,17 @@ end
def logo_img
- return h.image_url(LOGO_NAME) if logo.blank?
- File.join(STO... | Fix logo display in development
|
diff --git a/app/serializers/chapter_serializer.rb b/app/serializers/chapter_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/chapter_serializer.rb
+++ b/app/serializers/chapter_serializer.rb
@@ -4,10 +4,22 @@ has_many :measurements
def last_weeks_entries
- object.entries.where(day: 2.weeks.a... | Update ChapterSerializer last_weeks_entries and this_weeks_entries
If chapter is completed then the dates will use the completed as date as the basis for range rather than current date
|
diff --git a/utensils.gemspec b/utensils.gemspec
index abc1234..def5678 100644
--- a/utensils.gemspec
+++ b/utensils.gemspec
@@ -5,11 +5,11 @@ Gem::Specification.new do |s|
s.name = "utensils"
s.version = Utensils::VERSION
- s.authors = ["Matt Kitt"]
+ s.authors = ["Mode Set"]
s.email ... | Change up the description for the gemspec |
diff --git a/rulers.gemspec b/rulers.gemspec
index abc1234..def5678 100644
--- a/rulers.gemspec
+++ b/rulers.gemspec
@@ -11,7 +11,7 @@ spec.summary = %q{A Rack-based Web Framework}
spec.description = %q{A Rack-based Web Framework,
but with extra awesome.}
- spec.homepage = ... | Fix to remove warning when gem buiding
|
diff --git a/_plugins/page.rb b/_plugins/page.rb
index abc1234..def5678 100644
--- a/_plugins/page.rb
+++ b/_plugins/page.rb
@@ -0,0 +1,21 @@+module Jekyll
+ class Page
+ #https://github.com/jekyll/jekyll/blob/master/lib/jekyll/convertible.rb#L44
+ def read_yaml(base, name, opts = {})
+ begi... | Allow text replacements in the front matter.
|
diff --git a/benchmarks/concat_vs_interpolate.rb b/benchmarks/concat_vs_interpolate.rb
index abc1234..def5678 100644
--- a/benchmarks/concat_vs_interpolate.rb
+++ b/benchmarks/concat_vs_interpolate.rb
@@ -5,17 +5,18 @@ value = '100'
Tach.meter(1_000) do
tach('concat') do
- key << ': ' << value << "\r\n"
+ tem... | Update concat vs interpolation benchmark
There was a subtle bug in the benchmark where key actually grows in
size every iteration, so it became "Content-Leght: : 100\r\n" the first
iteration, then "Content-Leght: : 100\r\nContent-Leght: : 100\r\n" the
second one, and so on. While interpolation is creating new strings ... |
diff --git a/app/helpers/reshares_helper.rb b/app/helpers/reshares_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/reshares_helper.rb
+++ b/app/helpers/reshares_helper.rb
@@ -9,9 +9,18 @@
def reshare_link(post)
if reshare?(post)
- link_to t("reshares.reshare.reshare_original"), reshares_path(:ro... | Make reshares helper a little more readable
|
diff --git a/lib/chatrix/bot/parameter.rb b/lib/chatrix/bot/parameter.rb
index abc1234..def5678 100644
--- a/lib/chatrix/bot/parameter.rb
+++ b/lib/chatrix/bot/parameter.rb
@@ -1,5 +1,8 @@+# frozen_string_literal: true
+
module Chatrix
class Bot
+ # Describes a parameter in a command.
class Parameter
... | Add some docs to Parameter
|
diff --git a/lib/cloudstrap/amazon/elb.rb b/lib/cloudstrap/amazon/elb.rb
index abc1234..def5678 100644
--- a/lib/cloudstrap/amazon/elb.rb
+++ b/lib/cloudstrap/amazon/elb.rb
@@ -8,6 +8,16 @@ include ::Contracts::Core
include ::Contracts::Builtin
+ Contract None => ArrayOf[::Aws::ElasticLoadBalancing:... | Add method to find ELBs
|
diff --git a/lib/rails-routes-js-utils.rb b/lib/rails-routes-js-utils.rb
index abc1234..def5678 100644
--- a/lib/rails-routes-js-utils.rb
+++ b/lib/rails-routes-js-utils.rb
@@ -11,7 +11,7 @@ compiled_regex = route.path.to_regexp.to_javascript
reqs = route.defaults.merge(parts: route.parts)
... | Use builtin routes implementation instead
|
diff --git a/lib/tasks/clear_sidekiq.rake b/lib/tasks/clear_sidekiq.rake
index abc1234..def5678 100644
--- a/lib/tasks/clear_sidekiq.rake
+++ b/lib/tasks/clear_sidekiq.rake
@@ -1,14 +1,15 @@ desc 'Clear all Sidekiq queues'
task clear_sidekiq: :environment do
- sets = [
- Sidekiq::Queue,
- Sidekiq::ScheduledSet,... | Improve task to clear Sidekiq
When I first wrote this we only used the default queue, but now that we
have the export queue, this needed some improving. Now, this will work
no matter how many queues we use.
|
diff --git a/lib/guachiman/rails/authorizable.rb b/lib/guachiman/rails/authorizable.rb
index abc1234..def5678 100644
--- a/lib/guachiman/rails/authorizable.rb
+++ b/lib/guachiman/rails/authorizable.rb
@@ -4,6 +4,7 @@
included do
before_action :authorize
+ helper_method :authorization
private ... | Make authorization available as a view helper
|
diff --git a/lib/omniship/dhlgm/track/package.rb b/lib/omniship/dhlgm/track/package.rb
index abc1234..def5678 100644
--- a/lib/omniship/dhlgm/track/package.rb
+++ b/lib/omniship/dhlgm/track/package.rb
@@ -25,8 +25,8 @@ # 600 : DELIVERED
# 699 : DELIVERY STATUS NOT UPDATED
def has_arrived?
- ... | Revert "do not mark arrived if at usps"
This reverts commit 6afbd4355b32a889c4c1c3a8ef52a864eadea258.
|
diff --git a/spec/models/embeddable/multiple_choice_question_spec.rb b/spec/models/embeddable/multiple_choice_question_spec.rb
index abc1234..def5678 100644
--- a/spec/models/embeddable/multiple_choice_question_spec.rb
+++ b/spec/models/embeddable/multiple_choice_question_spec.rb
@@ -0,0 +1,55 @@+require File.expand_pa... | Test for multiple choice questions. |
diff --git a/recipes/sevenscale_deploy/assets.rb b/recipes/sevenscale_deploy/assets.rb
index abc1234..def5678 100644
--- a/recipes/sevenscale_deploy/assets.rb
+++ b/recipes/sevenscale_deploy/assets.rb
@@ -3,7 +3,7 @@ set(:asset_timestamp) { run_locally(source.local.scm(:log, '-1', '--pretty=format:%cd', '--date=raw',... | Update the role for marking
|
diff --git a/sprout-osx-apps/attributes/intellij_ultimate_edition.rb b/sprout-osx-apps/attributes/intellij_ultimate_edition.rb
index abc1234..def5678 100644
--- a/sprout-osx-apps/attributes/intellij_ultimate_edition.rb
+++ b/sprout-osx-apps/attributes/intellij_ultimate_edition.rb
@@ -1,3 +1,3 @@-node.default["intellij_... | Fix attribute name for Intellij Ultimate
|
diff --git a/app/controllers/games_controller.rb b/app/controllers/games_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/games_controller.rb
+++ b/app/controllers/games_controller.rb
@@ -8,14 +8,5 @@ @solved_challenges = current_user&.team&.solved_challenges
end
- def index
- @game = Game... | Remove Index method from games model since it is unused
|
diff --git a/app/controllers/items_controller.rb b/app/controllers/items_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/items_controller.rb
+++ b/app/controllers/items_controller.rb
@@ -3,7 +3,7 @@
# GET /items
def index
- @items = Item.all
+ @items = Item.order(rating: :desc)
end
... | Sort items descending by rating
|
diff --git a/cookbooks/fateca/recipes/default.rb b/cookbooks/fateca/recipes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/fateca/recipes/default.rb
+++ b/cookbooks/fateca/recipes/default.rb
@@ -24,4 +24,16 @@ mod_php_apache2 do
webapp_template "fateca.conf.erb"
end
+
+ after_restart do
+... | Add cake console command to the path
|
diff --git a/core/app/mailers/activity_mailer.rb b/core/app/mailers/activity_mailer.rb
index abc1234..def5678 100644
--- a/core/app/mailers/activity_mailer.rb
+++ b/core/app/mailers/activity_mailer.rb
@@ -1,9 +1,14 @@ class ActivityMailer < ActionMailer::Base
include Resque::Mailer
+
+ layout "email"
default f... | Set the correct layout for the email and set the correct globals
|
diff --git a/app/models/authorization_code.rb b/app/models/authorization_code.rb
index abc1234..def5678 100644
--- a/app/models/authorization_code.rb
+++ b/app/models/authorization_code.rb
@@ -2,9 +2,6 @@
class AuthorizationCode < ActiveRecord::Base
include ExpirableToken
-
- validates :token, :uniqueness => true... | Revert "Added uniquness validation to authorization code's :token column"
This reverts commit 3a61d79b58c031066078a2163d7407cbd586022e.
Conflicts:
app/models/authorization_code.rb
|
diff --git a/app/presenters/user_presenter.rb b/app/presenters/user_presenter.rb
index abc1234..def5678 100644
--- a/app/presenters/user_presenter.rb
+++ b/app/presenters/user_presenter.rb
@@ -3,9 +3,7 @@ class UserPresenter < BasePresenter
presents :user
- def display_name
- user.display_name
- end
+ delega... | Fix style issue using delegate
|
diff --git a/lib/chaindrive/api.rb b/lib/chaindrive/api.rb
index abc1234..def5678 100644
--- a/lib/chaindrive/api.rb
+++ b/lib/chaindrive/api.rb
@@ -2,7 +2,7 @@
module Chaindrive
class API < Grape::API
- default_format :json
+ format :json
# Define any helper methods that we want to make available ins... | Set the format to JSON.
|
diff --git a/cassandra/recipes/ec2snitch.rb b/cassandra/recipes/ec2snitch.rb
index abc1234..def5678 100644
--- a/cassandra/recipes/ec2snitch.rb
+++ b/cassandra/recipes/ec2snitch.rb
@@ -1,13 +1,13 @@ @topo_map = search(:node, "cassandra_cluster_name:#{node[:cassandra][:cluster_name]} AND ec2:placement_availability_zone"... | Split datacenter and area field for EC2 snitch
|
diff --git a/app/controllers/items_controller.rb b/app/controllers/items_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/items_controller.rb
+++ b/app/controllers/items_controller.rb
@@ -37,7 +37,7 @@ flash[:notice] = "Item updated."
redirect_to '/homepage_admin/index'
else
- re... | Correct path for edit form
|
diff --git a/app/controllers/items_controller.rb b/app/controllers/items_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/items_controller.rb
+++ b/app/controllers/items_controller.rb
@@ -6,6 +6,7 @@ format.html # index.html.erb
format.xml { render xml: @items }
format.json { render... | Add missing end in index method
|
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -1,14 +1,4 @@ class UsersController < ApplicationController
- def new
- end
-
- def create
-
- end
-
- def inde... | Add users show, eliminate empty routes in users controller
|
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -15,18 +15,4 @@
end
- private
-
-
- def set_user
- @user = User.find(params[:id])
- end
-
- ... | Move the user helper method to the application controller
|
diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb
index abc1234..def5678 100644
--- a/config/initializers/secret_token.rb
+++ b/config/initializers/secret_token.rb
@@ -4,4 +4,4 @@ # If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at lea... | Move the secret token to environment variable.
In preparation for actual features which make use of sessions.
|
diff --git a/dockerfiroonga.gemspec b/dockerfiroonga.gemspec
index abc1234..def5678 100644
--- a/dockerfiroonga.gemspec
+++ b/dockerfiroonga.gemspec
@@ -19,7 +19,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_development_dependency("test-unit")
+ s... | Use test-unit 3.0.0 or later for power assert
|
diff --git a/Casks/dashlane.rb b/Casks/dashlane.rb
index abc1234..def5678 100644
--- a/Casks/dashlane.rb
+++ b/Casks/dashlane.rb
@@ -1,8 +1,8 @@ cask :v1 => 'dashlane' do
- version '2.4.1.62949'
- sha256 '97bca51c71ba32e5fa13160a77b9a12824e2e44990958d9831263936ed3f1f40'
+ version :latest
+ sha256 :no_check
- url... | Update Dashlane.app to latest version.
|
diff --git a/Casks/goodsync.rb b/Casks/goodsync.rb
index abc1234..def5678 100644
--- a/Casks/goodsync.rb
+++ b/Casks/goodsync.rb
@@ -0,0 +1,10 @@+class Goodsync < Cask
+ version :latest
+ sha256 :no_check
+
+ url 'https://www.goodsync.com/download/goodsync-mac.dmg'
+ homepage 'http://www.goodsync.com'
+ license :c... | Add GoodSync.app (4.9.7.0) or Latest
|
diff --git a/tests/requests/dns/change_resource_record_sets_tests.rb b/tests/requests/dns/change_resource_record_sets_tests.rb
index abc1234..def5678 100644
--- a/tests/requests/dns/change_resource_record_sets_tests.rb
+++ b/tests/requests/dns/change_resource_record_sets_tests.rb
@@ -19,9 +19,9 @@ }]
res... | Fix syntax for ruby 1.8.7
|
diff --git a/Formula/dinghy.rb b/Formula/dinghy.rb
index abc1234..def5678 100644
--- a/Formula/dinghy.rb
+++ b/Formula/dinghy.rb
@@ -18,7 +18,7 @@ prefix.install "cli"
end
- def caveats; <<-EOS.undent
+ def caveats; <<~EOS
Run `dinghy create` to create the VM, then `dinghy up` to bring up the VM and ser... | Update HEREDOC as per deprecations. |
diff --git a/app/controllers/dotpay_controller.rb b/app/controllers/dotpay_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/dotpay_controller.rb
+++ b/app/controllers/dotpay_controller.rb
@@ -2,7 +2,7 @@ def confirm
@dotpay = DotpayPayment.new(request.raw_post)
if @dotpay.acknowledge
- ... | Fix wrong search in DotpayController
The controller should look for orders by the column
"payment_description", not "description". The latter does not exist in
Order model.
|
diff --git a/app/controllers/events_controller.rb b/app/controllers/events_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/events_controller.rb
+++ b/app/controllers/events_controller.rb
@@ -13,6 +13,7 @@
if valid_events.include?(event)
request.body.rewind
+ data = request.body.read
... | Fix bug from merging in upstream
|
diff --git a/app/controllers/random_controller.rb b/app/controllers/random_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/random_controller.rb
+++ b/app/controllers/random_controller.rb
@@ -5,15 +5,17 @@ end
def activity
- if request.method != "GET"
- candidates = Array.new
- cand... | Add websites, movies, and books to random activity candidates
|
diff --git a/windows/cookbooks/packer/recipes/enable_remote_desktop.rb b/windows/cookbooks/packer/recipes/enable_remote_desktop.rb
index abc1234..def5678 100644
--- a/windows/cookbooks/packer/recipes/enable_remote_desktop.rb
+++ b/windows/cookbooks/packer/recipes/enable_remote_desktop.rb
@@ -1,5 +1,8 @@-execute 'Enable... | Use the registry resource instead of execute
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/app/presenters/document_presenter.rb b/app/presenters/document_presenter.rb
index abc1234..def5678 100644
--- a/app/presenters/document_presenter.rb
+++ b/app/presenters/document_presenter.rb
@@ -23,7 +23,7 @@ end
def breadcrumbs
- root = OpenStruct.new(link: '/guidance/employment-income-manual',... | Rename 'Main contents' to 'Contents' in breadcrumb
|
diff --git a/app/services/paypal_items_builder.rb b/app/services/paypal_items_builder.rb
index abc1234..def5678 100644
--- a/app/services/paypal_items_builder.rb
+++ b/app/services/paypal_items_builder.rb
@@ -15,11 +15,9 @@ # Because PayPal doesn't accept $0 items at all.
# See https://github.com/spree-contrib... | Simplify filtering items with zero price
|
diff --git a/zendesk2.gemspec b/zendesk2.gemspec
index abc1234..def5678 100644
--- a/zendesk2.gemspec
+++ b/zendesk2.gemspec
@@ -22,6 +22,6 @@ gem.add_dependency 'cistern', '~> 2.3'
gem.add_dependency 'faraday', '~> 0.9'
gem.add_dependency 'faraday_middleware', '~> 0.9'
- gem.add_dependen... | Update jwt lib to latest version
|
diff --git a/config/requirements.rb b/config/requirements.rb
index abc1234..def5678 100644
--- a/config/requirements.rb
+++ b/config/requirements.rb
@@ -4,7 +4,7 @@ require 'rubygems'
%w[rake hoe newgem rubigen ZenTest].each do |req_gem|
begin
- require req_gem
+ require req_gem.downcase
rescue LoadError
... | Load correct ZenTest library: ZenTest.rb had been renamed to zentest.rb back in version 3.1.0.
|
diff --git a/api/app/views/spree/api/products/index.v1.rabl b/api/app/views/spree/api/products/index.v1.rabl
index abc1234..def5678 100644
--- a/api/app/views/spree/api/products/index.v1.rabl
+++ b/api/app/views/spree/api/products/index.v1.rabl
@@ -3,6 +3,7 @@ node(:total_count) { @products.total_count }
node(:current... | [api] Add missing per_page node to products/index
|
diff --git a/db/migrate/20120313214939_link_line_items_to_bookings.rb b/db/migrate/20120313214939_link_line_items_to_bookings.rb
index abc1234..def5678 100644
--- a/db/migrate/20120313214939_link_line_items_to_bookings.rb
+++ b/db/migrate/20120313214939_link_line_items_to_bookings.rb
@@ -1,3 +1,11 @@+# Monkey patch Inv... | Add monkey patch to fix migration link_line_items_to_bookings.
|
diff --git a/app/contexts/events_watch_context.rb b/app/contexts/events_watch_context.rb
index abc1234..def5678 100644
--- a/app/contexts/events_watch_context.rb
+++ b/app/contexts/events_watch_context.rb
@@ -4,16 +4,14 @@ at_execution :fetch_events
def initialize(watch_str)
- self.watch_list = watch_str.spli... | Remove empty checking for watchlist.
|
diff --git a/spec/graphql/queries/member_spec.rb b/spec/graphql/queries/member_spec.rb
index abc1234..def5678 100644
--- a/spec/graphql/queries/member_spec.rb
+++ b/spec/graphql/queries/member_spec.rb
@@ -30,7 +30,7 @@ let(:variables) { { id: member.id } }
let(:context) { graphql_context }
- let(:member) ... | Improve spec for GraphQL query: member
|
diff --git a/app/uploaders/attachment_uploader.rb b/app/uploaders/attachment_uploader.rb
index abc1234..def5678 100644
--- a/app/uploaders/attachment_uploader.rb
+++ b/app/uploaders/attachment_uploader.rb
@@ -7,6 +7,6 @@ # Override the directory where uploaded files will be stored.
# This is a sensible default for... | Use tenant namespace when persisting uploads.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.