page_title 0.1.0 → 0.1.1

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: 566efe6e91936fdb642695020c3d37caf542266c
4
- data.tar.gz: 8e5cfd6307972be29ad5b73bad9bfb030ed21f1c
3
+ metadata.gz: 4ff7f9ee3d5c6bc3552ad36bb767d294bcd26f73
4
+ data.tar.gz: 1e29d4a5a85a026dca7d364a2279cd7a2a5ee506
5
5
  SHA512:
6
- metadata.gz: 3d715c6eca59072f22f0f14dcb3632bef77ccf96edc891097939805de56fb6972dd1230d8e238c7967ad4eba92b96b931e0f002bf1c96ee0938ef28f5db3a558
7
- data.tar.gz: 7aeac1dbfbcb5f9e5f9966dc06c7e51076937267088cbd63644c43910d6a50c02a80e613a92be8469efcba6385106fabf0f848ad40b96cf55594bef2dce5492b
6
+ metadata.gz: 7448bfb28d1f76f9f03204a5fd9a70758e0395afd187fb910910e8b91e8d3c30215fee448a58b903a6d26fec9a36e1caaaacff0e03f24f1bd75e86af7d096314
7
+ data.tar.gz: ab1b65850b3303ff0e50960162a8dd6de3c1502732552e5abcc63e78e05643485a6c069e4348dee2c9a2ea8ff2e41820385789776bfa099ce2518615a03ac4f4
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # page_title
2
2
 
3
+ [![This project was superseded by https://github.com/fnando/page_meta.](http://messages.hellobits.com/warning.svg?message=This%20project%20was%20superseded%20by%20https%3A%2F%2Fgithub.com%2Ffnando%2Fpage_meta.)](https://github.com/fnando/page_meta)
4
+
3
5
  [![Build Status](https://travis-ci.org/fnando/page_title.svg?branch=master)](https://travis-ci.org/fnando/page_title)
4
6
 
5
7
  Set the page title on Rails apps.
@@ -32,7 +34,7 @@ To ignore the base translation, use `page_title.simple`.
32
34
  <%= page_title.simple %>
33
35
  ```
34
36
 
35
- The page title will be inferred from the controller and action names. For an action `SiteController#index` you'll the following translate scope:
37
+ The page title will be inferred from the controller and action names. For an action `SiteController#index` you'll need the following translate scope:
36
38
 
37
39
  ```yaml
38
40
  en:
@@ -1,6 +1,7 @@
1
1
  module PageTitle
2
2
  module Helpers
3
3
  private
4
+
4
5
  def page_title
5
6
  @page_title ||= PageTitle::Base.new(self)
6
7
  end
@@ -1,3 +1,3 @@
1
1
  module PageTitle
2
- VERSION = '0.1.0'
2
+ VERSION = "0.1.1"
3
3
  end
@@ -10,6 +10,13 @@ Gem::Specification.new do |spec|
10
10
  spec.homepage = "http://github.com/fnando/page_title"
11
11
  spec.license = "MIT"
12
12
 
13
+ spec.post_install_message = [
14
+ "================================================",
15
+ "WARNING: page_title was superseded by page_meta.",
16
+ " https://github.com/fnando/page_meta.",
17
+ "================================================"
18
+ ]
19
+
13
20
  spec.files = `git ls-files`.split($/)
14
21
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
15
22
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: page_title
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-08 00:00:00.000000000 Z
11
+ date: 2016-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -148,7 +148,11 @@ homepage: http://github.com/fnando/page_title
148
148
  licenses:
149
149
  - MIT
150
150
  metadata: {}
151
- post_install_message:
151
+ post_install_message:
152
+ - "================================================"
153
+ - 'WARNING: page_title was superseded by page_meta.'
154
+ - " https://github.com/fnando/page_meta."
155
+ - "================================================"
152
156
  rdoc_options: []
153
157
  require_paths:
154
158
  - lib
@@ -164,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
168
  version: '0'
165
169
  requirements: []
166
170
  rubyforge_project:
167
- rubygems_version: 2.4.5
171
+ rubygems_version: 2.5.1
168
172
  signing_key:
169
173
  specification_version: 4
170
174
  summary: Set the page title on Rails apps