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
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/app/models/app.rb
app/models/app.rb
# == Schema Information # # Table name: apps # # id :integer not null, primary key # name :string # icon :string # plants :string # last_version :string # last_pkg_size :integer # last_pkg_id :integer # created_at :datetime not null # updated_a...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/app/models/application_record.rb
app/models/application_record.rb
class ApplicationRecord < ActiveRecord::Base self.abstract_class = true scope :desc, ->(key){order("#{key} DESC")} scope :id_desc, ->{desc(:id)} end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/app/models/plat.rb
app/models/plat.rb
# == Schema Information # # Table name: plats # # id :integer not null, primary key # name :string # plat_name :string # app_id :integer # pkg_name :string # packages_count :integer default(0) # created_at :datetime not null # updated_at ...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/app/models/pkg.rb
app/models/pkg.rb
# == Schema Information # # Table name: pkgs # # id :integer not null, primary key # app_id :integer # name :string # icon :string # plat_name :string # bundle_id :string # version :string # build :string # created_at :datetime ...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/app/models/user.rb
app/models/user.rb
# == Schema Information # # Table name: users # # id :integer not null, primary key # email :string # role :string default("user") # password_digest :string # remember_token :string # created_at :datetime not null # updated_at :datetime ...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/app/models/concerns/current.rb
app/models/concerns/current.rb
module Current thread_mattr_accessor :request end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/app/models/concerns/user_sign.rb
app/models/concerns/user_sign.rb
module UserSign def sign_in(user) remember_token = User.new_remember_token cookies.permanent[:remember_token] = remember_token user.update_attribute(:remember_token, User.encrypt(remember_token)) self.current_user = user end def signed_in? !self.current_user.nil? end def current_user...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/app/models/concerns/plat_able.rb
app/models/concerns/plat_able.rb
module PlatAble extend ActiveSupport::Concern def plat_ext_name PkgAdapter.config.adapters[plat_name][:ext_name] end def plat_des_name PkgAdapter.config.adapters[plat_name][:des] end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/app/mailers/application_mailer.rb
app/mailers/application_mailer.rb
class ApplicationMailer < ActionMailer::Base default from: 'from@example.com' layout 'mailer' end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/app/channels/application_cable/channel.rb
app/channels/application_cable/channel.rb
module ApplicationCable class Channel < ActionCable::Channel::Base end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/app/channels/application_cable/connection.rb
app/channels/application_cable/connection.rb
module ApplicationCable class Connection < ActionCable::Connection::Base end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/seeds.rb
db/seeds.rb
# This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup). # # Examples: # # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) # Ch...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/schema.rb
db/schema.rb
# This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative source for your # dat...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20210119125335_add_ext_info_to_pkgs.rb
db/migrate/20210119125335_add_ext_info_to_pkgs.rb
class AddExtInfoToPkgs < ActiveRecord::Migration[5.1] def up add_column :pkgs, :ext_info, :string Pkg.find_each do |pkg| pkg.parser.parse pkg.ext_info = pkg.parser.ext_info pkg.save end end def down remove_column :pkgs, :ext_info end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170804095157_add_channel_count_to_app.rb
db/migrate/20170804095157_add_channel_count_to_app.rb
class AddChannelCountToApp < ActiveRecord::Migration[5.1] def change add_column :apps, :palts_count, :integer, default:0 add_column :apps, :packages_count, :integer, default:0 end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170828192947_add_api_token_to_user.rb
db/migrate/20170828192947_add_api_token_to_user.rb
class AddApiTokenToUser < ActiveRecord::Migration[5.1] def change add_column :users, :api_token, :string add_index :users, :api_token end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170820092824_add_app_size_to_pkg.rb
db/migrate/20170820092824_add_app_size_to_pkg.rb
class AddAppSizeToPkg < ActiveRecord::Migration[5.1] def change add_column :pkgs, :size, :integer, default:0 end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20181205180629_add_features_to_pkg.rb
db/migrate/20181205180629_add_features_to_pkg.rb
class AddFeaturesToPkg < ActiveRecord::Migration[5.1] def change add_column :pkgs, :features, :string end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170823160303_add_uniq_key_to_pkg.rb
db/migrate/20170823160303_add_uniq_key_to_pkg.rb
class AddUniqKeyToPkg < ActiveRecord::Migration[5.1] def change add_column :pkgs, :uniq_key, :string end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170827200431_add_user_id_to_enties.rb
db/migrate/20170827200431_add_user_id_to_enties.rb
class AddUserIdToEnties < ActiveRecord::Migration[5.1] def change add_column :apps, :user_id, :integer add_column :plats, :user_id, :integer add_column :pkgs, :user_id, :integer end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170827141031_create_users.rb
db/migrate/20170827141031_create_users.rb
class CreateUsers < ActiveRecord::Migration[5.1] def change create_table :users do |t| t.string :email t.string :role, default: 'user' t.string :password_digest t.string :remember_token t.timestamps end add_index :users, :email add_index :users, :remember_token end e...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170830082349_add_file_nick_name_pkg.rb
db/migrate/20170830082349_add_file_nick_name_pkg.rb
class AddFileNickNamePkg < ActiveRecord::Migration[5.1] def up add_column :pkgs, :file_nick_name, :string Pkg.all.each do |pkg| pkg.update_columns(file_nick_name: pkg.display_file_name) end end def down remove_column :pkgs, :file_nick_name end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170822052125_add_validate_bundle_id_to_plat.rb
db/migrate/20170822052125_add_validate_bundle_id_to_plat.rb
class AddValidateBundleIdToPlat < ActiveRecord::Migration[5.1] def change add_column :plats, :bundle_id, :string end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170801085510_create_apps.rb
db/migrate/20170801085510_create_apps.rb
class CreateApps < ActiveRecord::Migration[5.1] def change create_table :apps do |t| t.string :name t.string :icon t.string :plants t.string :last_version t.integer :last_pkg_size t.integer :last_pkg_id t.timestamps end end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170806102018_add_plat_id_to_pkg.rb
db/migrate/20170806102018_add_plat_id_to_pkg.rb
class AddPlatIdToPkg < ActiveRecord::Migration[5.1] def change add_column :pkgs, :plat_id, :integer end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170823163040_rename_plat_to_plat_name.rb
db/migrate/20170823163040_rename_plat_to_plat_name.rb
class RenamePlatToPlatName < ActiveRecord::Migration[5.1] def change rename_column :plats, :plat, :plat_name rename_column :pkgs, :plat, :plat_name end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20210121074133_remove_soft_delete.rb
db/migrate/20210121074133_remove_soft_delete.rb
class RemoveSoftDelete < ActiveRecord::Migration[5.2] def change App.where.not(deleted_at:nil).destroy_all Plat.where.not(deleted_at:nil).destroy_all Pkg.where.not(deleted_at:nil).destroy_all User.where.not(deleted_at:nil).destroy_all end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170823122450_add_validate_uniq_to_plat.rb
db/migrate/20170823122450_add_validate_uniq_to_plat.rb
class AddValidateUniqToPlat < ActiveRecord::Migration[5.1] def change add_column :plats, :pkg_uniq, :boolean, default: true end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170829174650_add_soft_delete_to_enties.rb
db/migrate/20170829174650_add_soft_delete_to_enties.rb
class AddSoftDeleteToEnties < ActiveRecord::Migration[5.1] def change add_column :apps, :deleted_at, :datetime add_index :apps, :deleted_at add_column :plats, :deleted_at, :datetime add_index :plats, :deleted_at add_column :pkgs, :deleted_at, :datetime add_index :pkgs, :deleted_at a...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170829150228_rename_pkg_ident_to_bundle_id.rb
db/migrate/20170829150228_rename_pkg_ident_to_bundle_id.rb
class RenamePkgIdentToBundleId < ActiveRecord::Migration[5.1] def change rename_column :pkgs, :ident, :bundle_id end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20171102093445_add_sort_to_plat.rb
db/migrate/20171102093445_add_sort_to_plat.rb
class AddSortToPlat < ActiveRecord::Migration[5.1] def change add_column :plats, :sort, :integer, default:0 end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170804094732_create_plats.rb
db/migrate/20170804094732_create_plats.rb
class CreatePlats < ActiveRecord::Migration[5.1] def change create_table :plats do |t| t.string :name t.string :plat t.integer :app_id t.string :pkg_name t.integer :packages_count, default:0 t.timestamps end end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170803141721_add_desc_to_app.rb
db/migrate/20170803141721_add_desc_to_app.rb
class AddDescToApp < ActiveRecord::Migration[5.1] def change add_column :apps, :desc, :string end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170801065713_create_packages.rb
db/migrate/20170801065713_create_packages.rb
class CreatePackages < ActiveRecord::Migration[5.1] def change create_table :packages do |t| t.integer :app_id t.string :name t.string :icon t.string :plat t.string :ident t.string :version t.string :build # t.string : t.timestamps end ...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170809074014_add_file_pkg.rb
db/migrate/20170809074014_add_file_pkg.rb
class AddFilePkg < ActiveRecord::Migration[5.1] def change add_column :pkgs, :file, :string end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20190123090654_add_archive_to_apps.rb
db/migrate/20190123090654_add_archive_to_apps.rb
class AddArchiveToApps < ActiveRecord::Migration[5.1] def change add_column :apps, :archived, :boolean, default:false end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/db/migrate/20170806101650_rename_packeages_to_pkgs.rb
db/migrate/20170806101650_rename_packeages_to_pkgs.rb
class RenamePackeagesToPkgs < ActiveRecord::Migration[5.1] def change rename_table :packages, :pkgs end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/test/application_system_test_case.rb
test/application_system_test_case.rb
require "test_helper" class ApplicationSystemTestCase < ActionDispatch::SystemTestCase driven_by :selenium, using: :chrome, screen_size: [1400, 1400] end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/test/test_helper.rb
test/test_helper.rb
require File.expand_path('../../config/environment', __FILE__) require 'rails/test_help' class ActiveSupport::TestCase # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. fixtures :all # Add more helper methods to be used by all tests here... end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/test/models/app_test.rb
test/models/app_test.rb
require 'test_helper' class AppTest < ActiveSupport::TestCase # test "the truth" do # assert true # end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/test/models/user_test.rb
test/models/user_test.rb
require 'test_helper' class UserTest < ActiveSupport::TestCase # test "the truth" do # assert true # end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/test/models/channel_test.rb
test/models/channel_test.rb
require 'test_helper' class ChannelTest < ActiveSupport::TestCase # test "the truth" do # assert true # end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/test/models/package_test.rb
test/models/package_test.rb
require 'test_helper' class PackageTest < ActiveSupport::TestCase # test "the truth" do # assert true # end end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/lib/parsers/plist.rb
lib/parsers/plist.rb
# encoding: utf-8 # = plist # # This is the main file for plist. Everything interesting happens in # Plist and Plist::Emit. # # Copyright 2006-2010 Ben Bleything and Patrick May # Distributed under the MIT License # require 'base64' require 'cgi' require 'stringio' require 'plist/generator' require 'plist/parser' re...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/lib/parsers/bplist.rb
lib/parsers/bplist.rb
# bplist.rb: binary property list reader/parser for ruby # by Murachue # 20091229.2218: initialize # 20100101.1348: check Kconv, hash dump improved, modulized, renamed dumpself->dump. # 20120916.1906: ruby1.9-ize. add runnable test code. tested with ruby 1.9.3p0-i386-mingw32 if not defined? Kconv::REVISION require '...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/lib/parsers/png.rb
lib/parsers/png.rb
# Helper method to fix Apple's stupid png optimizations # Adapted from: # http://www.axelbrz.com.ar/?mod=iphone-png-images-normalizer # https://github.com/peperzaken/iPhone-optimized-PNG-reverse-script/blob/master/Peperzaken/Ios/DecodeImage.php # PNG spec: http://www.libpng.org/pub/png/spec/1.2/PNG-Contents.html r...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/lib/parsers/pkg_adapter.rb
lib/parsers/pkg_adapter.rb
module PkgAdapter extend self def pkg_adapter(path) ext = File.extname("#{path}").gsub('.','') unless ext.present? raise "get ext name fail" end ext = ext.downcase adapter = config.adapter_for_ext(ext) if adapter "PkgAdapter::#{adapter}".constantize.new path else ra...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/lib/parsers/plist/version.rb
lib/parsers/plist/version.rb
# encoding: utf-8 module Plist VERSION ||= '3.3.0'.freeze end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/lib/parsers/plist/parser.rb
lib/parsers/plist/parser.rb
# encoding: utf-8 # = plist # # Copyright 2006-2010 Ben Bleything and Patrick May # Distributed under the MIT License # # Plist parses Mac OS X xml property list files into ruby data structures. # # === Load a plist file # This is the main point of the library: # # r = Plist.parse_xml(filename_or_xml) module Plist ...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/lib/parsers/plist/generator.rb
lib/parsers/plist/generator.rb
# encoding: utf-8 # = plist # # Copyright 2006-2010 Ben Bleything and Patrick May # Distributed under the MIT License # module Plist # === Create a plist # You can dump an object to a plist in one of two ways: # # * <tt>Plist::Emit.dump(obj)</tt> # * <tt>obj.to_plist</tt> # * This requires that you mixi...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/lib/parsers/pkg_adapter/base_adapter.rb
lib/parsers/pkg_adapter/base_adapter.rb
module PkgAdapter class BaseAdapter # attr_accessor :file def initialize(path) unless File.exist? path raise "#{path} is not a exist file" end @path = path # parse if @path end def plat end def parse end def app_name end def app_version ...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/lib/parsers/pkg_adapter/ipa.rb
lib/parsers/pkg_adapter/ipa.rb
module PkgAdapter class Ipa < BaseAdapter require 'zip' PLIST = 'Payload/*.app/Info.plist' MOBILEPROVISION = 'Payload/*.app/embedded.mobileprovision' def parse Zip::File.open(@path) do |zip_file| # Handle entries one by one path = tmp_dir FileUtils.rm_...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/lib/parsers/pkg_adapter/apk.rb
lib/parsers/pkg_adapter/apk.rb
module PkgAdapter class Apk < BaseAdapter require 'ruby_apk' require 'zip' ANDROID_MANIFEST = 'AndroidManifest.xml' RESOURCE = 'resources.arsc' def parse Zip::File.open(@path) do |zip_file| # Handle entries one by one path = tmp_dir FileUtils...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/lib/parsers/pkg_adapter/config.rb
lib/parsers/pkg_adapter/config.rb
module PkgAdapter class Config attr_accessor :adapters def initialize self.adapters = {} end def adapter_for_ext(ext_name) plat_name = plat_name_with_ext(ext_name) adapter = adapters[plat_name] if adapter adapter[:class_name] else nil end end ...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/application.rb
config/application.rb
require_relative 'boot' require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module AppHost class Application < Rails::Application # Initialize configuration defaults for originally generated Rails v...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/environment.rb
config/environment.rb
# Load the Rails application. require_relative 'application' # Initialize the Rails application. Rails.application.initialize!
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/puma.rb
config/puma.rb
# Puma can serve each request in a thread from an internal thread pool. # The `threads` method setting takes two numbers: a minimum and maximum. # Any libraries that use thread pools should be configured to match # the maximum value specified for Puma. Default is set to 5 threads for minimum # and maximum; this matches...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/routes.rb
config/routes.rb
Rails.application.routes.draw do # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html resources :apps do resources :plats collection do get :archived end end resources :users do member do get :api_token put :api_token, to: "use...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/deploy.rb
config/deploy.rb
require 'mina/rails' require 'mina/git' # require 'mina/rbenv' # for rbenv support. (https://rbenv.org) require 'mina/rvm' # for rvm support. (https://rvm.io) # Basic settings: # domain - The hostname to SSH to. # deploy_to - Path to deploy into. # repository - Git repo to clone from. (needed by m...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/spring.rb
config/spring.rb
%w( .ruby-version .rbenv-vars tmp/restart.txt tmp/caching-dev.txt ).each { |path| Spring.watch(path) }
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/boot.rb
config/boot.rb
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) require 'bundler/setup' # Set up gems listed in the Gemfile.
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/initializers/filter_parameter_logging.rb
config/initializers/filter_parameter_logging.rb
# Be sure to restart your server when you modify this file. # Configure sensitive parameters which will be filtered from the log file. Rails.application.config.filter_parameters += [:password]
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/initializers/application_controller_renderer.rb
config/initializers/application_controller_renderer.rb
# Be sure to restart your server when you modify this file. # ApplicationController.renderer.defaults.merge!( # http_host: 'example.org', # https: false # )
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/initializers/fix_android_xml_parser.rb
config/initializers/fix_android_xml_parser.rb
require 'ruby_apk' module Android class AXMLParser #重写,修复 bug def parse_tags # skip until START_TAG pos = @xml_offset pos += 4 until (word(pos) == TAG_START) #ugh! @io.pos -= 4 # read tags #puts "start tag parse: %d(%#x)" % [@io.pos, @io.pos] # puts "parse_ta...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/initializers/rack.rb
config/initializers/rack.rb
#fix issues,large pkg file upload slow #https://github.com/rack/rack/issues/1075 Rack::Multipart::Parser.const_set('BUFSIZE', 10_000_000)
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/initializers/wrap_parameters.rb
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
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/initializers/inflections.rb
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
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/initializers/kaminari_config.rb
config/initializers/kaminari_config.rb
Kaminari.configure do |config| # config.default_per_page = 25 config.max_per_page = 100 config.window = 3 config.outer_window = 0 # config.left = 0 # config.right = 0 # config.page_method_name = :page # config.param_name = :page end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/initializers/cookies_serializer.rb
config/initializers/cookies_serializer.rb
# Be sure to restart your server when you modify this file. # Specify a serializer for the signed and encrypted cookie jars. # Valid options are :json, :marshal, and :hybrid. Rails.application.config.action_dispatch.cookies_serializer = :json
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/initializers/ruby_zip.rb
config/initializers/ruby_zip.rb
require 'zip' Zip.warn_invalid_date = false if Zip.respond_to? :warn_invalid_date=
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/initializers/assets.rb
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 # Add Yarn node_modules ...
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/initializers/backtrace_silencers.rb
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
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/initializers/mime_types.rb
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
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/initializers/pkg_adapter.rb
config/initializers/pkg_adapter.rb
PkgAdapter.setup do |config| config.adapters = { "ios" => {class_name:"Ipa",ext_name:"ipa",des:"iOS"}, "android" => {class_name:"Apk",ext_name:"apk",des:"Android"} } end
ruby
MIT
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/environments/test.rb
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
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/environments/development.rb
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
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
pluosi/app-host
https://github.com/pluosi/app-host/blob/703ed3952fc4d2e51bf0e6dade57309c3fb32efb/config/environments/production.rb
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
703ed3952fc4d2e51bf0e6dade57309c3fb32efb
2026-01-04T15:58:19.863477Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/.github/check_license_headers.rb
.github/check_license_headers.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/rspec_formatter.rb
elasticsearch-api/spec/rspec_formatter.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/spec_helper.rb
elasticsearch-api/spec/spec_helper.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/yaml-test-runner/run.rb
elasticsearch-api/spec/yaml-test-runner/run.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/integration/integration_helper.rb
elasticsearch-api/spec/integration/integration_helper.rb
# frozen_string_literal: true # Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "Lice...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/integration/api_key_spec.rb
elasticsearch-api/spec/integration/api_key_spec.rb
# frozen_string_literal: true # Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "Lice...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/integration/health_spec.rb
elasticsearch-api/spec/integration/health_spec.rb
# frozen_string_literal: true # Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "Lice...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/rest_api/rest_api_yaml_spec.rb
elasticsearch-api/spec/rest_api/rest_api_yaml_spec.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/rest_api/rest_api_tests_helper.rb
elasticsearch-api/spec/rest_api/rest_api_tests_helper.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/rest_api/run_rspec_matchers.rb
elasticsearch-api/spec/rest_api/run_rspec_matchers.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/unit/api_spec.rb
elasticsearch-api/spec/unit/api_spec.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/unit/client_spec.rb
elasticsearch-api/spec/unit/client_spec.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/unit/api_response_spec.rb
elasticsearch-api/spec/unit/api_response_spec.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/unit/perform_request_spec.rb
elasticsearch-api/spec/unit/perform_request_spec.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/unit/utils_spec.rb
elasticsearch-api/spec/unit/utils_spec.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/unit/test_helper.rb
elasticsearch-api/spec/unit/test_helper.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/unit/ndjson_endpoints/msearch_spec.rb
elasticsearch-api/spec/unit/ndjson_endpoints/msearch_spec.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/unit/ndjson_endpoints/find_structure_spec.rb
elasticsearch-api/spec/unit/ndjson_endpoints/find_structure_spec.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/unit/ndjson_endpoints/bulk_spec.rb
elasticsearch-api/spec/unit/ndjson_endpoints/bulk_spec.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/unit/ndjson_endpoints/fleet_msearch_spec.rb
elasticsearch-api/spec/unit/ndjson_endpoints/fleet_msearch_spec.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/unit/ndjson_endpoints/msearch_template_spec.rb
elasticsearch-api/spec/unit/ndjson_endpoints/msearch_template_spec.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/unit/actions/field_caps_spec.rb
elasticsearch-api/spec/unit/actions/field_caps_spec.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false
elastic/elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby/blob/aa89fab9a190cc353808a06759df35be6b6dc5d1/elasticsearch-api/spec/unit/actions/rank_eval_spec.rb
elasticsearch-api/spec/unit/actions/rank_eval_spec.rb
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
ruby
Apache-2.0
aa89fab9a190cc353808a06759df35be6b6dc5d1
2026-01-04T15:59:14.906788Z
false