entitlement 0.0.2 → 1.0.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.
- data/README.md +5 -3
- data/lib/entitlement/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
|
@@ -23,7 +23,7 @@ To set your page title, use `tee` in your page's header. This will write it out
|
|
|
23
23
|
|
|
24
24
|
`tee` is easy to remember because:
|
|
25
25
|
|
|
26
|
-
* it's a phonetic alias for
|
|
26
|
+
* it's a phonetic alias for 't' (for title), and
|
|
27
27
|
* it acts like Unix's `tee`.
|
|
28
28
|
|
|
29
29
|
Or you can just use `title` again:
|
|
@@ -43,7 +43,7 @@ Use `:site`:
|
|
|
43
43
|
</head>
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
This will
|
|
46
|
+
This will produce, for example:
|
|
47
47
|
|
|
48
48
|
```html
|
|
49
49
|
<head>
|
|
@@ -54,7 +54,9 @@ This will output, for example:
|
|
|
54
54
|
|
|
55
55
|
## Reverse the title's order
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
By default, the site's title goes from small to large. E.g. `My page - My site`.
|
|
58
|
+
|
|
59
|
+
Use `:big_endian` to reverse this.
|
|
58
60
|
|
|
59
61
|
```html+erb
|
|
60
62
|
<head>
|
data/lib/entitlement/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: entitlement
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -13,7 +13,7 @@ date: 2012-02-14 00:00:00.000000000 Z
|
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &2158713400 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ~>
|
|
@@ -21,7 +21,7 @@ dependencies:
|
|
|
21
21
|
version: '3'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *2158713400
|
|
25
25
|
description: Simple page titles in Rails 3.
|
|
26
26
|
email:
|
|
27
27
|
- boss@airbladesoftware.com
|