Sha256: 601d1f06daa597d9a54f8ba3e2c8c95adbd1cd3f871ad6c961046c5b41fce290

Contents?: true

Size: 947 Bytes

Versions: 2

Compression:

Stored size: 947 Bytes

Contents

#--
# Copyright 2011-2012 Splunk, 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 required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#++

# This script runs all the examples shipped with the SDK, one after another,
# editing their source on the fly to set the correct login parameters for
# your Splunk instance. It pauses between each to ask if this was correct.

example_path = File.dirname(File.expand_path(__FILE__))
example_files = Dir.entries(example_path).filter() {|s| s.match('^\\d_')}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
splunk-sdk-ruby-1.0.2 examples/run_examples.rb~
splunk-sdk-ruby-1.0.1 examples/run_examples.rb~