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 | sous-chefs/iis | https://github.com/sous-chefs/iis | test/integration/vdir/libraries/iis_vdir.rb | Ruby | apache-2.0 | 85 | main | 3,745 | # frozen_string_literal: true
# check for virtual directories in IIS
# Usage:
# describe iis_vdir('Default Web Site', '/vdir_test') do
# it { should exist }
# it { should have_path('/vdir_test') }
# it { should have_physical_path('C:\\inetpub\\wwwroot\\vdir_test') }
# it { should have_username('vagrant') }
# ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/integration/app/controls/app_spec.rb | Ruby | apache-2.0 | 85 | main | 603 | # copyright: 2017, Chef Software, Inc.
# license: All rights reserved
title 'iis_app section'
describe service('W3SVC') do
it { should be_installed }
it { should be_running }
its('startmode') { should eq 'Auto' }
end
describe iis_site('Default Web Site') do
it { should exist }
it { should be_running }
it... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/integration/app/libraries/iis_app.rb | Ruby | apache-2.0 | 85 | main | 2,930 | # frozen_string_literal: true
# check for web applications in IIS
# Usage:
# describe iis_app('/myapp', 'Website') do
# it { should exist }
# it { should have_application_pool('MyAppPool') }
# it { should have_protocols('http') }
# it { should have_site_name('Default Web Site') }
# it { should have_physical_p... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/integration/manager_permission/manager_permission.rb | Ruby | apache-2.0 | 85 | main | 506 | control 'Manager Permissions' do
title 'Check permissions to access the manager has been correctly granted'
describe powershell('[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Web.Management") | Out-Null
$current = [Microsoft.Web.Management.Server.ManagementAuthorization]::GetAuthorizedUsers("Defau... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/integration/manager/manager.rb | Ruby | apache-2.0 | 85 | main | 242 | control 'Manager Property' do
title 'Check manager is setup and listening correctly'
describe port(19500) do
it { should be_listening }
end
describe windows_feature('Web-Mgmt-Service') do
it { should be_installed }
end
end |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/integration/module/libraries/iis_module.rb | Ruby | apache-2.0 | 85 | main | 2,933 | # frozen_string_literal: true
# check for application modules in IIS
# Usage:
# describe iis_module('module_name', 'Default Web Site') do
# it { should exist }
# it { should have_name('module_name') }
# it { should have_type('System.Web.Security.FileAuthorizationModule, System.Web, Version=4.0.0.0, Culture=neutra... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/integration/module/controls/module_spec.rb | Ruby | apache-2.0 | 85 | main | 910 | # copyright: 2017, Chef Software, Inc.
# license: All rights reserved
title 'iis_module section'
describe service('W3SVC') do
it { should be_installed }
it { should be_running }
its('startmode') { should eq 'Auto' }
end
describe iis_module('example module', 'Default Web Site/v1_1') do
it { should exist }
i... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/integration/root/controls/root_spec.rb | Ruby | apache-2.0 | 85 | main | 1,296 | # copyright: 2017, Chef Software, Inc.
# license: All rights reserved
title 'iis_app section'
describe service('W3SVC') do
it { should be_installed }
it { should be_running }
its('startmode') { should eq 'Auto' }
end
# This is not working and needs more investigation
# describe iis_root do
# its('default_doc... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/cookbooks/test/recipes/vdir.rb | Ruby | apache-2.0 | 85 | main | 2,263 | #
# Cookbook:: test
# Recipe:: vdir
#
# copyright: 2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/cookbooks/test/recipes/root.rb | Ruby | apache-2.0 | 85 | main | 1,019 | #
# Cookbook:: test
# Recipe:: root
#
# copyright: 2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/cookbooks/test/recipes/app.rb | Ruby | apache-2.0 | 85 | main | 909 | #
# Cookbook:: test
# Recipe:: app
#
# copyright: 2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requi... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/cookbooks/test/recipes/pool.rb | Ruby | apache-2.0 | 85 | main | 2,887 | #
# Cookbook:: test
# Recipe:: pool
#
# copyright: 2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/cookbooks/test/recipes/module.rb | Ruby | apache-2.0 | 85 | main | 1,955 | #
# Cookbook:: test
# Recipe:: module
#
# copyright: 2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless re... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/cookbooks/test/recipes/site.rb | Ruby | apache-2.0 | 85 | main | 2,330 | #
# Cookbook:: test
# Recipe:: site
#
# copyright: 2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/cookbooks/test/recipes/config_property.rb | Ruby | apache-2.0 | 85 | main | 1,996 | #
# Cookbook:: test
# Recipe:: config_property
#
# copyright: 2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/cookbooks/test/recipes/section.rb | Ruby | apache-2.0 | 85 | main | 794 | #
# Cookbook:: test
# Recipe:: site
#
# copyright: 2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | test/cookbooks/test/recipes/config.rb | Ruby | apache-2.0 | 85 | main | 1,366 | #
# Cookbook:: test
# Recipe:: config
#
# copyright: 2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless re... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/spec_helper.rb | Ruby | apache-2.0 | 85 | main | 331 | require 'chefspec'
require 'chefspec/berkshelf'
RSpec.configure do |config|
config.color = true # Use color in STDOUT
config.formatter = :documentation # Use the specified formatter
config.log_level = :error # Avoid deprecation notice SPAM
config.platform = 'windows'
config.version = '2... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_compress_static_spec.rb | Ruby | apache-2.0 | 85 | main | 966 | #
# Cookbook:: iis
# Spec:: mod_compress_static
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_ftp_spec.rb | Ruby | apache-2.0 | 85 | main | 942 | #
# Cookbook:: iis
# Spec:: mod_ftp
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unles... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_management_spec.rb | Ruby | apache-2.0 | 85 | main | 956 | #
# Cookbook:: iis
# Spec:: mod_management
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_auth_basic_spec.rb | Ruby | apache-2.0 | 85 | main | 956 | #
# Cookbook:: iis
# Spec:: mod_auth_basic
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_compress_dynamic_spec.rb | Ruby | apache-2.0 | 85 | main | 968 | #
# Cookbook:: iis
# Spec:: mod_compress_dynamic
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_aspnet_spec.rb | Ruby | apache-2.0 | 85 | main | 948 | #
# Cookbook:: iis
# Spec:: mod_aspnet
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Un... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_aspnet45_spec.rb | Ruby | apache-2.0 | 85 | main | 952 | #
# Cookbook:: iis
# Spec:: mod_aspnet45
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_tracing_spec.rb | Ruby | apache-2.0 | 85 | main | 950 | #
# Cookbook:: iis
# Spec:: mod_tracing
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_auth_anonymous_spec.rb | Ruby | apache-2.0 | 85 | main | 964 | #
# Cookbook:: iis
# Spec:: mod_auth_anonymous
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_application_initialization_spec.rb | Ruby | apache-2.0 | 85 | main | 988 | #
# Cookbook:: iis
# Spec:: mod_application_initialization
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/license... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_iis6_metabase_compat.rb | Ruby | apache-2.0 | 85 | main | 976 | #
# Cookbook:: iis
# Spec:: mod_iis6_metabase_compat
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICE... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_auth_windows_spec.rb | Ruby | apache-2.0 | 85 | main | 960 | #
# Cookbook:: iis
# Spec:: mod_auth_windows
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/remove_default_site_spec.rb | Ruby | apache-2.0 | 85 | main | 1,278 | #
# Cookbook:: iis
# Spec:: default
#
# Copyright:: 2015-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unles... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_auth_digest_spec.rb | Ruby | apache-2.0 | 85 | main | 958 | #
# Cookbook:: iis
# Spec:: mod_auth_digest
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_security_spec.rb | Ruby | apache-2.0 | 85 | main | 952 | #
# Cookbook:: iis
# Spec:: mod_security
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_isapi_spec.rb | Ruby | apache-2.0 | 85 | main | 946 | #
# Cookbook:: iis
# Spec:: mod_isapi
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unl... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/default_spec.rb | Ruby | apache-2.0 | 85 | main | 2,575 | #
# Cookbook:: iis
# Spec:: default
#
# Copyright:: 2015-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unles... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_logging_spec.rb | Ruby | apache-2.0 | 85 | main | 950 | #
# Cookbook:: iis
# Spec:: mod_logging
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/recipes/mod_cgi_spec.rb | Ruby | apache-2.0 | 85 | main | 942 | #
# Cookbook:: iis
# Spec:: mod_cgi
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unles... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | spec/unit/resources/install_spec.rb | Ruby | apache-2.0 | 85 | main | 4,158 | #
# Cookbook:: iis
# Spec:: install
#
# Copyright:: 2015-2021, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unles... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | attributes/default.rb | Ruby | apache-2.0 | 85 | main | 1,263 | #
# Cookbook:: iis
# Attribute:: default
#
# Copyright:: 2011-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | resources/certificate_binding.rb | Ruby | apache-2.0 | 85 | main | 5,049 | #
# Author:: Richard Lavey (richard.lavey@calastone.com)
# Cookbook:: windows
# Resource:: certificate_binding
#
# Copyright:: 2015-2017, Calastone Ltd.
# Copyright:: 2018, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the L... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | resources/http_acl.rb | Ruby | apache-2.0 | 85 | main | 3,234 | #
# Author:: Richard Lavey (richard.lavey@calastone.com)
# Cookbook:: windows
# Resource:: http_acl
#
# Copyright:: 2015-2017, Calastone Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | resources/root.rb | Ruby | apache-2.0 | 85 | main | 3,223 | #
# Cookbook:: iis
# Resource:: root
#
# Copyright:: 2017-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | resources/manager.rb | Ruby | apache-2.0 | 85 | main | 2,347 | #
# Author:: Jason Field
# Cookbook:: iis
# Resource:: manager
#
# Copyright:: 2018, Calastone Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICE... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | resources/vdir.rb | Ruby | apache-2.0 | 85 | main | 5,185 | #
# Cookbook:: iis
# Resource:: vdir
#
# Copyright:: 2016-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | resources/install.rb | Ruby | apache-2.0 | 85 | main | 2,525 | #
# Cookbook:: iis
# Resource:: install
#
# Copyright:: 2018-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | resources/manager_permission.rb | Ruby | apache-2.0 | 85 | main | 3,409 | #
# Author:: Jason Field
# Cookbook:: iis
# Resource:: manager_permissions
#
# Copyright:: 2018, Calastone Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/l... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | resources/config_property.rb | Ruby | apache-2.0 | 85 | main | 4,195 | #
# Cookbook:: iis
# Resource:: config_property
#
# Copyright:: 2018, Calastone Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unl... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | resources/section.rb | Ruby | apache-2.0 | 85 | main | 2,242 | #
# Cookbook:: iis
# Resource:: section
#
# Copyright:: 2016-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | resources/pool.rb | Ruby | apache-2.0 | 85 | main | 22,553 | #
# Cookbook:: iis
# Resource:: pool
#
# Copyright:: 2017-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | resources/module.rb | Ruby | apache-2.0 | 85 | main | 5,172 | #
# Cookbook:: iis
# Resource:: module
#
# Copyright:: 2017-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Un... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | resources/config.rb | Ruby | apache-2.0 | 85 | main | 1,168 | #
# Cookbook:: iis
# Resource:: config
#
# Copyright:: 2017-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Un... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | resources/app.rb | Ruby | apache-2.0 | 85 | main | 5,074 | #
# Cookbook:: iis
# Resource:: app
#
# Copyright:: 2011-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unles... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | resources/site.rb | Ruby | apache-2.0 | 85 | main | 8,380 | #
# Cookbook:: iis
# Resource:: site
#
# Copyright:: 2017-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_logging.rb | Ruby | apache-2.0 | 85 | main | 888 | #
# Author:: Seth Chisamore (<schisamo@chef.io>)
# Cookbook:: iis
# Recipe:: mod_logging
#
# Copyright:: 2011-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/remove_default_site.rb | Ruby | apache-2.0 | 85 | main | 824 | #
# Author:: Kendrick Martin (<kendrick.martin@webtrends.com>)
# Cookbook:: iis
# Recipe:: remove_default_site
#
# Copyright:: 2012-2018, Webtrends, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_isapi.rb | Ruby | apache-2.0 | 85 | main | 898 | #
# Author:: Seth Chisamore (<schisamo@chef.io>)
# Cookbook:: iis
# Recipe:: mod_isapi
#
# Copyright:: 2011-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# h... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_application_initialization.rb | Ruby | apache-2.0 | 85 | main | 911 | #
# Author:: Seth Chisamore (<schisamo@chef.io>)
# Cookbook:: iis
# Recipe:: mod_application_initialization
#
# Copyright:: 2011-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_aspnet45.rb | Ruby | apache-2.0 | 85 | main | 962 | #
# Author:: Blair Hamilton (<blairham@me.com>)
# Cookbook:: iis
# Recipe:: mod_aspnet45
#
# Copyright:: 2011-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_management.rb | Ruby | apache-2.0 | 85 | main | 916 | #
# Author:: Seth Chisamore (<schisamo@chef.io>)
# Cookbook:: iis
# Recipe:: mod_management
#
# Copyright:: 2011-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_aspnet.rb | Ruby | apache-2.0 | 85 | main | 931 | #
# Author:: Seth Chisamore (<schisamo@chef.io>)
# Cookbook:: iis
# Recipe:: mod_aspnet
#
# Copyright:: 2011-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_auth_basic.rb | Ruby | apache-2.0 | 85 | main | 1,056 | #
# Author:: Seth Chisamore (<schisamo@chef.io>)
# Cookbook:: iis
# Recipe:: mod_auth_basic
#
# Copyright:: 2011-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_compress_dynamic.rb | Ruby | apache-2.0 | 85 | main | 915 | #
# Author:: Seth Chisamore (<schisamo@chef.io>)
# Cookbook:: iis
# Recipe:: mod_compress_dynamic
#
# Copyright:: 2011-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License a... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_ftp.rb | Ruby | apache-2.0 | 85 | main | 900 | #
# Author:: Kevin Rivers (<kevin@kevinrivers.com>)
# Cookbook:: iis
# Recipe:: mod_ftp
#
# Copyright:: 2014-2016, Kevin Rivers
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_auth_anonymous.rb | Ruby | apache-2.0 | 85 | main | 976 | #
# Author:: Justin Schuhmann
# Cookbook:: iis
# Recipe:: mod_auth_basic
#
# Copyright:: 2016, Justin Schuhmann
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/l... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_iis6_metabase_compat.rb | Ruby | apache-2.0 | 85 | main | 972 | #
# Author:: Kristian Vlaardingerbroek (<kvlaardingerbroek@schubergphilis.com>)
# Cookbook:: iis
# Recipe:: mod_iis6_metabase_compat
#
# Copyright:: 2013-2016, Schuberg Philis B.V.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# Yo... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_security.rb | Ruby | apache-2.0 | 85 | main | 925 | #
# Author:: Seth Chisamore (<schisamo@chef.io>)
# Cookbook:: iis
# Recipe:: mod_security
#
# Copyright:: 2011-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_auth_digest.rb | Ruby | apache-2.0 | 85 | main | 1,033 | #
# Author:: Justin Schuhmann
# Cookbook:: iis
# Recipe:: mod_auth_basic
#
# Copyright:: 2016, Justin Schuhmann
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/l... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/default.rb | Ruby | apache-2.0 | 85 | main | 875 | #
# Author:: Seth Chisamore (<schisamo@chef.io>)
# Cookbook:: iis
# Recipe:: default
#
# Copyright:: 2011-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# htt... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_auth_windows.rb | Ruby | apache-2.0 | 85 | main | 1,066 | #
# Author:: Seth Chisamore (<schisamo@chef.io>)
# Cookbook:: iis
# Recipe:: mod_auth_windows
#
# Copyright:: 2011-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_compress_static.rb | Ruby | apache-2.0 | 85 | main | 912 | #
# Author:: Seth Chisamore (<schisamo@chef.io>)
# Cookbook:: iis
# Recipe:: mod_compress_static
#
# Copyright:: 2011-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_tracing.rb | Ruby | apache-2.0 | 85 | main | 884 | #
# Author:: Seth Chisamore (<schisamo@chef.io>)
# Cookbook:: iis
# Recipe:: mod_diagnostics
#
# Copyright:: 2011-2019, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#... |
github | sous-chefs/iis | https://github.com/sous-chefs/iis | recipes/mod_cgi.rb | Ruby | apache-2.0 | 85 | main | 882 | #
# Author:: Richard Downer (<richard.downer@cloudsoftcorp.com>)
# Cookbook:: iis
# Recipe:: mod_cgi
#
# Copyright:: 2013-2016, Cloudsoft Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the Lice... |
github | sunaku/wmiirc | https://github.com/sunaku/wmiirc | Gemfile | Ruby | isc | 85 | master | 273 | source 'https://rubygems.org'
# for generating docs
gem 'yard'
# for controlling wmii
gem 'rumai', '>= 4.1.3'
# for validating YAML
gem 'kwalify', '>= 0.7.2'
# for status/weather.yaml
# gem 'barometer', '~> 0.9.7'
# for status/music/mpd.yaml
# gem 'librmpd', '~> 0.1' |
github | sunaku/wmiirc | https://github.com/sunaku/wmiirc | lib/wmiirc.rb | Ruby | isc | 85 | master | 1,307 | require 'logger'
require 'rumai'
module Wmiirc
extend self
# path to user's wmii configuration directory
DIR = File.dirname(File.dirname(__FILE__))
# keep a log file to aid the user in debugging
LOG = Logger.new(File.join(DIR, 'wmiirc.log'))
# add colors to log messages based on severity
fmt = Logger:... |
github | sunaku/wmiirc | https://github.com/sunaku/wmiirc | lib/wmiirc/config.rb | Ruby | isc | 85 | master | 3,151 | require 'wmiirc'
require 'yaml'
module Wmiirc
class Config < Hash
attr_reader :origins, :shortcuts
def initialize file
Import.import self, file, @origins={}
end
def apply
script 'before'
display
control
script 'after'
end
##
# Qualifies the given section name with the YAML file
... |
github | sunaku/wmiirc | https://github.com/sunaku/wmiirc | lib/wmiirc/import.rb | Ruby | isc | 85 | master | 2,418 | require 'wmiirc'
require 'yaml'
module Wmiirc
module Import
extend self
def import result, paths, origins={}, imported={}, importer=$0
Array(paths).each do |path|
next if imported[path]
imported[path] = true
begin
data = YAML.load_file(path)
rescue => error
error.messa... |
github | sunaku/wmiirc | https://github.com/sunaku/wmiirc | lib/wmiirc/handler.rb | Ruby | isc | 85 | master | 2,121 | # DSL for wmiirc configuration.
module Wmiirc
class Handler < Hash
def initialize
super {|h,k| h[k] = [] }
end
##
# Registers the given block as a handler for the given key
# and returns that handler, or if a block is not given,
# executes all handlers registered for the given key.
... |
github | sunaku/wmiirc | https://github.com/sunaku/wmiirc | lib/wmiirc/menu.rb | Ruby | isc | 85 | master | 2,961 | require 'shellwords'
module Wmiirc
HISTORY_DIR = File.join(DIR, 'history')
Dir.mkdir HISTORY_DIR unless Dir.exist? HISTORY_DIR
##
# Shows a menu (where the user must press keys on their keyboard to
# make a choice) with the given items and returns the chosen item.
#
# @return nil if nothing was chosen.... |
github | sunaku/wmiirc | https://github.com/sunaku/wmiirc | lib/wmiirc/loader.rb | Ruby | isc | 85 | master | 3,525 | require 'wmiirc'
require 'wmiirc/config'
require 'wmiirc/system'
require 'kwalify'
module Wmiirc
module Loader
class << self
CONFIG_FILE = File.join(DIR, 'config.yaml')
CONFIG_DUMP_FILE = File.join(DIR,'config.dump')
CONFIG_SCHEMA_FILE = File.join(DIR, 'schema.yaml')
CONFIG_SCHEMA = YAML.load_file(CONFIG_SCH... |
github | sunaku/wmiirc | https://github.com/sunaku/wmiirc | lib/wmiirc/system.rb | Ruby | isc | 85 | master | 3,486 | module Wmiirc
# reap dead child processes to save them from becoming zombies
trap :SIGCHLD do
begin
while Process.wait(-1, Process::WNOHANG)
# reap!
end
rescue Errno::ECHILD
# there are no more dead child processes remaining to reap
end
end
##
# Runs {#launch!} inside t... |
github | tarellel/simple_form-tailwind | https://github.com/tarellel/simple_form-tailwind | simple_form-tailwind.gemspec | Ruby | mit | 85 | master | 1,756 | # frozen_string_literal: true
require_relative 'lib/simple_form/tailwind/version'
Gem::Specification.new do |spec|
spec.name = 'simple_form-tailwind'
spec.version = SimpleForm::Tailwind::VERSION
spec.authors = ['Brandon Hicks']
spec.email = ['tarellel@gmail.com']
spec.summary ... |
github | tarellel/simple_form-tailwind | https://github.com/tarellel/simple_form-tailwind | test/simple_form/tailwind_test.rb | Ruby | mit | 85 | master | 285 | # frozen_string_literal: true
require 'test_helper'
module SimpleForm
class TailwindTest < Minitest::Test
def test_that_it_has_a_version_number
refute_nil ::SimpleForm::Tailwind::VERSION
end
def test_it_does_something_useful
assert false
end
end
end |
github | tarellel/simple_form-tailwind | https://github.com/tarellel/simple_form-tailwind | lib/generators/simple_form/tailwind/install_generator.rb | Ruby | mit | 85 | master | 1,053 | # frozen_string_literal: true
require 'rails/generators'
module SimpleForm
module Tailwind
class InstallGenerator < ::Rails::Generators::Base
desc 'Generate a SimpleForm config for tailwind based forms'
source_root File.expand_path('templates', __dir__)
def check_tailwind_installation
... |
github | tarellel/simple_form-tailwind | https://github.com/tarellel/simple_form-tailwind | lib/generators/simple_form/tailwind/templates/simple_form.rb | Ruby | mit | 85 | master | 9,734 | # frozen_string_literal: true
# Use this setup block to configure all options available in SimpleForm.
SimpleForm.setup do |config|
# Default class for buttons
config.button_class = 'my-2 bg-blue-500 hover:bg-blue-700 text-white font-bold text-sm py-2 px-4 rounded'
# Define the default class of the input wrappe... |
github | jsdf/sprockets-coffee-react | https://github.com/jsdf/sprockets-coffee-react | sprockets-coffee-react.gemspec | Ruby | mit | 85 | master | 1,122 | require 'rubygems'
require 'yaml'
package = YAML.load_file(File.join(File.dirname(__FILE__), 'package.json'))
$:.push File.expand_path("../lib", __FILE__)
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "sprockets-coffee-react"
s.version = package["version"]
s... |
github | jsdf/sprockets-coffee-react | https://github.com/jsdf/sprockets-coffee-react | Gemfile | Ruby | mit | 85 | master | 919 | source "http://rubygems.org"
# Declare your gem's dependencies in sprockets-coffee-react.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec
# Declare any dependencies that are still in development here i... |
github | jsdf/sprockets-coffee-react | https://github.com/jsdf/sprockets-coffee-react | Rakefile | Ruby | mit | 85 | master | 715 | #!/usr/bin/env rake
begin
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
begin
require 'rdoc/task'
rescue LoadError
require 'rdoc/rdoc'
require 'rake/rdoctask'
RDoc::Task = Rake::RDocTask
end
RDoc::Task.new(:rdoc) do |rdoc|
rdoc.r... |
github | jsdf/sprockets-coffee-react | https://github.com/jsdf/sprockets-coffee-react | test/sprockets-coffee-react_test.rb | Ruby | mit | 85 | master | 1,215 | require 'test_helper'
class SprocketsCoffeeReactTest < ActionDispatch::IntegrationTest
test "truth" do
assert_kind_of Module, Sprockets::CoffeeReact
end
test ".js.coffee with pragma" do
get "/assets/car1.js"
assert_equal expected_output_file.read, @response.body.to_s
assert_response :success
e... |
github | jsdf/sprockets-coffee-react | https://github.com/jsdf/sprockets-coffee-react | test/dummy/config/routes.rb | Ruby | mit | 85 | master | 1,812 | Dummy::Application.routes.draw do
root to: 'main#index'
# The priority is based upon order of creation:
# first created -> highest priority.
# Sample of regular route:
# match 'products/:id' => 'catalog#view'
# Keep in mind you can assign values other than :controller and :action
# Sample of named rou... |
github | jsdf/sprockets-coffee-react | https://github.com/jsdf/sprockets-coffee-react | test/dummy/config/application.rb | Ruby | mit | 85 | master | 2,573 | require File.expand_path('../boot', __FILE__)
require 'rails/all'
Bundler.require
require "sprockets-coffee-react"
module Dummy
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/in... |
github | jsdf/sprockets-coffee-react | https://github.com/jsdf/sprockets-coffee-react | test/dummy/config/initializers/secret_token.rb | Ruby | mit | 85 | master | 496 | # Be sure to restart your server when you modify this file.
# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attac... |
github | jsdf/sprockets-coffee-react | https://github.com/jsdf/sprockets-coffee-react | test/dummy/config/environments/test.rb | Ruby | mit | 85 | master | 1,633 | Dummy::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... |
github | jsdf/sprockets-coffee-react | https://github.com/jsdf/sprockets-coffee-react | test/dummy/config/environments/development.rb | Ruby | mit | 85 | master | 1,484 | Dummy::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... |
github | jsdf/sprockets-coffee-react | https://github.com/jsdf/sprockets-coffee-react | lib/sprockets/coffee-react-postprocessor.rb | Ruby | mit | 85 | master | 248 | require 'sprockets'
require 'tilt'
require 'coffee-react'
module Sprockets
class CoffeeReactPostprocessor < Tilt::Template
def prepare
end
def evaluate(scope, locals, &block)
::CoffeeReact.jstransform(data)
end
end
end |
github | jsdf/sprockets-coffee-react | https://github.com/jsdf/sprockets-coffee-react | lib/sprockets/coffee-react.rb | Ruby | mit | 85 | master | 945 | require 'sprockets'
require 'tilt'
require 'coffee-react'
require 'sprockets/coffee-react-postprocessor'
module Sprockets
# Preprocessor that runs CJSX source files through coffee-react-transform
class CoffeeReact < Tilt::Template
CJSX_EXTENSION = /\.(:?cjsx|coffee)[^\/]*?$/
CJSX_PRAGMA = /^\s*#[ \t]*@cjsx... |
github | jsdf/sprockets-coffee-react | https://github.com/jsdf/sprockets-coffee-react | lib/sprockets/coffee-react-script.rb | Ruby | mit | 85 | master | 673 | require 'sprockets'
require 'tilt'
require 'coffee-react'
require 'coffee_script'
module Sprockets
# Preprocessor that runs CJSX source files through coffee-react-transform
# then compiles with coffee-script
class CoffeeReactScript < Tilt::Template
CJSX_EXTENSION = /\.cjsx[^\/]*?$/
CJSX_PRAGMA = /^\s*#[ ... |
github | jsdf/sprockets-coffee-react | https://github.com/jsdf/sprockets-coffee-react | lib/sprockets/coffee-react/engine.rb | Ruby | mit | 85 | master | 863 | require 'sprockets'
require 'sprockets/coffee-react'
require 'sprockets/coffee-react-postprocessor'
if defined?(Rails)
module Sprockets
class CoffeeReact
class Engine < ::Rails::Engine
initializer :setup_coffee_react, :after => "sprockets.environment", :group => :all do |app|
if app.asset... |
github | sorah/clarion | https://github.com/sorah/clarion | dev.rb | Ruby | mit | 85 | master | 744 | #!/usr/bin/env ruby
require 'bundler/setup'
require 'webrick'
require 'webrick/ssl'
require 'logger'
require 'rack'
ENV['RACK_ENV'] = 'development'
ENV['CLARION_DEV_HTTPS']='1'
ENV['CLARION_REGISTRATION_ALLOWED_URL']='.+'
ENV['CLARION_STORE']='memory'
ENV['CLARION_COUNTER']='memory'
app, _ = Rack::Builder.parse_file... |
github | sorah/clarion | https://github.com/sorah/clarion | clarion.gemspec | Ruby | mit | 85 | master | 1,077 | lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "clarion/version"
Gem::Specification.new do |spec|
spec.name = "clarion"
spec.version = Clarion::VERSION
spec.authors = ["Sorah Fukumori"]
spec.email = ["sorah@cookpad.com"]
... |
github | sorah/clarion | https://github.com/sorah/clarion | config.ru | Ruby | mit | 85 | master | 1,505 | require 'bundler/setup'
require 'securerandom'
require 'clarion'
if ENV['RACK_ENV'] == 'production'
raise 'Set $SECRET_KEY_BASE' unless ENV['SECRET_KEY_BASE']
end
if ENV['CLARION_DEV_HTTPS']
use(Class.new do
def initialize(app)
@app = app
end
def call(env)
@app.call env.merge('HTTPS' => '... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.