headingify 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/headingify.gemspec +12 -13
- data/lib/headingify/info.rb +2 -2
- metadata +10 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0391ec88dcfd70b06fe1f4e3fecb311dc3b69be2
|
4
|
+
data.tar.gz: 88be9e2526364a3f85f69520402a49220ac00f1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f0a87a8657d1fbe23d0171894a32ccdd544f0092fc10dcb307082273f7704b692a14547924a638e844e333d49afaeaf64f9fd7aedd7770d47be05ed40c9fa97
|
7
|
+
data.tar.gz: b6ba9098627a80ce6049f26788290c8fd283f4f6d42f5d336af53599f2791639526f01ba56480443b00e6ea3f2fbe9cd7d1a2395d40fdd037ec2eca09db4c5ee
|
data/headingify.gemspec
CHANGED
@@ -4,20 +4,19 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'headingify/info'
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version =
|
9
|
-
s.authors =
|
10
|
-
s.email =
|
11
|
-
s.summary =
|
12
|
-
s.
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
s.license = "MIT"
|
7
|
+
s.name = "headingify"
|
8
|
+
s.version = Headingify::VERSION
|
9
|
+
s.authors = ["Chris Calo"]
|
10
|
+
s.email = ["ccalo@vulcanca.com"]
|
11
|
+
s.summary = "A method used to convert a Ruby String into a grammatically correct heading."
|
12
|
+
s.description = "#{s.summary} It extends String class; English only.\n\n#{Headingify::help}"
|
13
|
+
s.homepage = "https://github.com/vulcancreative/headingify"
|
14
|
+
s.license = "MIT"
|
16
15
|
|
17
|
-
s.files =
|
18
|
-
s.test_files =
|
19
|
-
s.executables =
|
20
|
-
s.require_paths =
|
16
|
+
s.files = `git ls-files -z`.split("\x0")
|
17
|
+
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
18
|
+
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
+
s.require_paths = ["lib"]
|
21
20
|
|
22
21
|
s.required_ruby_version = '>= 1.9.3'
|
23
22
|
s.add_development_dependency "rspec"
|
data/lib/headingify/info.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
module Headingify
|
2
2
|
TITLE = "Ruby String.headingify Core Extension"
|
3
|
-
VERSION = "1.0.
|
3
|
+
VERSION = "1.0.2"
|
4
4
|
UPDATE = "2014-11-19"
|
5
|
-
REVISION = "
|
5
|
+
REVISION = "23"
|
6
6
|
USAGE = "headingify \"string\" | \"an \\%ESCAPED\\% string\""
|
7
7
|
EXAMPLE_INPUT = "\"garlic is as \\%GOOD\\% as ten mothers\""
|
8
8
|
EXAMPLE_OUTPUT = "Garlic Is as GOOD as Ten Mothers"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: headingify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Calo
|
@@ -52,8 +52,13 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.0'
|
55
|
-
description:
|
56
|
-
It extends String class; English only.
|
55
|
+
description: |
|
56
|
+
A method used to convert a Ruby String into a grammatically correct heading. It extends String class; English only.
|
57
|
+
|
58
|
+
Usage: headingify "string" | "an \%ESCAPED\% string"
|
59
|
+
|
60
|
+
input : "garlic is as \%GOOD\% as ten mothers"
|
61
|
+
yield : Garlic Is as GOOD as Ten Mothers
|
57
62
|
email:
|
58
63
|
- ccalo@vulcanca.com
|
59
64
|
executables:
|
@@ -73,7 +78,7 @@ files:
|
|
73
78
|
- lib/headingify/info.rb
|
74
79
|
- spec/headingify_spec.rb
|
75
80
|
- spec/spec_helper.rb
|
76
|
-
homepage:
|
81
|
+
homepage: https://github.com/vulcancreative/headingify
|
77
82
|
licenses:
|
78
83
|
- MIT
|
79
84
|
metadata: {}
|
@@ -96,7 +101,7 @@ rubyforge_project:
|
|
96
101
|
rubygems_version: 2.4.3
|
97
102
|
signing_key:
|
98
103
|
specification_version: 4
|
99
|
-
summary: A method used to convert a Ruby String into
|
104
|
+
summary: A method used to convert a Ruby String into a grammatically correct heading.
|
100
105
|
test_files:
|
101
106
|
- spec/headingify_spec.rb
|
102
107
|
- spec/spec_helper.rb
|