diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/lib/backlog_kit/client/resolution.rb b/lib/backlog_kit/client/resolution.rb index abc1234..def5678 100644 --- a/lib/backlog_kit/client/resolution.rb +++ b/lib/backlog_kit/client/resolution.rb @@ -1,6 +1,12 @@ module BacklogKit class Client + + # Methods for the Resolution API module Resolution +...
Add documentation for the Resolution API
diff --git a/lib/changit/lexer/key_value_token.rb b/lib/changit/lexer/key_value_token.rb index abc1234..def5678 100644 --- a/lib/changit/lexer/key_value_token.rb +++ b/lib/changit/lexer/key_value_token.rb @@ -5,7 +5,7 @@ attr_accessor :rhs # right-hand side def initialize(key_value) - @lhs, @rhs ...
Fix for lines with multiple =s
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,5 +1,7 @@ class ApplicationController < ActionController::Base has_mobile_fu + + befo...
Add http basic auth to the application controller
diff --git a/app/models/payment_method/mercado_pago.rb b/app/models/payment_method/mercado_pago.rb index abc1234..def5678 100644 --- a/app/models/payment_method/mercado_pago.rb +++ b/app/models/payment_method/mercado_pago.rb @@ -1,7 +1,5 @@ # -*- encoding : utf-8 -*- class PaymentMethod::MercadoPago < Spree::PaymentMe...
Remove deprecated attr_accessible from payment method
diff --git a/app/serializers/export/user_serializer.rb b/app/serializers/export/user_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/export/user_serializer.rb +++ b/app/serializers/export/user_serializer.rb @@ -4,6 +4,7 @@ :email, :language, :username, + ...
Include a private key to the user data export archive In order to allow a user to notify his contacts of his migration with a trustworthy signature the old private key must be available to the new pod where we import data.
diff --git a/test/helpers/start_simplecov.rb b/test/helpers/start_simplecov.rb index abc1234..def5678 100644 --- a/test/helpers/start_simplecov.rb +++ b/test/helpers/start_simplecov.rb @@ -10,7 +10,7 @@ SimpleCov.start do add_filter "/test/" - minimum_coverage 100 if running_all_tests? + ...
Fix that tests run in forked processes were printing coverage reports For a few tests, we shell out to `ruby -e "require 'fakeweb'; ..."` to get a clean environment in order to check what warnings appear when you combine FakeWeb with other libs. Recently these processes starting printing coverage reports, which messes...
diff --git a/lib/simple2ch/simple2ch_exception.rb b/lib/simple2ch/simple2ch_exception.rb index abc1234..def5678 100644 --- a/lib/simple2ch/simple2ch_exception.rb +++ b/lib/simple2ch/simple2ch_exception.rb @@ -1,5 +1,5 @@ module Simple2ch - class Simple2chException < Exception; end + class Simple2chException < Standar...
Fix Bug: Any Simple2ch exceptions could not rescued by StandardError
diff --git a/lib/smartdown/api/directory_input.rb b/lib/smartdown/api/directory_input.rb index abc1234..def5678 100644 --- a/lib/smartdown/api/directory_input.rb +++ b/lib/smartdown/api/directory_input.rb @@ -0,0 +1,11 @@+require 'smartdown/parser/directory_input' + +module Smartdown + module Api + class DirectoryI...
Make DirectoryInput part of the pubic API As clients of the gem will need to call it, to then call Api::Flow, they shouldn't have to call something in the Parser directory. Moving the DirectoryInput module itself was a bit of a faff, so for now i've effectively aliased it, so it's officially part of the public API, a...
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -6,6 +6,6 @@ # # All rights reserved - Do Not Redistribute -require_recipe "sportngin-mongodb::mongodb_repo" -require_recipe "mongodb" +include_recipe "sportngin-mongodb::mongodb_re...
Switch from depricated require_recipe to include_recipe
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -13,10 +13,10 @@ # Install packages required for ruby-build to build MRI 2.2.0 # according to: # https://github.com/sstephenson/ruby-build/wiki#suggested-build-environment -case node...
Use platform_family instead of platform
diff --git a/flipper-sequel.gemspec b/flipper-sequel.gemspec index abc1234..def5678 100644 --- a/flipper-sequel.gemspec +++ b/flipper-sequel.gemspec @@ -23,5 +23,5 @@ gem.metadata = Flipper::METADATA gem.add_dependency 'flipper', "~> #{Flipper::VERSION}" - gem.add_dependency 'sequel', '>= 4.0.0' + gem.add...
Add a little more restrictive sequel version >= 4 is too liberal. Since people are saying that 5 works, let's do < 6.
diff --git a/pure-rails.gemspec b/pure-rails.gemspec index abc1234..def5678 100644 --- a/pure-rails.gemspec +++ b/pure-rails.gemspec @@ -16,6 +16,6 @@ s.require_paths = ['lib'] - s.add_development_dependency 'httparty' - s.add_development_dependency 'rake' + s.add_development_dependency 'httparty', '~> 0.13' +...
Add warning about unversioned development dependencies.
diff --git a/lib/csvconverter/commands/android2csv_command.rb b/lib/csvconverter/commands/android2csv_command.rb index abc1234..def5678 100644 --- a/lib/csvconverter/commands/android2csv_command.rb +++ b/lib/csvconverter/commands/android2csv_command.rb @@ -6,7 +6,6 @@ # required options but handled in method because ...
Revert "add googledoc support for android command" This reverts commit f65af7feb9b0b4e25e61e2478fbe8e73ef8ce537.
diff --git a/plugin.rb b/plugin.rb index abc1234..def5678 100644 --- a/plugin.rb +++ b/plugin.rb @@ -9,9 +9,9 @@ after_initialize do add_to_serializer(:user, :twitter_screen_name) do - object.twitter_user_info.screen_name + object.user_associated_accounts.find_by(provider_name: "twitter")&.info["nickname"] ...
FIX: Update for changes to core
diff --git a/lib/sendwithus_ruby_action_mailer/mail_params.rb b/lib/sendwithus_ruby_action_mailer/mail_params.rb index abc1234..def5678 100644 --- a/lib/sendwithus_ruby_action_mailer/mail_params.rb +++ b/lib/sendwithus_ruby_action_mailer/mail_params.rb @@ -8,6 +8,8 @@ @email_data = {} @to = {} @from...
Add basic support for CC and BCC
diff --git a/pummel.rb b/pummel.rb index abc1234..def5678 100644 --- a/pummel.rb +++ b/pummel.rb @@ -6,13 +6,12 @@ $: << File.join(File.dirname(__FILE__), 'vendor', 'ruby-oembed', 'lib') require 'oembed' +@@rss_url = "http://feeds.pinboard.in/rss/u:evaryont/" +@@ic = Iconv.new('UTF-8//IGNORE', 'UTF-8') def refresh_...
Make ic a class variable, rather than an instance variable.
diff --git a/lib/banzai/pipeline/description_pipeline.rb b/lib/banzai/pipeline/description_pipeline.rb index abc1234..def5678 100644 --- a/lib/banzai/pipeline/description_pipeline.rb +++ b/lib/banzai/pipeline/description_pipeline.rb @@ -1,22 +1,15 @@ module Banzai module Pipeline class DescriptionPipeline < Ful...
Fix description and GFM pipelines conflicting Consider this command: bundle exec rails r "include GitlabMarkdownHelper puts markdown('<span>this is a span</span>', pipeline: :description) puts markdown('<span>this is a span</span>')" And the same in the opposite order: bundle exec rails r "include G...
diff --git a/state_machine-audit_trail.gemspec b/state_machine-audit_trail.gemspec index abc1234..def5678 100644 --- a/state_machine-audit_trail.gemspec +++ b/state_machine-audit_trail.gemspec @@ -13,6 +13,7 @@ s.homepage = "https://github.com/wvanbergen/state_machine-audit_trail" s.summary = %q{Log transit...
Add license to Gemspec file
diff --git a/cli/lib/rbld_status.rb b/cli/lib/rbld_status.rb index abc1234..def5678 100644 --- a/cli/lib/rbld_status.rb +++ b/cli/lib/rbld_status.rb @@ -4,7 +4,11 @@ module Rebuild class RbldStatusCommand < Command - legacy_usage_implementation :status + def initialize + @usage = "status [OPTIONS]" + ...
cli: Convert rbld status usage to Ruby Signed-off-by: Dmitry Fleytman <a8cf97adadec4e1b734a39bc5aea71b5741cfca1@daynix.com>
diff --git a/lib/radiodan/adapter/mpd/playlist_parser.rb b/lib/radiodan/adapter/mpd/playlist_parser.rb index abc1234..def5678 100644 --- a/lib/radiodan/adapter/mpd/playlist_parser.rb +++ b/lib/radiodan/adapter/mpd/playlist_parser.rb @@ -27,7 +27,11 @@ end def self.parse_tracks(tracks) - tracks.collect{ |t| ...
Return empty array if no tracks are found
diff --git a/db/migrate/20191010143350_add_conditioning_unit_to_products.rb b/db/migrate/20191010143350_add_conditioning_unit_to_products.rb index abc1234..def5678 100644 --- a/db/migrate/20191010143350_add_conditioning_unit_to_products.rb +++ b/db/migrate/20191010143350_add_conditioning_unit_to_products.rb @@ -27,7 +2...
Fix bug during deployment on not null column conditionning_unit in products.
diff --git a/Support/spec/spec_helper.rb b/Support/spec/spec_helper.rb index abc1234..def5678 100644 --- a/Support/spec/spec_helper.rb +++ b/Support/spec/spec_helper.rb @@ -21,5 +21,9 @@ # order dependency and want to debug it, you can fix the order by providing # the seed, which is printed after each run. # ...
Disable random sorting of specs Makes runner specs go forever with certain seeds (e.g. --seed 6871), disabled until the runner will run specs in a subshell. Ref: https://github.com/elia/rspec.tmbundle/commit/92bd792d813f79ffec8484469aa9ce3c7872382b#commitcomment-7325726
diff --git a/redimap.gemspec b/redimap.gemspec index abc1234..def5678 100644 --- a/redimap.gemspec +++ b/redimap.gemspec @@ -8,8 +8,11 @@ spec.version = Redimap::VERSION spec.authors = ["tiredpixel"] spec.email = ["tp@tiredpixel.com"] - spec.description = %q{TODO: Write a gem description}...
Document Gemspec summary and description.
diff --git a/db/migrate/20150429183941_create_member_profiles.rb b/db/migrate/20150429183941_create_member_profiles.rb index abc1234..def5678 100644 --- a/db/migrate/20150429183941_create_member_profiles.rb +++ b/db/migrate/20150429183941_create_member_profiles.rb @@ -20,9 +20,10 @@ t.string :appointment_lengths,...
Add foreign key to member profile table
diff --git a/core/lib/tasks/users.rake b/core/lib/tasks/users.rake index abc1234..def5678 100644 --- a/core/lib/tasks/users.rake +++ b/core/lib/tasks/users.rake @@ -1,14 +1,15 @@ namespace :user do task :add, [:user, :email, :password] => :environment do |t, args| u = User.new({ username: args.user, - ...
Fix rake user:add task, email can't be mass assigned
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -31,7 +31,7 @@ git node['sickbeard']['install_dir'] do repository node['sickbeard']['git']['url'] - revision node['sickbeard']['git']['tag'] + reference node['sickbeard']['git']...
Use reference instead of revision attribute to checkout git repo with tag
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -19,7 +19,6 @@ recursive true end - Chef::Log.info("DEPLOY ATTRIBUTES: #{deploy.inspect}") opsworks_deploy do deploy_data deploy app application
Remove logging of sensitive things.
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -39,3 +39,7 @@ if node['postfix']['use_virtual_aliases'] include_recipe 'postfix::virtual_aliases' end + +if node['postfix']['use_virtual_aliases_domains'] + include_recipe 'postf...
Fix logic around include_recipe 'postfix::virtual_aliases_domains' Signed-off-by: Sean OMeara <4025b808ec3cf11e3d5c9a1a3bd1e7c4003cb3a1@opscode.com>
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -21,8 +21,6 @@ # Install dynect gem for usage within Chef runs chef_gem 'dynect_rest' do - # as per https://www.chef.io/blog/2015/02/17/chef-12-1-0-chef_gem-resource-warnings/ - c...
Remove duplicate compile_time on the gem Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -12,6 +12,24 @@ package "logstash" +execute "remove-server-conf" do + command %{ + if [ -e /etc/logstash/conf.d/server.conf ]; then + rm /etc/logstash/conf.d/server.conf +...
Clean up server and agent configs if we do not need them (anymore).
diff --git a/sfc-custom.gemspec b/sfc-custom.gemspec index abc1234..def5678 100644 --- a/sfc-custom.gemspec +++ b/sfc-custom.gemspec @@ -0,0 +1,33 @@+Gem::Specification.new do |s| + s.name = %q{sfc-custom} + s.version = "0.6" + + s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required...
Add gemspec from current gem
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 @@ -3,6 +3,6 @@ def password_reset(user) @user = user - mail :to => user.email, :subject => "Password Reset" + mail :to => user.email, :from...
Add explicit from hoping it takes.
diff --git a/app/models/kaui/ability.rb b/app/models/kaui/ability.rb index abc1234..def5678 100644 --- a/app/models/kaui/ability.rb +++ b/app/models/kaui/ability.rb @@ -7,7 +7,7 @@ user.permissions.each do |permission| # permission is something like invoice:item_adjust or payment:refund # We rel...
Fix Permission.java (killbill-api) to have clean model and fix'up CanCan to make the correct translation to KAUI models
diff --git a/rb-fsevent.gemspec b/rb-fsevent.gemspec index abc1234..def5678 100644 --- a/rb-fsevent.gemspec +++ b/rb-fsevent.gemspec @@ -14,7 +14,7 @@ s.rubyforge_project = "rb-fsevent" - s.add_development_dependency 'bundler', '~> 1.0.10' + s.add_development_dependency 'bundler', '~> 1.0' s.add_de...
Allow using new versions of bundler
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -10,6 +10,9 @@ # Install Homebrew Cask tap include_recipe "homebrew::cask" +# Install Homebrew Cask Versions tap +homebrew_tap 'caskroom/versions' + #Install formulae/packages (lis...
Add Homebrew Cask Versions tap The Versions tap has casks for some newer software (e.g. Sublime Text 3). Install this so we have access to these versions.
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -15,8 +15,7 @@ # Hadoop ###################################################################### node.override['single_node_hadoop_claster']['java']['java_home'] = "/usr/lib/jvm/jdk1....
Update attributes according to single_node_hadoop_claster requirements.
diff --git a/src/spec/models/provider_spec.rb b/src/spec/models/provider_spec.rb index abc1234..def5678 100644 --- a/src/spec/models/provider_spec.rb +++ b/src/spec/models/provider_spec.rb @@ -2,12 +2,72 @@ describe Provider do before(:each) do - @valid_attributes = { - } + @provider = Factory.create(:moc...
Add spec for the Provider model.
diff --git a/app/models/cupped_coffee.rb b/app/models/cupped_coffee.rb index abc1234..def5678 100644 --- a/app/models/cupped_coffee.rb +++ b/app/models/cupped_coffee.rb @@ -2,6 +2,6 @@ belongs_to :coffee belongs_to :roaster belongs_to :cupping - + has_many :scores validates_presence_of :roast_date end
Add cupped coffee association to scores, pass pending test.
diff --git a/app/models/seven_day_mvp.rb b/app/models/seven_day_mvp.rb index abc1234..def5678 100644 --- a/app/models/seven_day_mvp.rb +++ b/app/models/seven_day_mvp.rb @@ -1,9 +1,9 @@ class SevenDayMVP def self.current - Product.find_by(slug: 'gamamia') + Product.find_by(slug: 'landline') end def self...
Update the seven day mvps
diff --git a/spec/models/ex_cite/resource_key_spec.rb b/spec/models/ex_cite/resource_key_spec.rb index abc1234..def5678 100644 --- a/spec/models/ex_cite/resource_key_spec.rb +++ b/spec/models/ex_cite/resource_key_spec.rb @@ -0,0 +1,20 @@+require 'rails_helper' + +describe ExCite::ResourceKey do + let(:included_resourc...
Add pending resource key spec
diff --git a/test/unit/recipes/kernel_spec.rb b/test/unit/recipes/kernel_spec.rb index abc1234..def5678 100644 --- a/test/unit/recipes/kernel_spec.rb +++ b/test/unit/recipes/kernel_spec.rb @@ -0,0 +1,36 @@+describe 'sys::kernel' do + cached(:chef_run) { ChefSpec::SoloRunner.new.converge(described_recipe) } + + contex...
Add test for kernel recipe (microcode updates)
diff --git a/spec/github/api/callbacks_spec.rb b/spec/github/api/callbacks_spec.rb index abc1234..def5678 100644 --- a/spec/github/api/callbacks_spec.rb +++ b/spec/github/api/callbacks_spec.rb @@ -28,14 +28,14 @@ describe Github::API, '#callbacks' do it "retrieves only public api methods" do - expect(ApiTest.re...
Fix spec result dependency for jruby.
diff --git a/spec/lib/raml/parser/root_spec.rb b/spec/lib/raml/parser/root_spec.rb index abc1234..def5678 100644 --- a/spec/lib/raml/parser/root_spec.rb +++ b/spec/lib/raml/parser/root_spec.rb @@ -8,10 +8,13 @@ subject { Raml::Parser::Root.new.parse(raml) } it { should be_kind_of Raml::Root } - its('resou...
Clean up root parser specs
diff --git a/spec/classes/dependencies_spec.rb b/spec/classes/dependencies_spec.rb index abc1234..def5678 100644 --- a/spec/classes/dependencies_spec.rb +++ b/spec/classes/dependencies_spec.rb @@ -0,0 +1,16 @@+require 'spec_helper' + +describe 'rbenv::dependencies' do + let(:title) { 'rbenv::dependencies' } + + conte...
Add spec for dependencies class
diff --git a/db/migrate/20150709213435_create_votes.rb b/db/migrate/20150709213435_create_votes.rb index abc1234..def5678 100644 --- a/db/migrate/20150709213435_create_votes.rb +++ b/db/migrate/20150709213435_create_votes.rb @@ -1,7 +1,7 @@ class CreateVotes < ActiveRecord::Migration def change create_table :vo...
Change votes table to have boolean instead of count
diff --git a/spree_product_expiry_date.gemspec b/spree_product_expiry_date.gemspec index abc1234..def5678 100644 --- a/spree_product_expiry_date.gemspec +++ b/spree_product_expiry_date.gemspec @@ -16,7 +16,7 @@ s.require_path = 'lib' s.requirements << 'none' - s.add_dependency 'spree_core', '~> 1.3.2' + s.add_...
Change dependency level to spree_core
diff --git a/scratch/test_01.rb b/scratch/test_01.rb index abc1234..def5678 100644 --- a/scratch/test_01.rb +++ b/scratch/test_01.rb @@ -0,0 +1,24 @@+# Test the ability authenticate + +require 'httparty' + +TOKEN = '93e1e6aa56d9a1e839a40e0e2021fcef' + +response = HTTParty.get('https://www.pivotaltracker.com/services/v5...
Test API authentication with simple request * Executes endpoint /me * Prints out selected elements of response
diff --git a/schreihals.gemspec b/schreihals.gemspec index abc1234..def5678 100644 --- a/schreihals.gemspec +++ b/schreihals.gemspec @@ -25,11 +25,7 @@ gem.add_dependency 'redcarpet' gem.add_dependency 'rack-cache' gem.add_dependency 'rack-codehighlighter' - - # no schnitzelstyle release so far, so please add ...
Include schnitzelstyle in gemspec dependencies.
diff --git a/bus-o-matic.gemspec b/bus-o-matic.gemspec index abc1234..def5678 100644 --- a/bus-o-matic.gemspec +++ b/bus-o-matic.gemspec @@ -1,12 +1,12 @@ Gem::Specification.new do |s| s.name = "bus-o-matic" - s.version = "0.0.5" + s.version = "0.0.6" s.authors = ["Matt Cone"] s....
Update homepage URL and bump version number
diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb index abc1234..def5678 100644 --- a/test/integration/routing_test.rb +++ b/test/integration/routing_test.rb @@ -14,11 +14,11 @@ end it 'should not display navigation partial on sign in' do - refute has_text? 'DARIA - development ...
Make test resilent to env change
diff --git a/lib/omniauth/strategies/github.rb b/lib/omniauth/strategies/github.rb index abc1234..def5678 100644 --- a/lib/omniauth/strategies/github.rb +++ b/lib/omniauth/strategies/github.rb @@ -27,6 +27,10 @@ } end + extra do + {:user_hash => raw_info} + end + def raw_info ...
Include the raw user response from GitHub in OmniAuth's extra information, just like the old days
diff --git a/lib/websocket_adapter/standard.rb b/lib/websocket_adapter/standard.rb index abc1234..def5678 100644 --- a/lib/websocket_adapter/standard.rb +++ b/lib/websocket_adapter/standard.rb @@ -8,7 +8,6 @@ secure = Rack::Request.new(env).ssl? scheme = secure ? 'wss:' : 'ws:' - # FIXME: this shoul...
Remove the FIXME related to URL building in websocket adapter
diff --git a/translate/spec/quickstart_spec.rb b/translate/spec/quickstart_spec.rb index abc1234..def5678 100644 --- a/translate/spec/quickstart_spec.rb +++ b/translate/spec/quickstart_spec.rb @@ -13,7 +13,7 @@ # limitations under the License. require "rspec" -require "google/cloud" +require "google/cloud/translate"...
Fix dependency in Translate Quickstart spec
diff --git a/connection.gemspec b/connection.gemspec index abc1234..def5678 100644 --- a/connection.gemspec +++ b/connection.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'connection' - s.version = '0.0.3.1' + s.version = '0.0.4.0' s.summary = 'TCP client/server conne...
Package version is increased from 0.0.3.1 to 0.0.4.0
diff --git a/builder/gemfile_mergator.rb b/builder/gemfile_mergator.rb index abc1234..def5678 100644 --- a/builder/gemfile_mergator.rb +++ b/builder/gemfile_mergator.rb @@ -20,7 +20,7 @@ master << line end - if line[0, 7] == 'source ' + if line[0, 7] == 'source ' || line[0, 3] == 'end' ...
Allow source blocks in agent gemfiles * make sure to keep any end lines * allow whitespace in front of gem definitions
diff --git a/lib/sandthorn_driver_sequel/wrappers/event_wrapper.rb b/lib/sandthorn_driver_sequel/wrappers/event_wrapper.rb index abc1234..def5678 100644 --- a/lib/sandthorn_driver_sequel/wrappers/event_wrapper.rb +++ b/lib/sandthorn_driver_sequel/wrappers/event_wrapper.rb @@ -2,7 +2,7 @@ module SandthornDriverSequel ...
Add some accessors to event wrapper
diff --git a/spec/route_spec.rb b/spec/route_spec.rb index abc1234..def5678 100644 --- a/spec/route_spec.rb +++ b/spec/route_spec.rb @@ -10,4 +10,10 @@ it "fetches routes by tag" do Muni::Route.find(21).tag.should == "21" end + + it "should have the correct lon and lat" do + r21 = Muni::Route.find(21) + ...
Add test to cover lat and lon accuracy
diff --git a/spec/hamlit/engine/doctype_spec.rb b/spec/hamlit/engine/doctype_spec.rb index abc1234..def5678 100644 --- a/spec/hamlit/engine/doctype_spec.rb +++ b/spec/hamlit/engine/doctype_spec.rb @@ -7,5 +7,13 @@ <!DOCTYPE html> HTML end + + it 'renders xml doctype' do + assert_render(<<-HA...
Add spec for xml doctype
diff --git a/eventstore/recipes/install.rb b/eventstore/recipes/install.rb index abc1234..def5678 100644 --- a/eventstore/recipes/install.rb +++ b/eventstore/recipes/install.rb @@ -7,7 +7,8 @@ [io.compression.zipfile]::ExtractToDirectory("$env:TEMP\\eventstore.zip", "#{node[:eventstore][:destination_path]}") $choc...
Update path or nssm call
diff --git a/ael_tracker.gemspec b/ael_tracker.gemspec index abc1234..def5678 100644 --- a/ael_tracker.gemspec +++ b/ael_tracker.gemspec @@ -18,7 +18,7 @@ spec.add_development_dependency "webmock" spec.add_development_dependency 'json' - spec.files = `git ls-files`.split("\n") + spec.files = Di...
Change gemspec for push to rubygems
diff --git a/app/adapters/beeminder_adapter.rb b/app/adapters/beeminder_adapter.rb index abc1234..def5678 100644 --- a/app/adapters/beeminder_adapter.rb +++ b/app/adapters/beeminder_adapter.rb @@ -35,7 +35,7 @@ dp.timestamp > RECENT_INTERVAL end rescue - Rails.logger.error("Failed to fetch datapoints f...
Fix error message when datapoint fetch fails
diff --git a/app/services/builders/registry.rb b/app/services/builders/registry.rb index abc1234..def5678 100644 --- a/app/services/builders/registry.rb +++ b/app/services/builders/registry.rb @@ -9,7 +9,7 @@ def registered_builders if @registered_builders.blank? - Builders::Registry.register(...
Change to use Chamber method
diff --git a/test/cases/inheritance_test_sqlserver.rb b/test/cases/inheritance_test_sqlserver.rb index abc1234..def5678 100644 --- a/test/cases/inheritance_test_sqlserver.rb +++ b/test/cases/inheritance_test_sqlserver.rb @@ -11,7 +11,6 @@ include SqlserverCoercedTest def test_coerced_test_eager_load_belongs_to...
Remove unused con local var.
diff --git a/test/controllers/home_controller_test.rb b/test/controllers/home_controller_test.rb index abc1234..def5678 100644 --- a/test/controllers/home_controller_test.rb +++ b/test/controllers/home_controller_test.rb @@ -5,4 +5,11 @@ get root_url assert_response :success end + + test "should create use...
Add functional test for markov controller
diff --git a/fabrication.gemspec b/fabrication.gemspec index abc1234..def5678 100644 --- a/fabrication.gemspec +++ b/fabrication.gemspec @@ -10,13 +10,13 @@ s.license = "MIT" s.authors = ["Paul Elliott"] - s.email = ["paul@hashrocket.com"] + s.email = ["paul@codingfrontier.com"] s.description = "Fabrication...
Update summary and email in gemspec
diff --git a/config/initializers/haml.rb b/config/initializers/haml.rb index abc1234..def5678 100644 --- a/config/initializers/haml.rb +++ b/config/initializers/haml.rb @@ -1,5 +1,2 @@ Haml::Template.options[:format] = :html5 Haml::Template.options[:ugly] = RAILS_ENV == 'production' - -#Compass.sass_engine_options[:lo...
Remove commented stuff that didn't work.
diff --git a/app/models/award.rb b/app/models/award.rb index abc1234..def5678 100644 --- a/app/models/award.rb +++ b/app/models/award.rb @@ -4,7 +4,9 @@ def self.load_from_hash(properties) # Load the data only if it's a public works award - return unless properties['[QCLO] Es Obra Pública']=='S' + # FIXM...
Load all contracts -public works or not- temporarily, to inspect the data
diff --git a/app/models/phone.rb b/app/models/phone.rb index abc1234..def5678 100644 --- a/app/models/phone.rb +++ b/app/models/phone.rb @@ -2,7 +2,7 @@ belongs_to :user - enum kind: {home: 0, work: 1, cell: 2} + enum kind: {daytime: 0, evening: 1, cell: 2} validates :kind, :number, presence: true
Rename home to evening and work to daytime and make daytime default.
diff --git a/app/models/share.rb b/app/models/share.rb index abc1234..def5678 100644 --- a/app/models/share.rb +++ b/app/models/share.rb @@ -7,7 +7,7 @@ validates_url_format_of :content_url, :message => 'is not a valid url' validates_url_format_of :header_url, :message => 'is not a valid url' - COLOR_REGEX = /\...
Validate color with uppercase notation
diff --git a/lib/ext_scaffold_core_extensions/array.rb b/lib/ext_scaffold_core_extensions/array.rb index abc1234..def5678 100644 --- a/lib/ext_scaffold_core_extensions/array.rb +++ b/lib/ext_scaffold_core_extensions/array.rb @@ -17,7 +17,14 @@ end element_count = options.delete(:count) || self.length - ...
Allow ActiveRecord to_json options to be specified, like :only or :methods (reduces JSON payload)
diff --git a/lib/file_data/formats/mpeg4/box_stream.rb b/lib/file_data/formats/mpeg4/box_stream.rb index abc1234..def5678 100644 --- a/lib/file_data/formats/mpeg4/box_stream.rb +++ b/lib/file_data/formats/mpeg4/box_stream.rb @@ -28,7 +28,11 @@ end def self.for_box(stream, box) - BoxesReader.new(stream, ...
Add BoxesReader method to read at a specific stream position
diff --git a/lib/gitlab/ci/config/node/configurable.rb b/lib/gitlab/ci/config/node/configurable.rb index abc1234..def5678 100644 --- a/lib/gitlab/ci/config/node/configurable.rb +++ b/lib/gitlab/ci/config/node/configurable.rb @@ -51,12 +51,12 @@ def helpers(*nodes) nodes.each do |symbol| ...
Fix using `try` on delegators in CI config entries See: https://github.com/rails/rails/commit/af53280a4b5b3323ac87dc60deb2b1b781197b2b
diff --git a/lib/keyline/resources/master_signature.rb b/lib/keyline/resources/master_signature.rb index abc1234..def5678 100644 --- a/lib/keyline/resources/master_signature.rb +++ b/lib/keyline/resources/master_signature.rb @@ -2,9 +2,9 @@ class MasterSignature include Resource include Writeable::Resource ...
Allow master signature kind and layout to be set
diff --git a/spec/functional/command/init_spec.rb b/spec/functional/command/init_spec.rb index abc1234..def5678 100644 --- a/spec/functional/command/init_spec.rb +++ b/spec/functional/command/init_spec.rb @@ -1,29 +1,53 @@ require File.expand_path('../../../spec_helper', __FILE__) +require 'xcodeproj' + module Pod +...
Add a more thorough spec for init command.
diff --git a/spec/support/activerecord_backend.rb b/spec/support/activerecord_backend.rb index abc1234..def5678 100644 --- a/spec/support/activerecord_backend.rb +++ b/spec/support/activerecord_backend.rb @@ -2,7 +2,7 @@ ActiveRecord::Base.establish_connection( :adapter => "sqlite3", - :database => "test.db" + :...
Use an in-memory SQLite database to test activerecord backend
diff --git a/tasks/release.rake b/tasks/release.rake index abc1234..def5678 100644 --- a/tasks/release.rake +++ b/tasks/release.rake @@ -18,7 +18,7 @@ end # Login to RubyGems if needed - system "gem push 2>/dev/null" + system "gem signin 2>/dev/null" # Release the gem Rake::Task[:release].i...
Update RubyGems login command in rake task.
diff --git a/test/test_scope.rb b/test/test_scope.rb index abc1234..def5678 100644 --- a/test/test_scope.rb +++ b/test/test_scope.rb @@ -3,18 +3,18 @@ class TestRakeScope < Rake::TestCase include Rake - def test_empty_scope + def test_path_against_empty_scope scope = Scope.make assert_equal scope, Scop...
Clean up some test names
diff --git a/green-button-data.gemspec b/green-button-data.gemspec index abc1234..def5678 100644 --- a/green-button-data.gemspec +++ b/green-button-data.gemspec @@ -21,5 +21,5 @@ s.add_dependency 'sax-machine', '~> 1.3' s.add_development_dependency 'rspec', '~> 3.0' - s.add_development_dependency 'guard' + s.a...
Use pessimistic versioning for guard
diff --git a/battle_ship.gemspec b/battle_ship.gemspec index abc1234..def5678 100644 --- a/battle_ship.gemspec +++ b/battle_ship.gemspec @@ -10,7 +10,7 @@ spec.email = ["dmragone@gmail.com"] spec.description = %q{Adds counters to cache when successful read operation completes in order to track Rails.cach...
Change gemspec website to github website
diff --git a/include_any.gemspec b/include_any.gemspec index abc1234..def5678 100644 --- a/include_any.gemspec +++ b/include_any.gemspec @@ -11,6 +11,7 @@ gem.description = %q{Allows including any object} gem.summary = %q{Allows including any object} gem.homepage = "http://johnandrewmarshall.com/pr...
Include license name in gemspec
diff --git a/test/integration/helpers/serverspec/service_common.rb b/test/integration/helpers/serverspec/service_common.rb index abc1234..def5678 100644 --- a/test/integration/helpers/serverspec/service_common.rb +++ b/test/integration/helpers/serverspec/service_common.rb @@ -19,9 +19,9 @@ end shared_examples_for 'a...
Update path to Kafka log file in integration tests, properly Never mind the idiot who apparently does not know how to use Git at all. At least I didn’t force push master, yay me.
diff --git a/lib/grouped_time_zones/view_helpers.rb b/lib/grouped_time_zones/view_helpers.rb index abc1234..def5678 100644 --- a/lib/grouped_time_zones/view_helpers.rb +++ b/lib/grouped_time_zones/view_helpers.rb @@ -7,7 +7,7 @@ def grouped_time_zones us_zones = ActiveSupport::TimeZone.us_zones - othe...
Exclude TZInfo time zones which get cached in TimeZone.all
diff --git a/cdistance.gemspec b/cdistance.gemspec index abc1234..def5678 100644 --- a/cdistance.gemspec +++ b/cdistance.gemspec @@ -8,15 +8,13 @@ spec.version = Cdistance::VERSION spec.authors = ["Cainã Costa"] spec.email = ["cainan.costa@gmail.com"] - spec.summary = %q{TODO: Write a...
Add extconf.rb to extensions path
diff --git a/lib/codeclimate_ci/get_gpa.rb b/lib/codeclimate_ci/get_gpa.rb index abc1234..def5678 100644 --- a/lib/codeclimate_ci/get_gpa.rb +++ b/lib/codeclimate_ci/get_gpa.rb @@ -2,30 +2,40 @@ module CodeclimateCi class GetGpa - RETRY_TIMEOUT = ENV['RETRY_TIMEOUT'] || 10 - NO_BRANCH_INFO_ERROR = Class.new(...
Change branch checking logic from timeout to checking in cycle
diff --git a/sfn.gemspec b/sfn.gemspec index abc1234..def5678 100644 --- a/sfn.gemspec +++ b/sfn.gemspec @@ -14,5 +14,6 @@ s.add_dependency 'miasma' s.add_dependency 'net-ssh' s.add_dependency 'sparkle_formation', '>= 0.2.8' + s.executables << 'sfn' s.files = Dir['{lib,bin}/**/*'] + %w(sfn.gemspec README.md...
Include executable delivered with gem
diff --git a/lib/liquid_markdown/render.rb b/lib/liquid_markdown/render.rb index abc1234..def5678 100644 --- a/lib/liquid_markdown/render.rb +++ b/lib/liquid_markdown/render.rb @@ -28,7 +28,7 @@ end def liquidize - t = Liquid::Template.parse(@template) + t = Liquid::Template.parse(@template, global...
Add strip_html as global filter
diff --git a/lib/owlsync/strategies/ec2.rb b/lib/owlsync/strategies/ec2.rb index abc1234..def5678 100644 --- a/lib/owlsync/strategies/ec2.rb +++ b/lib/owlsync/strategies/ec2.rb @@ -19,7 +19,7 @@ end def target?(instance) - instance.tags['aws:autoscaling:groupName'] == tag + instance.tags[ta...
Change EC2 instance tag to Hash(key and value).
diff --git a/lib/pansophy_authenticator.rb b/lib/pansophy_authenticator.rb index abc1234..def5678 100644 --- a/lib/pansophy_authenticator.rb +++ b/lib/pansophy_authenticator.rb @@ -27,7 +27,7 @@ define_singleton_method(method) { |*args| ApplicationKeys.send(method, *args) } end - class Error < StandardError; ...
Use alternative definition for Error
diff --git a/lib/tasks/update_posters.rake b/lib/tasks/update_posters.rake index abc1234..def5678 100644 --- a/lib/tasks/update_posters.rake +++ b/lib/tasks/update_posters.rake @@ -3,8 +3,6 @@ puts "Updating posters..." Movie.connection Movie.all.each do |movie| - movie.update_poster - p movie.poster + ...
Fix poster fetch rake task bug
diff --git a/lib/web_bouncer/middleware.rb b/lib/web_bouncer/middleware.rb index abc1234..def5678 100644 --- a/lib/web_bouncer/middleware.rb +++ b/lib/web_bouncer/middleware.rb @@ -2,9 +2,18 @@ module WebBouncer class Middleware < Roda - plugin :middleware + plugin :middleware do |middleware, config, &block|...
Create simple config without global state
diff --git a/lib/dotenv/rails.rb b/lib/dotenv/rails.rb index abc1234..def5678 100644 --- a/lib/dotenv/rails.rb +++ b/lib/dotenv/rails.rb @@ -17,8 +17,6 @@ # Dotenv Railtie for using Dotenv to load environment from a file into # Rails applications class Railtie < Rails::Railtie - config.before_configuration {...
Reorder to make the load method available We are getting the following error when trying to use `require "dotenv/rails-now"` > /Users/mikaelhenriksson/.rvm/gems/ruby-2.1.8/gems/activesupport-3.2.22.6/lib/active_support/dependencies.rb:243:in `load': wrong number of arguments (0 for 1..2) (ArgumentError) > from /Us...
diff --git a/common_courses.rb b/common_courses.rb index abc1234..def5678 100644 --- a/common_courses.rb +++ b/common_courses.rb @@ -3,7 +3,7 @@ # that are contained in both arrays, sorted in ascending order, one per line def get_common_courses(courses1, courses2) - puts courses1 & courses2 + puts (courses1 & cour...
Complete solution for common courses.
diff --git a/lib/konnect/game.rb b/lib/konnect/game.rb index abc1234..def5678 100644 --- a/lib/konnect/game.rb +++ b/lib/konnect/game.rb @@ -1,4 +1,5 @@ class Konnect::Game + attr :board attr :pairs def initialize board_size, pairs
Use shoes to construct GUI
diff --git a/config/unicorn.rb b/config/unicorn.rb index abc1234..def5678 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -1,4 +1,6 @@-listen 'unicorn.sock', :backlog => 1024 +@dir = File.expand_path(File.dirname(__FILE__)) +listen File.join(@dir, "../unicorn.sock"), :backlog => 1024 + worker_processes ENV.f...
Correct issue with listen socket format
diff --git a/lib/bootstrap-sass/compass_functions.rb b/lib/bootstrap-sass/compass_functions.rb index abc1234..def5678 100644 --- a/lib/bootstrap-sass/compass_functions.rb +++ b/lib/bootstrap-sass/compass_functions.rb @@ -14,6 +14,11 @@ protected def sprockets_context # :nodoc: - options[:sprockets][:context] ...
Use correct reference to context through the importer Fixes #366 in the correct way, hopefully. I can't cite my sources well, since Sprockets is very difficult to follow... but suffice to say the global options hash sent to the Tilt SASS template engine always has a reference to the Sprockets importer, and the import...
diff --git a/lib/capistrano/tasks/server_deploy.rake b/lib/capistrano/tasks/server_deploy.rake index abc1234..def5678 100644 --- a/lib/capistrano/tasks/server_deploy.rake +++ b/lib/capistrano/tasks/server_deploy.rake @@ -0,0 +1,31 @@+task :server_deploy do + on "tibbs001@ctti-web-dev-01.oit.duke.edu" do + execute "...
aact-457: Add rake file to run all deployment commands from the development server. Do this to avoid having to verify MFA for each ssh command. (Need to adapt this when we get production up and running.
diff --git a/lib/gitlab/ci/pipeline/chain/command.rb b/lib/gitlab/ci/pipeline/chain/command.rb index abc1234..def5678 100644 --- a/lib/gitlab/ci/pipeline/chain/command.rb +++ b/lib/gitlab/ci/pipeline/chain/command.rb @@ -46,7 +46,7 @@ end def before_sha - checkout_sha || before_sha || ...
Fix a bug of before_sha being inproperly evaluated to `checkout_sha`
diff --git a/lib/vocker/cap/debian/docker_install.rb b/lib/vocker/cap/debian/docker_install.rb index abc1234..def5678 100644 --- a/lib/vocker/cap/debian/docker_install.rb +++ b/lib/vocker/cap/debian/docker_install.rb @@ -4,15 +4,15 @@ module Debian module DockerInstall def self.docker_install(...
Update installer for docker 0.6.0 (closes GH-1)
diff --git a/spec/image_figures_spec.rb b/spec/image_figures_spec.rb index abc1234..def5678 100644 --- a/spec/image_figures_spec.rb +++ b/spec/image_figures_spec.rb @@ -5,9 +5,6 @@ end describe 'basic formatting syntax' do - # Just a silly little spec to get things started. I don't intend - # to test the whole of ...
Remove obsolete comment from spec
diff --git a/lib/how_is/pulse.rb b/lib/how_is/pulse.rb index abc1234..def5678 100644 --- a/lib/how_is/pulse.rb +++ b/lib/how_is/pulse.rb @@ -23,7 +23,7 @@ private def fetch_pulse!(repository, period='monthly') - Tessellator::Fetcher.new.fetch('get', "https://github.com/#{repository}/pulse/#{period}") + ...
Update code based on new Tessellator::Fetcher API.