source stringclasses 1
value | repo stringlengths 5 63 | repo_url stringlengths 24 82 | path stringlengths 5 167 | language stringclasses 1
value | license stringclasses 5
values | stars int64 10 51.4k | ref stringclasses 23
values | size_bytes int64 200 258k | text stringlengths 137 258k |
|---|---|---|---|---|---|---|---|---|---|
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | lib/devise/passkeys/controllers/concerns/reauthentication.rb | Ruby | mit | 212 | main | 4,002 | # frozen_string_literal: true
module Devise
module Passkeys
module Controllers
module Concerns
# This concern is responsible for storing, retrieving, clearing, consuming,
# and validating the reauthentication token in the session.
#
# A reauthentication token is a one-time r... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/test_helper.rb | Ruby | mit | 212 | main | 622 | # frozen_string_literal: true
Bundler.require(:test)
SimpleCov.start do
add_filter "/test/"
end
ENV["RAILS_ENV"] = "test"
DEVISE_ORM = (ENV["DEVISE_ORM"] || :active_record).to_sym
puts "\n==> Devise.orm = #{DEVISE_ORM.inspect}"
require "rails_app/config/environment"
require "rails/test_help"
require "test_helper/or... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/devise/test_passkeys.rb | Ruby | mit | 212 | main | 2,169 | # frozen_string_literal: true
require "test_helper"
require_relative "../test_helper/webauthn_test_helpers"
class Devise::TestPasskeys < ActiveSupport::TestCase
include WebAuthnTestHelpers
test "has version number" do
refute_nil ::Devise::Passkeys::VERSION
end
test "create_and_return_passkey" do
user... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/devise/test_passkey_issuer.rb | Ruby | mit | 212 | main | 3,340 | # frozen_string_literal: true
require "test_helper"
require_relative "../test_helper/webauthn_test_helpers"
class Devise::TestPasskeyIssuer < ActiveSupport::TestCase
include WebAuthnTestHelpers
test "create_and_return_passkey" do
user = User.create!(email: "test@test.com")
relying_party = example_relyin... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/devise/passkeys/controllers/test_sessions_controller_concern.rb | Ruby | mit | 212 | main | 3,094 | # frozen_string_literal: true
require "test_helper"
require_relative "../../../test_helper/webauthn_test_helpers"
class Devise::Passkeys::Controllers::TestSessionsControllerConcern < ActionDispatch::IntegrationTest
include WebAuthnTestHelpers
class TestSessionController < ActionController::Base
include Devis... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/devise/passkeys/controllers/test_registrations_controller_concern.rb | Ruby | mit | 212 | main | 16,176 | # frozen_string_literal: true
require "test_helper"
require_relative "../../../test_helper/webauthn_test_helpers"
require_relative "../../../test_helper/extra_assertions"
class Devise::Passkeys::Controllers::TestRegistrationsControllerConcern < ActionDispatch::IntegrationTest
include WebAuthnTestHelpers
include E... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/devise/passkeys/controllers/test_reauthentication_controller_concern.rb | Ruby | mit | 212 | main | 13,023 | # frozen_string_literal: true
require "test_helper"
require_relative "../../../test_helper/webauthn_test_helpers"
require_relative "../../../test_helper/extra_assertions"
class Devise::Passkeys::Controllers::TestReauthenticationControllerConcern < ActionDispatch::IntegrationTest
include WebAuthnTestHelpers
includ... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/devise/passkeys/controllers/test_passkeys_controller_concern.rb | Ruby | mit | 212 | main | 26,214 | # frozen_string_literal: true
require "test_helper"
require_relative "../../../test_helper/webauthn_test_helpers"
require_relative "../../../test_helper/extra_assertions"
class Devise::Passkeys::Controllers::TestPasskeysControllerConcern < ActionDispatch::IntegrationTest
include WebAuthnTestHelpers
include ExtraA... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/devise/passkeys/controllers/concerns/test_reauthentication_challenge.rb | Ruby | mit | 212 | main | 2,209 | # frozen_string_literal: true
require "test_helper"
class Devise::Passkeys::Controllers::Concerns::TestReauthenticationChallenge < ActiveSupport::TestCase
class TestClass
include Devise::Passkeys::Controllers::Concerns::ReauthenticationChallenge
attr_accessor :session
def initialize
self.session... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/devise/passkeys/controllers/concerns/test_reauthentication.rb | Ruby | mit | 212 | main | 4,580 | # frozen_string_literal: true
require "test_helper"
class Devise::Passkeys::Controllers::Concerns::TestReauthentication < ActiveSupport::TestCase
class TestClass
include Devise::Passkeys::Controllers::Concerns::Reauthentication
attr_accessor :session
def initialize
self.session = {}
end
... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/Rakefile | Ruby | mit | 212 | main | 276 | # frozen_string_literal: true
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path("config/application", __dir__)
Rails.application.load_tasks |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/lib/shared_user.rb | Ruby | mit | 212 | main | 395 | # frozen_string_literal: true
module SharedUser
extend ActiveSupport::Concern
included do
devise :passkey_authenticatable, :registerable
attr_accessor :other_key
def self.passkeys_class
UserPasskey
end
def self.find_for_passkey(passkey)
self.find_by(id: passkey.user.id)
end
... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/lib/shared_admin.rb | Ruby | mit | 212 | main | 599 | # frozen_string_literal: true
module SharedAdmin
extend ActiveSupport::Concern
included do
devise :database_authenticatable,
:timeoutable, :lockable, :confirmable,
unlock_strategy: :time, lock_strategy: :none,
allow_unconfirmed_access_for: 2.weeks, reconfirmable: true
if ... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/db/schema.rb | Ruby | mit | 212 | main | 2,232 | # encoding: UTF-8
# frozen_string_literal: true
# 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 defi... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/db/migrate/20100401102949_create_tables.rb | Ruby | mit | 212 | main | 2,161 | # frozen_string_literal: true
superclass = ActiveRecord::Migration
# TODO: Inherit from the 5.0 Migration class directly when we drop support for Rails 4.
superclass = ActiveRecord::Migration[5.0] if superclass.respond_to?(:[])
class CreateTables < superclass
def self.up
create_table :users do |t|
t.strin... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/config/boot.rb | Ruby | mit | 212 | main | 988 | # frozen_string_literal: true
unless defined?(DEVISE_ORM)
DEVISE_ORM = (ENV["DEVISE_ORM"] || :active_record).to_sym
end
module Devise
module Test
# Detection for minor differences between Rails versions in tests.
def self.rails71_and_up?
!rails70? && Rails::VERSION::MAJOR >= 7
end
def self... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/config/application.rb | Ruby | mit | 212 | main | 1,858 | # frozen_string_literal: true
require File.expand_path('../boot', __FILE__)
require "action_controller/railtie"
require "action_mailer/railtie"
require "rails/test_unit/railtie"
Bundler.require :default, DEVISE_ORM
begin
require "#{DEVISE_ORM}/railtie"
rescue LoadError
end
require "devise"
module RailsApp
cla... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/config/routes.rb | Ruby | mit | 212 | main | 3,978 | # frozen_string_literal: true
Rails.application.routes.draw do
# Resources for testing
resources :users, only: [:index] do
member do
get :expire
get :accept
get :edit_form
put :update_form
end
authenticate do
post :exhibit, on: :member
end
end
resources :admins, ... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/config/environments/test.rb | Ruby | mit | 212 | main | 1,936 | # frozen_string_literal: true
RailsApp::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 i... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/config/environments/production.rb | Ruby | mit | 212 | main | 3,451 | # frozen_string_literal: true
RailsApp::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 memor... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/config/initializers/devise.rb | Ruby | mit | 212 | main | 9,195 | # frozen_string_literal: true
# Assuming you have not yet modified this file, each configuration option below
# is set to its default value. Note that some are commented out while others
# are not: uncommented lines are intended to protect your configuration from
# breaking changes in upgrades (i.e., in the event that... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/app/active_record/user.rb | Ruby | mit | 212 | main | 468 | # frozen_string_literal: true
require 'shared_user'
class User < ActiveRecord::Base
include Shim
include SharedUser
has_many :passkeys, class_name: "UserPasskey", dependent: :destroy
validates :sign_in_count, presence: true
cattr_accessor :after_passkey_authentication_passkey
def after_passkey_authent... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/app/mongoid/user.rb | Ruby | mit | 212 | main | 1,430 | # frozen_string_literal: true
require 'shared_user'
class User
include Mongoid::Document
include Shim
include SharedUser
field :username, type: String
field :facebook_token, type: String
## Database authenticatable
field :email, type: String, default: ""
field :encrypted_password, type:... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/app/controllers/users_controller.rb | Ruby | mit | 212 | main | 913 | # frozen_string_literal: true
class UsersController < ApplicationController
prepend_before_action :current_user, only: :exhibit
before_action :authenticate_user!, except: [:accept, :exhibit]
clear_respond_to
respond_to :html, :json
def index
user_session[:cart] = "Cart"
respond_with(current_user)
... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/app/controllers/application_controller.rb | Ruby | mit | 212 | main | 478 | # frozen_string_literal: true
# Filters added to this controller apply to all controllers in the application.
# Likewise, all the methods added will be available for all controllers.
class ApplicationController < ActionController::Base
protect_from_forgery
before_action :current_user, unless: :devise_controller?
... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/app/controllers/home_controller.rb | Ruby | mit | 212 | main | 469 | # frozen_string_literal: true
class HomeController < ApplicationController
def index
end
def private
end
def user_dashboard
end
def admin_dashboard
end
def join
end
def set
session["devise.foo_bar"] = "something"
head :ok
end
def unauthenticated
if Devise::Test.rails5_and_up... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/rails_app/app/controllers/streaming_controller.rb | Ruby | mit | 212 | main | 551 | # frozen_string_literal: true
class StreamingController < ApplicationController
include ActionController::Live
before_action :authenticate_user!
def index
render (Devise::Test.rails5_and_up? ? :body : :text) => 'Index'
end
# Work around https://github.com/heartcombo/devise/issues/2332, which affects
... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/test_helper/extra_assertions.rb | Ruby | mit | 212 | main | 617 | # frozen_string_literal: true
module ExtraAssertions
def assert_translation_missing_message(translation_key:)
assert_translation_missing(translation_key: translation_key, field: "message")
end
def assert_translation_missing_error(translation_key:)
assert_translation_missing(translation_key: translation_... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/test_helper/webauthn_test_helpers.rb | Ruby | mit | 212 | main | 1,946 | # frozen_string_literal: true
require "webauthn/fake_client"
module WebAuthnTestHelpers
def example_relying_party(options: {})
WebAuthn::RelyingParty.new(**{
origin: "https://example.test",
name: "Example Relying Party"
}.merge(options))
end
def fake_client(origin: "https://example.test")
... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/test_helper/orm/active_record.rb | Ruby | mit | 212 | main | 842 | # frozen_string_literal: true
ActiveRecord::Migration.verbose = false
ActiveRecord::Base.logger = Logger.new(nil)
ActiveRecord::Base.include_root_in_json = true
migrate_path = File.expand_path("../../rails_app/db/migrate", __dir__)
if Devise::Test.rails6_and_up?
ActiveRecord::MigrationContext.new(migrate_path, Acti... |
github | ruby-passkeys/devise-passkeys | https://github.com/ruby-passkeys/devise-passkeys | test/test_helper/orm/mongoid.rb | Ruby | mit | 212 | main | 281 | # frozen_string_literal: true
require "mongoid/version"
Mongoid.configure do |config|
config.load!("test/support/mongoid.yml")
config.use_utc = true
config.include_root_in_json = true
end
class ActiveSupport::TestCase
setup do
Mongoid.default_session.drop
end
end |
github | ashfurrow/danger-ruby-swiftlint | https://github.com/ashfurrow/danger-ruby-swiftlint | Gemfile | Ruby | mit | 211 | master | 264 | # frozen_string_literal: true
source 'https://rubygems.org'
gemspec
gem 'danger'
gem 'danger-rubocop'
group :development do
gem 'bacon'
gem 'mocha'
gem 'mocha-on-bacon'
gem 'prettybacon'
gem 'rubocop', '~> 0.50.0', require: false
gem 'bundler'
end |
github | ashfurrow/danger-ruby-swiftlint | https://github.com/ashfurrow/danger-ruby-swiftlint | Guardfile | Ruby | mit | 211 | master | 665 | # frozen_string_literal: true
# A guardfile for making Danger Plugins
# For more info see https://github.com/guard/guard#readme
# To run, use `bundle exec guard`.
guard :rspec, cmd: 'bundle exec rspec' do
require 'guard/rspec/dsl'
dsl = Guard::RSpec::Dsl.new(self)
# Feel free to open issues for suggestions an... |
github | ashfurrow/danger-ruby-swiftlint | https://github.com/ashfurrow/danger-ruby-swiftlint | Dangerfile | Ruby | mit | 211 | master | 299 | # Disable linting of Dangerfile.
# rubocop:disable all
has_app_changes = !git.modified_files.grep(/(bin|ext|lib)/).empty?
warn("PR is classed as Work in Progress") if github.pr_title.include? "[WIP]"
warn("Big PR, try to keep changes smaller if you can") if git.lines_of_code > 500
rubocop.lint |
github | ashfurrow/danger-ruby-swiftlint | https://github.com/ashfurrow/danger-ruby-swiftlint | danger-swiftlint.gemspec | Ruby | mit | 211 | master | 1,839 | # frozen_string_literal: true
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'version'
Gem::Specification.new do |spec|
spec.name = 'danger-swiftlint'
spec.version = DangerSwiftlint::VERSION
spec.authors = ['Ash Furrow', 'David Gra... |
github | ashfurrow/danger-ruby-swiftlint | https://github.com/ashfurrow/danger-ruby-swiftlint | lib/danger_plugin.rb | Ruby | mit | 211 | master | 13,572 | # frozen_string_literal: true
require 'find'
require 'yaml'
require 'shellwords'
require_relative '../ext/swiftlint/swiftlint'
module Danger
# Lint Swift files inside your projects.
# This is done using the [SwiftLint](https://github.com/realm/SwiftLint) tool.
# Results are passed out as a table in markdown.
... |
github | ashfurrow/danger-ruby-swiftlint | https://github.com/ashfurrow/danger-ruby-swiftlint | ext/swiftlint/Rakefile | Ruby | mit | 211 | master | 841 | # frozen_string_literal: true
require_relative '../../lib/version'
namespace :swiftlint do
desc 'Download and install swiftlint tool'
task :install do
next if ENV['DANGER_SKIP_SWIFTLINT_INSTALL'] == 'YES'
REPO = 'https://github.com/realm/SwiftLint'
VERSION = ENV['SWIFTLINT_VERSION'] || DangerSwiftlin... |
github | ashfurrow/danger-ruby-swiftlint | https://github.com/ashfurrow/danger-ruby-swiftlint | ext/swiftlint/swiftlint.rb | Ruby | mit | 211 | master | 3,067 | # frozen_string_literal: true
# A wrapper to use SwiftLint via a Ruby API.
class Swiftlint
def initialize(swiftlint_path = nil)
@swiftlint_path = swiftlint_path
end
# Runs swiftlint
def run(cmd = 'lint', additional_swiftlint_args = '', options = {}, env = nil)
# allow for temporary change to pwd befor... |
github | ashfurrow/danger-ruby-swiftlint | https://github.com/ashfurrow/danger-ruby-swiftlint | spec/spec_helper.rb | Ruby | mit | 211 | master | 1,224 | # frozen_string_literal: true
require 'pathname'
ROOT = Pathname.new(File.expand_path('../../', __FILE__))
$LOAD_PATH.unshift((ROOT + 'lib').to_s)
$LOAD_PATH.unshift((ROOT + 'spec').to_s)
RSpec.configure do |config|
# Use color in STDOUT
config.color = true
end
RSpec::Matchers.define :including do |x|
match {... |
github | ashfurrow/danger-ruby-swiftlint | https://github.com/ashfurrow/danger-ruby-swiftlint | spec/danger_plugin_spec.rb | Ruby | mit | 211 | master | 37,244 | # frozen_string_literal: true
require File.expand_path('../spec_helper', __FILE__)
module Danger
describe DangerSwiftlint do
it 'is a plugin' do
expect(Danger::DangerSwiftlint < Danger::Plugin).to be_truthy
end
describe 'with Dangerfile' do
before do
@swiftlint = testing_dangerfile.... |
github | ashfurrow/danger-ruby-swiftlint | https://github.com/ashfurrow/danger-ruby-swiftlint | spec/swiftlint_spec.rb | Ruby | mit | 211 | master | 2,445 | # frozen_string_literal: true
require File.expand_path('../spec_helper', __FILE__)
require_relative '../ext/swiftlint/swiftlint'
describe Swiftlint do
let(:swiftlint) { Swiftlint.new }
it 'installed? works based on bin/swiftlint file' do
expect(File).to receive(:exist?).with(%r{/bin\/swiftlint}).and_return(tr... |
github | jruby/jbundler | https://github.com/jruby/jbundler | Rakefile | Ruby | mit | 211 | master | 1,026 | task :default => [ :specs ]
unless Rake::Application.method_defined? :last_comment
Rake::Application.module_eval do
alias_method :last_comment, :last_description
end
end # Rake 11 compatibility (due rspec/core/rake_task < 3.0)
desc 'run specs'
task :specs do
$LOAD_PATH << "spec"
Dir['spec/*_spec.rb'].eac... |
github | jruby/jbundler | https://github.com/jruby/jbundler | jbundler.gemspec | Ruby | mit | 211 | master | 1,108 | #-*- mode: ruby -*-
require_relative 'lib/jbundler/version.rb'
Gem::Specification.new do |s|
s.name = 'jbundler'
s.version = JBundler::VERSION
s.summary = 'managing jar dependencies'
s.description = <<-END
managing jar dependencies with or without bundler. adding bundler like handling of version ranges for ja... |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/exclusion_of_transitive_dependency/test.rb | Ruby | mit | 211 | master | 786 | #-*- mode: ruby -*-
require 'fileutils'
require 'jbundler'
def ensure_install
raise "missing Jarfile.lock" unless File.exists?( 'Jarfile.lock' )
raise "missing .jbundler" unless File.exists?( '.jbundler/classpath.rb' )
end
def ensure_no_update( lock_time, classpath_time )
raise "unexpected update of Jarfile.lo... |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/give_priority_to_jars_from_jarfile/test.rb | Ruby | mit | 211 | master | 298 | #-*- mode: ruby -*-
p '-' * 80
p ENV['BUNDLE_GEMFILE']
p '-' * 80
ENV['BUNDLE_GEMFILE'] = File.dirname( __FILE__) + "/Gemfile"
require 'jbundler'
JBundler.install
JBundler.setup
raise "missing slf4j-api-1.7.12.jar" unless $CLASSPATH.detect { |c| c =~ %r(slf4j-api-1.7.12) }
# vim: syntax=Ruby |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/gemspec_with_system_jar_and_provided_jar/verify/test.rb | Ruby | mit | 211 | master | 361 | #-*- mode: ruby -*-
Gem.install( File.expand_path( "../../gem/pkg/first-1.1.1.gem", __FILE__ ) )
require 'jbundler'
JBundler.install( true )
JBundler.setup
raise "missing tools.jar" unless $CLASSPATH.detect { |c| c =~ /tools.jar/ }
raise "found unexpected jruby-core-1.7.20.jar" if $CLASSPATH.detect { |c| c =~ /jrub... |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/gemspec_with_system_jar_and_provided_jar/gem/first.gemspec | Ruby | mit | 211 | master | 571 | #-*- mode: ruby -*-
Gem::Specification.new do |s|
s.name = 'first'
s.version = '1.1.1'
s.author = 'example person'
s.email = [ 'mail@example.com' ]
s.summary = 'first gem with jars vendored during installation'
s.files << Dir[ 'lib/**/*.rb' ]
s.files << Dir[ '*file' ]
s.files << 'first.gemspec'
s.p... |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/gemspec_with_system_jar_and_provided_jar/gem/lib/first_jars.rb | Ruby | mit | 211 | master | 272 | # this is a generated file, to avoid over-writing it just delete this comment
require 'jar_dependencies'
# something which will be overwritten anyways
require_jar( 'org.bouncycastle', 'bcpkix-jdk15on', '1.49' )
require_jar( 'org.bouncycastle', 'bcprov-jdk15on', '1.49' ) |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/running_rspec_via_rake/Gemfile | Ruby | mit | 211 | master | 251 | source 'https://rubygems.org'
gem 'rails', '4.1.7'
gem 'activerecord-jdbcsqlite3-adapter', '1.3.13'
gem 'therubyrhino', '2.0.4'
group :development, :test do
gem 'jbundler', :path => '../../'
end
group :test do
gem "rspec-rails", "~> 2.14.0"
end |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/running_rspec_via_rake/db/schema.rb | Ruby | mit | 211 | master | 930 | # encoding: UTF-8
# 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 sou... |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/running_rspec_via_rake/config/application.rb | Ruby | mit | 211 | master | 979 | require File.expand_path('../boot', __FILE__)
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 Railsapp
class Application < Rails::Application
# Settings in config/environments/* take prec... |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/running_rspec_via_rake/spec/spec_helper.rb | Ruby | mit | 211 | master | 1,648 | # This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
#ENV["JARS_NO_REQUIRE"] = 'false'
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'
require 'rspec/autorun'
# Requires supporting ruby files with custom matchers and macros, etc,
#... |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/running_rspec_via_rake/spec/routing/users_routing_spec.rb | Ruby | mit | 211 | master | 778 | require "spec_helper"
describe UsersController do
describe "routing" do
it "routes to #index" do
get("/users").should route_to("users#index")
end
it "routes to #new" do
get("/users/new").should route_to("users#new")
end
it "routes to #show" do
get("/users/1").should route_to(... |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/running_rspec_via_rake/spec/views/users/show.html.erb_spec.rb | Ruby | mit | 211 | master | 325 | require 'spec_helper'
describe "users/show" do
before(:each) do
@user = assign(:user, stub_model(User,
:name => "Name"
))
end
it "renders attributes in <p>" do
render
# Run the generator again with the --webrat flag if you want to use webrat matchers
rendered.should match(/Name/)
end... |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/running_rspec_via_rake/spec/views/users/edit.html.erb_spec.rb | Ruby | mit | 211 | master | 439 | require 'spec_helper'
describe "users/edit" do
before(:each) do
@user = assign(:user, stub_model(User,
:name => "MyString"
))
end
it "renders the edit user form" do
render
# Run the generator again with the --webrat flag if you want to use webrat matchers
assert_select "form[action=?]... |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/running_rspec_via_rake/spec/views/users/index.html.erb_spec.rb | Ruby | mit | 211 | master | 418 | require 'spec_helper'
describe "users/index" do
before(:each) do
assign(:users, [
stub_model(User,
:name => "Name"
),
stub_model(User,
:name => "Name"
)
])
end
it "renders a list of users" do
render
# Run the generator again with the --webrat flag if you w... |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/running_rspec_via_rake/spec/views/users/new.html.erb_spec.rb | Ruby | mit | 211 | master | 433 | require 'spec_helper'
describe "users/new" do
before(:each) do
assign(:user, stub_model(User,
:name => "MyString"
).as_new_record)
end
it "renders new user form" do
render
# Run the generator again with the --webrat flag if you want to use webrat matchers
assert_select "form[action=?]... |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/running_rspec_via_rake/spec/controllers/users_controller_spec.rb | Ruby | mit | 211 | master | 5,938 | require 'spec_helper'
# This spec was generated by rspec-rails when you ran the scaffold generator.
# It demonstrates how one might use RSpec to specify the controller code that
# was generated by Rails when you ran the scaffold generator.
#
# It assumes that the implementation code is generated by the rails scaffold
... |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/ensure_classpath_file_get_generated/test.rb | Ruby | mit | 211 | master | 1,312 | #-*- mode: ruby -*-
require 'fileutils'
require 'jbundler'
def ensure_install
raise "missing Jarfile.lock" unless File.exists?( 'Jarfile.lock' )
raise "missing .jbundler" unless File.exists?( '.jbundler/classpath.rb' )
end
def ensure_no_update( lock_time, classpath_time )
raise "unexpected update of Jarfile.lo... |
github | jruby/jbundler | https://github.com/jruby/jbundler | integration/vendored_jars/test.rb | Ruby | mit | 211 | master | 528 | #-*- mode: ruby -*-
$LOAD_PATH.unshift File.expand_path( '../vendor/jars', __FILE__ )
ENV_JAVA['jars.lock'] = File.expand_path( '../vendor/jars/Jars.lock', __FILE__ )
ENV_JAVA['jars.home'] = File.expand_path( '../vendor/jars', __FILE__ )
require 'jars/setup'
raise "missing netty-all-4.0.28.Final.jar" unless $CLASSPAT... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler.rb | Ruby | mit | 211 | master | 2,290 | #
# Copyright (C) 2013 Christian Meier
#
# 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 the rights to
# use, copy, modify, merge, publish, d... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/aether.rb | Ruby | mit | 211 | master | 3,911 | #
# Copyright (C) 2013 Christian Meier
#
# 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 the rights to
# use, copy, modify, merge, publish, d... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/pom.rb | Ruby | mit | 211 | master | 4,731 | #
# Copyright (C) 2013 Christian Meier
#
# 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 the rights to
# use, copy, modify, merge, publish, d... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/show.rb | Ruby | mit | 211 | master | 1,383 | require 'jbundler/configurator'
require 'jbundler/classpath_file'
require 'jbundler/vendor'
require 'jbundler/gemfile_lock'
require 'maven/tools/jarfile'
require 'maven/ruby/maven'
require 'fileutils'
module JBundler
class Show
def initialize( config )
@config = config
@classpath_file = JBundler::Cla... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/vendor.rb | Ruby | mit | 211 | master | 1,950 | require 'jars/installer'
module JBundler
class Vendor
def initialize( dir )
@dir = File.expand_path( dir )
@jars_lock = File.join( @dir, 'Jars.lock' )
end
def vendored?
File.exist?( @dir ) && Dir[ File.join( @dir, '*' ) ].size > 0
end
def require_jars
if File.exist?(@jar... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/config.rb | Ruby | mit | 211 | master | 5,534 | #
# Copyright (C) 2013 Christian Meier
#
# 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 the rights to
# use, copy, modify, merge, publish, d... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/dependency_pom.rb | Ruby | mit | 211 | master | 988 | bdir = java.lang.System.getProperty( "jbundler.basedir" )
jfile = java.lang.System.getProperty( "jbundler.jarfile" )
gfile = java.lang.System.getProperty( "jbundler.gemfile" )
jworkdir = java.lang.System.getProperty( "jbundler.workdir" )
basedir( bdir )
if basedir != bdir
# older maven-tools needs this
self.instan... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/jarfile_lock.rb | Ruby | mit | 211 | master | 2,399 | #
# Copyright (C) 2014 Christian Meier
#
# 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 the rights to
# use, copy, modify, merge, publish, d... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/cli.rb | Ruby | mit | 211 | master | 6,923 | #
# Copyright (C) 2013 Christian Meier
#
# 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 the rights to
# use, copy, modify, merge, publish, d... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/jruby_complete_pom.rb | Ruby | mit | 211 | master | 1,094 | jfile = ::Maven::Tools::Jarfile.new( java.lang.System.getProperty( "jbundler.jarfile" ) )
workdir = java.lang.System.getProperty( "jbundler.workdir" )
jworkdir = File.join( workdir, 'jruby_complete' )
FileUtils.mkdir_p( jworkdir )
build.directory = jworkdir
properties( 'maven.test.skip' => true,
'project.... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/configurator.rb | Ruby | mit | 211 | master | 887 | require 'jbundler/configurator'
module JBundler
class Configurator
attr_accessor :groups, :bootstrap, :verbose, :compile, :work_dir
def initialize( config )
@config = config
end
def configure( maven )
maven.property( 'jbundler.basedir', @config.basedir )
maven.property( 'jbundler.... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/context.rb | Ruby | mit | 211 | master | 735 | require 'maven/tools/jarfile'
require 'jbundler/classpath_file'
require 'jbundler/vendor'
require 'jbundler/gemfile_lock'
require 'jbundler/aether'
module JBundler
class Context
attr_reader :config
def initialize
@config = JBundler::Config.new
end
def jarfile
@jarfile ||= Mave... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/tree.rb | Ruby | mit | 211 | master | 735 | require 'jbundler/configurator'
require 'maven/ruby/maven'
require 'fileutils'
module JBundler
class Tree
def initialize( config )
@config = Configurator.new( config )
end
def show_it( debug = false )
m = Maven::Ruby::Maven.new
m.options[ '-f' ] = File.join( File.dirname( __FILE__ ),
... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/lock_down.rb | Ruby | mit | 211 | master | 4,932 | require 'jbundler/configurator'
require 'jbundler/classpath_file'
require 'jbundler/vendor'
require 'jbundler/gemfile_lock'
require 'jbundler/show'
require 'maven/tools/gemspec_dependencies'
require 'maven/tools/jarfile'
require 'maven/ruby/maven'
require 'fileutils'
require 'jars/installer'
module JBundler
class Lo... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/jruby_complete.rb | Ruby | mit | 211 | master | 1,035 | require 'jbundler/pom_runner'
require 'fileutils'
module JBundler
class JRubyComplete < PomRunner
def initialize( config, options )
super options
work_dir = File.expand_path( config.work_dir )
maven.property( 'jbundler.workdir', work_dir )
maven.property( 'jbundler.basedir', config.basedi... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/gemfile_lock.rb | Ruby | mit | 211 | master | 2,213 | #
# Copyright (C) 2013 Christian Meier
#
# 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 the rights to
# use, copy, modify, merge, publish, d... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/pom_runner.rb | Ruby | mit | 211 | master | 1,321 | require 'maven/ruby/maven'
module JBundler
class PomRunner
def initialize( config )
@config = config
end
def method_missing( m, *args )
result = @config[ m ] || @config[ m.to_s ]
result.nil? ? super : result
end
def maven_new
m = Maven::Ruby::Maven.new
m.proper... |
github | jruby/jbundler | https://github.com/jruby/jbundler | lib/jbundler/classpath_file.rb | Ruby | mit | 211 | master | 3,661 | #
# Copyright (C) 2013 Christian Meier
#
# 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 the rights to
# use, copy, modify, merge, publish, d... |
github | jruby/jbundler | https://github.com/jruby/jbundler | spec/vendor_spec.rb | Ruby | mit | 211 | master | 1,703 | load File.expand_path(File.join('spec', 'setup.rb'))
require 'jbundler/classpath_file'
require 'jbundler/vendor'
require 'maven/tools/jarfile'
require 'jbundler/gemfile_lock'
JBUNDLER_CLASSPATH = []
describe JBundler::Vendor do
let( :workdir ) { File.join('pkg', 'tmp') }
let( :vdir ) { File.join(workdir, 'jars') ... |
github | jruby/jbundler | https://github.com/jruby/jbundler | spec/classpath_file_spec.rb | Ruby | mit | 211 | master | 4,289 | load File.expand_path(File.join('spec', 'setup.rb'))
require 'jbundler/classpath_file'
require 'maven/tools/jarfile'
require 'jbundler/gemfile_lock'
describe JBundler::ClasspathFile do
let(:workdir) { File.join('pkg', 'tmp') }
let(:jfile) { File.join(workdir, 'jarfile') }
let(:gfile_lock) { File.join(workdir, '... |
github | jruby/jbundler | https://github.com/jruby/jbundler | spec/config_spec.rb | Ruby | mit | 211 | master | 7,230 | load File.expand_path(File.join('spec', 'setup.rb'))
require 'jbundler/config'
require 'fileutils'
describe JBundler::Config do
let( :basedir ){ File.dirname( File.expand_path( "../", __FILE__ ) ) }
let( :spec ){ 'spec' }
let( :spec_dir ){ File.join( basedir, spec ) }
let( :project ){ File.join( spec, 'projec... |
github | jruby/jbundler | https://github.com/jruby/jbundler | spec/pom_spec.rb | Ruby | mit | 211 | master | 2,173 | load File.expand_path(File.join('spec', 'setup.rb'))
require 'jbundler/pom'
describe JBundler::Pom do
it 'should create jar pom without deps' do
pom = JBundler::Pom.new("first", "1", [])
File.read(pom.file).must_equal "<?xml version=\"1.0\" ?><project><modelVersion>4.0.0</modelVersion><groupId>ruby.bundler<... |
github | jruby/jbundler | https://github.com/jruby/jbundler | spec/setup.rb | Ruby | mit | 211 | master | 369 | # single spec setup
$LOAD_PATH.unshift File.join( File.dirname( File.expand_path( File.dirname( __FILE__ ) ) ),
'lib' )
# TODO somehow needed here for executable_spec
require 'maven/tools/coordinate'
begin
require 'minitest'
rescue LoadError
end
require 'minitest/autorun'
# supress wa... |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | Gemfile | Ruby | mit | 211 | main | 454 | # frozen_string_literal: true
source 'https://rubygems.org'
gem 'jekyll'
gem 'kramdown-parser-gfm'
gem 'liquid-c'
gem 'rouge', '4.5.1'
gem 'activesupport'
gem 'nokogiri'
gem 'i18n'
group :jekyll_plugins do
gem 'jekyll-include-cache'
gem 'jekyll-redirect-from'
gem 'jekyll-generator-single-source'
end
group :dev... |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | app/_plugins/generators/alias_generator.rb | Ruby | mit | 211 | main | 1,415 | # frozen_string_literal: true
require 'yaml'
# Alias Generator for Posts using Netlify _redirects
#
# Generates redirect pages for posts with aliases set in the YAML Front Matter.
#
# Place the full path of the alias (place to redirect from) inside the
# destination post's YAML Front Matter. One or more aliases may be... |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | spec/spec_helper.rb | Ruby | mit | 211 | main | 4,710 | # This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause
# this file to always be loaded, without a need to explicitly require it in any
# file... |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | spec/support/shared_contexts/site.rb | Ruby | mit | 211 | main | 1,799 | module SharedContexts
module Site
extend ::RSpec::SharedContext
let(:config) do
Jekyll.configuration(
YAML.safe_load(
File.read(File.expand_path('../../../jekyll.yml', __dir__)),
aliases: true
).merge(
source: File.expand_path('../../fixtures/app', __dir__)... |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | spec/support/shared_examples/plugin_single_source/plugin.rb | Ruby | mit | 211 | main | 583 | RSpec.shared_examples 'a Plugin' do
describe '#vendor' do
it 'returns the author of the plugin' do
expect(subject.vendor).to eq(author)
end
end
describe '#name' do
it 'returns the name of the plugin' do
expect(subject.name).to eq(name)
end
end
describe '#dir' do
it 'returns t... |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | spec/app/_plugins/generators/latest_version_generator_spec.rb | Ruby | mit | 211 | main | 2,816 | RSpec.describe LatestVersion::Generator do
shared_examples_for 'does not create a latest page' do
it { expect{ subject }.not_to change { site.pages.size } }
end
shared_examples_for 'creates a latest page' do
it { expect{ subject }.to change { site.pages.size }.by(1) }
end
before do
Jekyll::Versi... |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | spec/app/_plugins/generators/kuma_to_kong_mesh_spec.rb | Ruby | mit | 211 | main | 3,497 | RSpec.describe KumaToKongMesh::Generator do
let(:page) do
site.pages.detect { |p| p.relative_path == 'kuma-to-kong-mesh.md' }
end
before do
page.data['path'] = "_src/.repos/kuma/#{page.relative_path}"
end
describe '#generate' do
subject! { described_class.new.generate(site) }
it 'replaces `... |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | spec/app/_plugins/generators/versions_spec.rb | Ruby | mit | 211 | main | 10,665 | RSpec.describe Jekyll::Versions do
let(:kong_versions) do
SafeYAML.load(File.read(File.join(site.source, '_data/kong_versions.yml')))
end
let(:mesh_versions) do
kong_versions.select { |v| v.fetch('edition') == 'mesh' }
end
let(:kubernetes_ingress_controller_versions) do
kong_versions.select { |v... |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | spec/app/_plugins/generators/sitemap_spec.rb | Ruby | mit | 211 | main | 287 | RSpec.describe Sitemap::Generator do
before { generate_site! }
describe '.generate' do
subject! { described_class.new.generate(site) }
it 'generates and sets the sitemap to the site' do
expect(site.data['sitemap_pages']).to be_an_instance_of(Array)
end
end
end |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | spec/app/_plugins/generators/plugin_single_source_generator_spec.rb | Ruby | mit | 211 | main | 941 | RSpec.describe PluginSingleSource::Generator do
describe '#generate' do
subject { described_class.new.generate(site) }
it 'generates pages for each version of each plugin' do
expect { subject }.to change { site.pages.size }.by(50)
end
it 'adds the latest version of the plugin to `data[sshg_hub... |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | spec/app/_plugins/generators/alias_generator_spec.rb | Ruby | mit | 211 | main | 1,769 | RSpec.describe Jekyll::AliasGenerator do
before do
described_class.new.generate(site)
end
describe '#generate' do
let(:page) do
site.pages.detect { |p| p.relative_path == '_redirects' }
end
it 'generates a page called `_redirects`' do
expect(page).not_to be_nil
end
it 'sets ... |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | spec/app/_plugins/generators/oas_definition_pages_generator_spec.rb | Ruby | mit | 211 | main | 276 | RSpec.describe OasDefinitionPages::Generator do
describe '#generate' do
subject { described_class.new.generate(site) }
it 'generates pages for each OAS definition + versions + index' do
expect { subject }.to change { site.pages.size }.by(9)
end
end
end |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | spec/app/_plugins/generators/oas_definition/page_url_generator_spec.rb | Ruby | mit | 211 | main | 909 | RSpec.describe OasDefinition::PageUrlGenerator do
describe '.run' do
subject { described_class.run(file:, version:) }
context 'namespaced api files' do
let(:file) { '_api/gateway/admin-ee/_index.md' }
context 'latest' do
let(:version) { 'latest' }
it { expect(subject).to eq('/ga... |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | spec/app/_plugins/generators/oas_definition/page_data_spec.rb | Ruby | mit | 211 | main | 6,191 | RSpec.describe OasDefinition::PageData do
let(:file) { '_api/konnect/audit-logs/_index.md' }
let(:product) do
JSON.parse(
File.read('spec/fixtures/app/_data/konnect_oas_data.json')
).detect{ |p| p['id'] == 'e46e7742-befb-49b1-9bf1-7cbe477ab818' }
end
describe '#build_data' do
subject { descri... |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | spec/app/_plugins/generators/oas_definition/product_spec.rb | Ruby | mit | 211 | main | 1,769 | # frozen_string_literal: true
RSpec.describe OasDefinition::Product do
let(:file) { File.join(site.source, '_api/konnect/audit-logs/_index.md') }
let(:product) do
JSON.parse(
File.read('spec/fixtures/app/_data/konnect_oas_data.json')
).detect { |p| p['id'] == 'e46e7742-befb-49b1-9bf1-7cbe477ab818' }
... |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | spec/app/_plugins/generators/utils/canonical_url_spec.rb | Ruby | mit | 211 | main | 975 | RSpec.describe Utils::CanonicalUrl do
describe '.generate' do
subject { described_class.generate(url) }
context 'when the url has a trailing slash' do
let(:url) { '/gateway/latest/' }
it { expect(subject).to eq('/gateway/latest/') }
end
context 'when the url does not have a trailing sla... |
github | Kong/docs.konghq.com | https://github.com/Kong/docs.konghq.com | spec/app/_plugins/generators/pages/version_data_spec.rb | Ruby | mit | 211 | main | 2,240 | RSpec.describe Jekyll::Pages::VersionData do
before { generate_site! }
subject { described_class.new(site:, page:) }
describe '#process!' do
before { subject.process! }
context 'when it is not a product page' do
let(:page) { find_page_by_url('/search/') }
it 'set has_version' do
ex... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.