angular_rails_seo 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22aa4ffcd14734b42e2570942f3de7233fa9a3c2
4
- data.tar.gz: f66651cdd98097c0533370234d5d2c5ca168b007
3
+ metadata.gz: 39ee01cfcbbad7f832928a2f523d9d864a1264a8
4
+ data.tar.gz: cb59a6dca8d846b7d6d5369004c9f14a429dfade
5
5
  SHA512:
6
- metadata.gz: 17bece109fce3545b818a5be53a0c6c67503078bdd4b6d072b47d152de4fe5602c1f31367253faafb3e7a8a65d9be472559de947967ce93d3769b75a72e23df7
7
- data.tar.gz: 38f16f6cb13f2f9d6130ac7926532e0bee0a669f1d44b46d0f773815567c32d0906d8427048d2b98a13579cd938fd01da0989b0c9210e1ff72a9850d434cdbe0
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.dynamic) {
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 dynamic, no data
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;
@@ -1,3 +1,3 @@
1
1
  module AngularRailsSeo
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
@@ -38,7 +38,7 @@ module AngularRailsSeo
38
38
  ##
39
39
  # Title tag
40
40
  def seo_title
41
- content_tag :title, seo_data["title"]
41
+ content_tag :title, seo_data["title"], "ng-bind" => "pageTitle"
42
42
  end
43
43
 
44
44
  end
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.2
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: '0'
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: '0'
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: