title_case 0.2.1 → 0.2.2
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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/title_case.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af5287ac9426b4d3888ae818ce67e4f75f213833
|
4
|
+
data.tar.gz: dc28f47536b22781e547b338b52e382c922abe61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e09e48aafd9092ab7138377dbd54f1919d229d85ab8fd659b0e666ecaa4d6c69cdd871d58f4091e0c9f8753ebeec819d901b6e0f82d0d23580208f527941e17a
|
7
|
+
data.tar.gz: 7a8ee7b212397f77e974a003e2f655137b75311f786e2d0c82b96eede7dc86a180cc9672d635cb5cb9acd54fabff9a7f6169f5a1c020fb181e32b4f33e767e1a
|
data/README.md
CHANGED
@@ -23,11 +23,11 @@ Inspiration and History
|
|
23
23
|
This is partially inspired and informed by John Gruber's titlecase:
|
24
24
|
<http://daringfireball.net/2008/05/title_case>
|
25
25
|
and Sam Souder's ruby implementation:
|
26
|
-
|
26
|
+
<https://github.com/samsouder/titlecase>
|
27
27
|
|
28
28
|
I didn't like a few of the rules in Gruber's version, though.
|
29
29
|
Major differences are:
|
30
|
-
- don't ever
|
30
|
+
- don't ever downcase anything
|
31
31
|
- the last word doesn't get upcased if it is on the exclude list
|
32
32
|
- the exclude list is slightly different
|
33
33
|
- colons get no special treatment
|
data/title_case.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'title_case'
|
3
|
-
s.version = '0.2.
|
3
|
+
s.version = '0.2.2'
|
4
4
|
s.date = '2014-02-14'
|
5
5
|
s.summary = 'String Methods and CLI to Properly Title Case a Headline.'
|
6
6
|
s.description = 'title_case is a set of Ruby String methods for title casing,
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.email = 'nbirnel@gmail.com'
|
10
10
|
s.homepage = 'http://github.com/nbirnel/titlecase'
|
11
11
|
s.files = ['README.md', 'title_case.gemspec', 'lib/title_case.rb', 'spec/title_case_spec.rb', 'bin/titlecase']
|
12
|
-
s.has_rdoc =
|
12
|
+
s.has_rdoc = true
|
13
13
|
s.executables = ['titlecase']
|
14
14
|
s.license = 'MIT'
|
15
15
|
end
|