harukizaemon-cascading_javascripts 2.0.0 → 2.0.1
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/CHANGELOG.rdoc +4 -0
- data/README.rdoc +4 -8
- data/cascading_javascripts.gemspec +3 -7
- metadata +4 -15
- data/about.yml +0 -5
- data/rails/init.rb +0 -1
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -14,27 +14,23 @@ one.
|
|
14
14
|
|
15
15
|
To use, simply call javascript_include_tag from application.html.erb including :cascades as a (or the only) parameter:
|
16
16
|
|
17
|
-
|
18
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
19
|
-
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
17
|
+
<html>
|
20
18
|
<head>
|
21
19
|
...
|
22
20
|
<%= javascript_include_tag :cascades %>
|
23
21
|
</head>
|
24
|
-
|
25
|
-
...
|
26
|
-
</body>
|
22
|
+
...
|
27
23
|
</html>
|
28
24
|
|
29
25
|
== Installation
|
30
26
|
|
31
27
|
You have two choices for installation. The first uses a gem (recommended):
|
32
28
|
|
33
|
-
|
29
|
+
config.gem "harukizaemon-cascading_javascripts", :lib => "cascading_javascripts", :source => "http://gems.github.com"
|
34
30
|
|
35
31
|
Or you can use the Rails plugin
|
36
32
|
|
37
|
-
$ ruby script/install git://github.com/harukizaemon/cascading_javascripts.git
|
33
|
+
$ ruby script/plugin install git://github.com/harukizaemon/cascading_javascripts.git
|
38
34
|
|
39
35
|
=== See Also
|
40
36
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "cascading_javascripts"
|
3
|
-
s.version = "2.0.
|
4
|
-
s.date = "2009-01-
|
3
|
+
s.version = "2.0.1"
|
4
|
+
s.date = "2009-01-06"
|
5
5
|
s.summary = "Include controller and action specific javascript files in your Ruby on Rails templates."
|
6
6
|
s.email = "simon.harris@redhillconsulting.com.au"
|
7
7
|
s.homepage = "http://github.com/harukizaemon/cascading_javascripts"
|
@@ -11,13 +11,9 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.files = ["CHANGELOG.rdoc",
|
12
12
|
"MIT-LICENSE",
|
13
13
|
"README.rdoc",
|
14
|
-
"about.yml",
|
15
14
|
"cascading_javascripts.gemspec",
|
16
|
-
"lib",
|
17
15
|
"lib/cascading_javascripts.rb",
|
18
|
-
"lib/red_hill_consulting/cascading_javascripts/action_view/helpers/asset_tag_helper.rb"
|
19
|
-
"rails/init.rb"]
|
16
|
+
"lib/red_hill_consulting/cascading_javascripts/action_view/helpers/asset_tag_helper.rb"]
|
20
17
|
s.rdoc_options = ["--main", "README.rdoc"]
|
21
18
|
s.extra_rdoc_files = ["CHANGELOG.rdoc", "README.rdoc"]
|
22
|
-
s.add_dependency("actionpack", ["> 2.2.2"])
|
23
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: harukizaemon-cascading_javascripts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Harris
|
@@ -9,18 +9,10 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-01-
|
12
|
+
date: 2009-01-06 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
name: actionpack
|
17
|
-
version_requirement:
|
18
|
-
version_requirements: !ruby/object:Gem::Requirement
|
19
|
-
requirements:
|
20
|
-
- - ">"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 2.2.2
|
23
|
-
version:
|
14
|
+
dependencies: []
|
15
|
+
|
24
16
|
description: Cascading Javascripts is a Ruby on Rails plugin that enhances the behaviour of the built-in javascript_include_tag macro to include controller and action specific javascript files.
|
25
17
|
email: simon.harris@redhillconsulting.com.au
|
26
18
|
executables: []
|
@@ -34,12 +26,9 @@ files:
|
|
34
26
|
- CHANGELOG.rdoc
|
35
27
|
- MIT-LICENSE
|
36
28
|
- README.rdoc
|
37
|
-
- about.yml
|
38
29
|
- cascading_javascripts.gemspec
|
39
|
-
- lib
|
40
30
|
- lib/cascading_javascripts.rb
|
41
31
|
- lib/red_hill_consulting/cascading_javascripts/action_view/helpers/asset_tag_helper.rb
|
42
|
-
- rails/init.rb
|
43
32
|
has_rdoc: true
|
44
33
|
homepage: http://github.com/harukizaemon/cascading_javascripts
|
45
34
|
post_install_message:
|
data/about.yml
DELETED
data/rails/init.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require 'cascading_javascripts' unless defined?(RedHillConsulting::CascadingJavascripts)
|