titlify 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- titlify (0.3.0)
4
+ titlify (0.3.1)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -20,6 +20,14 @@ module Titlify
20
20
  # at
21
21
  end
22
22
 
23
+ def self.copulae
24
+ %w(be am is are being was were been to\ be will\ be has\ been have\ been is\ being are\ being)
25
+ end
26
+
27
+ def self.prefixes
28
+ %w(a anti arch be co counter de dis en em ex fore in il im ir inter mal mid mini mis out over post pre pro re self step trans twi un under up with)
29
+ end
30
+
23
31
  def self.special_cases
24
32
  # I bet this is going to get out of control...
25
33
  %w(at(?!&t) v[.]? vs[.]?)
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module Titlify
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
data/titlify.gemspec CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.authors = ["Josh Hepworth"]
11
11
  s.email = ["josh@friendsoftheweb.com"]
12
- s.homepage = "http://github.com/fotw/titlify"
13
- s.summary = %q{Gonna be the best damn titlecasing function around.}
12
+ s.homepage = "http://github.com/joshhepworth/titlify"
13
+ s.summary = %q{Gonna be the best damn titlecasing gem around, with rules based on AP Stylebook and Chicago Manual of Style.}
14
14
  s.description = s.summary
15
15
 
16
16
  s.rubyforge_project = "titlify"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: titlify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,9 +9,10 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-21 00:00:00.000000000 Z
12
+ date: 2012-02-22 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: Gonna be the best damn titlecasing function around.
14
+ description: Gonna be the best damn titlecasing gem around, with rules based on AP
15
+ Stylebook and Chicago Manual of Style.
15
16
  email:
16
17
  - josh@friendsoftheweb.com
17
18
  executables: []
@@ -34,7 +35,7 @@ files:
34
35
  - spec/spec_helper.rb
35
36
  - spec/titlify_spec.rb
36
37
  - titlify.gemspec
37
- homepage: http://github.com/fotw/titlify
38
+ homepage: http://github.com/joshhepworth/titlify
38
39
  licenses: []
39
40
  post_install_message:
40
41
  rdoc_options: []
@@ -48,7 +49,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
48
49
  version: '0'
49
50
  segments:
50
51
  - 0
51
- hash: 327711217174080911
52
+ hash: -1740715818434366512
52
53
  required_rubygems_version: !ruby/object:Gem::Requirement
53
54
  none: false
54
55
  requirements:
@@ -57,13 +58,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
57
58
  version: '0'
58
59
  segments:
59
60
  - 0
60
- hash: 327711217174080911
61
+ hash: -1740715818434366512
61
62
  requirements: []
62
63
  rubyforge_project: titlify
63
64
  rubygems_version: 1.8.11
64
65
  signing_key:
65
66
  specification_version: 3
66
- summary: Gonna be the best damn titlecasing function around.
67
+ summary: Gonna be the best damn titlecasing gem around, with rules based on AP Stylebook
68
+ and Chicago Manual of Style.
67
69
  test_files:
68
70
  - spec/spec_helper.rb
69
71
  - spec/titlify_spec.rb