diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/app/models/spree/bp_order_note.rb b/app/models/spree/bp_order_note.rb
index abc1234..def5678 100644
--- a/app/models/spree/bp_order_note.rb
+++ b/app/models/spree/bp_order_note.rb
@@ -19,7 +19,8 @@ private
def match_fields
{
- text: @order.note
+ text: @order.note,
+ is... | Add order note as public
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -11,4 +11,4 @@
source_url 'https://github.com/chef-cookbooks/apparmor'
issues_url 'https://github.com/chef-cookbooks/apparmor/issues'
-chef_version '>= 12.7' if respond_to?(:chef_version)
+chef_version '>= 12.... | Remove respond_to in the metaadata
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -1,11 +1,11 @@ name 'drone'
-maintainer 'Justin Campbell'
-maintainer_email 'justin@justincampbell.me'
+maintainer 'Jacob McCann'
+maintainer_email 'jmccann.git@gmail.com'
license ... | Update git maintainer and source info
|
diff --git a/test/unit/image_test.rb b/test/unit/image_test.rb
index abc1234..def5678 100644
--- a/test/unit/image_test.rb
+++ b/test/unit/image_test.rb
@@ -13,7 +13,7 @@ end
def test_per_page
- assert_equal 18, Image.per_page(dialog = true)
+ assert_equal 12, Image.per_page(dialog = true)
assert_equa... | Fix image test for new number of items
|
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,6 @@ # If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at lea... | Remove old exposed secret token and use the one from CFG
|
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
@@ -9,4 +9,5 @@
# Make sure your secret_key_base is kept private
# if you're sharing your code publicly.
-StarterKit... | Add ENV config for secret token |
diff --git a/recipes/mod_ssl.rb b/recipes/mod_ssl.rb
index abc1234..def5678 100644
--- a/recipes/mod_ssl.rb
+++ b/recipes/mod_ssl.rb
@@ -21,8 +21,6 @@ node.default['apache']['listen'] += ["*:#{node['apache']['mod_ssl']['port']}"]
end
-include_recipe 'apache2::default'
-
if platform_family?('rhel', 'fedora', 'suse... | Stop including the default recipe in the ssl recipe |
diff --git a/api/config/routes.rb b/api/config/routes.rb
index abc1234..def5678 100644
--- a/api/config/routes.rb
+++ b/api/config/routes.rb
@@ -32,6 +32,7 @@ resources :payments do
member do
put :authorize
+ put :capture
put :purchase
put :void
... | Add missing route to api payments capture
|
diff --git a/Casks/open-office.rb b/Casks/open-office.rb
index abc1234..def5678 100644
--- a/Casks/open-office.rb
+++ b/Casks/open-office.rb
@@ -0,0 +1,6 @@+class OpenOffice < Cask
+ url 'http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_en-US.... | Add cask for Open Office.
|
diff --git a/dalli.gemspec b/dalli.gemspec
index abc1234..def5678 100644
--- a/dalli.gemspec
+++ b/dalli.gemspec
@@ -15,6 +15,7 @@ "README.md",
"Rakefile",
"Gemfile",
+ "dalli.gemspec",
"Performance.md",
]
s.homepage = %q{http://github.com/mperham/dalli}
| Include the gemspec in the gem itself for bundling purposes.
|
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
@@ -35,5 +35,15 @@ file "#{new_resource.path}/current/app/Console/cake" do
mode '777'
end
+... | Create tmp directory and its subdirectories
As the cakephp demands
|
diff --git a/hero_mapper/app/models/heroe.rb b/hero_mapper/app/models/heroe.rb
index abc1234..def5678 100644
--- a/hero_mapper/app/models/heroe.rb
+++ b/hero_mapper/app/models/heroe.rb
@@ -7,7 +7,7 @@ character_data = marvel_api_call['data']
if !character_data['results'].empty?
character_data['res... | Add marvel_id field when saving
|
diff --git a/jssignals-rails.gemspec b/jssignals-rails.gemspec
index abc1234..def5678 100644
--- a/jssignals-rails.gemspec
+++ b/jssignals-rails.gemspec
@@ -21,7 +21,6 @@ Dir["Gemfile"] +
Dir["jssignals-rails.gemspec"] +
Dir["LICENSE"] +
- Dir["Rakefile"] +
... | Remove Rakefile from files to include
|
diff --git a/spec/default.mspec b/spec/default.mspec
index abc1234..def5678 100644
--- a/spec/default.mspec
+++ b/spec/default.mspec
@@ -4,11 +4,11 @@ set :ci_files, [
'spec/frozen/1.8/core',
'spec/frozen/1.8/language',
+ 'spec/core',
# These additional directories will be enabled as the
# sp... | Enable running spec/core in CI set.
|
diff --git a/Formula/aws-vault.rb b/Formula/aws-vault.rb
index abc1234..def5678 100644
--- a/Formula/aws-vault.rb
+++ b/Formula/aws-vault.rb
@@ -20,8 +20,8 @@ system "go", "build", "-ldflags=#{flags}"
bin.install "aws-vault"
- zsh_completion.install "completions/zsh/_aws-vault"
- bash_completion.instal... | Update path to shell completions
Closes #21050.
Signed-off-by: Issy Long <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@issyl0.co.uk>
|
diff --git a/Casks/amethyst.rb b/Casks/amethyst.rb
index abc1234..def5678 100644
--- a/Casks/amethyst.rb
+++ b/Casks/amethyst.rb
@@ -1,11 +1,11 @@ cask :v1 => 'amethyst' do
version '0.9.5'
- sha256 '7f346ab0f200d110a0bc058e7ab590bb7dc0a5353e67b3251b5b316c49b60c4f'
+ sha256 'c4e67df3e8c2c9e885f1b5d230d87462dcfc8a50... | Update the hashes for Amethyst 0.9.5 again
The bundled app name was incorrect, so linking was not working correctly. Can
confirm that it installs correctly now.
|
diff --git a/Casks/dropzone.rb b/Casks/dropzone.rb
index abc1234..def5678 100644
--- a/Casks/dropzone.rb
+++ b/Casks/dropzone.rb
@@ -6,5 +6,5 @@ appcast 'https://aptonic.com/dropzone3/sparkle/updates.xml'
homepage 'https://aptonic.com'
- link 'Dropzone.app'
+ link 'Dropzone 3.app'
end
| Fix Dropzone app name in the zip file. It changed from 'Dropzone' to 'Dropzone 3'.
|
diff --git a/Casks/smartgit.rb b/Casks/smartgit.rb
index abc1234..def5678 100644
--- a/Casks/smartgit.rb
+++ b/Casks/smartgit.rb
@@ -2,7 +2,7 @@ version '6.5.2'
sha256 '3fc0fd89e1e2b7e5aec5f12b8da2ae1da1d2a84d96ce335a62d922db1640b965'
- url "http://www.syntevo.com/download/smartgit/smartgit-macosx-#{version.gsu... | Fix the download url of Smartgit
|
diff --git a/Framezilla.podspec b/Framezilla.podspec
index abc1234..def5678 100644
--- a/Framezilla.podspec
+++ b/Framezilla.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |spec|
spec.name = "Framezilla"
- spec.version = "2.1.1"
+ spec.version = "2.1.2"
spec.summary = "Comfortab... | Update pod version -> 2.1.2
|
diff --git a/lib/alf/rest/helpers.rb b/lib/alf/rest/helpers.rb
index abc1234..def5678 100644
--- a/lib/alf/rest/helpers.rb
+++ b/lib/alf/rest/helpers.rb
@@ -1,6 +1,7 @@ module Alf
module Rest
module Helpers
+ extend Forwardable
include Payload::Server
def alf_config
@@ -8,9 +9,24 @@ e... | Enhance Helpers with database-related methods.
|
diff --git a/lib/bundler/cli/list.rb b/lib/bundler/cli/list.rb
index abc1234..def5678 100644
--- a/lib/bundler/cli/list.rb
+++ b/lib/bundler/cli/list.rb
@@ -9,7 +9,7 @@ def run
specs = Bundler.load.specs.reject {|s| s.name == "bundler" }.sort_by(&:name)
- return Bundler.ui.error "The `--name-only` and... | [CLI::List] Raise when incompatible options are passed
|
diff --git a/lib/csv2avro/storage.rb b/lib/csv2avro/storage.rb
index abc1234..def5678 100644
--- a/lib/csv2avro/storage.rb
+++ b/lib/csv2avro/storage.rb
@@ -12,7 +12,7 @@ def read
case uri.scheme
when 's3'
- s3 = Aws::S3::Client.new(region: 'us-east-1')
+ s3 = Aws::S3::Client.new
... | Use the AWS_DEFAULT_REGION env variable |
diff --git a/app/controllers/upsell_pages_controller.rb b/app/controllers/upsell_pages_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/upsell_pages_controller.rb
+++ b/app/controllers/upsell_pages_controller.rb
@@ -0,0 +1,17 @@+class UpsellPagesController < ApplicationController
+ before_filter :auth... | Add edit Action to UpsellPagesController
Update the UpsellPagesController to include an edit action.
|
diff --git a/misc/common.god b/misc/common.god
index abc1234..def5678 100644
--- a/misc/common.god
+++ b/misc/common.god
@@ -9,7 +9,7 @@ def watch_pione_webclient(additional_options="")
God.watch do |w|
w.name = "pione-webclient"
- w.start = "bundle exec pione-webclient %s" % additional_options
+ w.start ... | Fix a bug of GOD script.
|
diff --git a/lib/rubocop/cop/metrics/method_length.rb b/lib/rubocop/cop/metrics/method_length.rb
index abc1234..def5678 100644
--- a/lib/rubocop/cop/metrics/method_length.rb
+++ b/lib/rubocop/cop/metrics/method_length.rb
@@ -23,9 +23,7 @@ def code_length(node)
lines = node.loc.expression.source.lines... | Use count instead of reject!..size
|
diff --git a/lib/ruby/new_safe_navigation_operator.rb b/lib/ruby/new_safe_navigation_operator.rb
index abc1234..def5678 100644
--- a/lib/ruby/new_safe_navigation_operator.rb
+++ b/lib/ruby/new_safe_navigation_operator.rb
@@ -4,11 +4,11 @@
u && u.profile && u.profile.thumbnails && u.profiles.thumbnails.large
... | Update comments to match new syntax already implemented.
|
diff --git a/test/integration_tests/standalone_spec.rb b/test/integration_tests/standalone_spec.rb
index abc1234..def5678 100644
--- a/test/integration_tests/standalone_spec.rb
+++ b/test/integration_tests/standalone_spec.rb
@@ -0,0 +1,73 @@+source_root = File.expand_path("../..", File.dirname(__FILE__))
+$LOAD_PATH.un... | Add basic tests for Passenger Standalone
|
diff --git a/script/base/modifier_or_file_creator.rb b/script/base/modifier_or_file_creator.rb
index abc1234..def5678 100644
--- a/script/base/modifier_or_file_creator.rb
+++ b/script/base/modifier_or_file_creator.rb
@@ -1,5 +1,6 @@ #! /bin/env ruby
+require File.dirname(__FILE__) + '/file_modifier'
require File.dir... | Fix ModifierOrFileCreator to require 'file_modifier'
script/base/modifier_or_file_creator.rb
- Fix to require 'file_modifier'.
|
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb
index abc1234..def5678 100644
--- a/spec/helpers/application_helper_spec.rb
+++ b/spec/helpers/application_helper_spec.rb
@@ -5,22 +5,22 @@ describe "active_if" do
it "when controller matches" do
params[:control... | Correct specs for active_if (use arrays) |
diff --git a/test/encrypt_test.rb b/test/encrypt_test.rb
index abc1234..def5678 100644
--- a/test/encrypt_test.rb
+++ b/test/encrypt_test.rb
@@ -12,6 +12,10 @@ it 'encrypts' do
assert @encrypted != 'sekret'
end
+
+ it 'does not decrypt with incorrect key' do
+ refute_equal 'sekret', @encrypted.decrypt('... | Add a test for incorrect key.
|
diff --git a/config/schedule.rb b/config/schedule.rb
index abc1234..def5678 100644
--- a/config/schedule.rb
+++ b/config/schedule.rb
@@ -1,8 +1,12 @@+set :output, File.expand_path("#{File.dirname __FILE__}/../log/cron_log.log")
+
# All scheduled tasks need to run with a advisory_lock
# To prevent two processes runnin... | Change offsets of cron jobs and log output
closes #456
|
diff --git a/BRJPopoverPicker.podspec b/BRJPopoverPicker.podspec
index abc1234..def5678 100644
--- a/BRJPopoverPicker.podspec
+++ b/BRJPopoverPicker.podspec
@@ -5,7 +5,7 @@
s.homepage = "https://github.com/benrobjoh/BRJPopoverPicker"
s.license = 'MIT'
- s.author = { "Ben Johnson" => "... | Update email address in .podspec
|
diff --git a/openfortivpn.rb b/openfortivpn.rb
index abc1234..def5678 100644
--- a/openfortivpn.rb
+++ b/openfortivpn.rb
@@ -1,16 +1,15 @@ class Openfortivpn < Formula
desc "Client for PPP+SSL Fortinet VPN tunnel services."
- homepage "https://github.com/fretn/openfortivpn"
- url "https://github.com/fretn/openfo... | Use official project now that macOS support has been merged
|
diff --git a/etc/deploy/deploy.rb b/etc/deploy/deploy.rb
index abc1234..def5678 100644
--- a/etc/deploy/deploy.rb
+++ b/etc/deploy/deploy.rb
@@ -31,7 +31,6 @@ namespace :deploy do
after :starting, "composer:install_executable"
after :updated, "deploy:assets:upload"
- after :updated, "symfony:assets:install... | Remove manual asset install: done as part of composer install
|
diff --git a/CVCalendar.podspec b/CVCalendar.podspec
index abc1234..def5678 100644
--- a/CVCalendar.podspec
+++ b/CVCalendar.podspec
@@ -1,7 +1,7 @@ Pod::Spec.new do |s|
s.name = "CVCalendar"
-s.version = "1.2.6"
+s.version = "1.2.8"
s.summary = "A custom visual calendar for iOS 8+ written in... | Update Podspec for new release
|
diff --git a/Casks/mailplane.rb b/Casks/mailplane.rb
index abc1234..def5678 100644
--- a/Casks/mailplane.rb
+++ b/Casks/mailplane.rb
@@ -5,9 +5,13 @@ url 'http://update.mailplaneapp.com/mailplane_3.php'
name 'Mailplane'
homepage 'http://mailplaneapp.com'
- license :unknown # todo: change license and remove ... | Mailplane: Add suppress_move_to_applications postflight and license info
|
diff --git a/lib/filerary/command.rb b/lib/filerary/command.rb
index abc1234..def5678 100644
--- a/lib/filerary/command.rb
+++ b/lib/filerary/command.rb
@@ -29,7 +29,7 @@ begin
puts Filerary::Librarian.new.show(path)
rescue ArgumentError => e
- puts "#{e.class}: #{e.message}: #{path}"
+ ... | Use STDERR for an error message printing
|
diff --git a/lib/html_massage/cli.rb b/lib/html_massage/cli.rb
index abc1234..def5678 100644
--- a/lib/html_massage/cli.rb
+++ b/lib/html_massage/cli.rb
@@ -6,6 +6,8 @@ module HtmlMassager
class CLI < Thor
+
+ MOBILE_USER_AGENT = "Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19 ... | Use a mobile user-agent string; allows google docs among others
|
diff --git a/lib/ice_nine/freezer.rb b/lib/ice_nine/freezer.rb
index abc1234..def5678 100644
--- a/lib/ice_nine/freezer.rb
+++ b/lib/ice_nine/freezer.rb
@@ -10,6 +10,9 @@ SKIP_ANCESTORS = (RUBY_VERSION < '1.9' ? [] : [ false ]).freeze
# Lookup the Freezer subclass by object type
+ #
+ # @example
+ #... | Add YARD example for public API method
|
diff --git a/Casks/opera-developer.rb b/Casks/opera-developer.rb
index abc1234..def5678 100644
--- a/Casks/opera-developer.rb
+++ b/Casks/opera-developer.rb
@@ -1,6 +1,6 @@ cask :v1 => 'opera-developer' do
- version '30.0.1835.5'
- sha256 'f4a8cd8860ac2836b420b9f0456b50629759465eba91bf472a30d529815ba0fa'
+ version '... | Upgrade Opera Developer.app to v31.0.1857.0
|
diff --git a/lib/minitest/context.rb b/lib/minitest/context.rb
index abc1234..def5678 100644
--- a/lib/minitest/context.rb
+++ b/lib/minitest/context.rb
@@ -30,7 +30,7 @@ #
def define name, &block
raise ArgumentError, "Block expected." unless block_given?
- @list ||= Hash.new { |h,k| h[k] = [] }
+ ... | Replace ||= operator with "variable = variable || {}".
|
diff --git a/test/integration/manual_run_test.rb b/test/integration/manual_run_test.rb
index abc1234..def5678 100644
--- a/test/integration/manual_run_test.rb
+++ b/test/integration/manual_run_test.rb
@@ -0,0 +1,11 @@+require 'test_helper'
+
+class ManualRunTest< ActionDispatch::IntegrationTest
+ def test_running_comm... | Add manual run integration test
|
diff --git a/tests/test_command_matcher_place.rb b/tests/test_command_matcher_place.rb
index abc1234..def5678 100644
--- a/tests/test_command_matcher_place.rb
+++ b/tests/test_command_matcher_place.rb
@@ -21,4 +21,34 @@ 'PLACE 0,NORTH'
]
end
+
+ def test_that_response_args_know_x
+ assert_equal 123,
+... | Add tests for response in CommandMatcherPlace build_with_match()
Now tests that knows how to build a response with 'x', 'y' and all
four cardinal orientations.
|
diff --git a/lib/bootstrap-navbar/helpers.rb b/lib/bootstrap-navbar/helpers.rb
index abc1234..def5678 100644
--- a/lib/bootstrap-navbar/helpers.rb
+++ b/lib/bootstrap-navbar/helpers.rb
@@ -1,5 +1,6 @@ module BootstrapNavbar::Helpers
def self.included(base)
+ raise 'Bootstrap version is not configured.' if Bootstr... | Raise error when Bootstrap version is not configured
|
diff --git a/app/models/meal.rb b/app/models/meal.rb
index abc1234..def5678 100644
--- a/app/models/meal.rb
+++ b/app/models/meal.rb
@@ -2,7 +2,8 @@ attr_accessible :date, :calories, :carbohydrates, :fat, :protein, :description
validates_presence_of :date, :calories
- validates_numericality_of :calories, :carbo... | Allow nil on numericality check fields
|
diff --git a/app/models/repo.rb b/app/models/repo.rb
index abc1234..def5678 100644
--- a/app/models/repo.rb
+++ b/app/models/repo.rb
@@ -1,6 +1,7 @@ # A GitHub project and its data
class Repo
- include ValueObject.new(*%i(
+ include Entity.new(:full_name)
+ attr_accessor(*%i(
author_commit_count_this_year
... | Convert Repo to an Entity object
This will allow it to:
* be built up over time as we pull API data
* be equal with other Repo objects that are more or less filled out
This means that Portfolio, a value object, breaks the rule by referencing a mutable
object, but since each Repo is mutated only in FetchDataWorker w... |
diff --git a/app/models/user.rb b/app/models/user.rb
index abc1234..def5678 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -4,11 +4,11 @@ has_many :addresses, :as => :addressable
validates_presence_of :first_name, :last_name
- file_column :photo, :magick => {
- :versions => {
- :thumb => {... | Include fille_column and bridge in externals. Comment out the :magick hash so the RMagick is an optional dependency.
git-svn-id: b6390d97d9ded5bc793696aad9e4256efc0f90b3@579 561dde7e-7729-0410-be8e-ef83869d6c7d
|
diff --git a/Library/Formula/aria2.rb b/Library/Formula/aria2.rb
index abc1234..def5678 100644
--- a/Library/Formula/aria2.rb
+++ b/Library/Formula/aria2.rb
@@ -1,11 +1,12 @@ require 'formula'
class Aria2 <Formula
- @url='http://downloads.sourceforge.net/project/aria2/stable/latest/aria2-1.8.0.tar.bz2'
- @homepage... | Update Aria2 to 1.8.2; use GCC.
|
diff --git a/lib/pronto/rugged/diff/delta.rb b/lib/pronto/rugged/diff/delta.rb
index abc1234..def5678 100644
--- a/lib/pronto/rugged/diff/delta.rb
+++ b/lib/pronto/rugged/diff/delta.rb
@@ -1,3 +1,5 @@+require 'pathname'
+
module Rugged
class Diff
class Delta
| Add require of pathname to Rugged::Diff::Delta
|
diff --git a/lib/tasks/taxonomy_metrics.rake b/lib/tasks/taxonomy_metrics.rake
index abc1234..def5678 100644
--- a/lib/tasks/taxonomy_metrics.rake
+++ b/lib/tasks/taxonomy_metrics.rake
@@ -6,5 +6,9 @@ m.count_content_per_level
m.average_tagging_depth
end
+
+ task record_content_coverage_metrics: :e... | Add a rake task to record the content coverage metrics
|
diff --git a/lib/token_auth/authenticator.rb b/lib/token_auth/authenticator.rb
index abc1234..def5678 100644
--- a/lib/token_auth/authenticator.rb
+++ b/lib/token_auth/authenticator.rb
@@ -3,27 +3,34 @@ extend ActiveSupport::Concern
included do
- private :authenticate_entity_by_token!
+ private :au... | Add before filter that raises an exception if user is unauthenticated.
|
diff --git a/recipes/test.rb b/recipes/test.rb
index abc1234..def5678 100644
--- a/recipes/test.rb
+++ b/recipes/test.rb
@@ -26,5 +26,5 @@
puts rightscale.to_yaml
EOH
- only_if node['right_api_client']['test']
+ only_if { node['right_api_client']['test'] }
end
| Add missing curl braces encapsulation with only_if option.
|
diff --git a/app/models/action.rb b/app/models/action.rb
index abc1234..def5678 100644
--- a/app/models/action.rb
+++ b/app/models/action.rb
@@ -16,17 +16,17 @@ def friendly_description
case request_type
when CREATED
- "#{edition.container.class} created by #{requester.name}."
+ "#{edition.contain... | Stop the extra full stop appearing in emails:
http://craig-01.vm.xeriom.net/~craig/screenies/annoying-full-stop-20110915-115319.jpg
|
diff --git a/app/models/mailer.rb b/app/models/mailer.rb
index abc1234..def5678 100644
--- a/app/models/mailer.rb
+++ b/app/models/mailer.rb
@@ -4,7 +4,8 @@
def twitter_invite(congress_person, args = {})
recipients congress_person.email_address
- from args[:from]
+ from "noreply@localpolitics... | Correct return address for twitter invite
|
diff --git a/rhubarb.gemspec b/rhubarb.gemspec
index abc1234..def5678 100644
--- a/rhubarb.gemspec
+++ b/rhubarb.gemspec
@@ -1,4 +1,5 @@ require File.expand_path('lib/rhubarb/version', File.dirname(__FILE__))
+require 'rake'
Gem::Specification.new do |s|
s.name = %q{rhubarb}
@@ -6,13 +7,15 @@ s.authors = ["Dan ... | Switch to using rake to determine gemspec files - git ls-files not well-supported on windows. |
diff --git a/app/admin/message.rb b/app/admin/message.rb
index abc1234..def5678 100644
--- a/app/admin/message.rb
+++ b/app/admin/message.rb
@@ -0,0 +1,17 @@+ActiveAdmin.register Message do
+
+# See permitted parameters documentation:
+# https://github.com/activeadmin/activeadmin/blob/master/docs/2-resource-customizati... | Add model Message for Admin
|
diff --git a/spec/controllers/sessions_controller_spec.rb b/spec/controllers/sessions_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/sessions_controller_spec.rb
+++ b/spec/controllers/sessions_controller_spec.rb
@@ -0,0 +1,29 @@+require 'spec_helper'
+
+describe SessionsController do
+ before(... | Add spec for sessions controller
|
diff --git a/spec/integration/admin/authorization_spec.rb b/spec/integration/admin/authorization_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/admin/authorization_spec.rb
+++ b/spec/integration/admin/authorization_spec.rb
@@ -6,7 +6,7 @@ end
def assert_denied_access
- visit "/context/admin"
+ ... | Switch to using URL helper rather than hardcoded path
|
diff --git a/bluepotion.gemspec b/bluepotion.gemspec
index abc1234..def5678 100644
--- a/bluepotion.gemspec
+++ b/bluepotion.gemspec
@@ -14,6 +14,7 @@ files = []
files << 'README.md'
files.concat(Dir.glob('lib/**/*.rb'))
+ files.concat(Dir.glob('lib/**/*.java'))
files.concat(Dir.glob('templates/**/*.rb'))
... | Include .java files in the gemspec
|
diff --git a/test/integration/authentication_test.rb b/test/integration/authentication_test.rb
index abc1234..def5678 100644
--- a/test/integration/authentication_test.rb
+++ b/test/integration/authentication_test.rb
@@ -3,6 +3,7 @@ class AuthenticationTest < ActionDispatch::IntegrationTest
setup do
+ User.dele... | Fix test failure due to test interference
The test interference is due to some users existing in the test database
which were created by previous tests. The existence of users in the
database allows the 'mock' authentication strategy to succeed (which
logs in the first user in the DB).
This is a hacky fix, I think th... |
diff --git a/event_store-client-http.gemspec b/event_store-client-http.gemspec
index abc1234..def5678 100644
--- a/event_store-client-http.gemspec
+++ b/event_store-client-http.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'event_store-client-http'
- s.version = '0.0.4.1'... | Package version is increased from 0.0.4.1 to 0.0.4.2
|
diff --git a/event_store-client-http.gemspec b/event_store-client-http.gemspec
index abc1234..def5678 100644
--- a/event_store-client-http.gemspec
+++ b/event_store-client-http.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'event_store-client-http'
- s.version = '0.3.3'
+... | Package version is increased from 0.3.3 to 0.3.4
|
diff --git a/Casks/kensington-trackball-works.rb b/Casks/kensington-trackball-works.rb
index abc1234..def5678 100644
--- a/Casks/kensington-trackball-works.rb
+++ b/Casks/kensington-trackball-works.rb
@@ -0,0 +1,16 @@+class KensingtonTrackballWorks < Cask
+ version '1.1.2'
+ sha256 '02e3fed2fe01c234206d3fcf2c85f71f10... | Add Kensington TrackballWorks for Mac 1.1.2
|
diff --git a/libraries/etcd_service_manager_docker.rb b/libraries/etcd_service_manager_docker.rb
index abc1234..def5678 100644
--- a/libraries/etcd_service_manager_docker.rb
+++ b/libraries/etcd_service_manager_docker.rb
@@ -13,7 +13,7 @@ docker_container new_resource.container_name do
repo new_resource.... | Fix the etcd command to include the binary name in etcd_service_manage_docker
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/brightbox-gemspec.rb b/brightbox-gemspec.rb
index abc1234..def5678 100644
--- a/brightbox-gemspec.rb
+++ b/brightbox-gemspec.rb
@@ -13,7 +13,7 @@ s.files = FileList["LICENSE", "Rakefile", "*.rb", "bin/brightbox-*","{lib,spec}/**/*.rb"].exclude(/recipe/).to_a
s.add_dependency("ini", ">=0.1.1")
s.sum... | Simplify executable line in gemspec
git-svn-id: f394a798e8d9c38072dcc4d4f52f30e4f7567160@59 f14820b4-53c2-4c7b-be4b-41e81b371297
|
diff --git a/test/test_helper.rb b/test/test_helper.rb
index abc1234..def5678 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,10 +1,10 @@+# For Code Coverage at coveralls.io
+require 'coveralls'
+Coveralls.wear!('rails')
+
ENV["RAILS_ENV"] ||= "test"
require File.expand_path('../../config/environment... | Move Coveralls.io code to very top of test spec
|
diff --git a/admin_view.gemspec b/admin_view.gemspec
index abc1234..def5678 100644
--- a/admin_view.gemspec
+++ b/admin_view.gemspec
@@ -6,11 +6,11 @@ s.name = "admin_view"
s.version = AdminView::VERSION
s.platform = Gem::Platform::RUBY
- s.authors = ["RT"]
- s.email = ["devs@"]
- s.h... | Change gemspec info and add dependencies.
|
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index abc1234..def5678 100644
--- a/Library/Homebrew/formula_support.rb
+++ b/Library/Homebrew/formula_support.rb
@@ -11,8 +11,6 @@
def valid?
case @reason
- when :provided_by_osx
- OS.mac?
when :provided_pre_mo... | Revert "Linuxbrew: keg_only :provided_by_osx only on Mac"
This reverts commit 0b330bf2d8abcd0b914d60a81d20883e1d710d5c.
|
diff --git a/powerdns_db_cli.gemspec b/powerdns_db_cli.gemspec
index abc1234..def5678 100644
--- a/powerdns_db_cli.gemspec
+++ b/powerdns_db_cli.gemspec
@@ -1,6 +1,6 @@ Gem::Specification.new do |s|
s.name = 'powerdns_db_cli'
- s.version = '0.0.5'
+ s.version = '0.0.6'
s.authors = ['h... | Update dependencies and bump version
|
diff --git a/tty-which.gemspec b/tty-which.gemspec
index abc1234..def5678 100644
--- a/tty-which.gemspec
+++ b/tty-which.gemspec
@@ -19,6 +19,8 @@ spec.test_files = spec.files.grep(%r{^(spec)/})
spec.require_paths = ["lib"]
+ spec.required_ruby_version = '>= 2.0.0'
+
spec.add_development_dependency 'bundl... | Change to lock ruby version
|
diff --git a/invalid_utf8_rejector.gemspec b/invalid_utf8_rejector.gemspec
index abc1234..def5678 100644
--- a/invalid_utf8_rejector.gemspec
+++ b/invalid_utf8_rejector.gemspec
@@ -18,8 +18,6 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_dependency "... | Remove runtime dependency on rack
This gem provides rack middleware but doesn't actually rely on the
rack gem itself.
|
diff --git a/Toucan.podspec b/Toucan.podspec
index abc1234..def5678 100644
--- a/Toucan.podspec
+++ b/Toucan.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = 'Toucan'
- s.version = '0.4.0'
+ s.version = '0.4.1'
s.license = 'MIT'
s.summary = 'Fabulous Image Processing in Swift'
s.homepage = 'https://g... | Prepare for 0.4.1 release with Xcode 7b5 support
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -2,6 +2,6 @@ node.default['jenkins']['master']['source'] = node['rsc_jenkins']['war_url']
node.default['jenkins']['master']['checksum'] = node['rsc_jenkins']['checksum']
+include_re... | Install software deps before installing Jenkins
|
diff --git a/lib/travis/worker/workers/resque.rb b/lib/travis/worker/workers/resque.rb
index abc1234..def5678 100644
--- a/lib/travis/worker/workers/resque.rb
+++ b/lib/travis/worker/workers/resque.rb
@@ -20,10 +20,6 @@ stop_processing
requeue
raise $!
- end
-
- def shell
-... | Remove one more unused methods
|
diff --git a/lib/yard/handlers/method_handler.rb b/lib/yard/handlers/method_handler.rb
index abc1234..def5678 100644
--- a/lib/yard/handlers/method_handler.rb
+++ b/lib/yard/handlers/method_handler.rb
@@ -9,7 +9,7 @@ # Class method if prefixed by self(::|.) or Module(::|.)
if meth =~ /(?:#{NSEP}|\.)([^#{NSEP}\... | Use P() instead of Registry.resolve
|
diff --git a/app/models/repository.rb b/app/models/repository.rb
index abc1234..def5678 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -12,6 +12,7 @@ field :longitude
index({ 'snapshots.date' => 1 })
+ index({ 'snapshot.statistics.resources' => 1 })
##
# Returns a list of record... | Add index to make statistic compilation scalable
The statistic compilation for the resources did not scale. There was too
much data for sort() in MongoDB. Hence, I have added the appropriate
index.
Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>
|
diff --git a/config/schedule.rb b/config/schedule.rb
index abc1234..def5678 100644
--- a/config/schedule.rb
+++ b/config/schedule.rb
@@ -12,5 +12,5 @@ # as that could cause us to get unrespected API backoffs.
every 1.day, :at => '2:00 am' do
- runner 'User.where.not(:api_token => nil).each(&:update_moderator_sites)... | Handle moderator site update failure
Looks like someone revoked an access_token and it’s throwing
exceptions, causing the task to never finish all the users.
|
diff --git a/config/schedule.rb b/config/schedule.rb
index abc1234..def5678 100644
--- a/config/schedule.rb
+++ b/config/schedule.rb
@@ -29,9 +29,9 @@ runner 'DigestBuilder.send_daily_email'
end
-every :minute do
+every 1.minute do
command "whoami"
end
-every :minute do
+every 1.minute do
command "which rub... | Add crons to check env
|
diff --git a/app/controllers/admin/teams/members_controller.rb b/app/controllers/admin/teams/members_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin/teams/members_controller.rb
+++ b/app/controllers/admin/teams/members_controller.rb
@@ -36,6 +36,6 @@ protected
def team_member
- @member... | Update user finding (by username) in admin teams members controller
|
diff --git a/app/controllers/course/duplications_controller.rb b/app/controllers/course/duplications_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/course/duplications_controller.rb
+++ b/app/controllers/course/duplications_controller.rb
@@ -31,6 +31,6 @@ #
# @return [Hash] Hash of options to be... | Convert the duplication params to hash
|
diff --git a/snp.gemspec b/snp.gemspec
index abc1234..def5678 100644
--- a/snp.gemspec
+++ b/snp.gemspec
@@ -7,8 +7,8 @@ s.platform = Gem::Platform::RUBY
s.summary = 'Quickly and easily create code snippets.'
s.email = 'mascarenhas.renato@gmail.com'
- s.homepage = ''
- s.description = 'Quickly... | Fix warnings in the gemspec.
|
diff --git a/app/helpers/oauth.rb b/app/helpers/oauth.rb
index abc1234..def5678 100644
--- a/app/helpers/oauth.rb
+++ b/app/helpers/oauth.rb
@@ -0,0 +1,16 @@+SCOPES = [
+ 'https://www.googleapis.com/auth/userinfo.email'
+].join(' ')
+
+raise RuntimeError, "You must set CLIENT_ID and CLIENT_SECRET in your server envi... | Add Helper Methods For Oauth Authentication
|
diff --git a/app/models/user.rb b/app/models/user.rb
index abc1234..def5678 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -46,6 +46,10 @@ remotely_signed_out
end
+ def disabled?
+ disabled
+ end
+
def update_attribute(attribute, value)
update({ attribute => value })
end
| Add `disabled?`` helper method on User for gds-sso linter
|
diff --git a/test/helpers/cache_connection.rb b/test/helpers/cache_connection.rb
index abc1234..def5678 100644
--- a/test/helpers/cache_connection.rb
+++ b/test/helpers/cache_connection.rb
@@ -19,7 +19,7 @@ @backend ||= case ENV['ADAPTER']
when nil, 'dalli'
require 'active_support/cache/mem_cache_store'... | Set up MemCacheStore in a test suite with TTL from docs
|
diff --git a/test/test_rails_relations_fix.rb b/test/test_rails_relations_fix.rb
index abc1234..def5678 100644
--- a/test/test_rails_relations_fix.rb
+++ b/test/test_rails_relations_fix.rb
@@ -16,5 +16,16 @@ assert_equal(@user, @titanic.subject)
end
end
+
+ context "Association bug tests" do... | Add failing test for association bug
|
diff --git a/spec/feature/login_register_spec.rb b/spec/feature/login_register_spec.rb
index abc1234..def5678 100644
--- a/spec/feature/login_register_spec.rb
+++ b/spec/feature/login_register_spec.rb
@@ -19,7 +19,7 @@ visit '/login'
within('#new_user') do
fill_in 'Email', with: @user.email
- fill_... | Add clearer incorrect password language
|
diff --git a/spec/lib/gitlab/ldap/config_spec.rb b/spec/lib/gitlab/ldap/config_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/gitlab/ldap/config_spec.rb
+++ b/spec/lib/gitlab/ldap/config_spec.rb
@@ -16,19 +16,5 @@ it "raises an error if a unknow provider is used" do
expect{ Gitlab::LDAP::Config.new 'un... | Remove test for 'ldap' provider special case
|
diff --git a/core/deprecations.rb b/core/deprecations.rb
index abc1234..def5678 100644
--- a/core/deprecations.rb
+++ b/core/deprecations.rb
@@ -4,5 +4,9 @@ "Ruby 2.1 features that are incompatible with Ruby 2.2 are deprecated." =>
"Use Ruby 2.2 features if they are available.",
"Rubinius::KERNEL_PATH i... | Add deprecation notice for 32-bit and GCC.
|
diff --git a/app/controllers/auth0_controller.rb b/app/controllers/auth0_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/auth0_controller.rb
+++ b/app/controllers/auth0_controller.rb
@@ -1,34 +1,17 @@ class Auth0Controller < ApplicationController
-<<<<<<< HEAD
-<<<<<<< HEAD
-=======
->>>>>>> Add the s... | Fix redirect route and change uid to user info
|
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
@@ -0,0 +1,30 @@+class ItemsController < ApplicationController
+
+ def create_post
+ @item = item.new
+ @item.na... | Add methods to create and delete posts
|
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
@@ -4,4 +4,42 @@
def show
end
+
+ STATE = { deleted: -1, normal: 1, blocked: 2 }
+
+ def newbie?
+ return fa... | Add the method to determine the user state.
|
diff --git a/app/models/concerns/translatable.rb b/app/models/concerns/translatable.rb
index abc1234..def5678 100644
--- a/app/models/concerns/translatable.rb
+++ b/app/models/concerns/translatable.rb
@@ -8,7 +8,7 @@
module ClassMethods
def content_association
- "#{name.downcase}_contents".to_sym
+ "... | Use model_name to create content association
|
diff --git a/lib/add-to-dict.rb b/lib/add-to-dict.rb
index abc1234..def5678 100644
--- a/lib/add-to-dict.rb
+++ b/lib/add-to-dict.rb
@@ -0,0 +1,10 @@+#!/usr/bin/env ruby -i
+require_relative 'marky-markov/markov-dictionary'
+require_relative 'marky-markov/persistent-dictionary'
+
+if __FILE__ == $0
+ unless ARGV[0].ni... | Add To Dict creates/adds to PersistentDictionary
When run and given a source and dictionary, add-to-dict will open the
dictionary(if it already exists) and add the source files words.
|
diff --git a/lib/plugins/lyric.rb b/lib/plugins/lyric.rb
index abc1234..def5678 100644
--- a/lib/plugins/lyric.rb
+++ b/lib/plugins/lyric.rb
@@ -9,7 +9,7 @@ def execute(m, command, lyric, keywords)
RapGenius::Client.access_token = "#{ENV['RAPGENIUS']}"
return m.reply 'no song found :(' if RapGenius.search_b... | Debug - Fix spelling mistake
|
diff --git a/lib/snmpjr/getter.rb b/lib/snmpjr/getter.rb
index abc1234..def5678 100644
--- a/lib/snmpjr/getter.rb
+++ b/lib/snmpjr/getter.rb
@@ -9,11 +9,12 @@ end
def get oids
+ #TODO: Change it to be a session do end block
@session.start
begin
- results = oids.each_slice(@max_oids_... | Add a refactoring todo and change .flatten to a flatmap
|
diff --git a/lib/wheelie/names.rb b/lib/wheelie/names.rb
index abc1234..def5678 100644
--- a/lib/wheelie/names.rb
+++ b/lib/wheelie/names.rb
@@ -0,0 +1,37 @@+module Wheelie
+ class Names
+
+ attr_accessor :model
+
+ def initialize(model)
+ self.model = model
+ end
+
+ def symbol
+ ":#{variable}"
... | Create Wheelie::Names, which offers all kinds of name generation from a model
|
diff --git a/app/workers/running_timer_worker.rb b/app/workers/running_timer_worker.rb
index abc1234..def5678 100644
--- a/app/workers/running_timer_worker.rb
+++ b/app/workers/running_timer_worker.rb
@@ -10,7 +10,7 @@ if timer.started_at < (Time.zone.now - 12.hours) ||
(timer.current_value > 12 && time... | Fix running timer worker to broadcast to action cable
|
diff --git a/lib/yubioath/list.rb b/lib/yubioath/list.rb
index abc1234..def5678 100644
--- a/lib/yubioath/list.rb
+++ b/lib/yubioath/list.rb
@@ -0,0 +1,26 @@+require 'bindata'
+
+module YubiOATH
+ class List
+ def self.send(to:)
+ to.transmit(Request.new.to_binary_s)
+ end
+
+ class Request < BinData::Re... | Call the List instruction using `YubiOATH::List`
|
diff --git a/lib/napa_reserve/initializer.rb b/lib/napa_reserve/initializer.rb
index abc1234..def5678 100644
--- a/lib/napa_reserve/initializer.rb
+++ b/lib/napa_reserve/initializer.rb
@@ -1,7 +1,7 @@ module NapaReserve
class Initializer
def self.run
- Napa::Logger.logger.info NapaReserve::GemDependency.lo... | Disable gem log runner unless production
|
diff --git a/lib/sg_mailer/job.rb b/lib/sg_mailer/job.rb
index abc1234..def5678 100644
--- a/lib/sg_mailer/job.rb
+++ b/lib/sg_mailer/job.rb
@@ -1,7 +1,7 @@ module SGMailer
class Job < ActiveJob::Base
def perform(mail)
- SG.send(mail)
+ SGMailer.send(mail)
end
end
end
| Fix the SG::Mailer bad constants refs
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.