seo_meta 3.0.0 → 3.1.0

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
- SHA1:
3
- metadata.gz: bd4a6e7e50ed8cd054a81fa01ae92b80118fd303
4
- data.tar.gz: f8a86e484a33f9fe9863e51bfe8bcd7994ddead7
2
+ SHA256:
3
+ metadata.gz: b1d2bda2cc89f3ea828b06a1045068b91e90e5934e146eb3feeecf2893945e0a
4
+ data.tar.gz: 3f5b015b5e3e4a208804ba39dbcfd6bc2914c7d7cd08f23358df465c3a258441
5
5
  SHA512:
6
- metadata.gz: 13b59f088b0d3d6010bd3a619d1f38493dba1c64b620e87614cad9806972c7f74338bdee8af5c0b4aa2622725831aca0e655ba9d5abbbeddb92915a69dec116d
7
- data.tar.gz: a347a677a54365d500202d1f9266958b399493a1d58d93d122ec96ff05163d621d285fcf874b584a20b6a6f1cf4a305c8896d7c8a160a27595127349d1f4cf92
6
+ metadata.gz: 223dfc1e78797106097b41008a961a9bcc551d23a6c591035e5d01149519ba1bff942dcc91889135ce38f483b68d3e77b03312c4da1a4e4da723b3f0ddacce82
7
+ data.tar.gz: 69be60925370e61f816ee3b10d9259e2970f2257aa35230a22de805e39aace31d3cdbd94fae68b71c78b61564d711026ebb2b21a89cc036eed7fe10e7e13d518
checksums.yaml.gz.sig ADDED
Binary file
data/lib/seo_meta.rb CHANGED
@@ -27,7 +27,7 @@ def is_seo_meta(options = {})
27
27
  :dependent => :destroy
28
28
  }.merge(options.slice(:class_name, :foreign_key, :dependent))
29
29
 
30
- has_one :seo_meta, proc { where(:seo_meta_type => self.name) }, has_one_options
30
+ has_one :seo_meta, -> { where(:seo_meta_type => self.name) }, **has_one_options
31
31
 
32
32
  # Let SeoMetum know about the base
33
33
  ::SeoMetum.send :belongs_to, self.name.underscore.gsub('/', '_').to_sym,
@@ -42,7 +42,5 @@ def is_seo_meta(options = {})
42
42
 
43
43
  # Delegate both the accessor and setters for the fields to :seo_meta
44
44
  fields = ::SeoMeta.attributes.keys.map{|a| [a, :"#{a}="]}.flatten
45
-
46
- fields << {:to => :seo_meta}
47
- delegate *fields
45
+ delegate *fields, to: :seo_meta
48
46
  end
data/readme.md CHANGED
@@ -15,7 +15,7 @@ for example with `Page`:
15
15
 
16
16
  ```ruby
17
17
  class Page < ActiveRecord::Base
18
- is_seo_meta
18
+ is_seo_meta
19
19
  end
20
20
  ```
21
21
 
@@ -110,10 +110,10 @@ from a `form_for` block, for example:
110
110
 
111
111
  ```erb
112
112
  <%= form_for @page do |f| -%>
113
- <%= render '/seo_meta/form', :form => f %>
113
+ <%= render '/seo_meta/form', :form => f %>
114
114
  <% end %>
115
115
  ```
116
116
 
117
117
  ## Anything else?
118
118
 
119
- Nope, all done!
119
+ Nope, all done!
data.tar.gz.sig ADDED
Binary file
metadata CHANGED
@@ -1,14 +1,40 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seo_meta
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Arndt
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2017-08-24 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIEMjCCApqgAwIBAgIBATANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhnZW1z
14
+ L0RDPXAvREM9YXJuZHQvREM9aW8wHhcNMjEwNjIzMDkyNzU2WhcNMjIwNjIzMDky
15
+ NzU2WjAjMSEwHwYDVQQDDBhnZW1zL0RDPXAvREM9YXJuZHQvREM9aW8wggGiMA0G
16
+ CSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQD0CYnD37uLlJ3Urla2EnnUQ8S6s16k
17
+ AGMpAzpmARo8YwSqtYMJVGyBzUeI7y93Fk9ncswhIFSH/hnh/Ouat/ki9flHlZ+w
18
+ anv0M+9v3wCLyZSC5BQIWpoduF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1k
34
+ e17ZNASZffbQRP09MH2GZ2AOlkildTX6looWRforZEZi+qamognrozd3MI5QHi1W
35
+ UAZUzHLrrFu7gnkFvLVpxOUf4ItOkA==
36
+ -----END CERTIFICATE-----
37
+ date: 2021-09-17 00:00:00.000000000 Z
12
38
  dependencies:
13
39
  - !ruby/object:Gem::Dependency
14
40
  name: combustion
@@ -67,7 +93,7 @@ dependencies:
67
93
  - !ruby/object:Gem::Version
68
94
  version: 5.0.0
69
95
  description: SEO Meta tags plugin for Ruby on Rails
70
- email: p@arndt.io
96
+ email: gems@p.arndt.io
71
97
  executables: []
72
98
  extensions: []
73
99
  extra_rdoc_files: []
@@ -107,11 +133,11 @@ files:
107
133
  - lib/tasks/seo_meta.rake
108
134
  - license.md
109
135
  - readme.md
110
- homepage: http://p.arndt.io
136
+ homepage: https://github.com/parndt/seo_meta
111
137
  licenses:
112
138
  - MIT
113
139
  metadata: {}
114
- post_install_message:
140
+ post_install_message:
115
141
  rdoc_options: []
116
142
  require_paths:
117
143
  - lib
@@ -126,9 +152,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
152
  - !ruby/object:Gem::Version
127
153
  version: '0'
128
154
  requirements: []
129
- rubyforge_project:
130
- rubygems_version: 2.6.11
131
- signing_key:
155
+ rubygems_version: 3.1.6
156
+ signing_key:
132
157
  specification_version: 4
133
158
  summary: SEO Meta tags plugin
134
159
  test_files: []
metadata.gz.sig ADDED
Binary file