diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/SimulatorStatusMagic.podspec b/SimulatorStatusMagic.podspec index abc1234..def5678 100644 --- a/SimulatorStatusMagic.podspec +++ b/SimulatorStatusMagic.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "SimulatorStatusMagic" - s.version = "1.3" + s.version = "1.4" ...
Update podspec version to 1.4
diff --git a/app/models/jellyfish_odl/provider/odl.rb b/app/models/jellyfish_odl/provider/odl.rb index abc1234..def5678 100644 --- a/app/models/jellyfish_odl/provider/odl.rb +++ b/app/models/jellyfish_odl/provider/odl.rb @@ -14,7 +14,7 @@ begin response['nodes']['node'].reverse_each do |x| ...
Add all nodes for now in parsing
diff --git a/app/models/manageiq/providers/azure/cloud_manager/vm/operations.rb b/app/models/manageiq/providers/azure/cloud_manager/vm/operations.rb index abc1234..def5678 100644 --- a/app/models/manageiq/providers/azure/cloud_manager/vm/operations.rb +++ b/app/models/manageiq/providers/azure/cloud_manager/vm/operation...
Delete associated resources (NIC, IP, VHD, .status) when deleting a VM https://bugzilla.redhat.com/show_bug.cgi?id=1348718
diff --git a/kernel/common/mirror.rb b/kernel/common/mirror.rb index abc1234..def5678 100644 --- a/kernel/common/mirror.rb +++ b/kernel/common/mirror.rb @@ -22,5 +22,9 @@ class Object < Mirror subject = ::Object end + + def inspect + "#<#{self.class.name}:0x#{self.object_id.to_s(16)} object=#{@o...
Add better inspect for Rubinius::Mirror
diff --git a/qiita.gemspec b/qiita.gemspec index abc1234..def5678 100644 --- a/qiita.gemspec +++ b/qiita.gemspec @@ -11,7 +11,7 @@ gem.description = <<desc Gets some tag's or user's items at qiita.com. Creates, updates, deletes and stocks items at Qiita. - desc +desc gem.summary = "Ruby wrapper for ...
Fix the wrong heredoc format
diff --git a/lib/bunny/ssl_socket.rb b/lib/bunny/ssl_socket.rb index abc1234..def5678 100644 --- a/lib/bunny/ssl_socket.rb +++ b/lib/bunny/ssl_socket.rb @@ -8,9 +8,9 @@ # methods found in Bunny::Socket. class SSLSocket < OpenSSL::SSL::SSLSocket - # IO::WaitReadable is 1.9+ only - READ_RETRY_EXCEPTION_C...
Handle SSLError that is effectively Errno::EWOULDBLOCK correctly
diff --git a/lib/fivemat/cucumber.rb b/lib/fivemat/cucumber.rb index abc1234..def5678 100644 --- a/lib/fivemat/cucumber.rb +++ b/lib/fivemat/cucumber.rb @@ -23,6 +23,7 @@ def after_features(features) @io.puts print_stats(features, @options) + print_snippets(@options) print_passing_wip(@opt...
Print snippets for undefined Cucumber steps
diff --git a/lib/highrise/account.rb b/lib/highrise/account.rb index abc1234..def5678 100644 --- a/lib/highrise/account.rb +++ b/lib/highrise/account.rb @@ -1,7 +1,6 @@ module Highrise class Account < Base def self.me - user = Account.new() find(:one, :from => "/account.xml") end end
Remove useless initialization of user
diff --git a/lib/job_board/models.rb b/lib/job_board/models.rb index abc1234..def5678 100644 --- a/lib/job_board/models.rb +++ b/lib/job_board/models.rb @@ -16,7 +16,7 @@ def db_logger @db_logger ||= ( - JobBoard.config.database.sql_logging ? Logger.new($stderr) : nil + JobBoard.confi...
Send SQL logs to stdout
diff --git a/lib/jquery-rails-cdn.rb b/lib/jquery-rails-cdn.rb index abc1234..def5678 100644 --- a/lib/jquery-rails-cdn.rb +++ b/lib/jquery-rails-cdn.rb @@ -7,9 +7,9 @@ OFFLINE = (Rails.env.development? or Rails.env.test?) URL = { :google => "//ajax.googleapis.com/ajax/libs/jquery/#{JQUERY_V...
Use protocol-independent urls for Yandex and Microsoft CDNs
diff --git a/lib/metamorpher/rule.rb b/lib/metamorpher/rule.rb index abc1234..def5678 100644 --- a/lib/metamorpher/rule.rb +++ b/lib/metamorpher/rule.rb @@ -23,7 +23,7 @@ current = waiting.pop unless discovered.include?(current) discovered << current - waiting.concat(current.childre...
Fix bug in depth-first search that would cause an exception when hitting the first leaf node.
diff --git a/lib/mws-rb/api/feeds.rb b/lib/mws-rb/api/feeds.rb index abc1234..def5678 100644 --- a/lib/mws-rb/api/feeds.rb +++ b/lib/mws-rb/api/feeds.rb @@ -29,18 +29,13 @@ xml = Builder::XmlMarkup.new(indent: 2) xml.instruct! - envelope_hash = { - "xmlns:xsi" => "http://www.w3.org/20...
Remove typo and unecessary info
diff --git a/lib/bra.rb b/lib/bra.rb index abc1234..def5678 100644 --- a/lib/bra.rb +++ b/lib/bra.rb @@ -4,21 +4,21 @@ require 'bra/common/constants' module Bra - def self.launch_from_config_file(file = nil) + def self.from_config_file(file = nil) Bra::Launcher.launch(get_config(file)) end private -...
Make Bra methods module methods.
diff --git a/script/insert_concept_report_dummy_data.rb b/script/insert_concept_report_dummy_data.rb index abc1234..def5678 100644 --- a/script/insert_concept_report_dummy_data.rb +++ b/script/insert_concept_report_dummy_data.rb @@ -0,0 +1,18 @@+teacher = User.find(498) + +activity_sessions = ActivitySession.completed....
Add script to insert test data for concept_tag_results
diff --git a/lib/wavefront/mixins.rb b/lib/wavefront/mixins.rb index abc1234..def5678 100644 --- a/lib/wavefront/mixins.rb +++ b/lib/wavefront/mixins.rb @@ -0,0 +1,29 @@+=begin + Copyright 2015 Wavefront Inc. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compl...
Add Wavefront::Mixin, method to interpolate schema
diff --git a/lib/whiny_validation.rb b/lib/whiny_validation.rb index abc1234..def5678 100644 --- a/lib/whiny_validation.rb +++ b/lib/whiny_validation.rb @@ -8,9 +8,23 @@ end def whiny_validation - logger.debug { "Validation failed for #{inspect}:\n#{errors.full_messages.map{|m|" #{m}"}.join("\n")}" } + Ac...
Use ActiveSupport::LogSubscriber for colorized messages. If the app has turned off colorization it won't be colorized.
diff --git a/db/migrate/20160601103703_create_tags.rb b/db/migrate/20160601103703_create_tags.rb index abc1234..def5678 100644 --- a/db/migrate/20160601103703_create_tags.rb +++ b/db/migrate/20160601103703_create_tags.rb @@ -1,9 +1,9 @@ class CreateTags < ActiveRecord::Migration def change - create_table :tags |t...
Add do to tags migration
diff --git a/spec/acceptance/basic_trove_spec.rb b/spec/acceptance/basic_trove_spec.rb index abc1234..def5678 100644 --- a/spec/acceptance/basic_trove_spec.rb +++ b/spec/acceptance/basic_trove_spec.rb @@ -8,6 +8,7 @@ pp= <<-EOS include openstack_integration include openstack_integration::repos + ...
Use common class to manage apache service in beaker job Depends-on: https://review.opendev.org/#/c/745246/ Change-Id: I7fccb5c4fc29a3c5a2d864d9ac7df3d2d181faac
diff --git a/Library/Homebrew/formula_test.rb b/Library/Homebrew/formula_test.rb index abc1234..def5678 100644 --- a/Library/Homebrew/formula_test.rb +++ b/Library/Homebrew/formula_test.rb @@ -0,0 +1,43 @@+#!/usr/bin/ruby +# This software is in the public domain, furnished "as is", without technical +# support, and wit...
Add test for matching formula filename/class.
diff --git a/spec/starting_blocks/result_parser_spec.rb b/spec/starting_blocks/result_parser_spec.rb index abc1234..def5678 100644 --- a/spec/starting_blocks/result_parser_spec.rb +++ b/spec/starting_blocks/result_parser_spec.rb @@ -2,19 +2,20 @@ describe StartingBlocks::ResultParser do - it "should return the res...
Refactor tests to make future tests easier.
diff --git a/test/vultr/resources/backups_test.rb b/test/vultr/resources/backups_test.rb index abc1234..def5678 100644 --- a/test/vultr/resources/backups_test.rb +++ b/test/vultr/resources/backups_test.rb @@ -0,0 +1,24 @@+# frozen_string_literal: true + +require "test_helper" + +class BackupsResourceTest < Minitest::Te...
Write tests for Backups Resource Simple tests for the list and retrieve endpoints inspired by the existing test created for the Users Resources list and retrieve endpoints.
diff --git a/config/initializers/redis-store-fix-expiry.rb b/config/initializers/redis-store-fix-expiry.rb index abc1234..def5678 100644 --- a/config/initializers/redis-store-fix-expiry.rb +++ b/config/initializers/redis-store-fix-expiry.rb @@ -4,7 +4,7 @@ class Redis class Store module Namespace - ...
Fix copy-paste error in comment
diff --git a/vendor/gems/beacon_control-kontakt_io_extension/lib/beacon_control/kontakt_io_extension/engine.rb b/vendor/gems/beacon_control-kontakt_io_extension/lib/beacon_control/kontakt_io_extension/engine.rb index abc1234..def5678 100644 --- a/vendor/gems/beacon_control-kontakt_io_extension/lib/beacon_control/kontak...
BOS-FF: Remove precompile kontakt io assets
diff --git a/respect.gemspec b/respect.gemspec index abc1234..def5678 100644 --- a/respect.gemspec +++ b/respect.gemspec @@ -11,7 +11,7 @@ s.summary = "JSON schema definition using a Ruby DSL." s.description = "Respect allow to specify JSON schema using a Ruby DSL. It also provides a validator a sanitizer and ...
Fix REAMDE file name in gemspec.
diff --git a/spec/routing/backend/pages_spec.rb b/spec/routing/backend/pages_spec.rb index abc1234..def5678 100644 --- a/spec/routing/backend/pages_spec.rb +++ b/spec/routing/backend/pages_spec.rb @@ -0,0 +1,52 @@+require 'rails_helper' + +describe 'page routes' do + it 'GET /backend/pages' do + expect(get: '/backe...
Add routes specs for pages.
diff --git a/db/migrate/20160512163147_create_questions.rb b/db/migrate/20160512163147_create_questions.rb index abc1234..def5678 100644 --- a/db/migrate/20160512163147_create_questions.rb +++ b/db/migrate/20160512163147_create_questions.rb @@ -1,4 +1,11 @@ class CreateQuestions < ActiveRecord::Migration def change ...
Define migration to create questions table
diff --git a/lib/chili/enterprises_distributor_info_rich_text_feature/lib/enterprises_distributor_info_rich_text_feature.rb b/lib/chili/enterprises_distributor_info_rich_text_feature/lib/enterprises_distributor_info_rich_text_feature.rb index abc1234..def5678 100644 --- a/lib/chili/enterprises_distributor_info_rich_tex...
Enable feature for local organics only
diff --git a/rollbar.gemspec b/rollbar.gemspec index abc1234..def5678 100644 --- a/rollbar.gemspec +++ b/rollbar.gemspec @@ -21,5 +21,6 @@ gem.add_development_dependency 'rspec-rails', '~> 2.12.0' gem.add_development_dependency 'database_cleaner', '~> 1.0.0' gem.add_development_dependency 'girl_friday', '>= 0.1...
Add sucker_punch to gemspec dev dependency.
diff --git a/db/migrate/20180116133324_add_unique_index_to_spree_option_type_name.rb b/db/migrate/20180116133324_add_unique_index_to_spree_option_type_name.rb index abc1234..def5678 100644 --- a/db/migrate/20180116133324_add_unique_index_to_spree_option_type_name.rb +++ b/db/migrate/20180116133324_add_unique_index_to_s...
Add unique index for spree option type lower name
diff --git a/db/migrate/20180426145669_migrate_tax_categories_to_line_items.spree.rb b/db/migrate/20180426145669_migrate_tax_categories_to_line_items.spree.rb index abc1234..def5678 100644 --- a/db/migrate/20180426145669_migrate_tax_categories_to_line_items.spree.rb +++ b/db/migrate/20180426145669_migrate_tax_categorie...
Fix migrate tax categories to line items migration This is bringing https://github.com/spree/spree/commit/67186f8ca7eed72b20e696d53f3ceb4fa875524f from spree v2.2
diff --git a/jmespath.gemspec b/jmespath.gemspec index abc1234..def5678 100644 --- a/jmespath.gemspec +++ b/jmespath.gemspec @@ -6,7 +6,7 @@ spec.author = 'Trevor Rowe' spec.email = 'trevorrowe@gmail.com' spec.homepage = 'http://github.com/trevorrowe/jmespath.rb' - spec.license = 'Apa...
Fix typo of a license name in gemspec `rake gem:build` warns license name. ```bash $ bundle exec rake gem:build gem build jmespath.gemspec WARNING: license value 'Apache 2.0' is invalid. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. Did you mean 'Apache-2.0'? WAR...
diff --git a/app/graphql/consul_schema.rb b/app/graphql/consul_schema.rb index abc1234..def5678 100644 --- a/app/graphql/consul_schema.rb +++ b/app/graphql/consul_schema.rb @@ -1,11 +1,4 @@ class ConsulSchema < GraphQL::Schema mutation(Types::MutationType) query(Types::QueryType) - - # Opt in to the new runtime ...
Remove explicit inclusions of now-default modules These modules are used by default in version 1.12.14 and so we were getting deprecation warnings: ``` DEPRECATION WARNING: GraphQL::Execution::Interpreter is now the default; remove `use GraphQL::Execution::Interpreter` from the schema definition (app/graphql/consul_s...
diff --git a/spec/controllers/featured_works_controller_spec.rb b/spec/controllers/featured_works_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/featured_works_controller_spec.rb +++ b/spec/controllers/featured_works_controller_spec.rb @@ -3,7 +3,7 @@ describe FeaturedWorksController do desc...
Fix tests that broke as a result of a merge
diff --git a/test/unit/services/service_listeners/attachment_redirect_url_updater_test.rb b/test/unit/services/service_listeners/attachment_redirect_url_updater_test.rb index abc1234..def5678 100644 --- a/test/unit/services/service_listeners/attachment_redirect_url_updater_test.rb +++ b/test/unit/services/service_liste...
Change service listener test to stub new worker We have integration tests that ensure that the service listener calls the worker correctly so this test can be changed to stub at a higher level.
diff --git a/app/controllers/simple_user/auth_controller.rb b/app/controllers/simple_user/auth_controller.rb index abc1234..def5678 100644 --- a/app/controllers/simple_user/auth_controller.rb +++ b/app/controllers/simple_user/auth_controller.rb @@ -1,5 +1,16 @@ module SimpleUser class AuthController < ApplicationCon...
Change redirect after sign up for FB
diff --git a/app/services/build_markers_with_info_window.rb b/app/services/build_markers_with_info_window.rb index abc1234..def5678 100644 --- a/app/services/build_markers_with_info_window.rb +++ b/app/services/build_markers_with_info_window.rb @@ -30,7 +30,7 @@ locals: {attrs: [helper.asset_path("volunteer_ico...
Adjust tooltip to use organisation name
diff --git a/db/migrate/20140724134601_fix_yaml_encoding.rb b/db/migrate/20140724134601_fix_yaml_encoding.rb index abc1234..def5678 100644 --- a/db/migrate/20140724134601_fix_yaml_encoding.rb +++ b/db/migrate/20140724134601_fix_yaml_encoding.rb @@ -1,12 +1,14 @@ class FixYamlEncoding < ActiveRecord::Migration def se...
Fix yaml migration for encodings
diff --git a/core/app/classes/fact_url.rb b/core/app/classes/fact_url.rb index abc1234..def5678 100644 --- a/core/app/classes/fact_url.rb +++ b/core/app/classes/fact_url.rb @@ -19,8 +19,8 @@ def proxy_scroll_url return unless @fact.site_url - proxy_url + "/?url=" + - CGI.escape(@fact.site_url) + "&scro...
Break line on another place
diff --git a/DPSlideMenuKit.podspec b/DPSlideMenuKit.podspec index abc1234..def5678 100644 --- a/DPSlideMenuKit.podspec +++ b/DPSlideMenuKit.podspec @@ -21,8 +21,11 @@ s.author = { "HongliYu" => "yhlssdone@gmail.com" } s.source = { :git => "https://github.com/HongliYu/DPSlideMenuKit-Swift.git", :tag =>...
Fix podspec source files path
diff --git a/test/models/auth_token_test.rb b/test/models/auth_token_test.rb index abc1234..def5678 100644 --- a/test/models/auth_token_test.rb +++ b/test/models/auth_token_test.rb @@ -0,0 +1,14 @@+require "test_helper" + +class AuthTokenTest < ActiveSupport::TestCase + def test_token_is_unique + # Create a token.....
TEST: Add tests for new auth tokens
diff --git a/test/plugin/keep_files_test.rb b/test/plugin/keep_files_test.rb index abc1234..def5678 100644 --- a/test/plugin/keep_files_test.rb +++ b/test/plugin/keep_files_test.rb @@ -4,6 +4,7 @@ describe Shrine::Plugins::KeepFiles do before do @attacher = attacher { plugin :keep_files } + @shrine = @atta...
Add tests that keep_files plays well with backgrounding One of the reasons why we've split Attacher#destroy_attached and Attacher#destroy is so that we can skip the background job when keep_files plugin is loaded. So we ought to add a test for that.
diff --git a/spec/integration/renalware/reporting/refreshing_audit_data_spec.rb b/spec/integration/renalware/reporting/refreshing_audit_data_spec.rb index abc1234..def5678 100644 --- a/spec/integration/renalware/reporting/refreshing_audit_data_spec.rb +++ b/spec/integration/renalware/reporting/refreshing_audit_data_spe...
Fix specs now that aonly superadmin can refresh an audit
diff --git a/spec/tar_writer_spec.rb b/spec/tar_writer_spec.rb index abc1234..def5678 100644 --- a/spec/tar_writer_spec.rb +++ b/spec/tar_writer_spec.rb @@ -0,0 +1,33 @@+describe Metacrunch::TarWriter do + + let(:regular_tar_file) { "/tmp/metacrunch_spec_regular_file.tar" } + let(:compressed_tar_file) { "/tmp/meta...
Add spec for tar writer.
diff --git a/lib/designernews/stories.rb b/lib/designernews/stories.rb index abc1234..def5678 100644 --- a/lib/designernews/stories.rb +++ b/lib/designernews/stories.rb @@ -3,11 +3,11 @@ include HTTParty base_uri 'http://www.designernews.co/api/v2' - default_params :client_id => ENV['DESIGNER_NEWS_CLIENT_...
Update Stories endpoint to API v2 format
diff --git a/lib/autoreply/scanner/headers/by_existance.rb b/lib/autoreply/scanner/headers/by_existance.rb index abc1234..def5678 100644 --- a/lib/autoreply/scanner/headers/by_existance.rb +++ b/lib/autoreply/scanner/headers/by_existance.rb @@ -16,6 +16,7 @@ x-ebay-mailtracker x-autoresponder x-auto...
Add auto-submitted header to the blacklist
diff --git a/lib/bugsnag/middleware/discard_error_class.rb b/lib/bugsnag/middleware/discard_error_class.rb index abc1234..def5678 100644 --- a/lib/bugsnag/middleware/discard_error_class.rb +++ b/lib/bugsnag/middleware/discard_error_class.rb @@ -12,7 +12,7 @@ ## # @param report [Report] def call(report) - ...
Rename from ignore -> discard
diff --git a/test/test_scaler_middleware.rb b/test/test_scaler_middleware.rb index abc1234..def5678 100644 --- a/test/test_scaler_middleware.rb +++ b/test/test_scaler_middleware.rb @@ -0,0 +1,32 @@+require File.dirname(__FILE__) + '/helper' + +class ScalerMiddlewareTest < Test::Unit::TestCase + def test_default_factor...
Add test for Scaler middleware
diff --git a/lib/tasks/temp/sync_effort_elapsed_times.rake b/lib/tasks/temp/sync_effort_elapsed_times.rake index abc1234..def5678 100644 --- a/lib/tasks/temp/sync_effort_elapsed_times.rake +++ b/lib/tasks/temp/sync_effort_elapsed_times.rake @@ -8,19 +8,18 @@ task :initialize_elapsed_seconds => :environment do pu...
Update rake task for new sync method
diff --git a/Library/Formula/automake.rb b/Library/Formula/automake.rb index abc1234..def5678 100644 --- a/Library/Formula/automake.rb +++ b/Library/Formula/automake.rb @@ -16,7 +16,7 @@ "--prefix=#{prefix}" system "make install" - (share/"aclocal-#{version}/dirlist").write <<-EOS.un...
Put dirlist in the right place I fixed this last night, and then somehow committed the wrong version. Don't watch the Oscars while doing Homebrew.
diff --git a/AFCSVParserResponseSerializer.podspec b/AFCSVParserResponseSerializer.podspec index abc1234..def5678 100644 --- a/AFCSVParserResponseSerializer.podspec +++ b/AFCSVParserResponseSerializer.podspec @@ -17,6 +17,6 @@ s.ios.exclude_files = 'Classes/osx' s.osx.exclude_files = 'Classes/ios' - s.dependenc...
Upgrade dependency on AFNetworking 3.0
diff --git a/lib/stash_datacite/merritt_packager.rb b/lib/stash_datacite/merritt_packager.rb index abc1234..def5678 100644 --- a/lib/stash_datacite/merritt_packager.rb +++ b/lib/stash_datacite/merritt_packager.rb @@ -1,23 +1,11 @@ require 'stash_engine' +require 'stash_engine/sword/packager' require 'stash_datacite' ...
Make MerrittPackager extend abstract Sword::Packager
diff --git a/tests/test_unit_box_handler.rb b/tests/test_unit_box_handler.rb index abc1234..def5678 100644 --- a/tests/test_unit_box_handler.rb +++ b/tests/test_unit_box_handler.rb @@ -0,0 +1,17 @@+require 'test_helper' +require 'minitest/autorun' +require "matrix" + +describe "sudokuru_unit_box_handler" do + + it "sh...
Complete box handler spec coverage Dial coverage up to 11.
diff --git a/test/integration/default/serverspec/spec_helper.rb b/test/integration/default/serverspec/spec_helper.rb index abc1234..def5678 100644 --- a/test/integration/default/serverspec/spec_helper.rb +++ b/test/integration/default/serverspec/spec_helper.rb @@ -5,7 +5,6 @@ RSpec.configure do |c| c.before :all d...
Remove superfluous line from serverspec spec helper
diff --git a/test/integration/elasticsearch_index_group_test.rb b/test/integration/elasticsearch_index_group_test.rb index abc1234..def5678 100644 --- a/test/integration/elasticsearch_index_group_test.rb +++ b/test/integration/elasticsearch_index_group_test.rb @@ -0,0 +1,57 @@+require "integration_test_helper" +require...
Add integration tests for index groups.
diff --git a/lib/tasks/static_pages.rake b/lib/tasks/static_pages.rake index abc1234..def5678 100644 --- a/lib/tasks/static_pages.rake +++ b/lib/tasks/static_pages.rake @@ -2,9 +2,9 @@ desc "Generates static pages" task generate: 'assets:precompile' do pages = { - 'static/404' => '404.html', - 'stat...
Allow Rails test sessions to generate valid URIs It appears that `ActionDispatch::Testing::Integration#build_full_uri` (in ActionPack 4.2.1 and possibly earlier) requires requested paths to include leading slashes (which they probably should have done anyway). Without valid paths, it builds invalid URIs like `www.exam...
diff --git a/lib/ruby-with.rb b/lib/ruby-with.rb index abc1234..def5678 100644 --- a/lib/ruby-with.rb +++ b/lib/ruby-with.rb @@ -18,8 +18,8 @@ context.instance_exec(self, &block) class << context - remove_method :set - remove_method :<= + remove_method :set if method_defined? :set + r...
Handle times when instance method is not defined.
diff --git a/lib/wolverine.rb b/lib/wolverine.rb index abc1234..def5678 100644 --- a/lib/wolverine.rb +++ b/lib/wolverine.rb @@ -27,7 +27,7 @@ # cached in-memory, so if a file changes on disk, it will be necessary to # manually reset the cache using +reset!+. # - # @return nil + # @return [void] def self.r...
Add void return to docs
diff --git a/headless_html_editor.gemspec b/headless_html_editor.gemspec index abc1234..def5678 100644 --- a/headless_html_editor.gemspec +++ b/headless_html_editor.gemspec @@ -4,19 +4,19 @@ require 'headless_html_editor/version' Gem::Specification.new do |spec| - spec.name = "headless_html_editor" + spec...
Fix for mingw32 and single quotes.
diff --git a/pakyow-presenter/spec/unit/presenter_config_spec.rb b/pakyow-presenter/spec/unit/presenter_config_spec.rb index abc1234..def5678 100644 --- a/pakyow-presenter/spec/unit/presenter_config_spec.rb +++ b/pakyow-presenter/spec/unit/presenter_config_spec.rb @@ -0,0 +1,37 @@+require_relative '../spec_helper' +req...
Add test for require_route presenter config
diff --git a/Casks/vimediamanager.rb b/Casks/vimediamanager.rb index abc1234..def5678 100644 --- a/Casks/vimediamanager.rb +++ b/Casks/vimediamanager.rb @@ -2,6 +2,7 @@ version '0.7a14c' sha256 '2fb3dc8b5d2c5ab40a34e18c0860da98d1b92bac673f8a134bfca82cf013714a' + # mariusth.channelwood.org was verified as offici...
Fix `url` stanza comment for ViMediaManager.
diff --git a/config/initializers/clearance.rb b/config/initializers/clearance.rb index abc1234..def5678 100644 --- a/config/initializers/clearance.rb +++ b/config/initializers/clearance.rb @@ -5,4 +5,5 @@ config.password_strategy = Clearance::PasswordStrategies::BCryptMigrationFromSHA1 config.sign_in_guards = [Con...
Expire remember_token cookie after 2 weeks Default expiration time is one year, which is too long. https://github.com/thoughtbot/clearance/blob/5d29439ee4340738eacc8d5cd8bfbbb10a576f38/lib/clearance/configuration.rb#L25
diff --git a/config/initializers/mailboxer.rb b/config/initializers/mailboxer.rb index abc1234..def5678 100644 --- a/config/initializers/mailboxer.rb +++ b/config/initializers/mailboxer.rb @@ -14,5 +14,25 @@ @type = type @id = "#{messageable.class.name}-#{messageable.id}-#{type}" end + + def self.f...
Add a find method to find mailbox by id
diff --git a/Casks/intellij-idea-ce-eap.rb b/Casks/intellij-idea-ce-eap.rb index abc1234..def5678 100644 --- a/Casks/intellij-idea-ce-eap.rb +++ b/Casks/intellij-idea-ce-eap.rb @@ -1,19 +1,20 @@ cask 'intellij-idea-ce-eap' do - version '143.1183.10' - sha256 '8f9597e732ed7e169d21026c73e5da4ac841fcf44f1c98250bb44fd317...
Upgrade IntelliJ IDEA CE EAP to 144.2608.2
diff --git a/rbpod.gemspec b/rbpod.gemspec index abc1234..def5678 100644 --- a/rbpod.gemspec +++ b/rbpod.gemspec @@ -24,4 +24,6 @@ spec.add_development_dependency 'bundler', '~> 1.3' spec.add_development_dependency 'rake' + + spec.add_dependency 'trollop', '~> 2.0' end
Bring in Trollop for CLI utility.
diff --git a/test/mailers/email_changed_test.rb b/test/mailers/email_changed_test.rb index abc1234..def5678 100644 --- a/test/mailers/email_changed_test.rb +++ b/test/mailers/email_changed_test.rb @@ -0,0 +1,90 @@+require 'test_helper' + +class EmailChangedTest < ActionMailer::TestCase + def setup + setup_mailer + ...
Add some basic tests for the email changed notification
diff --git a/yardstick.gemspec b/yardstick.gemspec index abc1234..def5678 100644 --- a/yardstick.gemspec +++ b/yardstick.gemspec @@ -18,7 +18,7 @@ gem.require_paths = %w[lib] gem.files = `git ls-files`.split($/) gem.test_files = `git ls-files -- spec/{public,semipublic}`.split($/) - gem.ext...
Update gemspec to include README.md
diff --git a/plugins/currency/lib/ext/enterprise.rb b/plugins/currency/lib/ext/enterprise.rb index abc1234..def5678 100644 --- a/plugins/currency/lib/ext/enterprise.rb +++ b/plugins/currency/lib/ext/enterprise.rb @@ -10,10 +10,11 @@ :conditions => ['currency_plugin_enterprise_currencies.is_organizer = ?', true], :o...
Add environment default currency for profile currencies
diff --git a/spec/api_spec_helper.rb b/spec/api_spec_helper.rb index abc1234..def5678 100644 --- a/spec/api_spec_helper.rb +++ b/spec/api_spec_helper.rb @@ -3,6 +3,7 @@ require 'spec_helper' require 'url_helper' require 'api/base' +require 'warden' module RackHelper include Rack::Test::Methods @@ -12,6 +13,7 @@...
Add warden test helpers to api spec helpers
diff --git a/spec/factories/event.rb b/spec/factories/event.rb index abc1234..def5678 100644 --- a/spec/factories/event.rb +++ b/spec/factories/event.rb @@ -11,7 +11,7 @@ event_group trait :with_short_name do - short_name { "#{rand(25..200)}#{['-mile', 'k' 'M']}" } + short_name { "#{rand(25..200)}#...
Fix trait: :with_short_name in Event factory.
diff --git a/spec/support/shoulds.rb b/spec/support/shoulds.rb index abc1234..def5678 100644 --- a/spec/support/shoulds.rb +++ b/spec/support/shoulds.rb @@ -0,0 +1,10 @@+def should_be_unchanged(*records) + records.flatten.each do |record| + comparison = Mingo.collection.find_one(:_id => record['_id']) + + compar...
Support method to ensure that a record reflects what is in the database.
diff --git a/config/unicorn/production.rb b/config/unicorn/production.rb index abc1234..def5678 100644 --- a/config/unicorn/production.rb +++ b/config/unicorn/production.rb @@ -8,7 +8,7 @@ listen "127.0.0.1:8080" # Spawn unicorn master worker for user apps (group: apps) -user 'rails', 'rails' +user 'root', 'rails' ...
Test with another user for unicorn deployment
diff --git a/Casks/ripit.rb b/Casks/ripit.rb index abc1234..def5678 100644 --- a/Casks/ripit.rb +++ b/Casks/ripit.rb @@ -9,5 +9,7 @@ homepage 'http://thelittleappfactory.com/ripit/' license :commercial + auto_updates true + app 'RipIt.app' end
Add auto_updates flag to Ripit
diff --git a/tasks/integration.rake b/tasks/integration.rake index abc1234..def5678 100644 --- a/tasks/integration.rake +++ b/tasks/integration.rake @@ -1,8 +1,8 @@ task :integration do Dir.chdir("test_rails_4_app") do if ENV["TRAVIS"] - sh "MUTE_PROGRESS_BAR=true ERROR_VERBOSITY=0 bundle exec rake active...
Remove bundle exec for Travis
diff --git a/app/services/gravatar_service.rb b/app/services/gravatar_service.rb index abc1234..def5678 100644 --- a/app/services/gravatar_service.rb +++ b/app/services/gravatar_service.rb @@ -0,0 +1,28 @@+class GravatarService + def execute(email, size = nil) + if gravatar_config.enabled && email.present? + s...
Move gravatar url compose to separate service Signed-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>
diff --git a/watir/unittests/css_test.rb b/watir/unittests/css_test.rb index abc1234..def5678 100644 --- a/watir/unittests/css_test.rb +++ b/watir/unittests/css_test.rb @@ -8,11 +8,10 @@ def isMessageDisplayed(message) s = false - divs = browser.getIE.document.getElementsByTagName("DIV") + divs = brows...
Rewrite test so it also works with firefox.
diff --git a/Parity.podspec b/Parity.podspec index abc1234..def5678 100644 --- a/Parity.podspec +++ b/Parity.podspec @@ -11,10 +11,10 @@ s.homepage = "https://github.com/dclelland/Parity" s.license = { :type => 'MIT' } s.author = { "Daniel Clelland" => "daniel.cle...
Set a macOS deployment target
diff --git a/test/ruby/test_case.rb b/test/ruby/test_case.rb index abc1234..def5678 100644 --- a/test/ruby/test_case.rb +++ b/test/ruby/test_case.rb @@ -3,7 +3,7 @@ require "active_support/core_ext/object/blank" require "active_support/core_ext/object/try" require "active_support/concern" -require "mocha" +require "m...
Use mocha/setup in place of deprecated mocha
diff --git a/spec/unit/berkshelf/api/config_spec.rb b/spec/unit/berkshelf/api/config_spec.rb index abc1234..def5678 100644 --- a/spec/unit/berkshelf/api/config_spec.rb +++ b/spec/unit/berkshelf/api/config_spec.rb @@ -18,7 +18,6 @@ it "has the Supermarket community site as an endpoint" do expect(subject.end...
Remove unneeded test for the Supermarket URL
diff --git a/AHKNavigationController.podspec b/AHKNavigationController.podspec index abc1234..def5678 100644 --- a/AHKNavigationController.podspec +++ b/AHKNavigationController.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "AHKNavigationController" s.version = "0.1.1" - s.summary = "A U...
Improve summary in the podspec
diff --git a/app/models/lab_has_group.rb b/app/models/lab_has_group.rb index abc1234..def5678 100644 --- a/app/models/lab_has_group.rb +++ b/app/models/lab_has_group.rb @@ -10,4 +10,11 @@ validates_presence_of :lab, :lab_group, :repository validates_uniqueness_of :lab_id, scope: :lab_group_id validates_uniquene...
Add validations for matching given courses to labhasgroup
diff --git a/app/models/orchid/facets.rb b/app/models/orchid/facets.rb index abc1234..def5678 100644 --- a/app/models/orchid/facets.rb +++ b/app/models/orchid/facets.rb @@ -10,9 +10,9 @@ # sets the list of facets with or without the entire API's collections def facet_info=(val) - # Remove project key if API U...
Fix facet key deletion if API path sets collection Wasn't updated when project renamed to collection
diff --git a/lib/envato_optimiser/item.rb b/lib/envato_optimiser/item.rb index abc1234..def5678 100644 --- a/lib/envato_optimiser/item.rb +++ b/lib/envato_optimiser/item.rb @@ -10,18 +10,51 @@ def initialize(url) - @uri = URI.parse(url) - @response = Net::HTTP.get_response(uri) - @document =...
Fix the instance variable scoping and use
diff --git a/lib/hydrant-batch/package.rb b/lib/hydrant-batch/package.rb index abc1234..def5678 100644 --- a/lib/hydrant-batch/package.rb +++ b/lib/hydrant-batch/package.rb @@ -27,7 +27,7 @@ def each_entry @manifest.each do |entry| files = entry[:files].collect { |f| File.join(@dir,f) } - ...
Make sure Package yields opts
diff --git a/lib/oauth2/provider/rails.rb b/lib/oauth2/provider/rails.rb index abc1234..def5678 100644 --- a/lib/oauth2/provider/rails.rb +++ b/lib/oauth2/provider/rails.rb @@ -6,10 +6,20 @@ class Railtie < Rails::Railtie config.oauth2_provider = ActiveSupport::OrderedOptions.new + config.oauth2_provider....
Fix broken mongoid and active record configuration
diff --git a/lib/stack_master/identity.rb b/lib/stack_master/identity.rb index abc1234..def5678 100644 --- a/lib/stack_master/identity.rb +++ b/lib/stack_master/identity.rb @@ -8,9 +8,8 @@ @account ||= sts.get_caller_identity.account end + private - - attr_reader :sts def region @regi...
Remove unneeded attr_reader in Identity class There's a method with that name.
diff --git a/lib/tasks/remove_unused.rake b/lib/tasks/remove_unused.rake index abc1234..def5678 100644 --- a/lib/tasks/remove_unused.rake +++ b/lib/tasks/remove_unused.rake @@ -12,3 +12,6 @@ ).each do |task| Rake.application.remove_task task end + +# Do not run migrations if in production, non API app should handle...
Remove db:migrate task from production.
diff --git a/lib/yard/rake/yardoc_task.rb b/lib/yard/rake/yardoc_task.rb index abc1234..def5678 100644 --- a/lib/yard/rake/yardoc_task.rb +++ b/lib/yard/rake/yardoc_task.rb @@ -15,8 +15,8 @@ @files = [] yield self if block_given? - self.options += ENV['OPTS'].split(' ') if ENV['OPTS'] ...
Allow comma delimitation in OPTS and space delimitation in FILES
diff --git a/Casks/geniego.rb b/Casks/geniego.rb index abc1234..def5678 100644 --- a/Casks/geniego.rb +++ b/Casks/geniego.rb @@ -2,6 +2,7 @@ version :latest sha256 :no_check + # directv.vo.llnwd.net was verified as official when first introduced to the cask url 'http://directv.vo.llnwd.net/e4/nomad/MACOS-cli...
Fix `url` stanza comment for DIRECTV GenieGO.
diff --git a/examples/fibers/active_record.ru b/examples/fibers/active_record.ru index abc1234..def5678 100644 --- a/examples/fibers/active_record.ru +++ b/examples/fibers/active_record.ru @@ -12,7 +12,10 @@ end class FullFibersController < Cramp::Action - use_fiber_pool + use_fiber_pool do |pool| + # Called ev...
Call clear_active_connections from fiber callback in AR example
diff --git a/lib/jekyll_social_icons/social_icons_tag.rb b/lib/jekyll_social_icons/social_icons_tag.rb index abc1234..def5678 100644 --- a/lib/jekyll_social_icons/social_icons_tag.rb +++ b/lib/jekyll_social_icons/social_icons_tag.rb @@ -0,0 +1,44 @@+module Jekyll + class SocialIcons < Liquid::Tag + def initialize(_...
Add tag functionality to render socials
diff --git a/lib/msfl/validators/definitions/hash_key.rb b/lib/msfl/validators/definitions/hash_key.rb index abc1234..def5678 100644 --- a/lib/msfl/validators/definitions/hash_key.rb +++ b/lib/msfl/validators/definitions/hash_key.rb @@ -0,0 +1,31 @@+module MSFL + module Validators + module Definitions + module...
Create the hash_eky validators definition
diff --git a/lib/tasks/acts_as_reference_data_tasks.rake b/lib/tasks/acts_as_reference_data_tasks.rake index abc1234..def5678 100644 --- a/lib/tasks/acts_as_reference_data_tasks.rake +++ b/lib/tasks/acts_as_reference_data_tasks.rake @@ -1,6 +1,6 @@ task :load_reference_data => :environment do ActiveRecord::Base.esta...
Use Rails.root instead of RAILS_ROOT
diff --git a/resources/chef-repo/site-cookbooks/rails_part/spec/recipes/setup_sepc.rb b/resources/chef-repo/site-cookbooks/rails_part/spec/recipes/setup_sepc.rb index abc1234..def5678 100644 --- a/resources/chef-repo/site-cookbooks/rails_part/spec/recipes/setup_sepc.rb +++ b/resources/chef-repo/site-cookbooks/rails_par...
Modify package name of mysql-devel was wrong
diff --git a/Formula/phpunit.rb b/Formula/phpunit.rb index abc1234..def5678 100644 --- a/Formula/phpunit.rb +++ b/Formula/phpunit.rb @@ -6,7 +6,6 @@ homepage 'http://phpunit.de/manual/current/en/' url 'https://phar.phpunit.de/phpunit-4.2.6.phar' sha1 '90f632d04a169957ad7b12a471724c70bb79f5e1' - version '4.2.6'...
Remove useless version in PHPUnit
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.0" + spec.version = "2.1.1" spec.summary = "Comfortab...
Update pod version -> 2.1.1
diff --git a/features/support/login_helper.rb b/features/support/login_helper.rb index abc1234..def5678 100644 --- a/features/support/login_helper.rb +++ b/features/support/login_helper.rb @@ -4,4 +4,23 @@ click_link 'LOGOUT' end end + + def create_user_through_gui + visit '/users/new' + fill_in 'u...
Create user through GUI instead of using FactoryGirl because that way wasn't working
diff --git a/lib/berkshelf/api/cache_builder/opscode.rb b/lib/berkshelf/api/cache_builder/opscode.rb index abc1234..def5678 100644 --- a/lib/berkshelf/api/cache_builder/opscode.rb +++ b/lib/berkshelf/api/cache_builder/opscode.rb @@ -9,7 +9,7 @@ def initialize(options={}) super @connection = opti...
Use pool_link to link the SiteConnector pool to the PoolManager
diff --git a/lib/credit_card_sanitizer.rb b/lib/credit_card_sanitizer.rb index abc1234..def5678 100644 --- a/lib/credit_card_sanitizer.rb +++ b/lib/credit_card_sanitizer.rb @@ -2,11 +2,8 @@ class CreditCardSanitizer - NUMBERS_WITH_LINE_NOISE = /( - \d # starts with a number - [\d|\W]+ # number or non-w...
Use regex with implicit size validation
diff --git a/lib/faraday/request/oauth.rb b/lib/faraday/request/oauth.rb index abc1234..def5678 100644 --- a/lib/faraday/request/oauth.rb +++ b/lib/faraday/request/oauth.rb @@ -6,12 +6,8 @@ def call(env) params = env[:body] || {} - - con = false - env[:request_headers].each do |k,v| - ...
Revert "Fixed an issue where OAuth was not encoding the entire body on non application/x-www-form-urlencoded POST requests." This reverts commit e911e2d904641f8149443879ef0d71ef9825e9b5.
diff --git a/lib/rss/atom/feed_history.rb b/lib/rss/atom/feed_history.rb index abc1234..def5678 100644 --- a/lib/rss/atom/feed_history.rb +++ b/lib/rss/atom/feed_history.rb @@ -18,6 +18,14 @@ klass.install_have_child_element(name, URI, '?', full_name) end end + end + + def comp...
Add predicate methods for complete/archived feed