Skip to content
Browse files

Updating the NOTICE file, adding apache header

  • Loading branch information...
1 parent 0da38ff commit b5074922bfc716b681abb7d0bd122eea8190d005 @adamhjk adamhjk committed
View
22 NOTICE
@@ -1,27 +1,7 @@
-Mixin::Config NOTICE
+Mixlib::Authentication NOTICE
=================
Developed at Opscode (http://www.opscode.com).
* Copyright 2009, Opscode, Inc. <legal@opscode.com>
-Mixin::Config incorporates code from Chef. The Chef notice file follows:
-
-Chef NOTICE
-===========
-
-Developed at Opscode (http://www.opscode.com).
-
-Contributors and Copyright holders:
-
- * Copyright 2008, Adam Jacob <adam@opscode.com>
- * Copyright 2008, Arjuna Christensen <aj@hjksolutions.com>
- * Copyright 2008, Bryan McLellan <btm@loftninjas.org>
- * Copyright 2008, Ezra Zygmuntowicz <ezra@engineyard.com>
- * Copyright 2009, Sean Cribbs <seancribbs@gmail.com>
- * Copyright 2009, Christopher Brown <cb@opscode.com>
- * Copyright 2009, Thom May <thom@clearairturbulence.org>
-
-Chef incorporates code modified from Open4 (http://www.codeforpeople.com/lib/ruby/open4/), which was written by Ara T. Howard.
-
-Chef incorporates code modified from Merb (http://www.merbivore.com), which is Copyright (c) 2008 Engine Yard.
View
64 README.rdoc
@@ -1,41 +1,23 @@
-== Mixlib::Auth
-
-Mixlib::Auth provides a class-based header signing authentication object, like the one used in Chef. To use in your project:
-
- require 'rubygems'
- require 'mixlib/config'
-
- class MyConfig
- extend(Mixlib::Config)
- configure do |c|
- c[:first_value] = 'something'
- c[:other_value] = 'something_else'
- end
- end
-
-Or...
-
- class MyConfig
- extend(Mixlib::Config)
-
- first_value 'something'
- other_value 'something_else'
- end
-
-To check a configuration variable:
-
- MyConfig.first_value # returns 'something'
- MyConfig[:first_value] # returns 'something'
-
-To change a configuration variable at runtime:
-
- MyConfig.first_value('foobar') # sets first_value to 'foobar'
- MyConfig[:first_value] = 'foobar' # sets first_value to 'foobar'
-
-You should populate your class with the default values for every configuration variable that might be accessed. If you try and access a variable that does not exist, Mixlib::Config will throw an <ArgumentError>.
-
-To load a ruby configuration file (which will evaluate in the context of your configuration class):
-
- MyConfig.from_file('your_config_file.rb')
-
-Enjoy!
+== Mixlib::Authentication
+
+Mixlib::Authentication provides a class-based header signing authentication object, like the one used in Chef.
+
+== License
+
+Author:: Christopher Brown (<cb@opscode.com>)
+Copyright:: Copyright (c) 2009 Opscode, 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.
+
+
View
18 lib/mixlib/authentication.rb
@@ -1,3 +1,21 @@
+#
+# Author:: Christopher Brown (<cb@opscode.com>)
+# Copyright:: Copyright (c) 2009 Opscode, 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 'mixlib/log'
module Mixlib
View
18 lib/mixlib/authentication/digester.rb
@@ -1,3 +1,21 @@
+#
+# Author:: Christopher Brown (<cb@opscode.com>)
+# Copyright:: Copyright (c) 2009 Opscode, 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 'mixlib/authentication'
module Mixlib
View
18 lib/mixlib/authentication/signatureverification.rb
@@ -1,3 +1,21 @@
+#
+# Author:: Christopher Brown (<cb@opscode.com>)
+# Copyright:: Copyright (c) 2009 Opscode, 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 'ostruct'
require 'net/http'
require 'mixlib/authentication'
View
18 lib/mixlib/authentication/signedheaderauth.rb
@@ -1,3 +1,21 @@
+#
+# Author:: Christopher Brown (<cb@opscode.com>)
+# Copyright:: Copyright (c) 2009 Opscode, 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 'time'
require 'base64'
require 'ostruct'

0 comments on commit b507492

Please sign in to comment.
Something went wrong with that request. Please try again.