Permalink
Browse files

minor cleanup

  • Loading branch information...
1 parent 86225b6 commit bb64712b37d89c9043967b4d104fffcdeaa1831f @kristianmandrup committed Aug 2, 2012
Showing with 12 additions and 12 deletions.
  1. +2 −2 Gemfile
  2. +8 −4 README.rdoc → README.md
  3. +1 −1 VERSION
  4. +0 −1 lib/jqtools-rails.rb
  5. +1 −4 spec/spec_helper.rb
View
@@ -3,8 +3,8 @@ source :rubygems
# Add dependencies to develop your gem here.
# Include everything needed to run rake, tests, features, etc.
group :development do
- gem "rspec", "~> 2.8.0"
- gem "rdoc", "~> 3.12"
+ gem "rspec", ">= 2.8.0"
+ gem "rdoc", ">= 3.12"
gem "bundler", ">= 1.0.0"
gem "jeweler", ">= 1.8.3"
gem "simplecov",">= 0.5"
View
@@ -1,23 +1,27 @@
-= jqtools-rails
+# jqtools-rails
This gem is a Rails engine and is configured to integrate with Rails asset pipeline.
Simply add to Gemfile and bundle:
-gem 'jqtools-rails'
+`gem 'jqtools-rails'`
You can choose to use either the minified js for all the tools:
+```text
//= require_tree .
//= require jquery.tools.min
+```
Or the tools individually
+```text
//= require_tree .
//= require rangeinput/rangeinput.js
//= require dateinput/dateinput.js
+```
-== Contributing to jqtools-rails
+## Contributing to jqtools-rails
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
@@ -27,7 +31,7 @@ Or the tools individually
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
-== Copyright
+## Copyright
Copyright (c) 2012 Kristian Mandrup. See LICENSE.txt for
further details.
View
@@ -1 +1 @@
-0.1.1
+0.1.2
View
@@ -1,7 +1,6 @@
module JQueryTools
module Rails
class Engine < ::Rails::Engine
- # puts "jQueryTools loaded"
end
end
end
View
@@ -1,12 +1,9 @@
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'jqtools-rails'
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
-RSpec.configure do |config|
-
+RSpec.configure do |config|
end

0 comments on commit bb64712

Please sign in to comment.