summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Edwards <adamed@opscode.com>2014-05-14 13:12:41 -0700
committerAdam Edwards <adamed@opscode.com>2014-05-14 13:12:41 -0700
commitac87ed20c4a87e49b14aa7b711cd043243a0317a (patch)
tree2f23e562f4af3d0ca55656c1c8d026d331972db4
parente110865be8c7c05201e2702e03519b761807f026 (diff)
downloadwmi-lite-ac87ed20c4a87e49b14aa7b711cd043243a0317a.tar.gz
Add file to simplify require from wmi-lite/wmi to wmi-lite
-rw-r--r--README.md4
-rw-r--r--lib/wmi-lite.rb20
2 files changed, 22 insertions, 2 deletions
diff --git a/README.md b/README.md
index 12350dc..28e4a17 100644
--- a/README.md
+++ b/README.md
@@ -13,10 +13,10 @@ To install it, run:
Usage
-----
-To use wmi-lite in your Ruby source code, just use a simple `require`:
+To use wmi-lite in your Ruby source code, just `require` it:
```ruby
-require 'wmi-lite/wmi'
+require 'wmi-lite'
```
#### Examples
diff --git a/lib/wmi-lite.rb b/lib/wmi-lite.rb
new file mode 100644
index 0000000..dcc916e
--- /dev/null
+++ b/lib/wmi-lite.rb
@@ -0,0 +1,20 @@
+#
+# Author:: Adam Edwards (<adamed@getchef.com>)
+# Copyright:: Copyright 2014 Chef Software, Inc.
+# License:: Apache License, Version 2.0
+#
+# 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.
+#
+
+require 'wmi-lite/wmi'
+