diff options
| author | technoweenie <technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78> | 2005-09-15 03:48:52 +0000 |
|---|---|---|
| committer | technoweenie <technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78> | 2005-09-15 03:48:52 +0000 |
| commit | a9d8973a27564c0484fc5ca987f751ef326763c1 (patch) | |
| tree | 1be5346308f6d5874b535b461b09a019e9bd9aae | |
| parent | d0c1d25e9f0b6a5914f25ecb1b1200bec11e2c30 (diff) | |
modified gemspec
git-svn-id: http://svn.techno-weenie.net/projects/acts_as_versioned@73 567b1171-46fb-0310-a4c9-b4bef9110e78
| -rw-r--r-- | acts_as_versioned.gemspec | 9 | ||||
| -rw-r--r-- | lib/acts_as_versioned.rb | 21 |
2 files changed, 25 insertions, 5 deletions
diff --git a/acts_as_versioned.gemspec b/acts_as_versioned.gemspec index e6c79a699..ff785d773 100644 --- a/acts_as_versioned.gemspec +++ b/acts_as_versioned.gemspec @@ -2,15 +2,14 @@ Gem::Specification.new do |s| s.name = 'acts_as_versioned' s.version = '0.1' s.platform = Gem::Platform::RUBY - #s.summary = "Sentry provides painless encryption services with a wrapper around some OpenSSL classes" + s.summary = "Simple versioning with active record models" s.files = Dir.glob("{lib,test}/**/*") - #s.files << "README" - s.files << "MIT-LICENSE" - s.files << "CHANGELOG" + #s.files += %w(README MIT-LICENSE CHANGELOG) s.require_path = 'lib' s.autorequire = 'acts_as_versioned' - s.has_rdoc=false + s.has_rdoc=false # i am a lazy bastard #s.test_suite_file = 'test/tests.rb' + s.add_dependency 'activerecord', '>= 1.10.1' s.author = "Rick Olson" s.email = "technoweenie@gmail.com" s.homepage = "http://techno-weenie.net" diff --git a/lib/acts_as_versioned.rb b/lib/acts_as_versioned.rb index 23c501c94..80d910f22 100644 --- a/lib/acts_as_versioned.rb +++ b/lib/acts_as_versioned.rb @@ -1,3 +1,24 @@ +#Copyright (c) 2005 Rick Olson +# +#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, +#distribute, sublicense, and/or sell copies of the Software, and to +#permit persons to whom the Software is furnished to do so, subject to +#the following conditions: +# +#The above copyright notice and this permission notice shall be +#included in all copies or substantial portions of the Software. +# +#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +#EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +#MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +#NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +#LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +#OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +#WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + module ActiveRecord module Acts #:nodoc: module Versioned #:nodoc: |
