diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/lib/provisioner/worker/plugins/automators/chef_solo_automator/resources/cookbooks/coopr_hosts/recipes/default.rb b/lib/provisioner/worker/plugins/automators/chef_solo_automator/resources/cookbooks/coopr_hosts/recipes/default.rb index abc1234..def5678 100644 --- a/lib/provisioner/worker/plugins/automators/c...
Comment to make it clear why we picked START
diff --git a/core/spec/lib/refinery/activity_spec.rb b/core/spec/lib/refinery/activity_spec.rb index abc1234..def5678 100644 --- a/core/spec/lib/refinery/activity_spec.rb +++ b/core/spec/lib/refinery/activity_spec.rb @@ -2,43 +2,44 @@ describe Refinery::Activity do before do - module Y + module X modu...
Use let instead of instance variable and rename namespaced dummy class to X::Y::Z.
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.7.0" + spec.version = "2.8.0" spec.summary = "Comfortab...
Change the podspec version -> 2.8.0
diff --git a/worker/lib/redis_queue.rb b/worker/lib/redis_queue.rb index abc1234..def5678 100644 --- a/worker/lib/redis_queue.rb +++ b/worker/lib/redis_queue.rb @@ -9,22 +9,12 @@ def poll(&block) loop do - if queue_size > 0 - message = @redis.rpop("smartchat-queue") - block.call(RedisMessage...
Use Redis' BRPOP to block when poping Removes the need to sleep
diff --git a/app/models/invoice.rb b/app/models/invoice.rb index abc1234..def5678 100644 --- a/app/models/invoice.rb +++ b/app/models/invoice.rb @@ -22,46 +22,7 @@ # Bookings # ======== - def direct_account - nil - end - - def direct_account - self.class.direct_account - end - - has_many :bookings...
Use HasAccounts::Model concern for Invoice.
diff --git a/app/decorators/manageiq/providers/ansible_tower/automation_manager/configuration_script_decorator.rb b/app/decorators/manageiq/providers/ansible_tower/automation_manager/configuration_script_decorator.rb index abc1234..def5678 100644 --- a/app/decorators/manageiq/providers/ansible_tower/automation_manager/...
Drop fileicon for configuration script decorator
diff --git a/lib/awestruct/blueclothable.rb b/lib/awestruct/blueclothable.rb index abc1234..def5678 100644 --- a/lib/awestruct/blueclothable.rb +++ b/lib/awestruct/blueclothable.rb @@ -6,7 +6,7 @@ def render(context) rendered = '' begin - doc = BlueCloth.new( context.interpolate_string( raw_pag...
Use smartypants - enables en, em dashes.
diff --git a/activesupport/lib/active_support/fork_tracker.rb b/activesupport/lib/active_support/fork_tracker.rb index abc1234..def5678 100644 --- a/activesupport/lib/active_support/fork_tracker.rb +++ b/activesupport/lib/active_support/fork_tracker.rb @@ -20,11 +20,7 @@ module CoreExtPrivate include CoreE...
Revert "Fix ForkTracker on ruby <= 2.5.3" This reverts commit 332a2909d417fdc0f42ab7672a3cd0aaaf8752d6.
diff --git a/spec/debian/hostname_spec.rb b/spec/debian/hostname_spec.rb index abc1234..def5678 100644 --- a/spec/debian/hostname_spec.rb +++ b/spec/debian/hostname_spec.rb @@ -5,3 +5,6 @@ it { should_not return_stdout 'debian-7' } end +describe command('hostname') do + it { should_not return_stdout 'bad' } +end
Check odd hostname error that happens during image creation
diff --git a/spec/browserstack_helper.rb b/spec/browserstack_helper.rb index abc1234..def5678 100644 --- a/spec/browserstack_helper.rb +++ b/spec/browserstack_helper.rb @@ -1,39 +1,40 @@ require 'rails_helper' -require 'selenium/webdriver' -ENV['SMTP_SENDER'] = 'test@example.com' - -if username = ENV['BS_USERNAME'] -...
Use Poltergeist to run browser specs Chromedriver is slow, the browser window is annoying, and it doesn't work properly on CircleCI since upgrading Rails. If BS_BROWSER is defined, then we're running under Browserstack, and should use the Selenium driver. Otherwise, we'll use Poltergeist.
diff --git a/lib/prompt/console/builtins.rb b/lib/prompt/console/builtins.rb index abc1234..def5678 100644 --- a/lib/prompt/console/builtins.rb +++ b/lib/prompt/console/builtins.rb @@ -16,22 +16,25 @@ print_help true end - command "exit" do + command "exit", "Exit the console" do exi...
Format help command so that descriptions are always aligned
diff --git a/lib/raph/parser/base_parser.rb b/lib/raph/parser/base_parser.rb index abc1234..def5678 100644 --- a/lib/raph/parser/base_parser.rb +++ b/lib/raph/parser/base_parser.rb @@ -30,7 +30,11 @@ # Returns underscored symbol of string # (snake case format). def to_underscored_sym(str) - s...
Split to long line into several lines
diff --git a/tasks/ProvisionSuccess.rb b/tasks/ProvisionSuccess.rb index abc1234..def5678 100644 --- a/tasks/ProvisionSuccess.rb +++ b/tasks/ProvisionSuccess.rb @@ -3,7 +3,7 @@ run do collins.set_status!(facter['asset_tag'], :provisioned, "Moving to provisioned", :running) log "Shutting down machine..." - ...
Reboot don't shutdown on provisioning Don't break the chain. Copy paste error from intake shutdown command.
diff --git a/app.rb b/app.rb index abc1234..def5678 100644 --- a/app.rb +++ b/app.rb @@ -4,50 +4,78 @@ require "sinatra" require "octokit" require "redis" - +require "json" # Init -redis = Redis.new -NS = "pullstate" +$redis = Redis.new +VERSION = %x{git show-ref --hash=7 --head HEAD}.strip +NAMESPACE = "pullsta...
Add last-modified header to response. This involved a pretty big refactoring of the app. Previously, we were only storing (in redis) the calculated state of each pull request. Now we're storing the entire response.
diff --git a/app.rb b/app.rb index abc1234..def5678 100644 --- a/app.rb +++ b/app.rb @@ -23,13 +23,10 @@ # Create and send PDF from form data. post "/crystallize" do data = params[:crystal] - if Validator.valid(data) - html = erb(:pdf, locals: {crystal: data}) - file = Printer.create_pdf(html, "f...
Use guard clause instead of if else.
diff --git a/app.rb b/app.rb index abc1234..def5678 100644 --- a/app.rb +++ b/app.rb @@ -9,8 +9,9 @@ end post '/submit' do - librato_user = params[:librato_user] || ENV['LIBRATO_USER'] - librato_token = params[:librato_token] || ENV['LIBRATO_TOKEN'] + librato_user = params[:librato_user] ...
Allow for prefixes for metrics
diff --git a/app.rb b/app.rb index abc1234..def5678 100644 --- a/app.rb +++ b/app.rb @@ -26,7 +26,12 @@ scripts.sort_by { |s| s['name'] } end +error do + 503 +end + get '/' do + raise 'herp' @scripts = all_scripts @last_updated = Time.parse($redis['last_updated']) erb :index
Raise a 503 when the service is unavailable
diff --git a/everyday.gemspec b/everyday.gemspec index abc1234..def5678 100644 --- a/everyday.gemspec +++ b/everyday.gemspec @@ -18,6 +18,6 @@ spec.require_paths = ["lib"] spec.add_development_dependency "bundler", "~> 1.8" - spec.add_development_dependency "rake", "~> 10.0" + spec.add_development_dependency "...
Update rake version from 10.0 to 10.4
diff --git a/akamai_api.gemspec b/akamai_api.gemspec index abc1234..def5678 100644 --- a/akamai_api.gemspec +++ b/akamai_api.gemspec @@ -20,7 +20,7 @@ gem.add_dependency 'active_support', '>= 2' gem.add_dependency 'thor', '~> 0.14.0' gem.add_dependency 'savon', '~> 1.2.0' - gem.add_dependenc...
Allow builder greater than 3.0
diff --git a/attributes/default.rb b/attributes/default.rb index abc1234..def5678 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -18,6 +18,6 @@ # default['thrift']['version'] = '0.9.0' -default['thrift']['mirror'] = 'http://archive.apache.org/dist/' +default['thrift']['mirror'] = 'http://arch...
Remove trailing slash from mirror url
diff --git a/benchmarks/get_set.rb b/benchmarks/get_set.rb index abc1234..def5678 100644 --- a/benchmarks/get_set.rb +++ b/benchmarks/get_set.rb @@ -1,7 +1,7 @@ require 'benchmark' require File.dirname(__FILE__) + '/../harness' -LARGE_NUMBER = 20_000 +LARGE_NUMBER = 50_000 Benchmark.bmbm do |b| b.report('get/s...
Bump the number of iterations for the get/set benchmark.
diff --git a/sparkle_formation.gemspec b/sparkle_formation.gemspec index abc1234..def5678 100644 --- a/sparkle_formation.gemspec +++ b/sparkle_formation.gemspec @@ -13,5 +13,5 @@ s.add_dependency 'attribute_struct', '~> 0.2.2' s.add_dependency 'multi_json' s.executables << 'generate_sparkle_docs' - s.files = D...
Update file list included within gem
diff --git a/UAFilterableResultsController.podspec b/UAFilterableResultsController.podspec index abc1234..def5678 100644 --- a/UAFilterableResultsController.podspec +++ b/UAFilterableResultsController.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "UAFilterableResultsController" - s.version = "1...
Exclude Xcode boilerplate from the pod.
diff --git a/spec/classes/init_spec.rb b/spec/classes/init_spec.rb index abc1234..def5678 100644 --- a/spec/classes/init_spec.rb +++ b/spec/classes/init_spec.rb @@ -15,11 +15,11 @@ it { is_expected.to contain_class('realmd') } it { is_expected.to contain_class('realmd::params') } - it { ...
Fix class resource references in spec tests
diff --git a/app/services/auto_placement_visibility_service.rb b/app/services/auto_placement_visibility_service.rb index abc1234..def5678 100644 --- a/app/services/auto_placement_visibility_service.rb +++ b/app/services/auto_placement_visibility_service.rb @@ -3,17 +3,17 @@ field_names_to_hide = [] field_names...
Fix rubocop warning in AutoPlacementVisibilityService
diff --git a/app/admin/users.rb b/app/admin/users.rb index abc1234..def5678 100644 --- a/app/admin/users.rb +++ b/app/admin/users.rb @@ -7,6 +7,10 @@ column :infusionsoft_affiliate_link column :referrer_id default_actions + end + + def max_csv_records + 30_000 end filter :email
Update CSV export limit in controller
diff --git a/app/models/drop.rb b/app/models/drop.rb index abc1234..def5678 100644 --- a/app/models/drop.rb +++ b/app/models/drop.rb @@ -4,6 +4,17 @@ belongs_to :place validates :sc_track, presence: true, numericality: { only_integer: true } + validates :latitude, :longitude, presence: true + + before_validat...
Add validation for latitude and longitude and before_validation action that copies lat and long from place if there is one
diff --git a/examples/play_midi.rb b/examples/play_midi.rb index abc1234..def5678 100644 --- a/examples/play_midi.rb +++ b/examples/play_midi.rb @@ -7,7 +7,6 @@ mus = graph.node_at(0) out = graph.node_at(1) graph.connect_node_input(mus, 0, out, 0) -graph.update graph.open graph.init graph.show
Remove redundant call to update
diff --git a/app/models/game.rb b/app/models/game.rb index abc1234..def5678 100644 --- a/app/models/game.rb +++ b/app/models/game.rb @@ -5,7 +5,7 @@ class Game < ActiveRecord::Base has_many :players - after_initialize :setup_state + before_create :setup_state def actions # TODO: optimize
Use 'before_create' instead of 'after_initialize`
diff --git a/activerecord-safer_migrations.gemspec b/activerecord-safer_migrations.gemspec index abc1234..def5678 100644 --- a/activerecord-safer_migrations.gemspec +++ b/activerecord-safer_migrations.gemspec @@ -19,6 +19,6 @@ gem.add_runtime_dependency "activerecord", ">= 4.0" gem.add_development_dependency "pg...
Update rspec requirement to ~> 3.7.0 Updates the requirements on [rspec](https://github.com/rspec/rspec) to permit the latest version.
diff --git a/app/models/user.rb b/app/models/user.rb index abc1234..def5678 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1,4 +1,6 @@ class User < ActiveRecord::Base + # Setup accessible (or protected) attributes for your model + attr_accessible :email, :password, :password_confirmation, :remember_me ...
Add attr_accessible back to User model
diff --git a/app/actions.rb b/app/actions.rb index abc1234..def5678 100644 --- a/app/actions.rb +++ b/app/actions.rb @@ -2,3 +2,8 @@ get '/' do erb :index end + +get '/topics' do + @topics = Topic.all.order(:topic) + erb :'/topics/index.html' +end
Add `/topics` route, and logic
diff --git a/LightRoute.podspec b/LightRoute.podspec index abc1234..def5678 100644 --- a/LightRoute.podspec +++ b/LightRoute.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "LightRoute" - s.version = "2.1.14" + s.version = "2.1.15" s.summary = "LightRoute is easy transition betwee...
Update spec to version 2.1.15
diff --git a/app/models/gitosis_public_key.rb b/app/models/gitosis_public_key.rb index abc1234..def5678 100644 --- a/app/models/gitosis_public_key.rb +++ b/app/models/gitosis_public_key.rb @@ -7,8 +7,8 @@ validates_uniqueness_of :identifier, :score => :user_id validates_presence_of :title, :key, :identifier - ...
Save fail in last commit
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 @@ -15,15 +15,15 @@ def self.build(params = {}) @instrument = Instrument.find(params[:instrument_id]) - if @instrument....
Fix no versioned method for instrument bug
diff --git a/aws-sdk-core/lib/aws-sdk-core/log/param_filter.rb b/aws-sdk-core/lib/aws-sdk-core/log/param_filter.rb index abc1234..def5678 100644 --- a/aws-sdk-core/lib/aws-sdk-core/log/param_filter.rb +++ b/aws-sdk-core/lib/aws-sdk-core/log/param_filter.rb @@ -1,4 +1,5 @@ require 'pathname' +require 'set' module Aws...
Add 'set' load to the ParamFilter class Resolves issue #977
diff --git a/app/services/create_list_item.rb b/app/services/create_list_item.rb index abc1234..def5678 100644 --- a/app/services/create_list_item.rb +++ b/app/services/create_list_item.rb @@ -10,7 +10,7 @@ end def call - if list_item.item + if item_attached? AttachSearchToListItem.call(list_item) ...
Refactor CreateListItem: extract method (item_attached?)
diff --git a/spec/requests/assets_js_spec.rb b/spec/requests/assets_js_spec.rb index abc1234..def5678 100644 --- a/spec/requests/assets_js_spec.rb +++ b/spec/requests/assets_js_spec.rb @@ -24,4 +24,5 @@ end end + self.use_transactional_fixtures = true end
Add test code for Travis-CI.
diff --git a/app/controllers/answers_controller.rb b/app/controllers/answers_controller.rb index abc1234..def5678 100644 --- a/app/controllers/answers_controller.rb +++ b/app/controllers/answers_controller.rb @@ -20,9 +20,6 @@ # TODO: ADD USER AUTH # @answer.user_id = session[:user_id] - #TODO: ASSOCIATE ...
Edit answer_params method for user_id and question_id params.
diff --git a/app/controllers/clinics_controller.rb b/app/controllers/clinics_controller.rb index abc1234..def5678 100644 --- a/app/controllers/clinics_controller.rb +++ b/app/controllers/clinics_controller.rb @@ -29,11 +29,10 @@ def update if @clinic.update_attributes clinic_params flash[:notice] = 'Succe...
Update edit fail to alert
diff --git a/app/mailers/submission_mailer.rb b/app/mailers/submission_mailer.rb index abc1234..def5678 100644 --- a/app/mailers/submission_mailer.rb +++ b/app/mailers/submission_mailer.rb @@ -1,20 +1,24 @@ class SubmissionMailer < ApplicationMailer def queued(submission) + return if ENV['DISABLE_ALL_EMAIL'] ...
Allow all emails to be disabled Until sending emails from Heroku is resolved, we need a mechanism to disable all emails. This might never be merged… we’ll see how long solving this takes.
diff --git a/business.gemspec b/business.gemspec index abc1234..def5678 100644 --- a/business.gemspec +++ b/business.gemspec @@ -20,7 +20,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_development_dependency "gc_ruboconfig", "~> 2.30.0" + spec.add_...
Update gc_ruboconfig requirement from ~> 2.30.0 to ~> 2.31.0 Updates the requirements on [gc_ruboconfig](https://github.com/gocardless/ruboconfig) to permit the latest version. - [Release notes](https://github.com/gocardless/ruboconfig/releases) - [Changelog](https://github.com/gocardless/gc_ruboconfig/blob/master/CHA...
diff --git a/dynosaur.gemspec b/dynosaur.gemspec index abc1234..def5678 100644 --- a/dynosaur.gemspec +++ b/dynosaur.gemspec @@ -18,7 +18,7 @@ spec.require_paths = ['lib'] spec.add_runtime_dependency 'platform-api', '~> 2.0.0' - spec.add_runtime_dependency 'sys-proctable', '~> 0.9' + spec.add_runtime_dependenc...
Update sys-proctable requirement from ~> 0.9 to >= 0.9, < 2.0 Updates the requirements on [sys-proctable](https://github.com/djberg96/sys-proctable) to permit the latest version. - [Release notes](https://github.com/djberg96/sys-proctable/releases) - [Changelog](https://github.com/djberg96/sys-proctable/blob/master/CH...
diff --git a/activestorage/activestorage.gemspec b/activestorage/activestorage.gemspec index abc1234..def5678 100644 --- a/activestorage/activestorage.gemspec +++ b/activestorage/activestorage.gemspec @@ -1,18 +1,30 @@+# frozen_string_literal: true + +version = File.read(File.expand_path("../RAILS_VERSION", __dir__)).s...
Use standard Rails layout for gemspec
diff --git a/frecon.gemspec b/frecon.gemspec index abc1234..def5678 100644 --- a/frecon.gemspec +++ b/frecon.gemspec @@ -5,7 +5,7 @@ Gem::Specification.new do |s| s.name = "frecon" - s.email = "sammidysam@gmail.com" + s.email = "frc-frecon@googlegroups.com" s.version = FReCon::VERSION s.summary = "A JSON API ...
Change the Gem email to the Google Groups mailing list.
diff --git a/db/migrate/20110126232040_add_unique_index_on_invitation_service_and_invitation_identifier_to_users.rb b/db/migrate/20110126232040_add_unique_index_on_invitation_service_and_invitation_identifier_to_users.rb index abc1234..def5678 100644 --- a/db/migrate/20110126232040_add_unique_index_on_invitation_servic...
db: Create limited varchar to be able to add index.
diff --git a/app/services/webhook_notifier.rb b/app/services/webhook_notifier.rb index abc1234..def5678 100644 --- a/app/services/webhook_notifier.rb +++ b/app/services/webhook_notifier.rb @@ -1,6 +1,6 @@ class WebhookNotifier BOT_NAME = "Beggar" - ICON_URL = "http://tbot-beggar.herokuapp.com/beggar-slack-icon.svg"...
Use the PNG icon for Slack notifications
diff --git a/spec/models/mingle/twitter/tweet_spec.rb b/spec/models/mingle/twitter/tweet_spec.rb index abc1234..def5678 100644 --- a/spec/models/mingle/twitter/tweet_spec.rb +++ b/spec/models/mingle/twitter/tweet_spec.rb @@ -23,18 +23,18 @@ describe "#created_before?" do it 'should return true' do - photo...
Remove typo from tweet spec
diff --git a/provisioner/worker/plugins/automators/chef_solo_automator/chef_solo_automator/cookbooks/coopr_service_manager/recipes/default.rb b/provisioner/worker/plugins/automators/chef_solo_automator/chef_solo_automator/cookbooks/coopr_service_manager/recipes/default.rb index abc1234..def5678 100644 --- a/provisioner...
Comment out resource check, for testing
diff --git a/zebra-zpl.gemspec b/zebra-zpl.gemspec index abc1234..def5678 100644 --- a/zebra-zpl.gemspec +++ b/zebra-zpl.gemspec @@ -1,11 +1,11 @@ # coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -# require 'lib/zebra/zpl/version' +require 'lib/zebra/z...
Fix some refs in gemspec
diff --git a/app/controllers/index_controller.rb b/app/controllers/index_controller.rb index abc1234..def5678 100644 --- a/app/controllers/index_controller.rb +++ b/app/controllers/index_controller.rb @@ -5,39 +5,20 @@ # All of these endpoints should use https://www.inaturalist.org as the base URL, particularly endpoin...
Change controller to retrieve API info for creating objects
diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb index abc1234..def5678 100644 --- a/app/controllers/pages_controller.rb +++ b/app/controllers/pages_controller.rb @@ -7,6 +7,8 @@ render text: "#{params[:id]}.3agPbEGMW8yyXAdNJmtYhleq07pUgmnN1oCrhN9iRwA" when "C8WHrIIU7RaJ...
Add other SSL challenge response
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index abc1234..def5678 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -44,7 +44,7 @@ end def destroy - user = User.find(params[:id]) + user = User.find(params[:id]) session[:use...
Remove some comments from users controller
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index abc1234..def5678 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -14,6 +14,11 @@ end def edit + if @user.id == session[:user_id] + render :edit + else + redir...
Create action for user edit
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index abc1234..def5678 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -34,4 +34,13 @@ redirect_to new_user_session_path end end + + def specify_paypal + if user_signed_...
Add specify_paypal Action to the Users Controller Update the Users controller to include the specify_paypal action.
diff --git a/app/helpers/admin/article_helper.rb b/app/helpers/admin/article_helper.rb index abc1234..def5678 100644 --- a/app/helpers/admin/article_helper.rb +++ b/app/helpers/admin/article_helper.rb @@ -1,5 +1,7 @@ module Admin::ArticleHelper def possible_related_articles(article) - Article.published.order('tit...
Fix bug in related content form.
diff --git a/app/models/spree/order_decorator.rb b/app/models/spree/order_decorator.rb index abc1234..def5678 100644 --- a/app/models/spree/order_decorator.rb +++ b/app/models/spree/order_decorator.rb @@ -3,8 +3,8 @@ has_many :fishbowl_logs attr_accessible :fishbowl_id, :so_number - scope :fishbowl_submit...
Use 'arel_table' instead of the (apparently-incorrect) 'table'
diff --git a/lib/content_manager/class_resolution.rb b/lib/content_manager/class_resolution.rb index abc1234..def5678 100644 --- a/lib/content_manager/class_resolution.rb +++ b/lib/content_manager/class_resolution.rb @@ -1,6 +1,5 @@ module ContentManager module ClassResolution - def self.content_class(name) ...
Update error messages to use correct class name
diff --git a/_plugins/static.rb b/_plugins/static.rb index abc1234..def5678 100644 --- a/_plugins/static.rb +++ b/_plugins/static.rb @@ -2,7 +2,7 @@ class Generator < Jekyll::Generator def generate(site) # Generate book - `mdbook build intecture_book` + `mdbook build --dest-dir ../book int...
Add dest-dir arg when building book
diff --git a/CVCalendar.podspec b/CVCalendar.podspec index abc1234..def5678 100644 --- a/CVCalendar.podspec +++ b/CVCalendar.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "CVCalendar" -s.version = "1.1.4" +s.version = "1.2.0" s.summary = "A custom visual calendar for iOS 8 written in ...
Update Podspec for latest tag
diff --git a/Casks/airparrot.rb b/Casks/airparrot.rb index abc1234..def5678 100644 --- a/Casks/airparrot.rb +++ b/Casks/airparrot.rb @@ -0,0 +1,7 @@+class Airparrot < Cask + url 'http://download.airsquirrels.com/AirParrot/Mac/AirParrot.dmg' + homepage 'http://www.airsquirrels.com/airparrot/' + version '1.5.3' + sha...
Add new cask for AirParrot
diff --git a/Casks/launchbar.rb b/Casks/launchbar.rb index abc1234..def5678 100644 --- a/Casks/launchbar.rb +++ b/Casks/launchbar.rb @@ -5,8 +5,8 @@ sha256 '22a1ec0c10de940e5efbcccd18b8b048d95fb7c63213a01c7976a76d6be69a4d' url "http://www.obdev.at/downloads/launchbar/legacy/LaunchBar-#{version}.dmg" else - ...
Update LaunchBar formula to version 6.3. The LaunchBar formula is currently failing on post-mountain-lion versions of OS X because LaunchBar 6.3 has been released and the link to 6.2 is no broken. Fixes this updating the URL and SHA.
diff --git a/Casks/stepmania.rb b/Casks/stepmania.rb index abc1234..def5678 100644 --- a/Casks/stepmania.rb +++ b/Casks/stepmania.rb @@ -2,6 +2,7 @@ version '5.0.10' sha256 '7e852089ff4cb13217e4a8debb76b1bffb3d8ff6ca31c903ff768577742b50a0' + # github.com/stepmania/stepmania was verified as official when first i...
Fix `url` stanza comment for StepMania.
diff --git a/lib/generators/reputation_system/templates/change_reputation_messages_index_to_unique.rb b/lib/generators/reputation_system/templates/change_reputation_messages_index_to_unique.rb index abc1234..def5678 100644 --- a/lib/generators/reputation_system/templates/change_reputation_messages_index_to_unique.rb ++...
Fix a migration class name
diff --git a/AsyncOpKit.podspec b/AsyncOpKit.podspec index abc1234..def5678 100644 --- a/AsyncOpKit.podspec +++ b/AsyncOpKit.podspec @@ -22,5 +22,5 @@ s.source = { :git => "https://github.com/jedlewison/AsyncOpKit.git", :tag => s.version.to_s } s.platform = :ios, '8.0' s.requires_arc = true - s.s...
Update podspec for file location
diff --git a/spec/lib/open_food_network/orders_and_fulfillments_report/customer_totals_report_spec.rb b/spec/lib/open_food_network/orders_and_fulfillments_report/customer_totals_report_spec.rb index abc1234..def5678 100644 --- a/spec/lib/open_food_network/orders_and_fulfillments_report/customer_totals_report_spec.rb ++...
Add smoke test for Customer Totals report
diff --git a/app/controllers/articles_controller.rb b/app/controllers/articles_controller.rb index abc1234..def5678 100644 --- a/app/controllers/articles_controller.rb +++ b/app/controllers/articles_controller.rb @@ -14,7 +14,7 @@ end def down_vote - @article.up_vote! + @article.down_vote! end priv...
Fix down vote method not actually down
diff --git a/app/controllers/concerns/searchable.rb b/app/controllers/concerns/searchable.rb index abc1234..def5678 100644 --- a/app/controllers/concerns/searchable.rb +++ b/app/controllers/concerns/searchable.rb @@ -37,6 +37,7 @@ end def filters + return '' unless params['filters'].present? JSON...
Return empty string if filters do not exist
diff --git a/app/controllers/products_controller.rb b/app/controllers/products_controller.rb index abc1234..def5678 100644 --- a/app/controllers/products_controller.rb +++ b/app/controllers/products_controller.rb @@ -2,6 +2,7 @@ before_action :authenticate_member! load_and_authorize_resource respond_to :html + ...
Add responders on products controller
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index abc1234..def5678 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -11,8 +11,7 @@ if @session.valid? && @session.authenticate! cookies[:current_assignment] = { ...
Remove path restriction on assignment cookie Fixes issue with Internet Explorer.
diff --git a/app/controllers/websites_controller.rb b/app/controllers/websites_controller.rb index abc1234..def5678 100644 --- a/app/controllers/websites_controller.rb +++ b/app/controllers/websites_controller.rb @@ -15,6 +15,15 @@ @website = Website.new(params[:website]) if @website.save + # create hom...
Create home page when creating a new website
diff --git a/app/models/concerns/planting_search.rb b/app/models/concerns/planting_search.rb index abc1234..def5678 100644 --- a/app/models/concerns/planting_search.rb +++ b/app/models/concerns/planting_search.rb @@ -2,38 +2,45 @@ extend ActiveSupport::Concern included do - searchkick + searchkick merge_ma...
Add ES mappings for plantings
diff --git a/app/models/concerns/redis_cacheable.rb b/app/models/concerns/redis_cacheable.rb index abc1234..def5678 100644 --- a/app/models/concerns/redis_cacheable.rb +++ b/app/models/concerns/redis_cacheable.rb @@ -7,7 +7,7 @@ class_methods do def cached_attr_reader(*attributes) attributes.each do |attr...
Use symbol instead of string in RedisCacheable attribute definitions
diff --git a/app/models/dojo.rb b/app/models/dojo.rb index abc1234..def5678 100644 --- a/app/models/dojo.rb +++ b/app/models/dojo.rb @@ -3,8 +3,8 @@ NUM_OF_WHOLE_DOJOS = "1,400" NUM_OF_JAPAN_DOJOS = Dojo.count.to_s - has_one :dojo_event_service - has_many :event_histories + has_one :dojo_event_service, depen...
Add 'dependent destroy' option to Dojo model: See the following discussion for details. https://github.com/coderdojo-japan/coderdojo.jp/pull/163#issuecomment-340276197
diff --git a/Casks/sqlectron.rb b/Casks/sqlectron.rb index abc1234..def5678 100644 --- a/Casks/sqlectron.rb +++ b/Casks/sqlectron.rb @@ -1,6 +1,6 @@ cask 'sqlectron' do - version '1.1.1' - sha256 '9f604513342e4ce3f4bfedeca58f9d9d7b86f36640a0f2e603ae741b7cd6e1bc' + version '1.2.0' + sha256 'ba8755941f4a8acf851bf795f...
Update Sqlectron to version 1.2.0
diff --git a/app/presenters/hyrax/displays_image.rb b/app/presenters/hyrax/displays_image.rb index abc1234..def5678 100644 --- a/app/presenters/hyrax/displays_image.rb +++ b/app/presenters/hyrax/displays_image.rb @@ -21,8 +21,8 @@ ) # @see https://github.com/samvera-labs/iiif_manifest IIIFManifest::...
Use the original file's width and height instead of assuming 640x480
diff --git a/app/models/user.rb b/app/models/user.rb index abc1234..def5678 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1,21 +1,21 @@ class User < ActiveRecord::Base - before_save :count_votes - - belongs_to :group - has_many :made_requests, class_name: 'Request', foreign_key: 'req...
Add a foreign_key option to the User model, specifying how to link itself with the votes.
diff --git a/config/application.rb b/config/application.rb index abc1234..def5678 100644 --- a/config/application.rb +++ b/config/application.rb @@ -25,6 +25,6 @@ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] # config.i18n.default_locale = :de - config.action_mailer.d...
Use https as default URL protocol
diff --git a/Fingertips.podspec b/Fingertips.podspec index abc1234..def5678 100644 --- a/Fingertips.podspec +++ b/Fingertips.podspec @@ -17,16 +17,6 @@ f.requires_arc = true - f.documentation = { - :appledoc => [ - '--project-company', 'Mapbox', - '--docset-copyright', 'Mapbox', - '--no-keep-un...
Delete the deprecated `documentation` attribute
diff --git a/core/test/fields/push_type/wysiwyg_field_test.rb b/core/test/fields/push_type/wysiwyg_field_test.rb index abc1234..def5678 100644 --- a/core/test/fields/push_type/wysiwyg_field_test.rb +++ b/core/test/fields/push_type/wysiwyg_field_test.rb @@ -13,7 +13,7 @@ it { field.form_helper.must_equal :text...
Fix typo in failing test.
diff --git a/jsrebuild.gemspec b/jsrebuild.gemspec index abc1234..def5678 100644 --- a/jsrebuild.gemspec +++ b/jsrebuild.gemspec @@ -26,6 +26,5 @@ gem.executables = ['jsrebuild'] gem.require_path = 'lib' - gem.files = Dir.glob("{bin,lib}/**/*") + - %w(History.txt LICENSE README.md)...
Use git-ls-files to list files in the gemspec.
diff --git a/LightRoute.podspec b/LightRoute.podspec index abc1234..def5678 100644 --- a/LightRoute.podspec +++ b/LightRoute.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "LightRoute" - s.version = "2.1.8" + s.version = "2.1.9" s.summary = "LightRoute is easy transition between ...
Update spec to version 2.1.9
diff --git a/lib/fog/compute/google/models/forwarding_rules.rb b/lib/fog/compute/google/models/forwarding_rules.rb index abc1234..def5678 100644 --- a/lib/fog/compute/google/models/forwarding_rules.rb +++ b/lib/fog/compute/google/models/forwarding_rules.rb @@ -32,7 +32,7 @@ response = nil if region...
Fix logic to work with nil in get() Fixes the following error: Google::Apis::ClientError: invalid: Invalid value for field 'filter': 'name eq '. Invalid list filter expression.
diff --git a/bosh_cli/spec/unit/yaml_helper_spec.rb b/bosh_cli/spec/unit/yaml_helper_spec.rb index abc1234..def5678 100644 --- a/bosh_cli/spec/unit/yaml_helper_spec.rb +++ b/bosh_cli/spec/unit/yaml_helper_spec.rb @@ -6,15 +6,11 @@ subject { Bosh::Cli::YamlHelper } describe "#check_duplicate_keys" do - context...
Make duplicate key check test more robust
diff --git a/holidays.gemspec b/holidays.gemspec index abc1234..def5678 100644 --- a/holidays.gemspec +++ b/holidays.gemspec @@ -17,8 +17,8 @@ gem.require_paths = ['lib'] gem.licenses = ['MIT'] gem.required_ruby_version = '~> 2.2' - gem.add_development_dependency 'bundler' - gem.add_development_dependenc...
Set pessimistic version for bundler dev dependency so we stop getting warnings from rubygems
diff --git a/RSBarcodes.podspec b/RSBarcodes.podspec index abc1234..def5678 100644 --- a/RSBarcodes.podspec +++ b/RSBarcodes.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RSBarcodes" - s.version = "0.0.6" + s.version = "0.0.7" s.summary = "1D and 2D barcodes scanner and generator...
Update pod spec to 0.0.7
diff --git a/example_oaipmh.rb b/example_oaipmh.rb index abc1234..def5678 100644 --- a/example_oaipmh.rb +++ b/example_oaipmh.rb @@ -4,14 +4,14 @@ $LOAD_PATH << File.dirname(__FILE__) require 'lib/stash/harvester' -list_records_config = Stash::Harvester::OAIPMH::OAIConfig.new( +oai_config = Stash::Harvester::OAIPMH:...
Rename variable to match class name
diff --git a/lib/jruby-visualizer/compiler_data.rb b/lib/jruby-visualizer/compiler_data.rb index abc1234..def5678 100644 --- a/lib/jruby-visualizer/compiler_data.rb +++ b/lib/jruby-visualizer/compiler_data.rb @@ -0,0 +1,46 @@+require 'jrubyfx' + +class CompilerData + include JRubyFX + + @@ir_builder = nil + + at...
Gather all compiler data into one object to enable traceability between Ruby <-> AST <-> IR (without GUI) This is the main model
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,9 @@ Rails.application.routes.draw do mount ActionCable.server => '/cable' - mount Resque::Server.new, :at => "/resque" + + authenticate :user do + mount Resque::Server.new, :a...
Add authenticate resque rack app with devise
diff --git a/config/boot.rb b/config/boot.rb index abc1234..def5678 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,4 +1,17 @@ require 'rubygems' +require 'rails/commands/server' + +# Set default binding to 0.0.0.0 to allow connections from everyone if +# under development +if Rails.env.development? + module Ra...
CONFIG: Set binding to 0.0.0.0 port 3000 on dev start To allow connections to all developmental devices, including mobile devices that want to connect.
diff --git a/config/solo.rb b/config/solo.rb index abc1234..def5678 100644 --- a/config/solo.rb +++ b/config/solo.rb @@ -1,6 +1,7 @@ require 'pathname' +require 'tmpdir' root_dir = Pathname.new(File.expand_path("../../", __FILE__)) cookbook_path root_dir.join("cookbooks").to_s -file_cache_path root_dir.join("cache"...
Use the system temp-dir for the file cache. Since I'm using Vagrant to build VMs for linux installers and VirtualBox SF don't support symlinks, I can't depend on the "cache" dir in the source.
diff --git a/test/dummy/config/routes.rb b/test/dummy/config/routes.rb index abc1234..def5678 100644 --- a/test/dummy/config/routes.rb +++ b/test/dummy/config/routes.rb @@ -1,11 +1,11 @@ Dummy::Application.routes.draw do root to: "dummy#dummy" - match "about" => "dummy#dummy", as: :about - match "ab...
Replace `match` routing methods with `get` in dummy app
diff --git a/test/sg_mailer/base_test.rb b/test/sg_mailer/base_test.rb index abc1234..def5678 100644 --- a/test/sg_mailer/base_test.rb +++ b/test/sg_mailer/base_test.rb @@ -5,7 +5,8 @@ class SendGridMailer < SGMailer::Base template_id 'e0d26988-d1d7-41ad-b1eb-4c4b37125893' def welcome_mail - ma...
Send those testing mails for real
diff --git a/lib/numbering.rb b/lib/numbering.rb index abc1234..def5678 100644 --- a/lib/numbering.rb +++ b/lib/numbering.rb @@ -13,11 +13,7 @@ def generate_number column = self.class.instance_variable_get(:'@numbering_parent_column') - sql = <<-SQL - SELECT MAX(number) - FROM #{self.class.table_n...
Use Rails methods for max number retrieval.
diff --git a/config/software/cabal-install.rb b/config/software/cabal-install.rb index abc1234..def5678 100644 --- a/config/software/cabal-install.rb +++ b/config/software/cabal-install.rb @@ -0,0 +1,30 @@+name "cabal-install" +default_version "1.20.0.1" + +dependency 'curl' + +cabal_install = ["/usr/bin/cabal install"...
Install a newer version of cabal into the environment This ensures that we don't have anything getting put into the system accidentally. I also ran into odd issues with older versions of cabal.
diff --git a/lib/console_io.rb b/lib/console_io.rb index abc1234..def5678 100644 --- a/lib/console_io.rb +++ b/lib/console_io.rb @@ -3,6 +3,14 @@ class ConsoleIO attr_reader :input attr_reader :output + + # ANSI control sequences, see http://www.termsys.demon.co.uk/vtansi.htm + ANSI_BEGINNING_OF_LINE = "\e[H" +...
Add some constants for the ANSI and unicode sequences
diff --git a/lib/daily_jobs.rb b/lib/daily_jobs.rb index abc1234..def5678 100644 --- a/lib/daily_jobs.rb +++ b/lib/daily_jobs.rb @@ -21,6 +21,7 @@ PrincipalOverride.destroy_all StudentComment.destroy_all RailmailDelivery.destroy_all if defined?RailmailDelivery + puts "Reset Demo" end end
Add message to showup in cron email when clearing otu demo data
diff --git a/site-cookbooks/meta/recipes/osx_development.rb b/site-cookbooks/meta/recipes/osx_development.rb index abc1234..def5678 100644 --- a/site-cookbooks/meta/recipes/osx_development.rb +++ b/site-cookbooks/meta/recipes/osx_development.rb @@ -15,3 +15,4 @@ include_recipe "wel-osx-apps::tmux" include_recipe "wel-...
Add nmap to osx development This commit adds nmap to the osx development recipe.
diff --git a/spec/models/concerns/has_ref_spec.rb b/spec/models/concerns/has_ref_spec.rb index abc1234..def5678 100644 --- a/spec/models/concerns/has_ref_spec.rb +++ b/spec/models/concerns/has_ref_spec.rb @@ -4,13 +4,13 @@ describe HasRef do describe '#branch?' do - let(:pipeline) { create(:ci_pipeline) } + ...
Use build for testing HasRef
diff --git a/lib/rack/alive.rb b/lib/rack/alive.rb index abc1234..def5678 100644 --- a/lib/rack/alive.rb +++ b/lib/rack/alive.rb @@ -2,7 +2,6 @@ module Rack class Alive - # Your code goes here... def initialize(app, conditional_block = nil) @app, @path, @conditional_block = app, "/alive", conditio...
Remove placeholder comment. =S [ci skip]