headjs-rails 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -4
- data/Gemfile.lock +81 -63
- data/Rakefile +1 -8
- data/VERSION +1 -1
- data/headjs-rails.gemspec +14 -22
- data/lib/headjs-rails/tag_helper.rb +22 -5
- data/test/test_tag_helper.rb +15 -11
- metadata +78 -106
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,82 +1,100 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
rack (~> 1.2
|
15
|
-
rack-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
arel (
|
32
|
-
builder (
|
33
|
-
erubis (2.
|
34
|
-
abstract (>= 1.0.0)
|
4
|
+
actionmailer (3.2.8)
|
5
|
+
actionpack (= 3.2.8)
|
6
|
+
mail (~> 2.4.4)
|
7
|
+
actionpack (3.2.8)
|
8
|
+
activemodel (= 3.2.8)
|
9
|
+
activesupport (= 3.2.8)
|
10
|
+
builder (~> 3.0.0)
|
11
|
+
erubis (~> 2.7.0)
|
12
|
+
journey (~> 1.0.4)
|
13
|
+
rack (~> 1.4.0)
|
14
|
+
rack-cache (~> 1.2)
|
15
|
+
rack-test (~> 0.6.1)
|
16
|
+
sprockets (~> 2.1.3)
|
17
|
+
activemodel (3.2.8)
|
18
|
+
activesupport (= 3.2.8)
|
19
|
+
builder (~> 3.0.0)
|
20
|
+
activerecord (3.2.8)
|
21
|
+
activemodel (= 3.2.8)
|
22
|
+
activesupport (= 3.2.8)
|
23
|
+
arel (~> 3.0.2)
|
24
|
+
tzinfo (~> 0.3.29)
|
25
|
+
activeresource (3.2.8)
|
26
|
+
activemodel (= 3.2.8)
|
27
|
+
activesupport (= 3.2.8)
|
28
|
+
activesupport (3.2.8)
|
29
|
+
i18n (~> 0.6)
|
30
|
+
multi_json (~> 1.0)
|
31
|
+
arel (3.0.2)
|
32
|
+
builder (3.0.4)
|
33
|
+
erubis (2.7.0)
|
35
34
|
git (1.2.5)
|
36
|
-
|
37
|
-
|
38
|
-
|
35
|
+
hike (1.2.1)
|
36
|
+
i18n (0.6.1)
|
37
|
+
jeweler (1.8.4)
|
38
|
+
bundler (~> 1.0)
|
39
39
|
git (>= 1.2.5)
|
40
40
|
rake
|
41
|
-
|
42
|
-
|
43
|
-
|
41
|
+
rdoc
|
42
|
+
journey (1.0.4)
|
43
|
+
json (1.7.5)
|
44
|
+
mail (2.4.4)
|
45
|
+
i18n (>= 0.4.0)
|
44
46
|
mime-types (~> 1.16)
|
45
47
|
treetop (~> 1.4.8)
|
46
|
-
mime-types (1.
|
47
|
-
|
48
|
-
|
49
|
-
rack
|
50
|
-
|
51
|
-
|
48
|
+
mime-types (1.19)
|
49
|
+
multi_json (1.3.7)
|
50
|
+
polyglot (0.3.3)
|
51
|
+
rack (1.4.1)
|
52
|
+
rack-cache (1.2)
|
53
|
+
rack (>= 0.4)
|
54
|
+
rack-ssl (1.3.2)
|
55
|
+
rack
|
56
|
+
rack-test (0.6.2)
|
52
57
|
rack (>= 1.0)
|
53
|
-
rails (3.
|
54
|
-
actionmailer (= 3.
|
55
|
-
actionpack (= 3.
|
56
|
-
activerecord (= 3.
|
57
|
-
activeresource (= 3.
|
58
|
-
activesupport (= 3.
|
58
|
+
rails (3.2.8)
|
59
|
+
actionmailer (= 3.2.8)
|
60
|
+
actionpack (= 3.2.8)
|
61
|
+
activerecord (= 3.2.8)
|
62
|
+
activeresource (= 3.2.8)
|
63
|
+
activesupport (= 3.2.8)
|
59
64
|
bundler (~> 1.0)
|
60
|
-
railties (= 3.
|
61
|
-
railties (3.
|
62
|
-
actionpack (= 3.
|
63
|
-
activesupport (= 3.
|
65
|
+
railties (= 3.2.8)
|
66
|
+
railties (3.2.8)
|
67
|
+
actionpack (= 3.2.8)
|
68
|
+
activesupport (= 3.2.8)
|
69
|
+
rack-ssl (~> 1.3.2)
|
64
70
|
rake (>= 0.8.7)
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
+
rdoc (~> 3.4)
|
72
|
+
thor (>= 0.14.6, < 2.0)
|
73
|
+
rake (0.9.2.2)
|
74
|
+
rdoc (3.12)
|
75
|
+
json (~> 1.4)
|
76
|
+
shoulda (3.3.2)
|
77
|
+
shoulda-context (~> 1.0.1)
|
78
|
+
shoulda-matchers (~> 1.4.1)
|
79
|
+
shoulda-context (1.0.1)
|
80
|
+
shoulda-matchers (1.4.1)
|
81
|
+
activesupport (>= 3.0.0)
|
82
|
+
sprockets (2.1.3)
|
83
|
+
hike (~> 1.2)
|
84
|
+
rack (~> 1.0)
|
85
|
+
tilt (~> 1.1, != 1.3.0)
|
86
|
+
thor (0.16.0)
|
87
|
+
tilt (1.3.3)
|
88
|
+
treetop (1.4.12)
|
89
|
+
polyglot
|
71
90
|
polyglot (>= 0.3.1)
|
72
|
-
tzinfo (0.3.
|
91
|
+
tzinfo (0.3.35)
|
73
92
|
|
74
93
|
PLATFORMS
|
75
94
|
ruby
|
76
95
|
|
77
96
|
DEPENDENCIES
|
78
|
-
bundler
|
79
|
-
jeweler
|
97
|
+
bundler
|
98
|
+
jeweler
|
80
99
|
rails (>= 3.0.0)
|
81
|
-
rcov
|
82
100
|
shoulda
|
data/Rakefile
CHANGED
@@ -29,16 +29,9 @@ Rake::TestTask.new(:test) do |test|
|
|
29
29
|
test.verbose = true
|
30
30
|
end
|
31
31
|
|
32
|
-
require 'rcov/rcovtask'
|
33
|
-
Rcov::RcovTask.new do |test|
|
34
|
-
test.libs << 'test'
|
35
|
-
test.pattern = 'test/**/test_*.rb'
|
36
|
-
test.verbose = true
|
37
|
-
end
|
38
|
-
|
39
32
|
task :default => :test
|
40
33
|
|
41
|
-
require '
|
34
|
+
require 'rdoc/task'
|
42
35
|
Rake::RDocTask.new do |rdoc|
|
43
36
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
44
37
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.1
|
data/headjs-rails.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.4.
|
7
|
+
s.name = "headjs-rails"
|
8
|
+
s.version = "0.4.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["David Bittencourt"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2012-11-05"
|
13
|
+
s.description = "This gem adds a helper and generator to facilitate the use of Head JS in your Rails 3 projects the same way you would normally add javascript tags using Rails default helpers."
|
14
|
+
s.email = "muitocomplicado@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
17
|
"README.md"
|
@@ -34,16 +34,11 @@ Gem::Specification.new do |s|
|
|
34
34
|
"test/test_generator.rb",
|
35
35
|
"test/test_tag_helper.rb"
|
36
36
|
]
|
37
|
-
s.homepage =
|
37
|
+
s.homepage = "http://github.com/muitocomplicado/headjs-rails"
|
38
38
|
s.licenses = ["MIT"]
|
39
39
|
s.require_paths = ["lib"]
|
40
|
-
s.rubygems_version =
|
41
|
-
s.summary =
|
42
|
-
s.test_files = [
|
43
|
-
"test/helper.rb",
|
44
|
-
"test/test_generator.rb",
|
45
|
-
"test/test_tag_helper.rb"
|
46
|
-
]
|
40
|
+
s.rubygems_version = "1.8.24"
|
41
|
+
s.summary = "Provides Rails 3 helper and generator for adding Head JS support."
|
47
42
|
|
48
43
|
if s.respond_to? :specification_version then
|
49
44
|
s.specification_version = 3
|
@@ -51,22 +46,19 @@ Gem::Specification.new do |s|
|
|
51
46
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
52
47
|
s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
|
53
48
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
54
|
-
s.add_development_dependency(%q<bundler>, ["
|
55
|
-
s.add_development_dependency(%q<jeweler>, ["
|
56
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
49
|
+
s.add_development_dependency(%q<bundler>, [">= 0"])
|
50
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
57
51
|
else
|
58
52
|
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
59
53
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
60
|
-
s.add_dependency(%q<bundler>, ["
|
61
|
-
s.add_dependency(%q<jeweler>, ["
|
62
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
54
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
55
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
63
56
|
end
|
64
57
|
else
|
65
58
|
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
66
59
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
67
|
-
s.add_dependency(%q<bundler>, ["
|
68
|
-
s.add_dependency(%q<jeweler>, ["
|
69
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
60
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
61
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
70
62
|
end
|
71
63
|
end
|
72
64
|
|
@@ -3,17 +3,34 @@ module Headjs
|
|
3
3
|
module TagHelper
|
4
4
|
|
5
5
|
def headjs_include_tag(*sources)
|
6
|
-
keys = []
|
7
6
|
content_tag :script, { :type => Mime::JS }, false do
|
8
|
-
|
9
|
-
|
7
|
+
headjs_include_js(*sources)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def headjs_include_js(*sources)
|
12
|
+
"head.js( #{headjs_include_params(*sources)} );".html_safe
|
13
|
+
end
|
14
|
+
|
15
|
+
def headjs_include_params(*sources)
|
16
|
+
keys = []
|
17
|
+
javascript_include_tag(*sources).
|
18
|
+
scan(/src="([^"]+)"/).
|
19
|
+
flatten.
|
20
|
+
map do |src|
|
21
|
+
key =
|
22
|
+
URI.
|
23
|
+
parse(src).
|
24
|
+
path[%r{[^/]+\z}].
|
25
|
+
gsub(/\.js$/,'').
|
26
|
+
gsub(/\.min$/,'').
|
27
|
+
gsub(/-[0-9a-f]{32}$/,'')
|
10
28
|
while keys.include?(key) do
|
11
29
|
key += '_' + key
|
12
30
|
end
|
13
31
|
keys << key
|
14
32
|
"{ '#{key}': '#{src}' }"
|
15
|
-
|
16
|
-
end
|
33
|
+
end.join(', ').html_safe
|
17
34
|
end
|
18
35
|
|
19
36
|
end
|
data/test/test_tag_helper.rb
CHANGED
@@ -31,42 +31,46 @@ module Headjs
|
|
31
31
|
context "The Head JS helper include tag" do
|
32
32
|
|
33
33
|
should "return a valid script tag" do
|
34
|
-
assert_equal
|
34
|
+
assert_equal "<script type=\"text/javascript\">head.js( { 'jquery': '#{jquery}' } );</script>", @helpers.headjs_include_tag(jquery)
|
35
35
|
end
|
36
|
-
|
37
|
-
should "concatenate labels to avoid overwriting" do
|
38
|
-
assert_equal
|
36
|
+
|
37
|
+
should "concatenate labels to avoid overwriting (not that great)" do
|
38
|
+
assert_equal "<script type=\"text/javascript\">head.js( { 'comments': '/javascripts/products/comments.js' }, { 'comments_comments': '/javascripts/reviews/comments.js' } );</script>", @helpers.headjs_include_tag('products/comments', 'reviews/comments')
|
39
39
|
end
|
40
40
|
|
41
41
|
should "accept strings for local paths" do
|
42
|
-
assert_equal
|
42
|
+
assert_equal "<script type=\"text/javascript\">head.js( { 'jquery': '/javascripts/jquery.js' }, { 'rails': '/javascripts/other/rails.js' } );</script>", @helpers.headjs_include_tag('jquery', 'other/rails')
|
43
43
|
end
|
44
44
|
|
45
45
|
should "accept :defaults registered expansions" do
|
46
|
-
assert_equal
|
46
|
+
assert_equal "<script type=\"text/javascript\">head.js( { 'jquery': '/javascripts/jquery.js' }, { 'rails': '/javascripts/rails.js' } );</script>", @helpers.headjs_include_tag(:defaults)
|
47
47
|
end
|
48
48
|
|
49
49
|
should "accept :defaults mixed with other strings" do
|
50
|
-
assert_equal
|
50
|
+
assert_equal "<script type=\"text/javascript\">head.js( { 'jquery': '/javascripts/jquery.js' }, { 'rails': '/javascripts/rails.js' }, { 'modernizr': '/javascripts/modernizr.js' } );</script>", @helpers.headjs_include_tag(:defaults, 'modernizr')
|
51
51
|
end
|
52
52
|
|
53
53
|
should "accept :all expansion" do
|
54
|
-
assert_equal
|
54
|
+
assert_equal "<script type=\"text/javascript\">head.js( { 'jquery': '/javascripts/jquery.js' }, { 'rails': '/javascripts/rails.js' }, { 'application': '/javascripts/application.js' } );</script>", @helpers.headjs_include_tag(:all)
|
55
55
|
end
|
56
56
|
|
57
57
|
should "accept a :cache => true parameter" do
|
58
58
|
@helpers.config.perform_caching = true
|
59
|
-
assert_equal
|
59
|
+
assert_equal "<script type=\"text/javascript\">head.js( { 'all': '/javascripts/all.js' } );</script>", @helpers.headjs_include_tag(:defaults, :cache => true)
|
60
60
|
end
|
61
61
|
|
62
62
|
should "accept a :cache => bundle parameter" do
|
63
63
|
@helpers.config.perform_caching = true
|
64
|
-
assert_equal
|
64
|
+
assert_equal "<script type=\"text/javascript\">head.js( { 'bundle': '/javascripts/bundle.js' } );</script>", @helpers.headjs_include_tag(:defaults, :cache => 'bundle')
|
65
65
|
end
|
66
66
|
|
67
67
|
should "work with random rails asset ids" do
|
68
68
|
ENV["RAILS_ASSET_ID"] = '123456789'
|
69
|
-
assert_equal
|
69
|
+
assert_equal "<script type=\"text/javascript\">head.js( { 'jquery': '/javascripts/jquery.js?#{ENV["RAILS_ASSET_ID"]}' }, { 'rails': '/javascripts/rails.js?#{ENV["RAILS_ASSET_ID"]}' } );</script>", @helpers.headjs_include_tag(:defaults)
|
70
|
+
end
|
71
|
+
|
72
|
+
should "remove rails asset hashes" do
|
73
|
+
assert_equal "<script type=\"text/javascript\">head.js( { 'foo': '/assets/foo-f1d2d2f924e986ac86fdf7b36c94bcdf.js' } );</script>", @helpers.headjs_include_tag('/assets/foo-f1d2d2f924e986ac86fdf7b36c94bcdf.js')
|
70
74
|
end
|
71
75
|
|
72
76
|
end
|
metadata
CHANGED
@@ -1,109 +1,90 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: headjs-rails
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 0
|
10
|
-
version: 0.4.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- David Bittencourt
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
prerelease: false
|
23
|
-
type: :runtime
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
12
|
+
date: 2012-11-05 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 7
|
30
|
-
segments:
|
31
|
-
- 3
|
32
|
-
- 0
|
33
|
-
- 0
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 3.0.0
|
35
|
-
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
22
|
+
type: :runtime
|
38
23
|
prerelease: false
|
39
|
-
|
40
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
25
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
|
47
|
-
- 0
|
48
|
-
version: "0"
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.0.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
49
31
|
name: shoulda
|
50
|
-
|
51
|
-
|
52
|
-
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
53
38
|
type: :development
|
54
|
-
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
55
41
|
none: false
|
56
|
-
requirements:
|
57
|
-
- -
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
|
60
|
-
|
61
|
-
- 1
|
62
|
-
- 0
|
63
|
-
- 0
|
64
|
-
version: 1.0.0
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
65
47
|
name: bundler
|
66
|
-
|
67
|
-
|
68
|
-
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
69
54
|
type: :development
|
70
|
-
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
57
|
none: false
|
72
|
-
requirements:
|
73
|
-
- -
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
|
76
|
-
|
77
|
-
- 1
|
78
|
-
- 5
|
79
|
-
- 1
|
80
|
-
version: 1.5.1
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
81
63
|
name: jeweler
|
82
|
-
|
83
|
-
|
84
|
-
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
85
70
|
type: :development
|
86
|
-
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
87
73
|
none: false
|
88
|
-
requirements:
|
89
|
-
- -
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
name: rcov
|
96
|
-
version_requirements: *id005
|
97
|
-
description: This gem adds a helper and generator to facilitate the use of Head JS in your Rails 3 projects the same way you would normally add javascript tags using Rails default helpers.
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
description: This gem adds a helper and generator to facilitate the use of Head JS
|
79
|
+
in your Rails 3 projects the same way you would normally add javascript tags using
|
80
|
+
Rails default helpers.
|
98
81
|
email: muitocomplicado@gmail.com
|
99
82
|
executables: []
|
100
|
-
|
101
83
|
extensions: []
|
102
|
-
|
103
|
-
extra_rdoc_files:
|
84
|
+
extra_rdoc_files:
|
104
85
|
- LICENSE.txt
|
105
86
|
- README.md
|
106
|
-
files:
|
87
|
+
files:
|
107
88
|
- .document
|
108
89
|
- Gemfile
|
109
90
|
- Gemfile.lock
|
@@ -120,41 +101,32 @@ files:
|
|
120
101
|
- test/public/javascripts/rails.js
|
121
102
|
- test/test_generator.rb
|
122
103
|
- test/test_tag_helper.rb
|
123
|
-
has_rdoc: true
|
124
104
|
homepage: http://github.com/muitocomplicado/headjs-rails
|
125
|
-
licenses:
|
105
|
+
licenses:
|
126
106
|
- MIT
|
127
107
|
post_install_message:
|
128
108
|
rdoc_options: []
|
129
|
-
|
130
|
-
require_paths:
|
109
|
+
require_paths:
|
131
110
|
- lib
|
132
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
111
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
133
112
|
none: false
|
134
|
-
requirements:
|
135
|
-
- -
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
|
138
|
-
segments:
|
113
|
+
requirements:
|
114
|
+
- - ! '>='
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
segments:
|
139
118
|
- 0
|
140
|
-
|
141
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
|
+
hash: 981228764876150456
|
120
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
121
|
none: false
|
143
|
-
requirements:
|
144
|
-
- -
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
|
147
|
-
segments:
|
148
|
-
- 0
|
149
|
-
version: "0"
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
150
126
|
requirements: []
|
151
|
-
|
152
127
|
rubyforge_project:
|
153
|
-
rubygems_version: 1.
|
128
|
+
rubygems_version: 1.8.24
|
154
129
|
signing_key:
|
155
130
|
specification_version: 3
|
156
131
|
summary: Provides Rails 3 helper and generator for adding Head JS support.
|
157
|
-
test_files:
|
158
|
-
- test/helper.rb
|
159
|
-
- test/test_generator.rb
|
160
|
-
- test/test_tag_helper.rb
|
132
|
+
test_files: []
|