repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
geoffreylitt/simple_recommender
https://github.com/geoffreylitt/simple_recommender/blob/4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b/test/dummy/config/initializers/session_store.rb
test/dummy/config/initializers/session_store.rb
# Be sure to restart your server when you modify this file. Rails.application.config.session_store :cookie_store, key: '_dummy_session'
ruby
MIT
4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b
2026-01-04T17:51:59.199045Z
false
geoffreylitt/simple_recommender
https://github.com/geoffreylitt/simple_recommender/blob/4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b/test/dummy/config/initializers/wrap_parameters.rb
test/dummy/config/initializers/wrap_parameters.rb
# Be sure to restart your server when you modify this file. # This file contains settings for ActionController::ParamsWrapper which # is enabled by default. # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. ActiveSupport.on_load(:action_controller) do wrap_parameters f...
ruby
MIT
4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b
2026-01-04T17:51:59.199045Z
false
geoffreylitt/simple_recommender
https://github.com/geoffreylitt/simple_recommender/blob/4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b/test/dummy/config/initializers/inflections.rb
test/dummy/config/initializers/inflections.rb
# Be sure to restart your server when you modify this file. # Add new inflection rules using the following format. Inflections # are locale specific, and you may define rules for as many different # locales as you wish. All of these examples are active by default: # ActiveSupport::Inflector.inflections(:en) do |inflec...
ruby
MIT
4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b
2026-01-04T17:51:59.199045Z
false
geoffreylitt/simple_recommender
https://github.com/geoffreylitt/simple_recommender/blob/4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b/test/dummy/config/initializers/cookies_serializer.rb
test/dummy/config/initializers/cookies_serializer.rb
# Be sure to restart your server when you modify this file. Rails.application.config.action_dispatch.cookies_serializer = :json
ruby
MIT
4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b
2026-01-04T17:51:59.199045Z
false
geoffreylitt/simple_recommender
https://github.com/geoffreylitt/simple_recommender/blob/4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b/test/dummy/config/initializers/assets.rb
test/dummy/config/initializers/assets.rb
# Be sure to restart your server when you modify this file. # Version of your assets, change this if you want to expire all your assets. Rails.application.config.assets.version = '1.0' # Add additional assets to the asset load path # Rails.application.config.assets.paths << Emoji.images_path # Precompile additional ...
ruby
MIT
4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b
2026-01-04T17:51:59.199045Z
false
geoffreylitt/simple_recommender
https://github.com/geoffreylitt/simple_recommender/blob/4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b/test/dummy/config/initializers/backtrace_silencers.rb
test/dummy/config/initializers/backtrace_silencers.rb
# Be sure to restart your server when you modify this file. # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } # You can also remove all the silencers if you're trying to debug a probl...
ruby
MIT
4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b
2026-01-04T17:51:59.199045Z
false
geoffreylitt/simple_recommender
https://github.com/geoffreylitt/simple_recommender/blob/4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b/test/dummy/config/initializers/mime_types.rb
test/dummy/config/initializers/mime_types.rb
# Be sure to restart your server when you modify this file. # Add new mime types for use in respond_to blocks: # Mime::Type.register "text/richtext", :rtf
ruby
MIT
4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b
2026-01-04T17:51:59.199045Z
false
geoffreylitt/simple_recommender
https://github.com/geoffreylitt/simple_recommender/blob/4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b/test/dummy/config/environments/test.rb
test/dummy/config/environments/test.rb
Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # The test environment is used exclusively to run your application's # test suite. You never need to work with it otherwise. Remember that # your test database is "scratch space" for the test suit...
ruby
MIT
4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b
2026-01-04T17:51:59.199045Z
false
geoffreylitt/simple_recommender
https://github.com/geoffreylitt/simple_recommender/blob/4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b/test/dummy/config/environments/development.rb
test/dummy/config/environments/development.rb
Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for development # since you don't have to restart the web serv...
ruby
MIT
4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b
2026-01-04T17:51:59.199045Z
false
geoffreylitt/simple_recommender
https://github.com/geoffreylitt/simple_recommender/blob/4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b/test/dummy/config/environments/production.rb
test/dummy/config/environments/production.rb
Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # Code is not reloaded between requests. config.cache_classes = true # Eager load code on boot. This eager loads most of Rails and # your application in memory, allowing both threaded web serve...
ruby
MIT
4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b
2026-01-04T17:51:59.199045Z
false
geoffreylitt/simple_recommender
https://github.com/geoffreylitt/simple_recommender/blob/4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b/lib/simple_recommender.rb
lib/simple_recommender.rb
require 'simple_recommender/version' require 'simple_recommender/recommendable' module SimpleRecommender end
ruby
MIT
4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b
2026-01-04T17:51:59.199045Z
false
geoffreylitt/simple_recommender
https://github.com/geoffreylitt/simple_recommender/blob/4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b/lib/simple_recommender/version.rb
lib/simple_recommender/version.rb
module SimpleRecommender VERSION = "0.0.3" end
ruby
MIT
4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b
2026-01-04T17:51:59.199045Z
false
geoffreylitt/simple_recommender
https://github.com/geoffreylitt/simple_recommender/blob/4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b/lib/simple_recommender/recommendable.rb
lib/simple_recommender/recommendable.rb
module SimpleRecommender module Recommendable extend ActiveSupport::Concern DEFAULT_N_RESULTS = 10 SIMILARITY_KEY = "similarity" # todo: allow renaming to avoid conflicts AssociationMetadata = Struct.new(:join_table, :foreign_key, :association_foreign_key) module ClassMethods def similar_by...
ruby
MIT
4f65be3fdadce3566d2e1bcc5ca8b71c9d2f921b
2026-01-04T17:51:59.199045Z
false
samuelkadolph/unicorn-rails
https://github.com/samuelkadolph/unicorn-rails/blob/cb99f633c41de21277627207f72cc19d4e11f0d4/.gemspec.rb
.gemspec.rb
class Readme < String attr_reader :path def initialize(path) @path = path super(File.read(self.path)) end def summary if self =~ /^# (?:\S+)\s+(.+?)\s{2,}/m scrub $1 else raise "could not find summary in #{path}" end end def description if self =~ /^## Description\s+(....
ruby
MIT
cb99f633c41de21277627207f72cc19d4e11f0d4
2026-01-04T17:51:58.572480Z
false
samuelkadolph/unicorn-rails
https://github.com/samuelkadolph/unicorn-rails/blob/cb99f633c41de21277627207f72cc19d4e11f0d4/lib/unicorn_rails.rb
lib/unicorn_rails.rb
require "unicorn" require "unicorn/launcher" module UnicornRails require "unicorn_rails/version" end module Rack module Handler class Unicorn class << self def run(app, options = {}) unicorn_options = { :listeners => ["#{options[:Host]}:#{options[:Port]}"] } ...
ruby
MIT
cb99f633c41de21277627207f72cc19d4e11f0d4
2026-01-04T17:51:58.572480Z
false
samuelkadolph/unicorn-rails
https://github.com/samuelkadolph/unicorn-rails/blob/cb99f633c41de21277627207f72cc19d4e11f0d4/lib/unicorn-rails.rb
lib/unicorn-rails.rb
require "unicorn_rails"
ruby
MIT
cb99f633c41de21277627207f72cc19d4e11f0d4
2026-01-04T17:51:58.572480Z
false
samuelkadolph/unicorn-rails
https://github.com/samuelkadolph/unicorn-rails/blob/cb99f633c41de21277627207f72cc19d4e11f0d4/lib/unicorn_rails/version.rb
lib/unicorn_rails/version.rb
module UnicornRails VERSION = "2.2.1" end
ruby
MIT
cb99f633c41de21277627207f72cc19d4e11f0d4
2026-01-04T17:51:58.572480Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/spec/spec_helper.rb
spec/spec_helper.rb
if ENV['TRAVIS'] require 'simplecov' require 'coveralls' SimpleCov.formatter = Coveralls::SimpleCov::Formatter SimpleCov.start do add_filter "spec/" end end require 'tempfile' require 'miam' Aws.config.update( access_key_id: ENV['MIAM_TEST_ACCESS_KEY_ID'] || 'scott', secret_access_key: ENV['MIAM_TE...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/spec/miam/target_spec.rb
spec/miam/target_spec.rb
describe 'target option' do let(:dsl) do <<-RUBY user "bob", :path=>"/developer/" do login_profile :password_reset_required=>true groups( "Admin", "SES" ) policy "S3" do {"Statement"=> [{"Action"=> ["s3:Get*", ...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/spec/miam/update_spec.rb
spec/miam/update_spec.rb
describe 'update' do let(:dsl) do <<-RUBY user "bob", :path=>"/developer/" do login_profile :password_reset_required=>true groups( "Admin", "SES" ) policy "S3" do {"Statement"=> [{"Action"=> ["s3:Get*", ...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/spec/miam/attach_detach_policy_spec.rb
spec/miam/attach_detach_policy_spec.rb
describe 'attach/detach policy' do let(:dsl) do <<-RUBY user "bob", :path=>"/developer/" do login_profile :password_reset_required=>true groups( "Admin", "SES" ) policy "S3" do {"Statement"=> [{"Action"=> ["s3:Get*", ...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/spec/miam/delete_spec.rb
spec/miam/delete_spec.rb
describe 'delete' do let(:dsl) do <<-RUBY user "bob", :path=>"/developer/" do login_profile :password_reset_required=>true groups( "Admin", "SES" ) policy "S3" do {"Statement"=> [{"Action"=> ["s3:Get*", ...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/spec/miam/ignore_login_profile_spec.rb
spec/miam/ignore_login_profile_spec.rb
describe 'ignore login profile' do let(:dsl) do <<-RUBY user "bob", :path=>"/developer/" do login_profile :password_reset_required=>true policy "S3" do {"Statement"=> [{"Action"=> ["s3:Get*", "s3:List*"], "Effect"=>"Allow", ...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/spec/miam/create_spec.rb
spec/miam/create_spec.rb
describe 'create' do context 'when empty' do subject { client } it do updated = apply(subject) { '' } expect(updated).to be_falsey expect(export).to eq({:users=>{}, :groups=>{}, :roles=>{}, :instance_profiles=>{}, :policies => {}}) end end context 'when create user and group' do ...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/spec/miam/rename_spec.rb
spec/miam/rename_spec.rb
describe 'update' do let(:dsl) do <<-RUBY user "bob", :path=>"/developer/" do login_profile :password_reset_required=>true groups( "Admin", "SES" ) policy "S3" do {"Statement"=> [{"Action"=> ["s3:Get*", ...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/spec/miam/hash_ext_spec.rb
spec/miam/hash_ext_spec.rb
describe 'Hash#sort_array!' do let(:hash) do {:users=> {"bob"=> {:path=>"/developer/", :groups=>[], :policies=> {"S3"=> {"Statement"=> [{"Action"=>["s3:Put*", "s3:List*", "s3:Get*"], "Effect"=>"Allow", "Resource"=>...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/spec/miam/exclude_spec.rb
spec/miam/exclude_spec.rb
describe 'exclude option' do let(:dsl) do <<-RUBY user "bob", :path=>"/developer/" do login_profile :password_reset_required=>true groups( "Admin", "SES" ) policy "S3" do {"Statement"=> [{"Action"=> ["s3:Get*", ...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/spec/miam/custom_managed_policy_spec.rb
spec/miam/custom_managed_policy_spec.rb
describe 'custom managed policy' do let(:dsl) do <<-RUBY managed_policy "my-policy", :path=>"/" do {"Version"=>"2012-10-17", "Statement"=> [{"Effect"=>"Allow", "Action"=>"directconnect:Describe*", "Resource"=>"*"}]} end user "mary", :path=>"/staff/" do policy ...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam.rb
lib/miam.rb
require 'cgi' require 'json' require 'logger' require 'pp' require 'singleton' require 'thread' require 'aws-sdk-iam' Aws.use_bundled_cert! require 'ruby-progressbar' require 'parallel' require 'term/ansicolor' require 'diffy' require 'hashie' module Miam; end require 'miam/string_helper' require 'miam/ext/hash_ext'...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/version.rb
lib/miam/version.rb
module Miam VERSION = '0.2.5.beta1' end
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/password_manager.rb
lib/miam/password_manager.rb
class Miam::PasswordManager include Miam::Logger::Helper LOWERCASES = ('a'..'z').to_a UPPERCASES = ('A'..'Z').to_a NUMBERS = ('0'..'9').to_a SYMBOLS = "!@\#$%^&*()_+-=[]{}|'".split(//) def initialize(output, options = {}) @output = output @options = options end def identify(user, type, policy...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/string_helper.rb
lib/miam/string_helper.rb
module Miam module StringHelper @colorize = false class << self def colorize=(value) @colorize = value end def colorize @colorize end Term::ANSIColor::Attribute.named_attributes.map do |attribute| define_method(attribute.name) do |str| if colo...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/logger.rb
lib/miam/logger.rb
class Miam::Logger < ::Logger include Singleton def initialize super($stdout) self.formatter = proc do |severity, datetime, progname, msg| "#{msg}\n" end self.level = Logger::INFO end def set_debug(value) self.level = value ? Logger::DEBUG : Logger::INFO end module Helper ...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/exporter.rb
lib/miam/exporter.rb
# coding: utf-8 class Miam::Exporter AWS_MANAGED_POLICY_PREFIX = 'arn:aws:iam::aws:' AWS_CN_MANAGED_POLICY_PREFIX = 'arn:aws-cn:iam::aws:' def self.export(iam, options = {}) self.new(iam, options).export end def initialize(iam, options = {}) @iam = iam @options = options @mutex = Mutex.new ...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/driver.rb
lib/miam/driver.rb
class Miam::Driver include Miam::Logger::Helper MAX_POLICY_SIZE = 2048 MAX_POLICY_VERSIONS = 5 def initialize(iam, sts, options = {}) @iam = iam @sts = sts @options = options @account_id = nil end def create_user(user_name, attrs) log(:info, "Create User `#{user_name}`", :color => :cy...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/utils.rb
lib/miam/utils.rb
class Miam::Utils class << self def unbrace(str) str.sub(/\A\s*\{/, '').sub(/\}\s*\z/, '') end def camelize(str) str.slice(0, 1).upcase + str.slice(1..-1).downcase end def bytesize(str) if str.respond_to?(:bytesize) str.bytesize else str.length end ...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/dsl.rb
lib/miam/dsl.rb
class Miam::DSL def self.convert(exported, options = {}) Miam::DSL::Converter.convert(exported, options) end def self.parse(dsl, path, options = {}) Miam::DSL::Context.eval(dsl, path, options).result end end
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/template_helper.rb
lib/miam/template_helper.rb
module Miam module TemplateHelper def include_template(template_name, context = {}) @template_name = template_name @caller = caller[0] tmplt = @context.templates[template_name.to_s] unless tmplt raise "Template `#{template_name}` is not defined" end context_orig = @co...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/client.rb
lib/miam/client.rb
class Miam::Client include Miam::Logger::Helper def initialize(options = {}) @options = { format: :ruby, exclude: [] }.merge(options) aws_config = options.delete(:aws_config) || {} @iam = Aws::IAM::Client.new(aws_config) @sts = Aws::STS::Client.new(aws_config) @driver = Miam::Dr...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/dsl/converter.rb
lib/miam/dsl/converter.rb
class Miam::DSL::Converter def self.convert(exported, options = {}) self.new(exported, options).convert end def initialize(exported, options = {}) @exported = exported @options = options end def convert [ output_users(@exported[:users]), output_groups(@exported[:groups]), o...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/dsl/context.rb
lib/miam/dsl/context.rb
class Miam::DSL::Context include Miam::TemplateHelper def self.eval(dsl, path, options = {}) self.new(path, options) { eval(dsl, binding, path) } end attr_reader :result def initialize(path, options = {}, &block) @path = path @options = options @result = {:users => {}, :groups => ...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/dsl/context/group.rb
lib/miam/dsl/context/group.rb
class Miam::DSL::Context::Group include Miam::TemplateHelper def initialize(context, name, &block) @group_name = name @context = context.merge(:group_name => name) @result = {:policies => {}, :attached_managed_policies => []} instance_eval(&block) end attr_reader :result private def poli...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/dsl/context/role.rb
lib/miam/dsl/context/role.rb
class Miam::DSL::Context::Role include Miam::TemplateHelper def initialize(context, name, &block) @role_name = name @context = context.merge(:role_name => name) @result = {:instance_profiles => [], :max_session_duration => 3600, :policies => {}, :attached_managed_policies => []} instance_eval(&bloc...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/dsl/context/managed_policy.rb
lib/miam/dsl/context/managed_policy.rb
class Miam::DSL::Context::ManagedPolicy include Miam::TemplateHelper def initialize(context, name, &block) @policy_name = name @context = context.merge(:policy_name => name) @result = {:document => get_document(block)} end attr_reader :result private def get_document(block) document = in...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/dsl/context/user.rb
lib/miam/dsl/context/user.rb
class Miam::DSL::Context::User include Miam::TemplateHelper def initialize(context, name, &block) @user_name = name @context = context.merge(:user_name => name) @result = {:groups => [], :policies => {}, :attached_managed_policies => []} instance_eval(&block) end attr_reader :result private...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
cookpad/miam
https://github.com/cookpad/miam/blob/f1d53f49da60f3e1cb5539a25c889f01e162dfb9/lib/miam/ext/hash_ext.rb
lib/miam/ext/hash_ext.rb
class Hash def sort_array! keys.each do |key| value = self[key] self[key] = sort_array0(value) end self end private def sort_array0(value) case value when Hash new_value = {} value.keys.sort.each do |k| new_value[k] = sort_array0(value.fetch(k)) end ...
ruby
MIT
f1d53f49da60f3e1cb5539a25c889f01e162dfb9
2026-01-04T17:51:57.013926Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/spec/spec_helper.rb
ciri-common/spec/spec_helper.rb
require "bundler/setup" require "ciri/common" RSpec.configure do |config| # Enable flags like --only-failures and --next-failure config.example_status_persistence_file_path = ".rspec_status" # Disable RSpec exposing methods globally on `Module` and `main` config.disable_monkey_patching! config.expect_with ...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/spec/ciri/key_spec.rb
ciri-common/spec/ciri/key_spec.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/spec/ciri/common_spec.rb
ciri-common/spec/ciri/common_spec.rb
RSpec.describe Ciri::Common do it "has a version number" do expect(Ciri::Common::VERSION).not_to be nil end end
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/spec/ciri/types/hash_spec.rb
ciri-common/spec/ciri/types/hash_spec.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/lib/ciri/common.rb
ciri-common/lib/ciri/common.rb
require "ciri/common/version" module Ciri module Common # Your code goes here... end end
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/lib/ciri/core_ext.rb
ciri-common/lib/ciri/core_ext.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/lib/ciri/key.rb
ciri-common/lib/ciri/key.rb
# frozen_string_literal: true # Copyright (c) 2018, by Jiang Jinyang. <https://justjjy.com>, classicalliu. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including wi...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/lib/ciri/common/version.rb
ciri-common/lib/ciri/common/version.rb
module Ciri module Common VERSION = "0.1.0" end end
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/lib/ciri/types/int.rb
ciri-common/lib/ciri/types/int.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/lib/ciri/types/errors.rb
ciri-common/lib/ciri/types/errors.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/lib/ciri/types/account.rb
ciri-common/lib/ciri/types/account.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/lib/ciri/types/address.rb
ciri-common/lib/ciri/types/address.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/lib/ciri/types/log_entry.rb
ciri-common/lib/ciri/types/log_entry.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/lib/ciri/types/receipt.rb
ciri-common/lib/ciri/types/receipt.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/lib/ciri/types/uint.rb
ciri-common/lib/ciri/types/uint.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/lib/ciri/types/bytes.rb
ciri-common/lib/ciri/types/bytes.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-common/lib/ciri/types/hash.rb
ciri-common/lib/ciri/types/hash.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/spec/spec_helper.rb
ciri-p2p/spec/spec_helper.rb
require "bundler/setup" require "ciri/p2p" RSpec.configure do |config| # Enable flags like --only-failures and --next-failure config.example_status_persistence_file_path = ".rspec_status" # Disable RSpec exposing methods globally on `Module` and `main` config.disable_monkey_patching! config.expect_with :rs...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/spec/ciri/p2p_spec.rb
ciri-p2p/spec/ciri/p2p_spec.rb
RSpec.describe Ciri::P2P do it "has a version number" do expect(Ciri::P2P::VERSION).not_to be nil end end
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/spec/ciri/p2p/peer_spec.rb
ciri-p2p/spec/ciri/p2p/peer_spec.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/spec/ciri/p2p/peer_store_spec.rb
ciri-p2p/spec/ciri/p2p/peer_store_spec.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/spec/ciri/p2p/kad_spec.rb
ciri-p2p/spec/ciri/p2p/kad_spec.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/spec/ciri/p2p/address_spec.rb
ciri-p2p/spec/ciri/p2p/address_spec.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/spec/ciri/p2p/server_spec.rb
ciri-p2p/spec/ciri/p2p/server_spec.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/spec/ciri/p2p/network_state_spec.rb
ciri-p2p/spec/ciri/p2p/network_state_spec.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/spec/ciri/p2p/discovery/protocol_spec.rb
ciri-p2p/spec/ciri/p2p/discovery/protocol_spec.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/spec/ciri/p2p/discovery/service_spec.rb
ciri-p2p/spec/ciri/p2p/discovery/service_spec.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation ...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/spec/ciri/p2p/rplx/encryption_handshake_spec.rb
ciri-p2p/spec/ciri/p2p/rplx/encryption_handshake_spec.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/spec/ciri/p2p/rplx/connection_spec.rb
ciri-p2p/spec/ciri/p2p/rplx/connection_spec.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/spec/ciri/p2p/rplx/frame_io_spec.rb
ciri-p2p/spec/ciri/p2p/rplx/frame_io_spec.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p.rb
ciri-p2p/lib/ciri/p2p.rb
require "ciri/p2p/version" module Ciri module P2p # Your code goes here... end end
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/network_state.rb
ciri-p2p/lib/ciri/p2p/network_state.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation ...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/protocol_context.rb
ciri-p2p/lib/ciri/p2p/protocol_context.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation ...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/version.rb
ciri-p2p/lib/ciri/p2p/version.rb
module Ciri module P2P VERSION = "0.3.0" end end
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/errors.rb
ciri-p2p/lib/ciri/p2p/errors.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation ...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/peer_store.rb
ciri-p2p/lib/ciri/p2p/peer_store.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation ...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/peer.rb
ciri-p2p/lib/ciri/p2p/peer.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation ...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/node.rb
ciri-p2p/lib/ciri/p2p/node.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/dialer.rb
ciri-p2p/lib/ciri/p2p/dialer.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation ...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/rlpx.rb
ciri-p2p/lib/ciri/p2p/rlpx.rb
# frozen_string_literal: true # # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/address.rb
ciri-p2p/lib/ciri/p2p/address.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/protocol.rb
ciri-p2p/lib/ciri/p2p/protocol.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation ...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/server.rb
ciri-p2p/lib/ciri/p2p/server.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation ...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/dial_scheduler.rb
ciri-p2p/lib/ciri/p2p/dial_scheduler.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation ...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/kad.rb
ciri-p2p/lib/ciri/p2p/kad.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation ...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/protocol_io.rb
ciri-p2p/lib/ciri/p2p/protocol_io.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/discovery/protocol.rb
ciri-p2p/lib/ciri/p2p/discovery/protocol.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation ...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/discovery/service.rb
ciri-p2p/lib/ciri/p2p/discovery/service.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation ...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/rlpx/encryption_handshake.rb
ciri-p2p/lib/ciri/p2p/rlpx/encryption_handshake.rb
# frozen_string_literal: true # # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/rlpx/protocol_messages.rb
ciri-p2p/lib/ciri/p2p/rlpx/protocol_messages.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/rlpx/errors.rb
ciri-p2p/lib/ciri/p2p/rlpx/errors.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/rlpx/protocol_handshake.rb
ciri-p2p/lib/ciri/p2p/rlpx/protocol_handshake.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/rlpx/message.rb
ciri-p2p/lib/ciri/p2p/rlpx/message.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false
ciri-ethereum/ciri
https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/rlpx/connection.rb
ciri-p2p/lib/ciri/p2p/rlpx/connection.rb
# frozen_string_literal: true # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ruby
MIT
a4ce792aa04e15d6c6e40d10474dfc73008de5ec
2026-01-04T17:51:58.192661Z
false