source
stringclasses
1 value
repo
stringlengths
5
63
repo_url
stringlengths
24
82
path
stringlengths
5
167
language
stringclasses
1 value
license
stringclasses
5 values
stars
int64
10
51.4k
ref
stringclasses
23 values
size_bytes
int64
200
258k
text
stringlengths
137
258k
github
ossboard-org/ossboard
https://github.com/ossboard-org/ossboard
lib/ossboard/services/url_shortener.rb
Ruby
mit
99
master
440
module Services class UrlShortener include Import['core.http_request'] def call(url) return url if Hanami.env?(:development) shorten_url(url) end private def shorten_url(url) response = http_request.post(SHORTENER_SERVICE_URL, format: 'simple', url: url) response.is_a?(N...
github
ossboard-org/ossboard
https://github.com/ossboard-org/ossboard
lib/ossboard/services/task_twitter.rb
Ruby
mit
99
master
759
module Services class TaskTwitter include Import[:twitter, 'services.url_shortener'] def call(task) tweet text(task) end private def link_to_task(task_id) url_shortener.call("http://www.ossboard.org/tasks/#{task_id}") end def text(task) tag_and_link = "#ossboard #{lin...
github
ossboard-org/ossboard
https://github.com/ossboard-org/ossboard
lib/ossboard/mailers/task_approved.rb
Ruby
mit
99
master
278
class Mailers::TaskApproved include Hanami::Mailer from 'noreply@ossboard.org' to :recipient subject 'OSSBoard: your task was approved!' def link_to_task "http://www.ossboard.org/tasks/#{task.id}" end private def recipient user.email end end
github
ossboard-org/ossboard
https://github.com/ossboard-org/ossboard
lib/ossboard/mailers/new_task.rb
Ruby
mit
99
master
261
class Mailers::NewTask include Hanami::Mailer from 'info@ossboard.com' to :recipient subject 'OSSBoard: new task' def link_to_task "http://www.ossboard.org/admin/tasks/#{task.id}" end private def recipient user.email end end
github
ossboard-org/ossboard
https://github.com/ossboard-org/ossboard
lib/ossboard/interactors/users/update.rb
Ruby
mit
99
master
698
require 'hanami/interactor' module Interactors module Users class Update include Hanami::Interactor expose :user def initialize(params_valid, params) @params = params @params_valid = params_valid @user = repo.find(@params[:id]) end def call return ...
github
ossboard-org/ossboard
https://github.com/ossboard-org/ossboard
lib/ossboard/core/markdown_parser.rb
Ruby
mit
99
master
766
require 'kramdown' require 'rouge' require 'rinku' module Core class MarkdownParser CHECKBOX_REGEXP_CHECKED = %r(\K\[(x|X)\]\s?(.*)<) CHECKBOX_REGEXP_UNCHECKED = %r(\K\[ \]\s?(.*)<) def initialize(kramdown = ::Kramdown::Document) @kramdown = kramdown end def call(text) Rinku.auto_li...
github
ossboard-org/ossboard
https://github.com/ossboard-org/ossboard
lib/ossboard/core/http_request.rb
Ruby
mit
99
master
633
require "net/https" module Core class HttpRequest def get(url) uri = URI.parse(url) request = Net::HTTP::Get.new(uri.request_uri) yield request if block_given? http(uri).request(request) end def post(url, **params) uri = URI.parse(url) request = Net::HTTP::Post.new(u...
github
ossboard-org/ossboard
https://github.com/ossboard-org/ossboard
db/migrations/20161121185614_create_tasks.rb
Ruby
mit
99
master
339
Hanami::Model.migration do change do create_table :tasks do primary_key :id column :title, String column :body, String, text: true column :link, String column :approved, TrueClass, default: false column :created_at, DateTime column :updated_at, DateTime...
github
ossboard-org/ossboard
https://github.com/ossboard-org/ossboard
db/migrations/20170213002029_create_repos.rb
Ruby
mit
99
master
302
Hanami::Model.migration do change do create_table :repos do primary_key :id foreign_key :user_id, :users, on_delete: :cascade column :name, String column :url, String column :active, TrueClass, default: false end end end
github
ossboard-org/ossboard
https://github.com/ossboard-org/ossboard
db/migrations/20161123221759_create_mentors.rb
Ruby
mit
99
master
290
Hanami::Model.migration do change do create_table :mentors do primary_key :id column :name, String column :github, String column :contacts, String, text: true column :created_at, DateTime column :updated_at, DateTime end end end
github
ossboard-org/ossboard
https://github.com/ossboard-org/ossboard
db/migrations/20170202000525_create_accounts.rb
Ruby
mit
99
master
311
Hanami::Model.migration do change do create_table :accounts do primary_key :id foreign_key :user_id, :users, on_delete: :cascade column :uid, String column :token, String column :extended_privileges, TrueClass, default: false end end end
github
ossboard-org/ossboard
https://github.com/ossboard-org/ossboard
db/migrations/20161203195303_create_user.rb
Ruby
mit
99
master
438
Hanami::Model.migration do change do create_table :users do primary_key :id column :name, String column :uuid, String column :login, String column :email, String column :avatar_url, String column :bio, String, text: true column :admin, ...
github
ossboard-org/ossboard
https://github.com/ossboard-org/ossboard
db/migrations/20170214010900_create_points.rb
Ruby
mit
99
master
256
Hanami::Model.migration do change do create_table :points do primary_key :id foreign_key :user_id, :users, on_delete: :cascade column :maintainer, Integer, default: 0 column :developer, Integer, default: 0 end end end
github
tslocke/rubydoctest
https://github.com/tslocke/rubydoctest
rubydoctest.gemspec
Ruby
mit
99
master
2,117
Gem::Specification.new do |s| s.name = "rubydoctest" s.version = "1.1.5" s.specification_version = 2 if s.respond_to? :specification_version= s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Duane Johnson", "Tom Locke", "Dr Nic Williams"] ...
github
tslocke/rubydoctest
https://github.com/tslocke/rubydoctest
config/requirements.rb
Ruby
mit
99
master
340
require 'fileutils' include FileUtils require 'rubygems' %w[rake hoe newgem rubigen].each do |req_gem| begin require req_gem rescue LoadError puts "This Rakefile requires the '#{req_gem}' RubyGem." puts "Installation: gem install #{req_gem} -y" exit end end $:.unshift(File.join(File.dirname(__FI...
github
tslocke/rubydoctest
https://github.com/tslocke/rubydoctest
config/hoe.rb
Ruby
mit
99
master
2,518
require 'rubydoctest/version' AUTHOR = ['Duane Johnson', 'Tom Locke', 'Dr Nic Williams'] # can also be an array of Authors EMAIL = "duane.johnson@gmail.com" DESCRIPTION = "Ruby version of Python's doctest tool, but a bit different." GEM_NAME = 'rubydoctest' # what ppl will type to install your gem RUBYFORGE_PROJECT =...
github
tslocke/rubydoctest
https://github.com/tslocke/rubydoctest
lib/rubydoctest.rb
Ruby
mit
99
master
641
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) require 'irb' require "runner" module RubyDocTest class << self attr_accessor :trace, :ignore_interactive, :tests, :verbose attr_writer :output_format def outp...
github
tslocke/rubydoctest
https://github.com/tslocke/rubydoctest
lib/special_directive.rb
Ruby
mit
99
master
1,784
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) require 'lines' module RubyDocTest class SpecialDirective < Lines NAMES = ["doctest:", "it:", "!!!", "doctest_require:"] NAMES_FOR_RX = NAMES.map{ |n| Regexp.escape(n) }.j...
github
tslocke/rubydoctest
https://github.com/tslocke/rubydoctest
lib/test.rb
Ruby
mit
99
master
650
module RubyDocTest # This is the top-level 'test' container that holds an optional description and one # or more CodeBlock objects. class Test attr_accessor :description attr_reader :code_blocks, :passed def initialize(description, code_blocks) @description, @code_blocks = description, code...
github
tslocke/rubydoctest
https://github.com/tslocke/rubydoctest
lib/result.rb
Ruby
mit
99
master
1,708
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) require 'lines' module RubyDocTest class Result < Lines def normalize_result(s) s.gsub(/:0x[a-f0-9]{8}>/, ':0xXXXXXXXX>').strip end def expected_result...
github
tslocke/rubydoctest
https://github.com/tslocke/rubydoctest
lib/statement.rb
Ruby
mit
99
master
2,504
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) require 'rubydoctest' require 'lines' module RubyDocTest class EvaluationError < Exception attr_reader :statement, :original_exception def initialize(statement, original_e...
github
tslocke/rubydoctest
https://github.com/tslocke/rubydoctest
lib/lines.rb
Ruby
mit
99
master
4,342
module RubyDocTest # === Description # Keeps track of which lines within a document belong to a group. Line groups are # determined by their indentation level, as in the Python programming language. # # === Example # This line and the next one # are part of the same group # # But this line is se...
github
tslocke/rubydoctest
https://github.com/tslocke/rubydoctest
lib/code_block.rb
Ruby
mit
99
master
1,840
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) require 'statement' require 'result' module RubyDocTest # A +CodeBlock+ is a group of one or more ruby statements, followed by an optional result. # For example: # >> a = 1 +...
github
tslocke/rubydoctest
https://github.com/tslocke/rubydoctest
lib/runner.rb
Ruby
mit
99
master
13,532
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) require 'rubydoctest' require 'statement' require 'result' require 'special_directive' require 'code_block' require 'test' module RubyDocTest class Runner attr_reader :groups,...
github
tslocke/rubydoctest
https://github.com/tslocke/rubydoctest
tasks/doctests.rake
Ruby
mit
99
master
1,189
namespace :test do desc "Run doctests" task :doctest do system("ruby #{File.dirname(__FILE__)}/../bin/rubydoctest #{File.dirname(__FILE__)}/../lib/*.rb") && system("ruby #{File.dirname(__FILE__)}/../bin/rubydoctest #{File.dirname(__FILE__)}/../doc/*.doctest") exit($?.exitstatus) end namespace :...
github
speedshop/gvl_metrics_middleware
https://github.com/speedshop/gvl_metrics_middleware
Appraisals
Ruby
mit
99
main
1,232
# frozen_string_literal: true appraise "rails_edge" do git "https://github.com/rails/rails.git" do gem "rails" gem "railties" gem "activesupport" end end appraise "rails_80" do gem "rails", "~> 8.0.0" gem "railties", "~> 8.0.0" gem "activesupport", "~> 8.0.0" end appraise "rails_81" do gem "r...
github
speedshop/gvl_metrics_middleware
https://github.com/speedshop/gvl_metrics_middleware
gvl_metrics_middleware.gemspec
Ruby
mit
99
main
1,541
# frozen_string_literal: true require_relative "lib/gvl_metrics_middleware/version" Gem::Specification.new do |spec| spec.name = "gvl_metrics_middleware" spec.version = GvlMetricsMiddleware::VERSION spec.authors = ["Nate Berkopec", "Yuki Nishijima"] spec.email = ["nate.berkopec@speedshop.co", "yuki.nishijima@...
github
speedshop/gvl_metrics_middleware
https://github.com/speedshop/gvl_metrics_middleware
Rakefile
Ruby
mit
99
main
469
# frozen_string_literal: true require "bundler/gem_tasks" require "rake/testtask" Rake::TestTask.new("test") do |task| task.libs << "test" task.test_files = Dir["test/gvl_metrics_middleware/**/*_test.rb"] task.verbose = true task.warning = true end Rake::TestTask.new("test:isolated") do |task| task.libs <...
github
speedshop/gvl_metrics_middleware
https://github.com/speedshop/gvl_metrics_middleware
test/test_helper.rb
Ruby
mit
99
main
877
# frozen_string_literal: true $LOAD_PATH.unshift File.expand_path("../lib", __dir__) require "active_support" require "active_support/test_case" require "active_support/testing/autorun" require "minitest/pride" require "minitest/mock" require "rails/version" require "rails" require "rails/railtie" require "sidekiq" ...
github
speedshop/gvl_metrics_middleware
https://github.com/speedshop/gvl_metrics_middleware
test/test_in_isolation_helper.rb
Ruby
mit
99
main
2,976
# frozen_string_literal: true $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__) require "active_support" require "active_support/core_ext/kernel/reporting" require "active_support/deprecation" require "active_support/testing/autorun" require "rack/test" require "minitest/pride" require "rails/version" requ...
github
speedshop/gvl_metrics_middleware
https://github.com/speedshop/gvl_metrics_middleware
test/isolated/railtie_test.rb
Ruby
mit
99
main
4,257
# frozen_string_literal: true require "test_in_isolation_helper" require "minitest/mock" class RailtieTest < ActiveSupport::TestCase include ActiveSupport::Testing::Isolation include Rack::Test::Methods include Generation setup do build_app FileUtils.rm_rf "#{app_path}/config/environments" end t...
github
speedshop/gvl_metrics_middleware
https://github.com/speedshop/gvl_metrics_middleware
test/gvl_metrics_middleware/sidekiq_test.rb
Ruby
mit
99
main
3,460
# frozen_string_literal: true require "test_helper" require "sidekiq/testing" require "gvl_metrics_middleware/sidekiq" class SidekiqMiddlewareTest < ActiveSupport::TestCase class TestWorker include Sidekiq::Worker def perform(*args) sleep 0.001 end end setup do Sidekiq::Testing.inline! ...
github
speedshop/gvl_metrics_middleware
https://github.com/speedshop/gvl_metrics_middleware
test/gvl_metrics_middleware/rack_test.rb
Ruby
mit
99
main
2,861
# frozen_string_literal: true require "test_helper" require "gvl_metrics_middleware/rack" class RackMiddlewareTest < ActiveSupport::TestCase include Rack::Test::Methods setup do @captured_value = [] end teardown do @captured_value.clear end test "Custom hook gets called with GVL metrics" do ...
github
speedshop/gvl_metrics_middleware
https://github.com/speedshop/gvl_metrics_middleware
test/gvl_metrics_middleware/configuration_test.rb
Ruby
mit
99
main
2,257
# frozen_string_literal: true require "test_helper" class ConfigurationTest < ActiveSupport::TestCase setup do reset end test "#configure block allows for setting up a hook for Rack" do hook = ->(_total, _running, _io_wait, _gvl_wait) { # no-op... } GvlMetricsMiddleware.configure do |con...
github
speedshop/gvl_metrics_middleware
https://github.com/speedshop/gvl_metrics_middleware
lib/gvl_metrics_middleware.rb
Ruby
mit
99
main
1,476
# frozen_string_literal: true require_relative "gvl_metrics_middleware/version" require "gvl_metrics_middleware/rack" require "gvl_metrics_middleware/railtie" if defined?(::Rails) module GvlMetricsMiddleware def self.configure = yield(self) def self.rack(&block) if block_given? GvlMetricsMiddleware::Ra...
github
speedshop/gvl_metrics_middleware
https://github.com/speedshop/gvl_metrics_middleware
lib/gvl_metrics_middleware/rack.rb
Ruby
mit
99
main
898
# frozen_string_literal: true require "gvl_timing" module GvlMetricsMiddleware class Rack @@reporter = nil class << self def reporter = @@reporter def reporter=(reporter) @@reporter = reporter end end def initialize(app) @app = app end def call(env) ...
github
speedshop/gvl_metrics_middleware
https://github.com/speedshop/gvl_metrics_middleware
lib/gvl_metrics_middleware/sidekiq.rb
Ruby
mit
99
main
1,015
# frozen_string_literal: true require "gvl_timing" if ::Sidekiq::VERSION >= "6.5.0" require "sidekiq/middleware/modules" end module GvlMetricsMiddleware class Sidekiq @@reporter = nil class << self def reporter = @@reporter def reporter=(reporter) @@reporter = reporter end ...
github
speedshop/gvl_metrics_middleware
https://github.com/speedshop/gvl_metrics_middleware
lib/gvl_metrics_middleware/railtie.rb
Ruby
mit
99
main
1,552
# frozen_string_literal: true require "rails/railtie" module GvlMetricsMiddleware class Railtie < Rails::Railtie config.gvl_metrics_middleware = ActiveSupport::OrderedOptions.new config.gvl_metrics_middleware.enabled = !Rails.env.test? config.gvl_metrics_middleware.safe_guard = Rails.env.production? ...
github
camelmasa/animate-rails
https://github.com/camelmasa/animate-rails
animate-rails.gemspec
Ruby
mit
99
master
611
# Maintain your gem's version: $:.push File.expand_path('../lib', __FILE__) require 'animate-rails/version' # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = 'animate-rails' s.version = AnimateRails::VERSION s.authors = ['Masahiro Saito'] s.email = ['...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
Capfile
Ruby
apache-2.0
99
main
533
# Load DSL and set up stages require "capistrano/setup" # Include default deployment tasks require "capistrano/deploy" require "capistrano/scm/git" install_plugin Capistrano::SCM::Git require 'capistrano/rvm' require 'capistrano/bundler' require 'capistrano/rails/assets' require 'capistrano/rails/migrations' require ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
Rakefile
Ruby
apache-2.0
99
main
1,015
# Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require File.expand_path('../config/application', __FILE__) unless Rails.env.production? require 'solr_wrapper/rake_task' end task default: [:ci] Rails.appl...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
Gemfile
Ruby
apache-2.0
99
main
5,004
source 'https://rubygems.org' # Core rails gem 'bootsnap', require: false gem 'listen' gem 'net-smtp', require: false gem 'psych', '< 4' gem 'rails', '~>8.0' gem 'sprockets', '~>3.7.2' # gem 'sprockets-rails', require: 'sprockets/railtie' gem 'sqlite3' # Force newer version of mail for compatibility with rails 6.0.6.1...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/tempfile_factory.rb
Ruby
apache-2.0
99
main
1,720
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/day_hour_string.rb
Ruby
apache-2.0
99
main
1,085
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/string_additions.rb
Ruby
apache-2.0
99
main
1,017
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/hydra/multiple_policy_aware_access_controls_enforcement.rb
Ruby
apache-2.0
99
main
4,135
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/hydra/multiple_policy_aware_ability.rb
Ruby
apache-2.0
99
main
5,035
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/tasks/wipeout.rake
Ruby
apache-2.0
99
main
2,132
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/tasks/avalon_api.rake
Ruby
apache-2.0
99
main
2,111
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/tasks/avalon_tools.rake
Ruby
apache-2.0
99
main
3,268
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/tasks/aws.rake
Ruby
apache-2.0
99
main
1,214
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/tasks/zookeeper.rake
Ruby
apache-2.0
99
main
1,366
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/tasks/avalon.rake
Ruby
apache-2.0
99
main
17,240
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/tasks/avalon_migrations.rake
Ruby
apache-2.0
99
main
6,380
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/elastic_transcoder.rb
Ruby
apache-2.0
99
main
2,409
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/m3u8_reader.rb
Ruby
apache-2.0
99
main
3,175
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/role_controls.rb
Ruby
apache-2.0
99
main
2,768
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/solr_config_uploader.rb
Ruby
apache-2.0
99
main
2,501
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/variations_mapping_service.rb
Ruby
apache-2.0
99
main
2,620
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/elastic_transcoder_encode.rb
Ruby
apache-2.0
99
main
1,941
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/transcript_search.rb
Ruby
apache-2.0
99
main
3,783
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/build_utils.rb
Ruby
apache-2.0
99
main
3,997
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/stream_mapper.rb
Ruby
apache-2.0
99
main
1,851
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/bib_retriever.rb
Ruby
apache-2.0
99
main
2,492
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/file_resolver.rb
Ruby
apache-2.0
99
main
2,366
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/intercom.rb
Ruby
apache-2.0
99
main
3,159
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/authentication.rb
Ruby
apache-2.0
99
main
1,445
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/variations_playlist_importer.rb
Ruby
apache-2.0
99
main
7,405
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/configuration.rb
Ruby
apache-2.0
99
main
6,215
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/variations_timeline_importer.rb
Ruby
apache-2.0
99
main
7,988
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/sanitizer.rb
Ruby
apache-2.0
99
main
846
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/errors.rb
Ruby
apache-2.0
99
main
892
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/batch.rb
Ruby
apache-2.0
99
main
2,664
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/ffprobe.rb
Ruby
apache-2.0
99
main
3,498
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/docx_file.rb
Ruby
apache-2.0
99
main
1,106
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/dropbox.rb
Ruby
apache-2.0
99
main
2,961
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/controlled_vocabulary.rb
Ruby
apache-2.0
99
main
1,605
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/transcript_parser.rb
Ruby
apache-2.0
99
main
4,187
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/batch/file_manifest.rb
Ruby
apache-2.0
99
main
2,572
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/batch/ingest.rb
Ruby
apache-2.0
99
main
11,459
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/batch/package.rb
Ruby
apache-2.0
99
main
2,605
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/batch/entry.rb
Ruby
apache-2.0
99
main
13,556
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/batch/s3_manifest.rb
Ruby
apache-2.0
99
main
3,097
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/batch/manifest.rb
Ruby
apache-2.0
99
main
5,385
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/routing/can_constraint.rb
Ruby
apache-2.0
99
main
1,029
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/bib_retriever/zoom.rb
Ruby
apache-2.0
99
main
1,282
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/avalon/bib_retriever/sru.rb
Ruby
apache-2.0
99
main
1,756
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/capistrano/tasks/glob.rake
Ruby
apache-2.0
99
main
1,291
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
lib/capistrano/tasks/hls.rake
Ruby
apache-2.0
99
main
1,009
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
script/reindex.rb
Ruby
apache-2.0
99
main
19,636
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
script/avalon_version.rb
Ruby
apache-2.0
99
main
1,057
#!/usr/bin/env ruby # frozen_string_literal: true # Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
script/avalon_image_tags.rb
Ruby
apache-2.0
99
main
2,277
#!/usr/bin/env ruby # frozen_string_literal: true # Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
script/waveform_backfill.rb
Ruby
apache-2.0
99
main
2,455
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
app/services/solr_collection_admin.rb
Ruby
apache-2.0
99
main
1,636
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
app/services/master_file_builder.rb
Ruby
apache-2.0
99
main
3,591
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
app/services/solr_collection_creator.rb
Ruby
apache-2.0
99
main
2,529
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
app/services/waveform_service.rb
Ruby
apache-2.0
99
main
3,659
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
app/services/file_locator.rb
Ruby
apache-2.0
99
main
5,439
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
app/services/file_mover.rb
Ruby
apache-2.0
99
main
2,069
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
github
avalonmediasystem/avalon
https://github.com/avalonmediasystem/avalon
app/services/security_service.rb
Ruby
apache-2.0
99
main
2,808
# Copyright 2011-2025, The Trustees of Indiana University and Northwestern # University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...