has_meta 0.0.7 → 0.0.8
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 +1 -1
- data/has_meta.gemspec +1 -0
- data/lib/has_meta/version.rb +1 -1
- metadata +4 -3
data/README.md
CHANGED
@@ -26,7 +26,7 @@ Or install it yourself as:
|
|
26
26
|
By default has\_meta will truncate results at 255 characters.
|
27
27
|
You can change this globally by creating an initializer file with the following contents:
|
28
28
|
|
29
|
-
HasMeta::OPTIONS[:truncate] = 999
|
29
|
+
HasMeta::OPTIONS[:truncate] = 999
|
30
30
|
|
31
31
|
## Usage
|
32
32
|
|
data/has_meta.gemspec
CHANGED
@@ -11,6 +11,7 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.description = %q{Adds convenience methods to extract "meta" (as in http meta) strings from models.}
|
12
12
|
gem.summary = %q{Adds convenience methods to extract "meta" (as in http meta) strings from models by using existing fields for source data. Strings are stripped of html tags and truncated to length (default 255).}
|
13
13
|
gem.homepage = "https://github.com/phallstrom/has_meta"
|
14
|
+
gem.license = 'MIT'
|
14
15
|
|
15
16
|
gem.files = `git ls-files`.split($/)
|
16
17
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
data/lib/has_meta/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: has_meta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-09-30 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Adds convenience methods to extract "meta" (as in http meta) strings
|
15
15
|
from models.
|
@@ -29,7 +29,8 @@ files:
|
|
29
29
|
- lib/has_meta/version.rb
|
30
30
|
- test/test_has_meta.rb
|
31
31
|
homepage: https://github.com/phallstrom/has_meta
|
32
|
-
licenses:
|
32
|
+
licenses:
|
33
|
+
- MIT
|
33
34
|
post_install_message:
|
34
35
|
rdoc_options: []
|
35
36
|
require_paths:
|