diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -4,7 +4,7 @@ license 'Apache 2.0'
description 'Installs/Configures mongodb3'
long_description 'Installs/Configures mongodb3'
-version '0.2.0'
+version '1.0.0'
supports 'ubuntu... | Update the version as 1.0.0
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -9,43 +9,11 @@ depends 'runit', '~> 1.0'
depends 'yum-epel'
-supports 'amazon'
-supports 'centos'
-supports 'debian'
-supports 'fedora'
-supports 'oracle'
-supports 'redhat'
-supports 'scie... | Remove attributes, use loop for supports, fix recipe name
|
diff --git a/lib/rollbar/encoding/legacy_encoder.rb b/lib/rollbar/encoding/legacy_encoder.rb
index abc1234..def5678 100644
--- a/lib/rollbar/encoding/legacy_encoder.rb
+++ b/lib/rollbar/encoding/legacy_encoder.rb
@@ -1,18 +1,20 @@ require 'iconv'
module Rollbar
- class LegacyEncoder
- attr_accessor :object
+ mo... | Fix LegacyEncoder namespace => Rollbar::Encoding::LegacyEncoder.
|
diff --git a/cookbooks/lib/features/git_spec.rb b/cookbooks/lib/features/git_spec.rb
index abc1234..def5678 100644
--- a/cookbooks/lib/features/git_spec.rb
+++ b/cookbooks/lib/features/git_spec.rb
@@ -10,11 +10,11 @@ its(:exit_status) { should eq 0 }
end
- describe command('git config --global user.name'), de... | Check git config without `--global`
because it should work correctly without that option specified
|
diff --git a/simple_backend/db/seeds.rb b/simple_backend/db/seeds.rb
index abc1234..def5678 100644
--- a/simple_backend/db/seeds.rb
+++ b/simple_backend/db/seeds.rb
@@ -15,3 +15,10 @@ recipes << Recipe.create(big_oven_id: 381400, title: "Pizza")
recipes << Recipe.create(big_oven_id: 337784, title: "Cowboy Cookies")
r... | Create user favorites with users and recipes arrays
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -12,4 +12,4 @@
source_url 'https://github.com/chef-cookbooks/chef_slack'
issues_url 'https://github.com/chef-cookbooks/chef_slack/issues'
-chef_version '>= 12.5'
+chef_version '>= 12.5' if respond_to?(:chef_ve... | Add chef_version compatibility with older chef releases
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
@@ -2,7 +2,7 @@ maintainer 'Oregon State University'
maintainer_email 'chef@osuosl.org'
license 'Apache-2.0'
-chef_version '>= 14'
+chef_version '>= 16.0'
description 'Installs/Configu... | Update Chef dependency to >= 16
|
diff --git a/Casks/freeswitch-desktop.rb b/Casks/freeswitch-desktop.rb
index abc1234..def5678 100644
--- a/Casks/freeswitch-desktop.rb
+++ b/Casks/freeswitch-desktop.rb
@@ -1,8 +1,8 @@ cask :v1 => 'freeswitch-desktop' do
- version '1.0.0'
- sha256 'd86a622e3b2bcfdef41f6ab3f1a347e0e37b58ec28725740da27a135681591d5'
+ ... | Upgrade "Freeswitch Desktop.app" to v1.1.0
|
diff --git a/Casks/sonarr-menu-helper.rb b/Casks/sonarr-menu-helper.rb
index abc1234..def5678 100644
--- a/Casks/sonarr-menu-helper.rb
+++ b/Casks/sonarr-menu-helper.rb
@@ -0,0 +1,15 @@+cask :v1 => 'sonarr-menu-helper' do
+ version '2.2'
+ sha256 'a46ace8316b873823adb829719a7b91780194a89d313a9bb313a9677e4fda78f'
+
+ ... | Add Sonarr Menu Helper App 2.2
|
diff --git a/spec/requests/home_page_spec.rb b/spec/requests/home_page_spec.rb
index abc1234..def5678 100644
--- a/spec/requests/home_page_spec.rb
+++ b/spec/requests/home_page_spec.rb
@@ -5,7 +5,7 @@ VCR.use_cassette('geographical_areas#countries') do
visit root_path
- page.should have_content 'Use t... | Change spec as wording was changed.
|
diff --git a/bnr-webhooks.gemspec b/bnr-webhooks.gemspec
index abc1234..def5678 100644
--- a/bnr-webhooks.gemspec
+++ b/bnr-webhooks.gemspec
@@ -8,8 +8,8 @@ spec.version = Bnr::Webhooks::VERSION
spec.authors = ["Big Nerd Ranch"]
spec.email = ["developer@bignerdranch.com"]
- spec.summary ... | Use a real summary and description.
|
diff --git a/JSONViewControllers.podspec b/JSONViewControllers.podspec
index abc1234..def5678 100644
--- a/JSONViewControllers.podspec
+++ b/JSONViewControllers.podspec
@@ -14,6 +14,7 @@ s.license = 'MIT'
s.author = { "Snap Kitchen" => "graham_perks@snapkitchen.com" }
s.source = { :... | Add new field to podspec
|
diff --git a/spec/meteor_spec.rb b/spec/meteor_spec.rb
index abc1234..def5678 100644
--- a/spec/meteor_spec.rb
+++ b/spec/meteor_spec.rb
@@ -1,39 +1,2 @@ require File.dirname(__FILE__) + '/spec_helper'
-describe ::Meteor::Widget::RemoteContent::Spec do
-
- context "with partial" do
-
- before(:all) do
- ... | Remove RemoteContent rspec test from base plugin.
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -19,4 +19,4 @@ end
end
-Mingo.collection.remove
+Mingo.collection.drop
| Drop collection (including indexes) instead of just removing all records.
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,7 +1,13 @@-if ENV['COVERAGE'] == 'true' && RUBY_ENGINE == 'ruby' && RUBY_VERSION == '2.4.1'
- require "simplecov"
- SimpleCov.start do
- add_filter '/spec/'
+if RUBY_ENGINE... | Send coverage with latest MRI
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -3,6 +3,10 @@ require 'buildpack/packager'
require 'file_system_helpers'
+unless system("which tree")
+ raise "Please install the `tree` commandline tool."
+end
+
RSpec.config... | Check for existence of `tree` before running suite.
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -9,6 +9,8 @@
RSpec.configure do |c|
c.order = :random
+ c.filter_run :focus
+ c.run_all_when_everything_filtered = true
end
def reset_i18n
| Allow focus filter in specs |
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -25,4 +25,7 @@ config.include SpecHelpers
config.include CliSpecHelpers
config.include Aruba::Api
+
+ config.run_all_when_everything_filtered = true
+ config.filter_run :... | Allow for focusing on certain tests
|
diff --git a/lib/tasks/engine.rake b/lib/tasks/engine.rake
index abc1234..def5678 100644
--- a/lib/tasks/engine.rake
+++ b/lib/tasks/engine.rake
@@ -1,49 +1,4 @@ namespace :engine do
- desc "Check all services"
- task :check_all => :environment do
- interval = 60
- while true do
- start_time = Time.now.to_... | Remove the check rake task (was not working)
|
diff --git a/lib/tasks/router.rake b/lib/tasks/router.rake
index abc1234..def5678 100644
--- a/lib/tasks/router.rake
+++ b/lib/tasks/router.rake
@@ -17,13 +17,6 @@ end
task :register_routes => [ :router_environment, :environment ] do
- @logger.info "Registering homepage at /"
- @router.routes.update applica... | Stop publisher registering certain frontend routes on deployment
Publisher needs frontend to be registered as an application, but frontend should take care of registering the homepage and its assets folder as routes
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -6,6 +6,11 @@
require 'bundler/setup'
Bundler.require
+
+# for kaminari view test
+ActiveSupport.on_load :action_controller do
+ prepend_view_path File.join(Gem.loaded_specs['k... | Add view_path setting for view tests
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -9,7 +9,9 @@ SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
-SimpleCov.start
+SimpleCov.start do
+ add_filter "/spec/"
+end
test_dir = File.dirnam... | Exclude /spec/ from code coverage.
Weirdly, on coveralls.io, only Rubinius (rbx-19mode) shows a 1%
lack in coverage due to a line in docile_spec.rb. This should
ensure that the spec files are never measured for code coverage.
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -10,6 +10,32 @@ config.order = :rand
end
+RSpec::Matchers.define :exit_with_code do |status_code|
+ actual = nil
+
+ match do |block|
+ begin
+ block.call
+ rescu... | Add helper for status codes.
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -18,3 +18,5 @@ require 'rspec/expectations'
require 'webmock/rspec'
require 'omniauth-cas'
+
+OmniAuth.config.logger = Logger.new( '/dev/null' )
| Disable log output in tests
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,3 @@-# $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-# $LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'robut-whois'
| Remove things from the load path
|
diff --git a/libraries/matchers.rb b/libraries/matchers.rb
index abc1234..def5678 100644
--- a/libraries/matchers.rb
+++ b/libraries/matchers.rb
@@ -1,15 +1,17 @@-def create_rdiff_backup(resource_name)
- ChefSpec::Matchers::ResourceMatcher.new(
- :rdiff_backup,
- :create,
- resource_name
- )
+if defined?(Che... | Check if ChefSpec is defined, before defining matcher.
|
diff --git a/cookbooks/smith-packages/recipes/default.rb b/cookbooks/smith-packages/recipes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/smith-packages/recipes/default.rb
+++ b/cookbooks/smith-packages/recipes/default.rb
@@ -17,12 +17,8 @@ # limitations under the License.
#
-node['smith-packages']['insta... | Use multipackage from Chef 12
|
diff --git a/lib/tasks/load_legacy_mappings.rake b/lib/tasks/load_legacy_mappings.rake
index abc1234..def5678 100644
--- a/lib/tasks/load_legacy_mappings.rake
+++ b/lib/tasks/load_legacy_mappings.rake
@@ -0,0 +1,29 @@+desc "Populate legacy_taxons links for each topic taxon according to a CSV"
+task :load_legacy_mapping... | Add rake task to populate topic taxons with legacy taxons.
|
diff --git a/lib/i18n-backoffice.rb b/lib/i18n-backoffice.rb
index abc1234..def5678 100644
--- a/lib/i18n-backoffice.rb
+++ b/lib/i18n-backoffice.rb
@@ -27,19 +27,20 @@ @translations ||= redis.hgetall('I18n_translations')
end
- def load_translation_from_redis
+ def i18n_translations(reload = ... | Simplify and add some things
|
diff --git a/lib/bra/driver_common/requests/playlist_handler.rb b/lib/bra/driver_common/requests/playlist_handler.rb
index abc1234..def5678 100644
--- a/lib/bra/driver_common/requests/playlist_handler.rb
+++ b/lib/bra/driver_common/requests/playlist_handler.rb
@@ -3,15 +3,13 @@ module Bra
module DriverCommon
mo... | Move PlaylistHandler up a module level.
|
diff --git a/lib/ember/appkit/rails/teaspoon/spec_controller.rb b/lib/ember/appkit/rails/teaspoon/spec_controller.rb
index abc1234..def5678 100644
--- a/lib/ember/appkit/rails/teaspoon/spec_controller.rb
+++ b/lib/ember/appkit/rails/teaspoon/spec_controller.rb
@@ -9,5 +9,5 @@ end
ActiveSupport.on_load(:action_contro... | Make sure SpecController is not loaded before trying to load
|
diff --git a/Casks/rstudio-daily.rb b/Casks/rstudio-daily.rb
index abc1234..def5678 100644
--- a/Casks/rstudio-daily.rb
+++ b/Casks/rstudio-daily.rb
@@ -0,0 +1,13 @@+cask :v1 => 'rstudio-daily' do
+ version :latest
+ sha256 :no_check
+
+ url 'http://www.rstudio.org/download/latest/daily/desktop/mac/RStudio-latest.dm... | Add RStudio daily build cask
The RStudio daily build is the fresher, more dangerous version of rstudio-preview
|
diff --git a/DANCurlRequest.podspec b/DANCurlRequest.podspec
index abc1234..def5678 100644
--- a/DANCurlRequest.podspec
+++ b/DANCurlRequest.podspec
@@ -1,13 +1,14 @@ Pod::Spec.new do |s|
- s.name = "DANCurlRequest"
- s.version = "1.0.0"
- s.summary = "Easily log NSURLRequest's as curl ... | Add OS X support to Podfile, bump version to 1.0.1
|
diff --git a/omniauth-jobrocket.gemspec b/omniauth-jobrocket.gemspec
index abc1234..def5678 100644
--- a/omniauth-jobrocket.gemspec
+++ b/omniauth-jobrocket.gemspec
@@ -1,11 +1,11 @@ # coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require 'omniauth/j... | Make gem spec so it will build
|
diff --git a/db/migrate/20160204080445_add_posts_original_updated_at.rb b/db/migrate/20160204080445_add_posts_original_updated_at.rb
index abc1234..def5678 100644
--- a/db/migrate/20160204080445_add_posts_original_updated_at.rb
+++ b/db/migrate/20160204080445_add_posts_original_updated_at.rb
@@ -1,5 +1,7 @@ class AddPo... | Copy updated_at to original_updated_at for existing records
|
diff --git a/vendor/plugins/authentication/app/controllers/sessions_controller.rb b/vendor/plugins/authentication/app/controllers/sessions_controller.rb
index abc1234..def5678 100644
--- a/vendor/plugins/authentication/app/controllers/sessions_controller.rb
+++ b/vendor/plugins/authentication/app/controllers/sessions_c... | Fix a bug where it would always say "Logged in successfully" even when
they weren't logged in successfully.
Somewhat confusingly, UserSession.create is not the same as
UserSession.new.save. UserSession.create will return a UserSession
object (such #<UserSession: no credentials provided>), even if there was
an authenti... |
diff --git a/lib/soprano/unicorn.rb b/lib/soprano/unicorn.rb
index abc1234..def5678 100644
--- a/lib/soprano/unicorn.rb
+++ b/lib/soprano/unicorn.rb
@@ -1,6 +1,6 @@ Capistrano::Configuration.instance(:must_exist).load do
def unicorn_conf
- fetch(:unicorn_conf, 'config/unicorn.rb')
+ fetch(:unicorn_conf, "#{dep... | Revert "Provide relative config path."
This reverts commit 24b7c8cd314213319c04b8b6064ecf2e0ee0b504.
|
diff --git a/lib/stairs/steps/s3.rb b/lib/stairs/steps/s3.rb
index abc1234..def5678 100644
--- a/lib/stairs/steps/s3.rb
+++ b/lib/stairs/steps/s3.rb
@@ -7,9 +7,23 @@ description "Setup AWS and S3 bucket access"
def run
- env "AWS_ACCESS_KEY_ID", provide("AWS Access Key ID")
- env "AWS_SECRE... | Add option to control name of env vars
|
diff --git a/lib/tasks/woo_api.rake b/lib/tasks/woo_api.rake
index abc1234..def5678 100644
--- a/lib/tasks/woo_api.rake
+++ b/lib/tasks/woo_api.rake
@@ -6,7 +6,7 @@ end
task load_new_sessions: :environment do
- break_time = Session.pluck(:updated_at).last || (Time.current - 60 * 60 * 24)
+ break_time = Ses... | Fix fetching times for sessions
|
diff --git a/lib/twitter/request.rb b/lib/twitter/request.rb
index abc1234..def5678 100644
--- a/lib/twitter/request.rb
+++ b/lib/twitter/request.rb
@@ -1,8 +1,9 @@ require 'twitter/cursor'
+require 'twitter/rate_limit'
module Twitter
class Request
- attr_accessor :client, :request_method, :path, :options
+ ... | Add rate_limit attribute to Twitter::Request
References https://github.com/sferik/twitter/pull/626.
|
diff --git a/lib/ctrlo/actions/refresh_all.rb b/lib/ctrlo/actions/refresh_all.rb
index abc1234..def5678 100644
--- a/lib/ctrlo/actions/refresh_all.rb
+++ b/lib/ctrlo/actions/refresh_all.rb
@@ -1,23 +1,32 @@ module Ctrlo
class RefreshAll
- def initialize
+ def initialize(options = {})
+ @options = options
... | Refactor { mode: :board } into an options hash. |
diff --git a/lib/document_number/numerator.rb b/lib/document_number/numerator.rb
index abc1234..def5678 100644
--- a/lib/document_number/numerator.rb
+++ b/lib/document_number/numerator.rb
@@ -2,13 +2,13 @@
module DocumentNumber
class Numerator
- def self.next_number(object, options)
- DocumentNumber.trans... | Check ActiveRecord version and use name
|
diff --git a/lib/has_ip_address/extensions.rb b/lib/has_ip_address/extensions.rb
index abc1234..def5678 100644
--- a/lib/has_ip_address/extensions.rb
+++ b/lib/has_ip_address/extensions.rb
@@ -17,13 +17,13 @@
class Bignum
def to_ipaddr
- [24, 16, 8, 0].collect {|b| (self >> b) & 255}.join('.').to_ipaddr
+ IPA... | Use IPAddr to convert integer to IPAddr, instead of some hack.
|
diff --git a/test/web_console_test.rb b/test/web_console_test.rb
index abc1234..def5678 100644
--- a/test/web_console_test.rb
+++ b/test/web_console_test.rb
@@ -25,10 +25,8 @@ app.config.middleware ||= Rails::Configuration::MiddlewareStackProxy.new
app.config.active_support.deprecation = :notify
- b... | Use the method body as a begin/end block
This one saves the need of explicit begin/enusure/end in the
new_uninitialized_app test helper.
|
diff --git a/lib/mongoid_auto_increment_id.rb b/lib/mongoid_auto_increment_id.rb
index abc1234..def5678 100644
--- a/lib/mongoid_auto_increment_id.rb
+++ b/lib/mongoid_auto_increment_id.rb
@@ -1,16 +1,13 @@-module Mongoid
- class Counter
- include Components
- end
-
+module Mongoid
class Identity
... | Fix for Mongoid 2.0 support
|
diff --git a/lib/npm/rails/package_manager.rb b/lib/npm/rails/package_manager.rb
index abc1234..def5678 100644
--- a/lib/npm/rails/package_manager.rb
+++ b/lib/npm/rails/package_manager.rb
@@ -16,7 +16,7 @@
def write_bundle_file
bundle_file_path = "#{ @root_path }/tmp/npm-rails/bundle.js"
- Dir.... | Use `mkdir_p` since tmp dir may not exist |
diff --git a/db/migrate/20160707174939_create_percentages.rb b/db/migrate/20160707174939_create_percentages.rb
index abc1234..def5678 100644
--- a/db/migrate/20160707174939_create_percentages.rb
+++ b/db/migrate/20160707174939_create_percentages.rb
@@ -1,7 +1,7 @@ class CreatePercentages < ActiveRecord::Migration
de... | Update column name on percentages table
|
diff --git a/example/my_app.rb b/example/my_app.rb
index abc1234..def5678 100644
--- a/example/my_app.rb
+++ b/example/my_app.rb
@@ -1,42 +1,10 @@ ## Test app for Framework
class MyApp < Flame::Application
- # get '/' do
- # view :index
- # end
- #
- # get '/users' do
- # view 'users/index'
- # end
- #
- # post '/us... | Remove unused commented code from example app
|
diff --git a/openmeeg.rb b/openmeeg.rb
index abc1234..def5678 100644
--- a/openmeeg.rb
+++ b/openmeeg.rb
@@ -2,8 +2,8 @@
class Openmeeg < Formula
homepage 'http://www-sop.inria.fr/athena/software/OpenMEEG/'
- url 'https://github.com/openmeeg/openmeeg/tarball/release-2.1'
- sha1 'b779f95db3687e5e338f889d9510b5777... | Convert remaining github tarball URLs to archive URLs
|
diff --git a/lib/inline_svg/transform_pipeline/transformations/title.rb b/lib/inline_svg/transform_pipeline/transformations/title.rb
index abc1234..def5678 100644
--- a/lib/inline_svg/transform_pipeline/transformations/title.rb
+++ b/lib/inline_svg/transform_pipeline/transformations/title.rb
@@ -1,12 +1,13 @@ module In... | Handle documents without SVG root elements
|
diff --git a/spec/transport/udp_spec.rb b/spec/transport/udp_spec.rb
index abc1234..def5678 100644
--- a/spec/transport/udp_spec.rb
+++ b/spec/transport/udp_spec.rb
@@ -1,8 +1,9 @@ require 'spec_helper'
describe LIFX::Transport::UDP do
+ let(:port) { 45828 }
subject do
- LIFX::Transport::UDP.new('localhost', ... | Use a more random port
|
diff --git a/lib/puppet/parser/functions/always_array.rb b/lib/puppet/parser/functions/always_array.rb
index abc1234..def5678 100644
--- a/lib/puppet/parser/functions/always_array.rb
+++ b/lib/puppet/parser/functions/always_array.rb
@@ -6,11 +6,14 @@
If the argument is a hash, we will create an array where each eleme... | Improve support for calling the function from templates and/or manifests
|
diff --git a/spec/emphasis_list_spec.rb b/spec/emphasis_list_spec.rb
index abc1234..def5678 100644
--- a/spec/emphasis_list_spec.rb
+++ b/spec/emphasis_list_spec.rb
@@ -1,85 +1,13 @@ require 'spec_helper'
+require 'shared_verso_list_examples'
describe Verso::EmphasisList do
use_vcr_cassette :record => :new_episod... | Use shared examples for array-like behavior
|
diff --git a/db/seeds.rb b/db/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -1,6 +1,11 @@ path = File.dirname(__FILE__)
connection = ActiveRecord::Base.connection
-statements = IO.read(path + '/seeds.sql').split(';').map(&:strip).reject(&:empty?)
+seedfile = if File.exists?(path + '/see... | Load local seed data without checkin
|
diff --git a/lib/gemtranslatetoenglish/translatetoenglish.rb b/lib/gemtranslatetoenglish/translatetoenglish.rb
index abc1234..def5678 100644
--- a/lib/gemtranslatetoenglish/translatetoenglish.rb
+++ b/lib/gemtranslatetoenglish/translatetoenglish.rb
@@ -8,7 +8,7 @@ return ""
end
- ... | Correct name of method empty to string
Signed-off-by: Gustavo Toshi Komura <4cad6e13d165ce6dbdcf3458fc5cbc27ddef2a34@gmail.com>
|
diff --git a/app/controllers/projects.rb b/app/controllers/projects.rb
index abc1234..def5678 100644
--- a/app/controllers/projects.rb
+++ b/app/controllers/projects.rb
@@ -11,12 +11,14 @@ @project = Project.new(params[:project])
@project.set_default_user(session[:user_id])
@project.set_tags(params[:tags])
+ @... | Update ajax call on locations to contain latlng coordinates
|
diff --git a/app/helpers/wanikani_api.rb b/app/helpers/wanikani_api.rb
index abc1234..def5678 100644
--- a/app/helpers/wanikani_api.rb
+++ b/app/helpers/wanikani_api.rb
@@ -6,19 +6,19 @@
def self.fetch_kanji(params)
kanji = Wanikani::Level.kanji(optional_argument(params))
- kanji.each { |item| item[:type] =... | Fix incorrect hash key for Anki type
|
diff --git a/config/deploy/staging.rb b/config/deploy/staging.rb
index abc1234..def5678 100644
--- a/config/deploy/staging.rb
+++ b/config/deploy/staging.rb
@@ -1,4 +1,4 @@-raise "No staging server setup yet!"
+warn "No staging server setup yet!"
# server ".us-west-2.compute.amazonaws.com", :app, :db, :primary => true... | Switch to warn so cap -T works
|
diff --git a/examples/auth.rb b/examples/auth.rb
index abc1234..def5678 100644
--- a/examples/auth.rb
+++ b/examples/auth.rb
@@ -18,7 +18,7 @@ begin
flickr.get_access_token(token['oauth_token'], token['oauth_token_secret'], verify)
login = flickr.test.login
- puts "You are now authenticated as #{login.username}"... | Print access and secret token
|
diff --git a/app/decorators/post_decorator.rb b/app/decorators/post_decorator.rb
index abc1234..def5678 100644
--- a/app/decorators/post_decorator.rb
+++ b/app/decorators/post_decorator.rb
@@ -8,7 +8,7 @@ locale: 'ja_JP',
type: 'article',
title: title,
- description: render_markdown(body),
+ ... | Remove linefeed from og:description for post
|
diff --git a/app/helpers/categories_helper.rb b/app/helpers/categories_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/categories_helper.rb
+++ b/app/helpers/categories_helper.rb
@@ -8,7 +8,8 @@ def expandable?
(defined?(@category) && !current_page?(new_category_path)) ||
(defined?(@post) && !@p... | Expand category header on articles
|
diff --git a/app/models/abilities/everyone.rb b/app/models/abilities/everyone.rb
index abc1234..def5678 100644
--- a/app/models/abilities/everyone.rb
+++ b/app/models/abilities/everyone.rb
@@ -11,7 +11,7 @@ can :read, User
can [:search, :read], Annotation
can :new, DirectMessage
- can [:read, :... | Fix abilities to see the draft publication section
|
diff --git a/app/models/instrument_version.rb b/app/models/instrument_version.rb
index abc1234..def5678 100644
--- a/app/models/instrument_version.rb
+++ b/app/models/instrument_version.rb
@@ -28,10 +28,11 @@ return @instrument.questions unless @version
questions = []
@version.reify.questions.each do |que... | Fix versioned options bug for instrument version model
|
diff --git a/app/models/spree/subscription.rb b/app/models/spree/subscription.rb
index abc1234..def5678 100644
--- a/app/models/spree/subscription.rb
+++ b/app/models/spree/subscription.rb
@@ -24,7 +24,7 @@ state: 'confirm'
)
- self.shipped_products << random_product
+ shipped_products << ran... | Fix - Redundant self detected.
|
diff --git a/spec/controllers/vm_cloud_controller/trees_spec.rb b/spec/controllers/vm_cloud_controller/trees_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/vm_cloud_controller/trees_spec.rb
+++ b/spec/controllers/vm_cloud_controller/trees_spec.rb
@@ -26,17 +26,24 @@ end
end
- it "renders I... | Add specs for cloud instance display in explorer.
|
diff --git a/spec/unit/axiom/attribute/comparable/range_spec.rb b/spec/unit/axiom/attribute/comparable/range_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/axiom/attribute/comparable/range_spec.rb
+++ b/spec/unit/axiom/attribute/comparable/range_spec.rb
@@ -16,5 +16,5 @@ end
end
- it { should eql(Types... | Fix specs to work with Infinity change to singleton object
|
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
@@ -1,14 +1,15 @@ class UserMailer < ApplicationMailer
def welcome_email(user, organization)
- build_email user, :welcome, { inline: organization.wel... | Use organization name on welcome message
|
diff --git a/test/graphql/user/user_test.rb b/test/graphql/user/user_test.rb
index abc1234..def5678 100644
--- a/test/graphql/user/user_test.rb
+++ b/test/graphql/user/user_test.rb
@@ -0,0 +1,84 @@+# frozen_string_literal: true
+
+require("test_helper")
+
+class Mutations::UserTest < IntegrationTestCase # ActionDispatc... | Comment out the user test, doesn't seem to be working at all yet
|
diff --git a/app/models/entry_access.rb b/app/models/entry_access.rb
index abc1234..def5678 100644
--- a/app/models/entry_access.rb
+++ b/app/models/entry_access.rb
@@ -1,55 +1,11 @@-class Entry < ActiveRecord::Base
- self.inheritance_column = nil
-
- Sharing = {
- private: 0,
- anonymous: ... | Change EntryAccess back to its natural state.
|
diff --git a/app/models/log_location.rb b/app/models/log_location.rb
index abc1234..def5678 100644
--- a/app/models/log_location.rb
+++ b/app/models/log_location.rb
@@ -3,5 +3,7 @@
belongs_to :log
belongs_to :location, polymorphic: true
+
+ accepts_nested_attributes_for :location
end
| Add nested attributes for location in log location
|
diff --git a/acceptance/lib/dash.rb b/acceptance/lib/dash.rb
index abc1234..def5678 100644
--- a/acceptance/lib/dash.rb
+++ b/acceptance/lib/dash.rb
@@ -5,10 +5,10 @@
def dash_login
visit dash_route('/sky/login?redirect_uri=/')
- click_button 'Log in with Username'
+ click_button 'Username/Password'
... | Fix acceptance tests with new UI values
Signed-off-by: Mark Huang <222d07b3281cbd31b38f93d23c330586c713e995@pivotal.io>
|
diff --git a/app/models/language.rb b/app/models/language.rb
index abc1234..def5678 100644
--- a/app/models/language.rb
+++ b/app/models/language.rb
@@ -16,5 +16,5 @@ has_paper_trail on: %i[update destroy]
has_many :pages
- validates :code, :actionkit_uri, :name, presence: true, allow_blank: false, uniqueness: ... | Remove the uniqueness validation from the Language model (although it makes sense) to avoid the need to update the entire test suite.
|
diff --git a/app/decorators/models/solidus_avatax_certified/spree/user_decorator.rb b/app/decorators/models/solidus_avatax_certified/spree/user_decorator.rb
index abc1234..def5678 100644
--- a/app/decorators/models/solidus_avatax_certified/spree/user_decorator.rb
+++ b/app/decorators/models/solidus_avatax_certified/spr... | Fix avalara_entity_use_code being required for Spree::User
|
diff --git a/pronto-rubocop.gemspec b/pronto-rubocop.gemspec
index abc1234..def5678 100644
--- a/pronto-rubocop.gemspec
+++ b/pronto-rubocop.gemspec
@@ -21,7 +21,7 @@ s.require_paths = ['lib']
s.add_dependency 'rubocop', '~> 0.9.0'
- s.add_dependency 'pronto', '~> 0.0.2'
+ s.add_dependency 'pronto', '~> 0.0.3'... | Change pronto dependency version from 0.0.2 to 0.0.3
|
diff --git a/actionpack/test/abstract/translation_test.rb b/actionpack/test/abstract/translation_test.rb
index abc1234..def5678 100644
--- a/actionpack/test/abstract/translation_test.rb
+++ b/actionpack/test/abstract/translation_test.rb
@@ -36,4 +36,10 @@ I18n.stubs(:translate).with(key).returns(expected)
asse... | Test abstract controller's localize method. |
diff --git a/games/bestKill_vs_eval.rb b/games/bestKill_vs_eval.rb
index abc1234..def5678 100644
--- a/games/bestKill_vs_eval.rb
+++ b/games/bestKill_vs_eval.rb
@@ -0,0 +1,22 @@+#/usr/bin/env ruby
+require './state'
+require 'debugger'
+
+game = State.new
+
+game.initBoard
+
+game.printBoard
+
+puts "bestKillbot (W) vs... | Add bestkill vs eval game
|
diff --git a/api/app/views/spree/api/variants/big.v1.rabl b/api/app/views/spree/api/variants/big.v1.rabl
index abc1234..def5678 100644
--- a/api/app/views/spree/api/variants/big.v1.rabl
+++ b/api/app/views/spree/api/variants/big.v1.rabl
@@ -1,14 +1,8 @@ object @variant
-attributes *variant_attributes
cache [I18n.loc... | Fix track_inventory on big variant rabl template.
Fixes #6149
|
diff --git a/kernel_file.rb b/kernel_file.rb
index abc1234..def5678 100644
--- a/kernel_file.rb
+++ b/kernel_file.rb
@@ -0,0 +1,60 @@+#
+# kernel_file.rb
+#
+# This fact provides information about file descriptors currently available on
+# the system as follows: total allocated file descriptors since system power-up,
+... | Add Facter fact that provides information about file descriptors on the system.
This fact provides information about file descriptors currently available on
the system as follows: total allocated file descriptors since system power-up,
total free file descriptors available for allocation and maximum available
file des... |
diff --git a/gems/attributes/server.rb b/gems/attributes/server.rb
index abc1234..def5678 100644
--- a/gems/attributes/server.rb
+++ b/gems/attributes/server.rb
@@ -1,4 +1,4 @@-gem_server = Mash.new unless attribute?("gem_server")
+gem_server Mash.new unless attribute?("gem_server")
gem_server[:virtual_hostname] = "... | Remove assignment for gems Mash.new
|
diff --git a/app/controllers/determinations_controller.rb b/app/controllers/determinations_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/determinations_controller.rb
+++ b/app/controllers/determinations_controller.rb
@@ -19,7 +19,11 @@
def restrict_access
authenticate_or_request_with_http_t... | Make access token an option
|
diff --git a/app/serializers/user_analytics_serializer.rb b/app/serializers/user_analytics_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/user_analytics_serializer.rb
+++ b/app/serializers/user_analytics_serializer.rb
@@ -7,6 +7,7 @@ attributes :partner_of, :core_team_of
attributes :most_recen... | Add most_recent_product_slug to user analytics
|
diff --git a/app/views/staff/grids/schedule.json.jbuilder b/app/views/staff/grids/schedule.json.jbuilder
index abc1234..def5678 100644
--- a/app/views/staff/grids/schedule.json.jbuilder
+++ b/app/views/staff/grids/schedule.json.jbuilder
@@ -1,7 +1,7 @@
json.rooms current_event.rooms, :id, :name
json.days (1..current... | Add title, presenter, description info back to time slots
|
diff --git a/knife-ec2.gemspec b/knife-ec2.gemspec
index abc1234..def5678 100644
--- a/knife-ec2.gemspec
+++ b/knife-ec2.gemspec
@@ -8,7 +8,7 @@ s.authors = ["Adam Jacob", "Seth Chisamore"]
s.email = ["adam@chef.io", "schisamo@chef.io"]
s.homepage = "https://github.com/chef/knife-ec2"
- s.summa... | Add amazon to the gemspec summary for SEO
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/test/spec/Sandbox/Application_before_chain_spec.rb b/test/spec/Sandbox/Application_before_chain_spec.rb
index abc1234..def5678 100644
--- a/test/spec/Sandbox/Application_before_chain_spec.rb
+++ b/test/spec/Sandbox/Application_before_chain_spec.rb
@@ -13,10 +13,8 @@ include Sandbox::Resource::Statele... | Improve application before chain syntax
|
diff --git a/lib/temping.rb b/lib/temping.rb
index abc1234..def5678 100644
--- a/lib/temping.rb
+++ b/lib/temping.rb
@@ -13,7 +13,8 @@ raise ModelAlreadyDefined, "Constant #{model_name.to_s.classify} is already defined"
end
- ModelFactory.new(model_name, &block).klass
+ factory = ModelFactory.new(mod... | Create local variable for readability
|
diff --git a/rails_generators/terraforming.rb b/rails_generators/terraforming.rb
index abc1234..def5678 100644
--- a/rails_generators/terraforming.rb
+++ b/rails_generators/terraforming.rb
@@ -23,6 +23,8 @@ when /^\w+\.js$/ then "#{arg}.rjs"
when /^\w+\.(?:html|fbml)$/ then "#{arg}.haml"
when ... | Fix attributes in fixtures and exemplars
|
diff --git a/lib/niman/cli/application.rb b/lib/niman/cli/application.rb
index abc1234..def5678 100644
--- a/lib/niman/cli/application.rb
+++ b/lib/niman/cli/application.rb
@@ -18,8 +18,10 @@ desc "setup", "Generates an empty Nimanfile"
def setup
content = <<-EOS
- Niman::Recipe.configure do |con... | Fix indentation and add vi/vim markers
|
diff --git a/test/api/group_sets_api_test.rb b/test/api/group_sets_api_test.rb
index abc1234..def5678 100644
--- a/test/api/group_sets_api_test.rb
+++ b/test/api/group_sets_api_test.rb
@@ -17,7 +17,7 @@ # Obtain the unit of the group
newUnit = newGroup.group_set.unit
get with_auth_token "/api/units/#{newU... | FIX: Change get tests for group_sets_api
|
diff --git a/test/api/units/feedback_test.rb b/test/api/units/feedback_test.rb
index abc1234..def5678 100644
--- a/test/api/units/feedback_test.rb
+++ b/test/api/units/feedback_test.rb
@@ -0,0 +1,28 @@+require 'test_helper'
+
+class FeedbackTest < ActiveSupport::TestCase
+ include Rack::Test::Methods
+ include TestHe... | TEST: Add tests for tasks awaiting feedback
|
diff --git a/lib/random_user_generator.rb b/lib/random_user_generator.rb
index abc1234..def5678 100644
--- a/lib/random_user_generator.rb
+++ b/lib/random_user_generator.rb
@@ -1,3 +1,4 @@+require "json"
require "ostruct"
require "faraday"
@@ -14,7 +15,7 @@
def self.generate(params = {})
results = client.r... | Fix to support nested accessor on User
|
diff --git a/lib/registerable_calendar.rb b/lib/registerable_calendar.rb
index abc1234..def5678 100644
--- a/lib/registerable_calendar.rb
+++ b/lib/registerable_calendar.rb
@@ -7,7 +7,7 @@
attr_accessor :calendar, :slug, :live
- def_delegators :@calendar, :title, :need_id, :description, :section
+ def_delegator... | Add indexable_content to the registered fields.
Including this field means Panopticon has all the data it needs to
post the artefact to Rummager directly, rather than having to post an
amendment, which will fail if the item is not already in Rummager's
index.
|
diff --git a/test/integration_test_helper.rb b/test/integration_test_helper.rb
index abc1234..def5678 100644
--- a/test/integration_test_helper.rb
+++ b/test/integration_test_helper.rb
@@ -1,11 +1,5 @@ require 'test_helper'
require 'capybara/rails'
-
-class ActionController::Base
- before_filter do
- response.head... | Revert "Try skipping Slimmer in the integration tests."
This reverts commit c9039612ba7e85c8c5b0253bce8cc39853e3ee51.
|
diff --git a/test/lib/test_initialization.rb b/test/lib/test_initialization.rb
index abc1234..def5678 100644
--- a/test/lib/test_initialization.rb
+++ b/test/lib/test_initialization.rb
@@ -25,7 +25,7 @@ client = SalesforceBulk::Client.new(options)
assert_equal client.username, 'username'
- assert_equa... | Update test as we will have the client object combine password and token values into password field.
|
diff --git a/lib/gitmethere.rb b/lib/gitmethere.rb
index abc1234..def5678 100644
--- a/lib/gitmethere.rb
+++ b/lib/gitmethere.rb
@@ -38,11 +38,13 @@
def create_file(name="my-file.md", content="")
File.open("#{@name}/#{name}", 'w') do | f |
- f.puts content
+ unless content.empty?
+ f... | Update Scenario to pass tests
|
diff --git a/lib/rocket_job.rb b/lib/rocket_job.rb
index abc1234..def5678 100644
--- a/lib/rocket_job.rb
+++ b/lib/rocket_job.rb
@@ -14,14 +14,9 @@ autoload :SlicedJob, 'rocket_job/sliced_job'
autoload :Server, 'rocket_job/server'
autoload :Worker, 'rocket_job/worker'
-... | Add streaming classes Support streaming of zip, gzip, encrypted files, user define-able formats etc.
|
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 = 'messaging'
- s.version = '0.2.1.0'
+ s.version = '0.3.0.0'
s.summary = 'Messaging primitives for Eve... | Package version is increased from 0.2.1.0 to 0.3.0.0
|
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 = '1.0.0.0'
+ s.version = '1.1.0.0'
s.summary = 'Common primitives for pl... | Package version is increased from 1.0.0.0 to 1.1.0.0
|
diff --git a/db/migrate/20211005130501_rename_option_set_name_where_duplicates.rb b/db/migrate/20211005130501_rename_option_set_name_where_duplicates.rb
index abc1234..def5678 100644
--- a/db/migrate/20211005130501_rename_option_set_name_where_duplicates.rb
+++ b/db/migrate/20211005130501_rename_option_set_name_where_d... | 11992: Handle option sets created at the same second
|
diff --git a/cap_talk.rb b/cap_talk.rb
index abc1234..def5678 100644
--- a/cap_talk.rb
+++ b/cap_talk.rb
@@ -2,6 +2,8 @@ require 'erb'
class CapTalk < Sinatra::Base
+ class NoDatabaseConfig < StandardError; end
+
set :raise_errors, true
get '/' do
@@ -9,6 +11,11 @@ end
get '/steps/:step' do
+ chec... | Raise an exception if database.yml does not exist
|
diff --git a/example_app_generator/no_active_record/app/models/in_memory/model.rb b/example_app_generator/no_active_record/app/models/in_memory/model.rb
index abc1234..def5678 100644
--- a/example_app_generator/no_active_record/app/models/in_memory/model.rb
+++ b/example_app_generator/no_active_record/app/models/in_mem... | Enhance InMemory::Model in the no AR example app
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.