resourcy-rails 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +25 -0
- data/lib/resourcy/engine.rb +4 -0
- data/lib/resourcy/rails.rb +4 -0
- data/lib/resourcy/version.rb +3 -0
- data/lib/resourcy-rails.rb +1 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/jquery-1.7.1.js +9266 -0
- data/spec/dummy/app/assets/javascripts/jquery-1.8.0.js +9227 -0
- data/spec/dummy/app/controllers/posts_controller.rb +85 -0
- data/spec/dummy/app/models/post.rb +3 -0
- data/spec/dummy/app/views/posts/_form.html.erb +25 -0
- data/spec/dummy/app/views/posts/edit.html.erb +6 -0
- data/spec/dummy/app/views/posts/index.html.erb +25 -0
- data/spec/dummy/app/views/posts/new.html.erb +5 -0
- data/spec/dummy/app/views/posts/show.html.erb +15 -0
- data/spec/dummy/config/application.rb +63 -0
- data/spec/dummy/config/boot.rb +9 -0
- data/spec/dummy/config/database.yml +10 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/evergreen.rb +47 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +64 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20120825050219_create_posts.rb +10 -0
- data/spec/dummy/db/structure.sql +4 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/public/index.html +12 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/javascripts/jquery.resourcy_spec.js.coffee +399 -0
- data/spec/javascripts/resourcy_spec.js.coffee +177 -0
- data/spec/javascripts/spec_helper.js +37 -0
- data/spec/javascripts/templates/ujs.html +3 -0
- data/vendor/assets/javascripts/jquery.resourcy.js.coffee +37 -0
- data/vendor/assets/javascripts/resourcy.js.coffee +104 -0
- metadata +229 -0
data/LICENSE
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
Resourcy is an unobtrusive RESTful adapter for jquery-ujs and Rails.
|
2
|
+
|
3
|
+
Documentation and other useful information can be found at
|
4
|
+
https://github.com/jejacks0n/resourcy
|
5
|
+
|
6
|
+
Copyright (c) 2011 Jeremy Jackson
|
7
|
+
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
9
|
+
a copy of this software and associated documentation files (the
|
10
|
+
"Software"), to deal in the Software without restriction, including
|
11
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
12
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
13
|
+
permit persons to whom the Software is furnished to do so, subject to
|
14
|
+
the following conditions:
|
15
|
+
|
16
|
+
The above copyright notice and this permission notice shall be
|
17
|
+
included in all copies or substantial portions of the Software.
|
18
|
+
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
23
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
24
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
25
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'resourcy/rails'
|
data/spec/dummy/Rakefile
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
3
|
+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
4
|
+
|
5
|
+
require File.expand_path('../config/application', __FILE__)
|
6
|
+
|
7
|
+
Dummy::Application.load_tasks
|