meta-tags-helpers 0.1.7 → 0.2.0
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.
- checksums.yaml +7 -0
- data/.gitignore +117 -0
- data/Gemfile +3 -7
- data/LICENSE.txt +22 -0
- data/README.md +26 -6
- data/Rakefile +4 -51
- data/lib/meta_tags_helpers.rb +35 -32
- data/meta-tags-helpers.gemspec +21 -47
- data/test_app/Gemfile +4 -0
- data/test_app/README.rdoc +28 -0
- data/test_app/Rakefile +6 -0
- data/test_app/app/assets/javascripts/application.js +13 -0
- data/test_app/app/assets/javascripts/metatags.js +2 -0
- data/test_app/app/assets/stylesheets/application.css +13 -0
- data/test_app/app/assets/stylesheets/metatags.css +4 -0
- data/test_app/app/controllers/application_controller.rb +5 -0
- data/test_app/app/controllers/metatags_controller.rb +33 -0
- data/test_app/app/helpers/application_helper.rb +2 -0
- data/test_app/app/helpers/metatags_helper.rb +2 -0
- data/test_app/app/views/layouts/application.html.erb +17 -0
- data/test_app/app/views/metatags/arrays.html.erb +0 -0
- data/test_app/app/views/metatags/default.html.erb +0 -0
- data/test_app/app/views/metatags/namespaced.html.erb +0 -0
- data/test_app/app/views/metatags/options.html.erb +0 -0
- data/test_app/app/views/metatags/override_controller.html.erb +0 -0
- data/test_app/app/views/metatags/override_view.html.erb +1 -0
- data/test_app/bin/bundle +3 -0
- data/test_app/bin/rails +4 -0
- data/test_app/bin/rake +4 -0
- data/test_app/config.ru +4 -0
- data/test_app/config/application.rb +31 -0
- data/test_app/config/boot.rb +4 -0
- data/test_app/config/environment.rb +5 -0
- data/test_app/config/environments/development.rb +23 -0
- data/test_app/config/environments/production.rb +65 -0
- data/test_app/config/environments/test.rb +36 -0
- data/test_app/config/initializers/backtrace_silencers.rb +7 -0
- data/test_app/config/initializers/filter_parameter_logging.rb +4 -0
- data/test_app/config/initializers/inflections.rb +16 -0
- data/test_app/config/initializers/mime_types.rb +5 -0
- data/test_app/config/initializers/secret_token.rb +12 -0
- data/test_app/config/initializers/session_store.rb +3 -0
- data/test_app/config/initializers/wrap_parameters.rb +9 -0
- data/test_app/config/locales/en.yml +23 -0
- data/test_app/config/routes.rb +8 -0
- data/test_app/db/seeds.rb +7 -0
- data/test_app/log/development.log +0 -0
- data/test_app/log/test.log +123 -0
- data/test_app/public/404.html +58 -0
- data/test_app/public/422.html +58 -0
- data/test_app/public/500.html +57 -0
- data/test_app/public/favicon.ico +0 -0
- data/test_app/public/robots.txt +5 -0
- data/test_app/test/controllers/metatags_controller_test.rb +89 -0
- data/test_app/test/helpers/metatags_helper_test.rb +4 -0
- data/test_app/test/test_helper.rb +7 -0
- metadata +127 -34
- data/Gemfile.lock +0 -93
- data/VERSION +0 -1
@@ -0,0 +1,7 @@
|
|
1
|
+
# This file should contain all the record creation needed to seed the database with its default values.
|
2
|
+
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
3
|
+
#
|
4
|
+
# Examples:
|
5
|
+
#
|
6
|
+
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
|
7
|
+
# Mayor.create(name: 'Emanuel', city: cities.first)
|
File without changes
|
@@ -0,0 +1,123 @@
|
|
1
|
+
---------------------------------------------------------
|
2
|
+
MetatagsControllerTest: test_should_allow_to_pass_options
|
3
|
+
---------------------------------------------------------
|
4
|
+
-----------------------------------------------------------
|
5
|
+
MetatagsControllerTest: test_should_get_override_controller
|
6
|
+
-----------------------------------------------------------
|
7
|
+
-----------------------------------------------------
|
8
|
+
MetatagsControllerTest: test_should_get_override_view
|
9
|
+
-----------------------------------------------------
|
10
|
+
----------------------------------------------------
|
11
|
+
MetatagsControllerTest: test_should_normalize_nested
|
12
|
+
----------------------------------------------------
|
13
|
+
-----------------------------------------------------------------
|
14
|
+
MetatagsControllerTest: test_should_render_namespaced_as_property
|
15
|
+
-----------------------------------------------------------------
|
16
|
+
--------------------------------------------------
|
17
|
+
MetatagsControllerTest: test_should_support_arrays
|
18
|
+
--------------------------------------------------
|
19
|
+
------------------------------------------------------
|
20
|
+
MetatagsControllerTest: test_should_work_with_defaults
|
21
|
+
------------------------------------------------------
|
22
|
+
---------------------------------------------------------
|
23
|
+
MetatagsControllerTest: test_should_allow_to_pass_options
|
24
|
+
---------------------------------------------------------
|
25
|
+
Processing by MetatagsController#options as HTML
|
26
|
+
Rendered metatags/options.html.erb within layouts/application (1.4ms)
|
27
|
+
Completed 200 OK in 9ms (Views: 9.1ms)
|
28
|
+
-----------------------------------------------------------
|
29
|
+
MetatagsControllerTest: test_should_get_override_controller
|
30
|
+
-----------------------------------------------------------
|
31
|
+
Processing by MetatagsController#override_controller as HTML
|
32
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
33
|
+
-----------------------------------------------------
|
34
|
+
MetatagsControllerTest: test_should_get_override_view
|
35
|
+
-----------------------------------------------------
|
36
|
+
Processing by MetatagsController#override_view as HTML
|
37
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
38
|
+
----------------------------------------------------
|
39
|
+
MetatagsControllerTest: test_should_normalize_nested
|
40
|
+
----------------------------------------------------
|
41
|
+
-----------------------------------------------------------------
|
42
|
+
MetatagsControllerTest: test_should_render_namespaced_as_property
|
43
|
+
-----------------------------------------------------------------
|
44
|
+
Processing by MetatagsController#namespaced as HTML
|
45
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
46
|
+
--------------------------------------------------
|
47
|
+
MetatagsControllerTest: test_should_support_arrays
|
48
|
+
--------------------------------------------------
|
49
|
+
Processing by MetatagsController#arrays as HTML
|
50
|
+
Completed 500 Internal Server Error in 3ms
|
51
|
+
------------------------------------------------------
|
52
|
+
MetatagsControllerTest: test_should_work_with_defaults
|
53
|
+
------------------------------------------------------
|
54
|
+
Processing by MetatagsController#default as HTML
|
55
|
+
Completed 200 OK in 2ms (Views: 2.0ms)
|
56
|
+
---------------------------------------------------------
|
57
|
+
MetatagsControllerTest: test_should_allow_to_pass_options
|
58
|
+
---------------------------------------------------------
|
59
|
+
Processing by MetatagsController#options as HTML
|
60
|
+
Rendered metatags/options.html.erb within layouts/application (1.5ms)
|
61
|
+
Completed 200 OK in 10ms (Views: 9.3ms)
|
62
|
+
-----------------------------------------------------------
|
63
|
+
MetatagsControllerTest: test_should_get_override_controller
|
64
|
+
-----------------------------------------------------------
|
65
|
+
Processing by MetatagsController#override_controller as HTML
|
66
|
+
Completed 200 OK in 2ms (Views: 2.2ms)
|
67
|
+
-----------------------------------------------------
|
68
|
+
MetatagsControllerTest: test_should_get_override_view
|
69
|
+
-----------------------------------------------------
|
70
|
+
Processing by MetatagsController#override_view as HTML
|
71
|
+
Completed 200 OK in 2ms (Views: 2.3ms)
|
72
|
+
----------------------------------------------------
|
73
|
+
MetatagsControllerTest: test_should_normalize_nested
|
74
|
+
----------------------------------------------------
|
75
|
+
-----------------------------------------------------------------
|
76
|
+
MetatagsControllerTest: test_should_render_namespaced_as_property
|
77
|
+
-----------------------------------------------------------------
|
78
|
+
Processing by MetatagsController#namespaced as HTML
|
79
|
+
Completed 200 OK in 3ms (Views: 2.5ms)
|
80
|
+
--------------------------------------------------
|
81
|
+
MetatagsControllerTest: test_should_support_arrays
|
82
|
+
--------------------------------------------------
|
83
|
+
Processing by MetatagsController#arrays as HTML
|
84
|
+
Completed 200 OK in 2ms (Views: 2.2ms)
|
85
|
+
------------------------------------------------------
|
86
|
+
MetatagsControllerTest: test_should_work_with_defaults
|
87
|
+
------------------------------------------------------
|
88
|
+
Processing by MetatagsController#default as HTML
|
89
|
+
Completed 200 OK in 2ms (Views: 2.2ms)
|
90
|
+
---------------------------------------------------------
|
91
|
+
MetatagsControllerTest: test_should_allow_to_pass_options
|
92
|
+
---------------------------------------------------------
|
93
|
+
Processing by MetatagsController#options as HTML
|
94
|
+
Rendered metatags/options.html.erb within layouts/application (1.4ms)
|
95
|
+
Completed 200 OK in 9ms (Views: 9.1ms)
|
96
|
+
-----------------------------------------------------------
|
97
|
+
MetatagsControllerTest: test_should_get_override_controller
|
98
|
+
-----------------------------------------------------------
|
99
|
+
Processing by MetatagsController#override_controller as HTML
|
100
|
+
Completed 200 OK in 2ms (Views: 2.0ms)
|
101
|
+
-----------------------------------------------------
|
102
|
+
MetatagsControllerTest: test_should_get_override_view
|
103
|
+
-----------------------------------------------------
|
104
|
+
Processing by MetatagsController#override_view as HTML
|
105
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
106
|
+
----------------------------------------------------
|
107
|
+
MetatagsControllerTest: test_should_normalize_nested
|
108
|
+
----------------------------------------------------
|
109
|
+
-----------------------------------------------------------------
|
110
|
+
MetatagsControllerTest: test_should_render_namespaced_as_property
|
111
|
+
-----------------------------------------------------------------
|
112
|
+
Processing by MetatagsController#namespaced as HTML
|
113
|
+
Completed 200 OK in 2ms (Views: 2.0ms)
|
114
|
+
--------------------------------------------------
|
115
|
+
MetatagsControllerTest: test_should_support_arrays
|
116
|
+
--------------------------------------------------
|
117
|
+
Processing by MetatagsController#arrays as HTML
|
118
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
119
|
+
------------------------------------------------------
|
120
|
+
MetatagsControllerTest: test_should_work_with_defaults
|
121
|
+
------------------------------------------------------
|
122
|
+
Processing by MetatagsController#default as HTML
|
123
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/404.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
54
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/422.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The change you wanted was rejected.</h1>
|
54
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/500.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>We're sorry, but something went wrong.</h1>
|
54
|
+
</div>
|
55
|
+
<p>If you are the application owner check the logs for more information.</p>
|
56
|
+
</body>
|
57
|
+
</html>
|
File without changes
|
@@ -0,0 +1,89 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class MetatagsControllerTest < ActionController::TestCase
|
4
|
+
test "should work with defaults" do
|
5
|
+
|
6
|
+
get :default
|
7
|
+
assert_response :success
|
8
|
+
|
9
|
+
assert_select "title"
|
10
|
+
assert_select "meta[name='charset']"
|
11
|
+
assert_select "meta[name='X-UA-Compatible']"
|
12
|
+
assert_select "meta[name='viewport']"
|
13
|
+
assert_select "meta[property='og:url']"
|
14
|
+
assert_select "meta[property='og:type']"
|
15
|
+
assert_select "meta[property='og:title']"
|
16
|
+
assert_select "meta[property='og:description']"
|
17
|
+
assert_select "meta[property='og:image']"
|
18
|
+
assert_select "meta[name='csrf-param']"
|
19
|
+
assert_select "meta[name='csrf-token']"
|
20
|
+
|
21
|
+
end
|
22
|
+
|
23
|
+
test "should allow to pass options" do
|
24
|
+
|
25
|
+
get :options
|
26
|
+
assert_response :success
|
27
|
+
|
28
|
+
assert_select "title", "My title"
|
29
|
+
assert_select "meta[name='description'][content=?]", "My description"
|
30
|
+
assert_select "meta[name='charset']"
|
31
|
+
assert_select "meta[name='X-UA-Compatible']"
|
32
|
+
assert_select "meta[name='viewport']"
|
33
|
+
assert_select "meta[property='og:url']"
|
34
|
+
assert_select "meta[property='og:type']"
|
35
|
+
assert_select "meta[property='og:title'][content=?]", "My title"
|
36
|
+
assert_select "meta[property='og:description'][content=?]", "My description"
|
37
|
+
assert_select "meta[property='og:image']"
|
38
|
+
assert_select "meta[name='csrf-param']"
|
39
|
+
assert_select "meta[name='csrf-token']"
|
40
|
+
|
41
|
+
end
|
42
|
+
|
43
|
+
test "should render namespaced as property" do
|
44
|
+
|
45
|
+
get :namespaced
|
46
|
+
assert_response :success
|
47
|
+
|
48
|
+
assert_select "title"
|
49
|
+
assert_select "meta[name='charset']"
|
50
|
+
assert_select "meta[name='X-UA-Compatible']"
|
51
|
+
assert_select "meta[name='viewport']"
|
52
|
+
assert_select "meta[property='og:url']"
|
53
|
+
assert_select "meta[property='og:type']"
|
54
|
+
assert_select "meta[property='og:title']"
|
55
|
+
assert_select "meta[property='og:description']"
|
56
|
+
assert_select "meta[property='og:image']"
|
57
|
+
assert_select "meta[name='csrf-param']"
|
58
|
+
assert_select "meta[name='csrf-token']"
|
59
|
+
|
60
|
+
assert_select "meta[property='ns:my_custom_meta'][content=?]", "My value"
|
61
|
+
|
62
|
+
end
|
63
|
+
|
64
|
+
test "should get override_controller" do
|
65
|
+
get :override_controller
|
66
|
+
assert_response :success
|
67
|
+
assert_select "title", "Overriden in controller"
|
68
|
+
end
|
69
|
+
|
70
|
+
test "should get override_view" do
|
71
|
+
get :override_view
|
72
|
+
assert_response :success
|
73
|
+
assert_select "meta[property='og:type'][content=?]", "video.movie"
|
74
|
+
end
|
75
|
+
|
76
|
+
test "should normalize nested" do
|
77
|
+
normalized = @controller.send :normalize_meta_hash, {:og => {:video => {:title => "Escape from New York", "actor" => "Kurt Russell"}}}
|
78
|
+
assert_equal normalized, {:"og:video:title" => "Escape from New York", :"og:video:actor" => "Kurt Russell"}
|
79
|
+
end
|
80
|
+
|
81
|
+
test "should support arrays" do
|
82
|
+
get :arrays
|
83
|
+
assert_response :success
|
84
|
+
assert_select "meta[property='og:video:actor'][content=?]", "Goofy"
|
85
|
+
assert_select "meta[property='og:video:actor'][content=?]", "Mikey"
|
86
|
+
end
|
87
|
+
|
88
|
+
|
89
|
+
end
|
metadata
CHANGED
@@ -1,105 +1,198 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meta-tags-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- mcasimir
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-11-28 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>'
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
19
|
+
version: '3'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>'
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
26
|
+
version: '3'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: bundler
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.3'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.3'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
36
60
|
- !ruby/object:Gem::Version
|
37
61
|
version: '0'
|
38
62
|
type: :development
|
39
63
|
prerelease: false
|
40
64
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
65
|
requirements:
|
43
|
-
- -
|
66
|
+
- - '>='
|
44
67
|
- !ruby/object:Gem::Version
|
45
68
|
version: '0'
|
46
69
|
- !ruby/object:Gem::Dependency
|
47
|
-
name:
|
70
|
+
name: combustion
|
48
71
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
72
|
requirements:
|
51
73
|
- - ~>
|
52
74
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
75
|
+
version: 0.5.1
|
54
76
|
type: :development
|
55
77
|
prerelease: false
|
56
78
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
79
|
requirements:
|
59
80
|
- - ~>
|
60
81
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
82
|
+
version: 0.5.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: actionpack
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: activesupport
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
62
111
|
description: Rails meta tags helpers
|
63
|
-
email:
|
112
|
+
email:
|
113
|
+
- maurizio.cas@gmail.com
|
64
114
|
executables: []
|
65
115
|
extensions: []
|
66
|
-
extra_rdoc_files:
|
67
|
-
- README.md
|
116
|
+
extra_rdoc_files: []
|
68
117
|
files:
|
118
|
+
- .gitignore
|
69
119
|
- Gemfile
|
70
|
-
-
|
120
|
+
- LICENSE.txt
|
71
121
|
- README.md
|
72
122
|
- Rakefile
|
73
|
-
- VERSION
|
74
123
|
- lib/meta-tags-helpers.rb
|
75
124
|
- lib/meta_tags_helpers.rb
|
76
125
|
- meta-tags-helpers.gemspec
|
77
|
-
|
126
|
+
- test_app/Gemfile
|
127
|
+
- test_app/README.rdoc
|
128
|
+
- test_app/Rakefile
|
129
|
+
- test_app/app/assets/javascripts/application.js
|
130
|
+
- test_app/app/assets/javascripts/metatags.js
|
131
|
+
- test_app/app/assets/stylesheets/application.css
|
132
|
+
- test_app/app/assets/stylesheets/metatags.css
|
133
|
+
- test_app/app/controllers/application_controller.rb
|
134
|
+
- test_app/app/controllers/metatags_controller.rb
|
135
|
+
- test_app/app/helpers/application_helper.rb
|
136
|
+
- test_app/app/helpers/metatags_helper.rb
|
137
|
+
- test_app/app/views/layouts/application.html.erb
|
138
|
+
- test_app/app/views/metatags/arrays.html.erb
|
139
|
+
- test_app/app/views/metatags/default.html.erb
|
140
|
+
- test_app/app/views/metatags/namespaced.html.erb
|
141
|
+
- test_app/app/views/metatags/options.html.erb
|
142
|
+
- test_app/app/views/metatags/override_controller.html.erb
|
143
|
+
- test_app/app/views/metatags/override_view.html.erb
|
144
|
+
- test_app/bin/bundle
|
145
|
+
- test_app/bin/rails
|
146
|
+
- test_app/bin/rake
|
147
|
+
- test_app/config.ru
|
148
|
+
- test_app/config/application.rb
|
149
|
+
- test_app/config/boot.rb
|
150
|
+
- test_app/config/environment.rb
|
151
|
+
- test_app/config/environments/development.rb
|
152
|
+
- test_app/config/environments/production.rb
|
153
|
+
- test_app/config/environments/test.rb
|
154
|
+
- test_app/config/initializers/backtrace_silencers.rb
|
155
|
+
- test_app/config/initializers/filter_parameter_logging.rb
|
156
|
+
- test_app/config/initializers/inflections.rb
|
157
|
+
- test_app/config/initializers/mime_types.rb
|
158
|
+
- test_app/config/initializers/secret_token.rb
|
159
|
+
- test_app/config/initializers/session_store.rb
|
160
|
+
- test_app/config/initializers/wrap_parameters.rb
|
161
|
+
- test_app/config/locales/en.yml
|
162
|
+
- test_app/config/routes.rb
|
163
|
+
- test_app/db/seeds.rb
|
164
|
+
- test_app/log/development.log
|
165
|
+
- test_app/log/test.log
|
166
|
+
- test_app/public/404.html
|
167
|
+
- test_app/public/422.html
|
168
|
+
- test_app/public/500.html
|
169
|
+
- test_app/public/favicon.ico
|
170
|
+
- test_app/public/robots.txt
|
171
|
+
- test_app/test/controllers/metatags_controller_test.rb
|
172
|
+
- test_app/test/helpers/metatags_helper_test.rb
|
173
|
+
- test_app/test/test_helper.rb
|
174
|
+
homepage: https://github.com/mcasimir/meta-tags-helpers
|
78
175
|
licenses:
|
79
176
|
- MIT
|
177
|
+
metadata: {}
|
80
178
|
post_install_message:
|
81
179
|
rdoc_options: []
|
82
180
|
require_paths:
|
83
181
|
- lib
|
84
182
|
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
86
183
|
requirements:
|
87
|
-
- -
|
184
|
+
- - '>='
|
88
185
|
- !ruby/object:Gem::Version
|
89
186
|
version: '0'
|
90
|
-
segments:
|
91
|
-
- 0
|
92
|
-
hash: 2398148642369134804
|
93
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
|
-
none: false
|
95
188
|
requirements:
|
96
|
-
- -
|
189
|
+
- - '>='
|
97
190
|
- !ruby/object:Gem::Version
|
98
191
|
version: '0'
|
99
192
|
requirements: []
|
100
193
|
rubyforge_project:
|
101
|
-
rubygems_version:
|
194
|
+
rubygems_version: 2.0.6
|
102
195
|
signing_key:
|
103
|
-
specification_version:
|
104
|
-
summary:
|
196
|
+
specification_version: 4
|
197
|
+
summary: Seo and future-proof meta tags for Rails
|
105
198
|
test_files: []
|