diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/config/initializers/redis.rb b/config/initializers/redis.rb index abc1234..def5678 100644 --- a/config/initializers/redis.rb +++ b/config/initializers/redis.rb @@ -1,6 +1,8 @@ if Rails.env.test? $redis = Redis.new else + return unless ENV['REDISTOGO_URL'] + uri = URI.parse(ENV['REDISTOGO_URL']) ...
Add check for env variable. Because: The deploy to Heroku button is launching builds that break due to a missing env variable. This: Adds a guard clause to short circuit before redis attempts to use the env variable.
diff --git a/errbit_github_plugin.gemspec b/errbit_github_plugin.gemspec index abc1234..def5678 100644 --- a/errbit_github_plugin.gemspec +++ b/errbit_github_plugin.gemspec @@ -11,7 +11,7 @@ spec.description = %q{GitHub integration for Errbit} spec.summary = %q{GitHub integration for Errbit} - spec.home...
Fix homepage to reflect the new github repo.
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 'root', 'rails' +user 'root', 'root' ...
Test with another user for unicorn deployment
diff --git a/app/controllers/manager/administrateurs_controller.rb b/app/controllers/manager/administrateurs_controller.rb index abc1234..def5678 100644 --- a/app/controllers/manager/administrateurs_controller.rb +++ b/app/controllers/manager/administrateurs_controller.rb @@ -15,6 +15,7 @@ def update Admin...
Add flash when resending invitation
diff --git a/spec/views/assets/_transit_facility_fta.html.haml_spec.rb b/spec/views/assets/_transit_facility_fta.html.haml_spec.rb index abc1234..def5678 100644 --- a/spec/views/assets/_transit_facility_fta.html.haml_spec.rb +++ b/spec/views/assets/_transit_facility_fta.html.haml_spec.rb @@ -3,8 +3,8 @@ describe "asset...
Update transit_facility_fta tests based on f2460cc, e4fadaf, and 6729a66
diff --git a/examples/radial_example.rb b/examples/radial_example.rb index abc1234..def5678 100644 --- a/examples/radial_example.rb +++ b/examples/radial_example.rb @@ -0,0 +1,71 @@+require './lib/lodo' + +ROW_COUNT = 9 +COL_COUNT = 9 +COLOR_COUNT = 18 + +board = Lodo::Board.new + +offset = 0.0 +spread = 1.3 +border_br...
Add radial example of circles
diff --git a/config/deploy/production.rb b/config/deploy/production.rb index abc1234..def5678 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -4,7 +4,7 @@ # uncomment in case of travis, capistrano will have its own set :ssh_options, keys: ["config/deploy_id_rsa"] if File.exist?("config/de...
Update token for merchant 1
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/Bulldog.podspec b/Bulldog.podspec index abc1234..def5678 100644 --- a/Bulldog.podspec +++ b/Bulldog.podspec @@ -8,6 +8,7 @@ s.authors = { 'Suraj Pathak' => 'freesuraj@gmail.com' } s.source = { :git => 'https://github.com/freesuraj/Bulldog.git', :tag => s.version } s.ios.deployment_target = '9.0' - ...
Set swift version no to 5.0
diff --git a/lib/briefcase.rb b/lib/briefcase.rb index abc1234..def5678 100644 --- a/lib/briefcase.rb +++ b/lib/briefcase.rb @@ -1,5 +1,4 @@ require 'yaml' - require 'active_support/core_ext/hash/deep_merge' require File.expand_path('briefcase/commands', File.dirname(__FILE__)) @@ -7,28 +6,34 @@ module Briefcase ...
Replace the use of constants with class methods so they can inherit an overridden home path
diff --git a/lib/mumblr.rb b/lib/mumblr.rb index abc1234..def5678 100644 --- a/lib/mumblr.rb +++ b/lib/mumblr.rb @@ -3,28 +3,20 @@ require "pry" require "open-uri" require "progressbar" +require "data_mapper" module Mumblr - def load_database(connection_string) - model_glob = File.join(File.dirname(__FILE__), ...
Put datamapper in the master class for the module
diff --git a/lib/stairs/railtie.rb b/lib/stairs/railtie.rb index abc1234..def5678 100644 --- a/lib/stairs/railtie.rb +++ b/lib/stairs/railtie.rb @@ -1,5 +1,7 @@ module Stairs class Railtie < Rails::Railtie - load "stairs/tasks.rb" + rake_tasks do + load "stairs/tasks.rb" + end end end
Use proper config option in Railtie
diff --git a/lib/uri/query_hash.rb b/lib/uri/query_hash.rb index abc1234..def5678 100644 --- a/lib/uri/query_hash.rb +++ b/lib/uri/query_hash.rb @@ -2,19 +2,6 @@ ## # Extends a hash with query string reordering/deleting capabilities module QueryHash - def ordered_query_string(*args) - unmentioned_keys =...
Remove redundant methods from QueryHash
diff --git a/lib/routes.rb b/lib/routes.rb index abc1234..def5678 100644 --- a/lib/routes.rb +++ b/lib/routes.rb @@ -7,10 +7,10 @@ use Pliny::Middleware::Timeout, timeout: Config.timeout.to_i if Config.timeout.to_i > 0 use Pliny::Middleware::Versioning, default: Config.versioning_default, - app_name: C...
Switch to question mark versions of config /cc @tmaier
diff --git a/lib/slatan.rb b/lib/slatan.rb index abc1234..def5678 100644 --- a/lib/slatan.rb +++ b/lib/slatan.rb @@ -5,18 +5,38 @@ require "slatan/buttocks" module Slatan + class << self + ## running slatan + # @param options + # daemonize: running on daemon mode(default false) + def run(options...
Add daemonize mode to Slatan
diff --git a/app/models/lesson.rb b/app/models/lesson.rb index abc1234..def5678 100644 --- a/app/models/lesson.rb +++ b/app/models/lesson.rb @@ -1,8 +1,8 @@ class Lesson < ActiveRecord::Base attr_accessible :background, :title - validates :title, :presence => { :message => "for course can't be blank" } - v...
Update Validation Message for Lesson Fix typo (stated 'Course') in the validation message for the Lesson validation.
diff --git a/emailer.rb b/emailer.rb index abc1234..def5678 100644 --- a/emailer.rb +++ b/emailer.rb @@ -1,18 +1,21 @@ class Emailer def initialize - @client = SendGrid::Client.new(api_key: ENV["SENDGRID_API_KEY"]) + @sendgrid = SendGrid::API.new(api_key: ENV["SENDGRID_API_KEY"]) end def voicemail_noti...
Update sendgrid code for new gem
diff --git a/features/step_definitions/event_registration_steps.rb b/features/step_definitions/event_registration_steps.rb index abc1234..def5678 100644 --- a/features/step_definitions/event_registration_steps.rb +++ b/features/step_definitions/event_registration_steps.rb @@ -16,6 +16,14 @@ Given /^my email address i...
Add steps for personal phone and address 0:10
diff --git a/norada-solve360.gemspec b/norada-solve360.gemspec index abc1234..def5678 100644 --- a/norada-solve360.gemspec +++ b/norada-solve360.gemspec @@ -15,6 +15,6 @@ gem.version = NoradaSolve360::VERSION gem.add_dependency("json") gem.add_dependency("rest-client") - gem.add_development_dependency "b...
Update bundler requirement from ~> 1.7 to ~> 2.0 Updates the requirements on [bundler](https://github.com/bundler/bundler) to permit the latest version. - [Release notes](https://github.com/bundler/bundler/releases) - [Changelog](https://github.com/bundler/bundler/blob/master/CHANGELOG.md) - [Commits](https://github.c...
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,3 +1,5 @@+Topic.destroy_all +TwitterHandle.destroy_all require_relative "news_seeds.rb" #Tana require_relative "companies_seeds.rb" #Tana require_relative "celebs_seeds.rb" #Monica
Destroy existing seeded data before re-seeding This prevents doubling up on topics and handles.
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,6 +1,10 @@ CardTemplate.delete_all Card.delete_all AdminUser.delete_all + +if Rails.env.development? + AdminUser.create(username: "dev", password: "dev") +end template_list = [ {
Add default admin for development environment
diff --git a/app/models/concerns/cube_data_model/vocabularies.rb b/app/models/concerns/cube_data_model/vocabularies.rb index abc1234..def5678 100644 --- a/app/models/concerns/cube_data_model/vocabularies.rb +++ b/app/models/concerns/cube_data_model/vocabularies.rb @@ -6,5 +6,6 @@ QB = RDF::Vocabulary.new('http://pu...
Add vocabulary for DbPedia resources
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -16,7 +16,8 @@ repository = Factory.create(:repository, { user: user, - owner: user + owner: user, + name: "repo1" }) sleep(10) # Wait for repository to be created
Add repo name to seed repository generator
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -8,5 +8,7 @@ puts 'SETTING UP DEFAULT USER LOGIN' user = User.create! :name => 'First User', :email => 'user@example.com', :password => 'please', :password_confirmation => 'please' puts 'New user created: ' << ...
Add couple of pages to seed data.
diff --git a/lib/bme/runner.rb b/lib/bme/runner.rb index abc1234..def5678 100644 --- a/lib/bme/runner.rb +++ b/lib/bme/runner.rb @@ -8,8 +8,13 @@ threads.times do |thread_index| groups.each_with_index do |g, group_index| thread_group << Thread.new do - repetitions.times do |...
Exit immediately if an exception bubbles out to Thread run - Don't want test to be corrupted by missing runs from dead threads
diff --git a/Casks/clion-bundled-jdk.rb b/Casks/clion-bundled-jdk.rb index abc1234..def5678 100644 --- a/Casks/clion-bundled-jdk.rb +++ b/Casks/clion-bundled-jdk.rb @@ -0,0 +1,21 @@+cask :v1 => 'clion-bundled-jdk' do + version '1.0' + sha256 '3e18c548084122e33bf2545b62425b6ae2b3fc74945133b7edd03fac34f7f2f2' + + url ...
Add CLion 1.0 with bundled JDK 1.8
diff --git a/core/lib/spree/core/permalinks.rb b/core/lib/spree/core/permalinks.rb index abc1234..def5678 100644 --- a/core/lib/spree/core/permalinks.rb +++ b/core/lib/spree/core/permalinks.rb @@ -9,7 +9,7 @@ class_attribute :permalink_options end - module ClassMethods + class_methods do ...
Use ActiveSupport::Concern syntax in Permalinks
diff --git a/core/lib/generators/templates/db/migrate/20100223170312_sti_for_transactions.rb b/core/lib/generators/templates/db/migrate/20100223170312_sti_for_transactions.rb index abc1234..def5678 100644 --- a/core/lib/generators/templates/db/migrate/20100223170312_sti_for_transactions.rb +++ b/core/lib/generators/tem...
Fix for legacy migration due to removal of Transaction class.
diff --git a/lib/alephant/views/base.rb b/lib/alephant/views/base.rb index abc1234..def5678 100644 --- a/lib/alephant/views/base.rb +++ b/lib/alephant/views/base.rb @@ -1,16 +1,16 @@ require 'mustache' require 'alephant/views' require 'hashie' - +require 'json' require 'i18n' module Alephant::Views class Base ...
Return a lambda in the translation instead of a standard value. Also adds template name as prefix key for translation
diff --git a/ls_stash.gemspec b/ls_stash.gemspec index abc1234..def5678 100644 --- a/ls_stash.gemspec +++ b/ls_stash.gemspec @@ -8,15 +8,16 @@ s.authors = ['Chris Fordham'] s.email = 'chris@fordham-nagy.id.au' s.homepage = 'https://github.com/flaccid/ls_stash' - + s.licenses = ['Apache-2.0'] ...
Add licenses, included all libs, better define thor dep in gemspec.
diff --git a/lib/bond/readlines/ruby.rb b/lib/bond/readlines/ruby.rb index abc1234..def5678 100644 --- a/lib/bond/readlines/ruby.rb +++ b/lib/bond/readlines/ruby.rb @@ -1,7 +1,7 @@ # A pure ruby readline which requires {rb-readline}[https://github.com/luislavena/rb-readline]. class Bond::Ruby < Bond::Readline def s...
Fix require readline bug. When using gem rb-readline, require 'readline' not 'rb-readline'
diff --git a/lib/vagrant-ca-certificates/config/ca_certificates.rb b/lib/vagrant-ca-certificates/config/ca_certificates.rb index abc1234..def5678 100644 --- a/lib/vagrant-ca-certificates/config/ca_certificates.rb +++ b/lib/vagrant-ca-certificates/config/ca_certificates.rb @@ -21,12 +21,13 @@ @certs = [] if @c...
Comment out a block of code in the config code due to URL name error.
diff --git a/FanBeat.podspec b/FanBeat.podspec index abc1234..def5678 100644 --- a/FanBeat.podspec +++ b/FanBeat.podspec @@ -15,7 +15,7 @@ s.ios.deployment_target = '8.0' - s.source_files = 'FanBeat/{Resources,Classes}/**/*' + s.source_files = 'FanBeat/Classes/**/*' s.frameworks = 'UIKit', 'StoreKit' s....
Revert "trying to fix build error" This reverts commit e947a61f344cf01a6c073513d582e1f9ed7325f8.
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,4 +1,4 @@-Post.create(title: "Lorem ipsum", "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit...") +Post.create(title: "Lorem ipsum", body: "Neque porro quisquam est ...
Fix typo in seed file
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,3 +1,4 @@ User.create!([ - {email: "admin@example.com", password: "changeme", reset_password_token: nil, reset_password_sent_at: nil, remember_created_at: nil, sign_in_count: 1, current_sign_in_at: "2014-03-1...
Update seed.rb to include username and user
diff --git a/lib/cookieless_sessions.rb b/lib/cookieless_sessions.rb index abc1234..def5678 100644 --- a/lib/cookieless_sessions.rb +++ b/lib/cookieless_sessions.rb @@ -20,14 +20,8 @@ Rails.application.config.session_options[:key] end - if Rails::VERSION::MAJOR < 4 - def session_id - request...
Remove support for rails < 4
diff --git a/app/controllers/concerns/gobierto_people/dates_range_helper.rb b/app/controllers/concerns/gobierto_people/dates_range_helper.rb index abc1234..def5678 100644 --- a/app/controllers/concerns/gobierto_people/dates_range_helper.rb +++ b/app/controllers/concerns/gobierto_people/dates_range_helper.rb @@ -0,0 +1,...
Add concern to filter by date ranges in gobierto_people controllers
diff --git a/lib/draper/test/rspec_integration.rb b/lib/draper/test/rspec_integration.rb index abc1234..def5678 100644 --- a/lib/draper/test/rspec_integration.rb +++ b/lib/draper/test/rspec_integration.rb @@ -12,11 +12,19 @@ } end +module Draper + module RSpec + class Railtie < Rails::Railtie + config.aft...
Fix race condition in Capybara integration. Fixes #365.
diff --git a/lib/dragonfly-imaginary.rb b/lib/dragonfly-imaginary.rb index abc1234..def5678 100644 --- a/lib/dragonfly-imaginary.rb +++ b/lib/dragonfly-imaginary.rb @@ -9,6 +9,7 @@ include Dragonfly::Configurable configurable_attr :server_url + configurable_attr :cdn_url configurable_attr :bu...
Support cdn_base_url. Need to improve naming. :-)
diff --git a/lib/git_pissed.rb b/lib/git_pissed.rb index abc1234..def5678 100644 --- a/lib/git_pissed.rb +++ b/lib/git_pissed.rb @@ -7,7 +7,7 @@ require 'git_pissed/cli' module GitPissed - MAX_REVISIONS = 5 + MAX_REVISIONS = 30 DEFAULT_WORDS = %w( shit
Increase default max revisions to 30
diff --git a/lib/ldapter/adapters/net_ldap_ext.rb b/lib/ldapter/adapters/net_ldap_ext.rb index abc1234..def5678 100644 --- a/lib/ldapter/adapters/net_ldap_ext.rb +++ b/lib/ldapter/adapters/net_ldap_ext.rb @@ -1,11 +1,13 @@ require 'net/ldap' -# Monkey-patched in support for new superior. class Net::LDAP # :nodoc: + + ...
Fix scope issues in new rename method
diff --git a/HTMLKit.podspec b/HTMLKit.podspec index abc1234..def5678 100644 --- a/HTMLKit.podspec +++ b/HTMLKit.podspec @@ -14,9 +14,9 @@ s.source = { :git => "https://github.com/iabudiab/HTMLKit.git", :tag => s.version } - s.source_files = "HTMLKit", "HTMLKit/**/*.{h,m}" + s.source_files = "So...
Fix source code and header paths in podspec file Source code resides in "Sources" and "Sources/include" now after spm refactor
diff --git a/test/unit/tedrahcu_test.rb b/test/unit/tedrahcu_test.rb index abc1234..def5678 100644 --- a/test/unit/tedrahcu_test.rb +++ b/test/unit/tedrahcu_test.rb @@ -2,7 +2,7 @@ class TedrahcuTest < Minitest::Test def test_detects_charset - assert_equal nil, Tedrahcu.detect(nil) + assert_nil Tedrahcu.dete...
Use assert_nil to test for nil.
diff --git a/lib/netzke/basepack/search_window.rb b/lib/netzke/basepack/search_window.rb index abc1234..def5678 100644 --- a/lib/netzke/basepack/search_window.rb +++ b/lib/netzke/basepack/search_window.rb @@ -20,6 +20,7 @@ super.tap do |s| s[:items] = [:search_panel.component(:prevent_header => true)...
Disable persistence for search window in GridPanel
diff --git a/lib/rails/generators/alchemy/base.rb b/lib/rails/generators/alchemy/base.rb index abc1234..def5678 100644 --- a/lib/rails/generators/alchemy/base.rb +++ b/lib/rails/generators/alchemy/base.rb @@ -34,7 +34,7 @@ def load_alchemy_yaml(name) YAML.safe_load(ERB.new(File.read("#{Rails.root}/config...
Fix the error message for missing yml file.
diff --git a/db/migrate/20130801155107_rename_staff_action_pk.rb b/db/migrate/20130801155107_rename_staff_action_pk.rb index abc1234..def5678 100644 --- a/db/migrate/20130801155107_rename_staff_action_pk.rb +++ b/db/migrate/20130801155107_rename_staff_action_pk.rb @@ -0,0 +1,9 @@+class RenameStaffActionPk < ActiveRecor...
Rename the PK index to support table rename
diff --git a/spec/helpers/application_helper/buttons/db_new_spec.rb b/spec/helpers/application_helper/buttons/db_new_spec.rb index abc1234..def5678 100644 --- a/spec/helpers/application_helper/buttons/db_new_spec.rb +++ b/spec/helpers/application_helper/buttons/db_new_spec.rb @@ -0,0 +1,18 @@+describe ApplicationHelper...
Create spec examples for DbNew button class
diff --git a/spec/qiita/teams/services/services/chatwork_v1_spec.rb b/spec/qiita/teams/services/services/chatwork_v1_spec.rb index abc1234..def5678 100644 --- a/spec/qiita/teams/services/services/chatwork_v1_spec.rb +++ b/spec/qiita/teams/services/services/chatwork_v1_spec.rb @@ -1,5 +1,117 @@ describe Qiita::Team::Ser...
Add spec of ChatWork service
diff --git a/spec/rspec/rails/matchers/relation_match_array_spec.rb b/spec/rspec/rails/matchers/relation_match_array_spec.rb index abc1234..def5678 100644 --- a/spec/rspec/rails/matchers/relation_match_array_spec.rb +++ b/spec/rspec/rails/matchers/relation_match_array_spec.rb @@ -0,0 +1,19 @@+require "spec_helper" + +d...
Add spec coverage for ActiveSupport::Relation =~ matcher
diff --git a/spec/unit/mutant/loader/eval/class_methods/run_spec.rb b/spec/unit/mutant/loader/eval/class_methods/run_spec.rb index abc1234..def5678 100644 --- a/spec/unit/mutant/loader/eval/class_methods/run_spec.rb +++ b/spec/unit/mutant/loader/eval/class_methods/run_spec.rb @@ -6,9 +6,9 @@ subject { object.run(no...
Update path name to report the filename better on failure
diff --git a/app/controllers/news_items_controller.rb b/app/controllers/news_items_controller.rb index abc1234..def5678 100644 --- a/app/controllers/news_items_controller.rb +++ b/app/controllers/news_items_controller.rb @@ -1,9 +1,10 @@ class NewsItemsController < ApplicationController include NewsItemsHelper + ...
Load networks for browsing and searching news items
diff --git a/app/controllers/thumbnails_controller.rb b/app/controllers/thumbnails_controller.rb index abc1234..def5678 100644 --- a/app/controllers/thumbnails_controller.rb +++ b/app/controllers/thumbnails_controller.rb @@ -6,7 +6,7 @@ def create thumb = Thumbnail.create( url_prefix: params["url_prefix"...
Fix a bug when storing binary image to database
diff --git a/app/services/process_hashtags_service.rb b/app/services/process_hashtags_service.rb index abc1234..def5678 100644 --- a/app/services/process_hashtags_service.rb +++ b/app/services/process_hashtags_service.rb @@ -4,7 +4,7 @@ def call(status, tags = []) tags = status.text.scan(Tag::HASHTAG_RE).map(&:f...
Call uniq on the string version of mb_chars tags
diff --git a/lib/primer/base_service.rb b/lib/primer/base_service.rb index abc1234..def5678 100644 --- a/lib/primer/base_service.rb +++ b/lib/primer/base_service.rb @@ -1,13 +1,22 @@ module Primer class BaseService class << self - attr_reader :running_command - def set_running_command command + a...
Add methods to dry up service classes
diff --git a/lib/plyr/rails.rb b/lib/plyr/rails.rb index abc1234..def5678 100644 --- a/lib/plyr/rails.rb +++ b/lib/plyr/rails.rb @@ -6,17 +6,23 @@ initializer :append_dependent_assets_path, :group => :all do |app| app.config.assets.paths += %w( sprite ) - app.config.assets.precompi...
Add the Sprite to assets precompile
diff --git a/lib/syoboemon/connector.rb b/lib/syoboemon/connector.rb index abc1234..def5678 100644 --- a/lib/syoboemon/connector.rb +++ b/lib/syoboemon/connector.rb @@ -5,43 +5,45 @@ DB_PATH = "/db.php" JSON_PATH = "/json.php" - def rss2_get(query) - connection.get(rss2_path, query) - end + class << self +...
Use class_method in Syoboemon::Connector module (add 'class<<self')
diff --git a/NSRails.podspec b/NSRails.podspec index abc1234..def5678 100644 --- a/NSRails.podspec +++ b/NSRails.podspec @@ -0,0 +1,39 @@+# +# Be sure to run `pod spec lint NSRails.podspec' to ensure this is a +# valid spec. +# +# Remove all comments before submitting the spec. Optional attributes are commented. +# +# ...
Add spec file for cocopods.org
diff --git a/Pageboy.podspec b/Pageboy.podspec index abc1234..def5678 100644 --- a/Pageboy.podspec +++ b/Pageboy.podspec @@ -4,7 +4,7 @@ s.ios.deployment_target = '9.0' s.tvos.deployment_target = '10.0' - s.swift_version = '4.0' + s.swift_version = '4.2' s.requires_arc = true
Update swift version in podspec
diff --git a/app/controllers/planning_application/issues_controller.rb b/app/controllers/planning_application/issues_controller.rb index abc1234..def5678 100644 --- a/app/controllers/planning_application/issues_controller.rb +++ b/app/controllers/planning_application/issues_controller.rb @@ -4,7 +4,7 @@ def new ...
Add a default if a planning app has no location Fixes #508
diff --git a/activemodel/lib/active_model/validations/helper_methods.rb b/activemodel/lib/active_model/validations/helper_methods.rb index abc1234..def5678 100644 --- a/activemodel/lib/active_model/validations/helper_methods.rb +++ b/activemodel/lib/active_model/validations/helper_methods.rb @@ -1,6 +1,6 @@ module Acti...
Add nodoc to the Validations::Helpers [ci skip]
diff --git a/app/controllers/image_management/application_controller.rb b/app/controllers/image_management/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/image_management/application_controller.rb +++ b/app/controllers/image_management/application_controller.rb @@ -1,5 +1,5 @@ module Imag...
Extend application controller from host
diff --git a/db/post_migrate/20180105101928_schedule_build_stage_migration.rb b/db/post_migrate/20180105101928_schedule_build_stage_migration.rb index abc1234..def5678 100644 --- a/db/post_migrate/20180105101928_schedule_build_stage_migration.rb +++ b/db/post_migrate/20180105101928_schedule_build_stage_migration.rb @@ ...
Reduce batch size of stages we schedule for a migration
diff --git a/app/models/mdm/user.rb b/app/models/mdm/user.rb index abc1234..def5678 100644 --- a/app/models/mdm/user.rb +++ b/app/models/mdm/user.rb @@ -27,6 +27,10 @@ serialized_prefs_attr_accessor :time_zone, :session_key serialized_prefs_attr_accessor :last_login_address # specifically NOT last_login_ip to prev...
Revert "Drop another attr_accessible call" This reverts commit c5bcead4c75126e093ac7717886105b3bb256a1e.
diff --git a/lib/wiselinks/rendering.rb b/lib/wiselinks/rendering.rb index abc1234..def5678 100644 --- a/lib/wiselinks/rendering.rb +++ b/lib/wiselinks/rendering.rb @@ -14,7 +14,7 @@ self.headers['Cache-Control'] = 'no-cache, no-store, max-age=0, must-revalidate' self.headers['Pragma'] = 'no-cache' -...
Add more flexible render process.
diff --git a/lib/tasks/db.rake b/lib/tasks/db.rake index abc1234..def5678 100644 --- a/lib/tasks/db.rake +++ b/lib/tasks/db.rake @@ -1,6 +1,5 @@ namespace :db do namespace :clear do - desc 'Remove all votes.' task :votes => :environment do Vote.destroy_all @@ -20,6 +19,64 @@ task :issues => :env...
Add some tasks to dump / load issues and users, in preparation for changing DB.
diff --git a/spec/features/admin/authentication_spec.rb b/spec/features/admin/authentication_spec.rb index abc1234..def5678 100644 --- a/spec/features/admin/authentication_spec.rb +++ b/spec/features/admin/authentication_spec.rb @@ -10,15 +10,15 @@ scenario "logging into admin redirects home, then back to admin" do...
Fix first feature spec sometimes timing out
diff --git a/lib/capistrano/tasks/deploy_status.rake b/lib/capistrano/tasks/deploy_status.rake index abc1234..def5678 100644 --- a/lib/capistrano/tasks/deploy_status.rake +++ b/lib/capistrano/tasks/deploy_status.rake @@ -3,8 +3,11 @@ task :status do |t| require 'open-uri' system("git fetch -q") + protoco...
Make it possible to change protocol and port
diff --git a/lib/generators/raptor_editor_rails/install/install_generator.rb b/lib/generators/raptor_editor_rails/install/install_generator.rb index abc1234..def5678 100644 --- a/lib/generators/raptor_editor_rails/install/install_generator.rb +++ b/lib/generators/raptor_editor_rails/install/install_generator.rb @@ -1,4...
Include version numbers so intall generator will work
diff --git a/anyway_config.gemspec b/anyway_config.gemspec index abc1234..def5678 100644 --- a/anyway_config.gemspec +++ b/anyway_config.gemspec @@ -23,6 +23,6 @@ s.required_ruby_version = '>= 2.3' s.add_development_dependency "rspec", "~> 3.5" - s.add_development_dependency "rubocop", "~> 0.59.0" + s.add_deve...
Update rubocop to version 0.60.0
diff --git a/spec/rails_locale_detection/config_spec.rb b/spec/rails_locale_detection/config_spec.rb index abc1234..def5678 100644 --- a/spec/rails_locale_detection/config_spec.rb +++ b/spec/rails_locale_detection/config_spec.rb @@ -1,7 +1,12 @@ require 'spec_helper' describe RailsLocaleDetection do - + describe 'b...
Add spec for backwards compatibility
diff --git a/lib/puppet/provider/remote_file/ruby.rb b/lib/puppet/provider/remote_file/ruby.rb index abc1234..def5678 100644 --- a/lib/puppet/provider/remote_file/ruby.rb +++ b/lib/puppet/provider/remote_file/ruby.rb @@ -45,7 +45,7 @@ end c = Net::HTTP.new(p.host, p.port) c.use_ssl = p.scheme == "https" ?...
Use request_uri instead of path when downloading files to capture path + query string
diff --git a/lib/action_meta_tags/base.rb b/lib/action_meta_tags/base.rb index abc1234..def5678 100644 --- a/lib/action_meta_tags/base.rb +++ b/lib/action_meta_tags/base.rb @@ -17,9 +17,9 @@ tags << Tags::Meta.new(attrs, &block) end - %i(keywords description).each do |method_name| - define_...
Make code a bit better
diff --git a/lib/application_responder.rb b/lib/application_responder.rb index abc1234..def5678 100644 --- a/lib/application_responder.rb +++ b/lib/application_responder.rb @@ -4,5 +4,5 @@ # Redirects resources to the collection path (index action) instead # of the resource path (show action) for POST/PUT/DELETE...
Change location redirection to collection path
diff --git a/app/pdfs/login_pdf.rb b/app/pdfs/login_pdf.rb index abc1234..def5678 100644 --- a/app/pdfs/login_pdf.rb +++ b/app/pdfs/login_pdf.rb @@ -0,0 +1,27 @@+class LoginPdf + include Prawn::View + + def initialize(classroom) + @classroom = classroom + list_students + end + + def list_students + count =...
Add LoginPdf class to generate student login PDFs
diff --git a/mutations.gemspec b/mutations.gemspec index abc1234..def5678 100644 --- a/mutations.gemspec +++ b/mutations.gemspec @@ -15,6 +15,4 @@ s.add_dependency 'activesupport' s.add_development_dependency 'minitest', '~> 4' s.add_development_dependency 'rake' - - s.required_ruby_version = '>= 1.9.2' end
Remove required ruby version from gemspec
diff --git a/lib/dry/types/constraints.rb b/lib/dry/types/constraints.rb index abc1234..def5678 100644 --- a/lib/dry/types/constraints.rb +++ b/lib/dry/types/constraints.rb @@ -3,22 +3,14 @@ module Dry module Types - module Predicates - include Logic::Predicates - - predicate(:type?) do |type, value| ...
Remove custom predicates mod (dry-logic now has type? predicate)
diff --git a/lib/happy/context/helpers.rb b/lib/happy/context/helpers.rb index abc1234..def5678 100644 --- a/lib/happy/context/helpers.rb +++ b/lib/happy/context/helpers.rb @@ -15,7 +15,7 @@ end def render_template(name, variables = {}, &blk) - path = @controller ? @controller.config[:views] : './...
Fix ./views/ as a default view path.
diff --git a/lib/mgit/commands/foreach.rb b/lib/mgit/commands/foreach.rb index abc1234..def5678 100644 --- a/lib/mgit/commands/foreach.rb +++ b/lib/mgit/commands/foreach.rb @@ -5,7 +5,7 @@ Registry.chdir_each do |repo| pinfo "Executing command in repository #{repo.name}..." - if !system(command)...
Foreach: Fix broken continue confirmation question.
diff --git a/lib/testjour/commands/run.rb b/lib/testjour/commands/run.rb index abc1234..def5678 100644 --- a/lib/testjour/commands/run.rb +++ b/lib/testjour/commands/run.rb @@ -9,9 +9,6 @@ class Run < Command def execute - testjour_path = File.expand_path(File.dirname(__FILE__) + "/../../../bin/testjo...
Read results from the queue
diff --git a/lib/active_admin/gallery/active_record_extension.rb b/lib/active_admin/gallery/active_record_extension.rb index abc1234..def5678 100644 --- a/lib/active_admin/gallery/active_record_extension.rb +++ b/lib/active_admin/gallery/active_record_extension.rb @@ -3,9 +3,9 @@ def has_image(name) has_on...
Remove deprecated :conditions for ActiveRecord associations
diff --git a/cookbooks/universe_ubuntu/test/recipes/default_test.rb b/cookbooks/universe_ubuntu/test/recipes/default_test.rb index abc1234..def5678 100644 --- a/cookbooks/universe_ubuntu/test/recipes/default_test.rb +++ b/cookbooks/universe_ubuntu/test/recipes/default_test.rb @@ -28,3 +28,7 @@ it { should be_instal...
Add test on anaconda install file
diff --git a/rom-sql.gemspec b/rom-sql.gemspec index abc1234..def5678 100644 --- a/rom-sql.gemspec +++ b/rom-sql.gemspec @@ -17,7 +17,7 @@ spec.required_ruby_version = ">= 2.3.0" - spec.add_runtime_dependency 'sequel', '>= 4.43', '~> 5.0' + spec.add_runtime_dependency 'sequel', '>= 4.49' spec.add_runtime_dep...
Update Sequel dep, again, geez
diff --git a/lib/sequel/schema-sharding/connection_strategies/random.rb b/lib/sequel/schema-sharding/connection_strategies/random.rb index abc1234..def5678 100644 --- a/lib/sequel/schema-sharding/connection_strategies/random.rb +++ b/lib/sequel/schema-sharding/connection_strategies/random.rb @@ -1,10 +1,14 @@+# This st...
Simplify ruby code by using sample instead of rand
diff --git a/src/retryingfetcher/lib/retryingfetcher.rb b/src/retryingfetcher/lib/retryingfetcher.rb index abc1234..def5678 100644 --- a/src/retryingfetcher/lib/retryingfetcher.rb +++ b/src/retryingfetcher/lib/retryingfetcher.rb @@ -16,7 +16,7 @@ yield response.body if block_given? return response....
Fix a typo in a puts statement
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://apache.mirrors.tds.net' +default['thrift']['mirror'] = 'http://archiv...
Use Apache archive instead of mirror Mirror does not have thrift 0.9.0 anymore.
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index abc1234..def5678 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -16,8 +16,8 @@ if document.previous_sibling siblings.merge!( previous_page: { - "title" => "Pr...
Use symbols, not strings, for component object keys We should only use one style of keys for objects used in components, to avoid reduce confusion when using components. Consistency is good. After discussion with @edds we agreed to use symbols as this makes more sense in a ruby/rails environment. The first step was ...
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index abc1234..def5678 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -2,7 +2,7 @@ # render bidder group name from award def render_bidder_group award if award.is_ute? - str = 'UT...
Hide 'UTE' prefix in bidder group name if there's only one group in the UTE
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index abc1234..def5678 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -14,6 +14,7 @@ { site: current_site.name, reverse: true, + description: current_site.tagline, } ...
Set site.tagline to meta description for now TODO: Add site.description?
diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index abc1234..def5678 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -2,22 +2,24 @@ class ApplicationMailer class << self def set(option) - return unless option.eql?(:load_settings)...
Revert "rewrite if block guard to return guard" This reverts commit fb3fae5a1b0e9b4dee6cd896fc641c2d2a53e67b. Conflicts: app/mailers/application_mailer.rb
diff --git a/lib/generators/announcements/install/install_generator.rb b/lib/generators/announcements/install/install_generator.rb index abc1234..def5678 100644 --- a/lib/generators/announcements/install/install_generator.rb +++ b/lib/generators/announcements/install/install_generator.rb @@ -8,7 +8,7 @@ say "--- Cre...
Add the timing-fields to the generated migration Otherwise, these are not persisted.
diff --git a/test/spec/metrics_spec.rb b/test/spec/metrics_spec.rb index abc1234..def5678 100644 --- a/test/spec/metrics_spec.rb +++ b/test/spec/metrics_spec.rb @@ -1,25 +1,25 @@ require_relative 'spec_helper' describe "JVM Metrics" do - - before(:each) do - set_java_version(app.directory, jdk_version) - app....
Update metrics spec to run in parallel
diff --git a/lib/generators/ruby_rabbitmq_janus/create_request_generator.rb b/lib/generators/ruby_rabbitmq_janus/create_request_generator.rb index abc1234..def5678 100644 --- a/lib/generators/ruby_rabbitmq_janus/create_request_generator.rb +++ b/lib/generators/ruby_rabbitmq_janus/create_request_generator.rb @@ -5,9 +5,...
Complete generator with creation file
diff --git a/app/helpers/orgs_helper.rb b/app/helpers/orgs_helper.rb index abc1234..def5678 100644 --- a/app/helpers/orgs_helper.rb +++ b/app/helpers/orgs_helper.rb @@ -1,19 +1,17 @@ module OrgsHelper + # frozen_string_literal: true - DEFAULT_EMAIL = '%{organisation_email}'.freeze + DEFAULT_EMAIL = '%{organisation...
Fix how strings are wrapped in translation helper
diff --git a/hash_db.gemspec b/hash_db.gemspec index abc1234..def5678 100644 --- a/hash_db.gemspec +++ b/hash_db.gemspec @@ -8,8 +8,9 @@ gem.version = HashDB::VERSION gem.authors = ["Utkarsh Kukreti"] gem.email = ["utkarshkukreti@gmail.com"] - gem.description = %q{TODO: Write a gem descri...
Add gem description and summary.
diff --git a/spec/validators/variable_duplicates_validator_spec.rb b/spec/validators/variable_duplicates_validator_spec.rb index abc1234..def5678 100644 --- a/spec/validators/variable_duplicates_validator_spec.rb +++ b/spec/validators/variable_duplicates_validator_spec.rb @@ -0,0 +1,67 @@+require 'spec_helper' + +descr...
Add specs for VariableDuplicates validator
diff --git a/spec/lib/duffel_spec.rb b/spec/lib/duffel_spec.rb index abc1234..def5678 100644 --- a/spec/lib/duffel_spec.rb +++ b/spec/lib/duffel_spec.rb @@ -14,14 +14,14 @@ context 'with a fallback passed' do it 'should return the fallback' do expect( - subject.another_non_existing_...
Make tests compatible with older rubies.
diff --git a/runner.rb b/runner.rb index abc1234..def5678 100644 --- a/runner.rb +++ b/runner.rb @@ -36,7 +36,10 @@ <title>My Profile Page</title> </head> <body> - <p>This is my profile page.</p> + <p>This is my profile page. Username: Matt Baker</p> + <blockquote>Favorite Quote: + <br> + There is s...
Edit the Profile page to be more descriptive
diff --git a/lib/git_statistics/pipe.rb b/lib/git_statistics/pipe.rb index abc1234..def5678 100644 --- a/lib/git_statistics/pipe.rb +++ b/lib/git_statistics/pipe.rb @@ -2,10 +2,12 @@ class Pipe include Enumerable - attr_reader :command def initialize(command) - command.gsub!(/^\|/i, '') @co...
Remove side effect on Pipe initialization
diff --git a/lib/jobmon/rake_monitor.rb b/lib/jobmon/rake_monitor.rb index abc1234..def5678 100644 --- a/lib/jobmon/rake_monitor.rb +++ b/lib/jobmon/rake_monitor.rb @@ -13,7 +13,7 @@ args, estimate_time = resolve_args(args) task *args do |t| job_id = client.job_start(t, estimate_time) - blo...
Add task object to block params
diff --git a/app/controllers/optional_modules/blogs/blogs_controller.rb b/app/controllers/optional_modules/blogs/blogs_controller.rb index abc1234..def5678 100644 --- a/app/controllers/optional_modules/blogs/blogs_controller.rb +++ b/app/controllers/optional_modules/blogs/blogs_controller.rb @@ -13,7 +13,7 @@ # GET /...
Fix N+1 query with blogs objects