ratnikov-ajax_resource 0.01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/tasks/ajax_resource.rb +13 -0
- metadata +55 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
|
2
|
+
namespace :ajax_resource do
|
3
|
+
namespace :rails do
|
4
|
+
desc "Installs ajax_resource javascript in the public/javascripts directory. Set COMPRESS=true to install the compressed version."
|
5
|
+
task :install do
|
6
|
+
extension = ENV["COMPRESS"] == "true" ? "min" : "src"
|
7
|
+
from = File.join File.dirname(__FILE__), '..', 'build', "ajax_resource-#{extension}.js"
|
8
|
+
to = File.join Rails.root, 'public', 'javascripts', 'ajax_resource.js'
|
9
|
+
FileUtils.cp(from, to, :verbose => true);
|
10
|
+
puts "Done installing."
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ratnikov-ajax_resource
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: "0.01"
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Dmitry Ratnikov
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-02-18 00:00:00 -08:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description:
|
17
|
+
email: dmitryr@webitects.com
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files: []
|
23
|
+
|
24
|
+
files:
|
25
|
+
- build/ajax_resource-min.js
|
26
|
+
- build/ajax_resource-src.js
|
27
|
+
- tasks/ajax_resource.rb
|
28
|
+
has_rdoc: false
|
29
|
+
homepage: http://github.com/ratnikov/ajax_resource/tree/master
|
30
|
+
post_install_message:
|
31
|
+
rdoc_options: []
|
32
|
+
|
33
|
+
require_paths:
|
34
|
+
- .
|
35
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: "0"
|
40
|
+
version:
|
41
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: "0"
|
46
|
+
version:
|
47
|
+
requirements: []
|
48
|
+
|
49
|
+
rubyforge_project:
|
50
|
+
rubygems_version: 1.2.0
|
51
|
+
signing_key:
|
52
|
+
specification_version: 2
|
53
|
+
summary: Javascript implementation of REST interface
|
54
|
+
test_files: []
|
55
|
+
|