angular_rails_seo 1.0.2 → 1.0.3
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39ee01cfcbbad7f832928a2f523d9d864a1264a8
|
4
|
+
data.tar.gz: cb59a6dca8d846b7d6d5369004c9f14a429dfade
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89ba8890f930e1c2fc230c8c0221f5cdc022cadfa96dcace086eefb469d5da8de4be5329ffb59354a3c178cab2dfb368c80264312c4cd9ae242ab64b0038a24e
|
7
|
+
data.tar.gz: 5e275471825875489db4a8d6f07d33086950d10776a0a75e913b9498b88d73899b4e145757fff6a3ad5e1a27600fb19bcdbf79fac508e4af12340d35558f9537
|
@@ -12,7 +12,7 @@ angular.module('angular-rails-seo', [])
|
|
12
12
|
|
13
13
|
// Applies the passed SEO hash to the current page
|
14
14
|
$seo.applyData = function(data) {
|
15
|
-
if (!data.
|
15
|
+
if (!data.exclude) {
|
16
16
|
$seo.setTitle(data.title);
|
17
17
|
}
|
18
18
|
};
|
@@ -38,7 +38,7 @@ angular.module('angular-rails-seo', [])
|
|
38
38
|
}
|
39
39
|
};
|
40
40
|
|
41
|
-
// Shows data as corresponds to path. If data is set to
|
41
|
+
// Shows data as corresponds to path. If data is set to exclude, no data
|
42
42
|
// will be set as it's expected that the user will do it manually
|
43
43
|
$seo.setPath = function(path) {
|
44
44
|
var data;
|
@@ -68,7 +68,6 @@ angular.module('angular-rails-seo', [])
|
|
68
68
|
// the page name can be inserted into views
|
69
69
|
$seo.setTitle = function(title) {
|
70
70
|
$rootScope.pageTitle = title;
|
71
|
-
angular.find("title").text(title);
|
72
71
|
};
|
73
72
|
|
74
73
|
return $seo;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: angular_rails_seo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Ellis
|
@@ -14,30 +14,22 @@ dependencies:
|
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
17
20
|
- - ">="
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 3.0.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: spec
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
27
|
+
- - "~>"
|
32
28
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
29
|
+
version: '3.0'
|
38
30
|
- - ">="
|
39
31
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
32
|
+
version: 3.0.0
|
41
33
|
description: This gem provides a way to share SEO data between Rails and AngularJS,
|
42
34
|
without having to replicate data. It requires use of the asset pipeline.
|
43
35
|
email:
|