Skip to content
Browse files

update gemspec, add license

  • Loading branch information...
1 parent ca2fb87 commit 20b4284ce50a43acda371cb98db197a0ae86ca1d unknown committed Aug 5, 2009
Showing with 29 additions and 19 deletions.
  1. +2 −2 Manifest.txt → .manifest
  2. +18 −0 LICENSE
  3. +9 −17 jrails.gemspec
View
4 Manifest.txt → .manifest
@@ -1,6 +1,6 @@
CHANGELOG
-Manifest.txt
-README
+LICENSE
+README.rdoc
install.rb
init.rb
bin
View
18 LICENSE
@@ -0,0 +1,18 @@
+Copyright (c) 2008 Aaron Eisenberger
+
+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.
View
26 jrails.gemspec
@@ -1,26 +1,18 @@
-require 'rubygems'
-
-spec = Gem::Specification.new do |s|
+Gem::Specification.new do |s|
s.name = "jrails"
s.version = "0.5.0"
+ s.date = "2009-07-31"
+
+ s.summary = "jRails is a drop-in jQuery replacement for the Rails Prototype/script.aculo.us helpers."
+ s.description = "Using jRails, you can get all of the same default Rails helpers for javascript functionality using the lighter jQuery library."
+
s.authors = ["Aaron Eisenberger", "Patrick Hurley"]
s.email = "aaronchi@gmail.com"
s.homepage = "http://ennerchi.com/projects/jrails"
- s.platform = Gem::Platform::RUBY
- s.summary = "jRails is a drop-in jQuery replacement for the Rails Prototype/script.aculo.us helpers."
- s.description = "jRails is a drop-in jQuery replacement for Prototype/script.aculo.us on Rails. " +
- "Using jRails, you can get all of the same default Rails helpers for javascript " +
- "functionality using the lighter jQuery library."
-
- files = IO.read("Manifest.txt").split
- s.files = files
- s.executables = ['jrails']
-
s.has_rdoc = false
-end
-if __FILE__ == $PROGRAM_NAME
- Gem::manage_gems
- Gem::Builder.new(spec).build
+ s.files = %w(CHANGELOG LICENSE README.rdoc install.rb init.rb bin bin/jrails javascripts javascripts/jquery-ui.js javascripts/jquery.js javascripts/jrails.js javascripts/sources javascripts/sources/jrails.js lib lib/jrails.rb tasks/ tasks/jrails.rake rails/init.rb)
+ s.executables = ['jrails']
+
end

0 comments on commit 20b4284

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