Skip to content

Commit 9a831c6

Browse files
committed
Creating a gem for jquery form. Initial commit.
1 parent 2990fb2 commit 9a831c6

File tree

9 files changed

+82
-1
lines changed

9 files changed

+82
-1
lines changed

.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
*.gem
2+
*.rbc
3+
.bundle
4+
.config
5+
.yardoc
6+
Gemfile.lock
7+
InstalledFiles
8+
_yardoc
9+
coverage
10+
doc/
11+
lib/bundler/man
12+
pkg
13+
rdoc
14+
spec/reports
15+
test/tmp
16+
test/version_tmp
17+
tmp

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source 'https://rubygems.org'
2+
3+
# Specify your gem's dependencies in jquery-form-rails.gemspec
4+
gemspec

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The jQuery Form plugin is dual licensed under the MIT and GPL licenses.
2+
3+
MIT License
4+
5+
Permission is hereby granted, free of charge, to any person obtaining
6+
a copy of this software and associated documentation files (the
7+
"Software"), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
12+
13+
The above copyright notice and this permission notice shall be
14+
included in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
A port to rails gem base on the jquery Form Plugin git repository
1+
A rails gem that is forked directly from the jquery Form Plugin git repository to make easy updates for future versions.
22

33
---
44

Rakefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env rake
2+
require "bundler/gem_tasks"

jquery-form-rails.gemspec

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# -*- encoding: utf-8 -*-
2+
require File.expand_path('../lib/jquery-form-rails/version', __FILE__)
3+
4+
Gem::Specification.new do |gem|
5+
gem.authors = ["Mike Alsup"]
6+
gem.description = %q{The jQuery Form Plugin allows you to easily and unobtrusively upgrade HTML forms to use AJAX.}
7+
gem.summary = %q{jQuery Form Plugin}
8+
gem.homepage = "https://github.com/malsup/form"
9+
10+
gem.files = `git ls-files`.split($\)
11+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
12+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13+
gem.name = "jquery-form-rails"
14+
gem.require_paths = ["lib"]
15+
gem.version = Jquery::Form::Rails::VERSION
16+
17+
gem.required_ruby_version = ">= 1.9.3"
18+
gem.add_dependency "jquery-rails"
19+
end

lib/jquery-form-rails.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
require "jquery-form-rails/version"
2+
3+
module Jquery
4+
module Form
5+
module Rails
6+
class Engine < ::Rails::Engine
7+
end
8+
end
9+
end
10+
end

lib/jquery-form-rails/version.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module Jquery
2+
module Form
3+
module Rails
4+
VERSION = "3.18"
5+
end
6+
end
7+
end
File renamed without changes.

0 commit comments

Comments
 (0)