piggy_latin 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +16 -2
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/piggy_latin.gemspec +59 -0
- metadata +4 -3
data/README.rdoc
CHANGED
@@ -1,8 +1,22 @@
|
|
1
1
|
= piggy_latin
|
2
2
|
|
3
|
-
|
3
|
+
Take a paragraph of group of sentences and turn them it into a group of sentences translated into pig latin.
|
4
|
+
Currently does not work with anything but simple sentences ended in periods.
|
4
5
|
|
5
|
-
|
6
|
+
= Usage
|
7
|
+
pig_latin = PigLatin::Input({:dash => true})
|
8
|
+
pig_latin.translate("Hi.")
|
9
|
+
=> I-hay.
|
10
|
+
|
11
|
+
|
12
|
+
TODO:
|
13
|
+
A) Document
|
14
|
+
1) Allow sentences to end in questions marks or exclaimation marks
|
15
|
+
2) Allow appostrophes
|
16
|
+
3) Check for "Mr., Mrs." and other abbreviations that will mess up the delimination.
|
17
|
+
|
18
|
+
|
19
|
+
= Contributing to piggy_latin
|
6
20
|
|
7
21
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
8
22
|
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
data/Rakefile
CHANGED
@@ -18,7 +18,7 @@ Jeweler::Tasks.new do |gem|
|
|
18
18
|
gem.homepage = "http://github.com/tshauck/piggy_latin"
|
19
19
|
gem.license = "MIT"
|
20
20
|
gem.summary = %Q{Take a phrase and turn it into pig latin}
|
21
|
-
gem.description = %Q{
|
21
|
+
gem.description = %Q{Take a phrase and turn it into pig latin}
|
22
22
|
gem.email = "trent.hauck@gmail.com"
|
23
23
|
gem.authors = ["Trent Hauck"]
|
24
24
|
# dependencies defined in Gemfile
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/piggy_latin.gemspec
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{piggy_latin}
|
8
|
+
s.version = "0.1.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Trent Hauck"]
|
12
|
+
s.date = %q{2011-05-11}
|
13
|
+
s.description = %q{Take a phrase and turn it into pig latin}
|
14
|
+
s.email = %q{trent.hauck@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE.txt",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
"Gemfile",
|
22
|
+
"Gemfile.lock",
|
23
|
+
"LICENSE.txt",
|
24
|
+
"README.rdoc",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"lib/piggy_latin.rb",
|
28
|
+
"piggy_latin.gemspec",
|
29
|
+
"test/helper.rb",
|
30
|
+
"test/test_piggy_latin.rb"
|
31
|
+
]
|
32
|
+
s.homepage = %q{http://github.com/tshauck/piggy_latin}
|
33
|
+
s.licenses = ["MIT"]
|
34
|
+
s.require_paths = ["lib"]
|
35
|
+
s.rubygems_version = %q{1.6.2}
|
36
|
+
s.summary = %q{Take a phrase and turn it into pig latin}
|
37
|
+
|
38
|
+
if s.respond_to? :specification_version then
|
39
|
+
s.specification_version = 3
|
40
|
+
|
41
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
42
|
+
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
43
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
44
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.6.0"])
|
45
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
46
|
+
else
|
47
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
48
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
49
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
|
50
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
51
|
+
end
|
52
|
+
else
|
53
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
54
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
55
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
|
56
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: piggy_latin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Trent Hauck
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: *id004
|
60
|
-
description:
|
60
|
+
description: Take a phrase and turn it into pig latin
|
61
61
|
email: trent.hauck@gmail.com
|
62
62
|
executables: []
|
63
63
|
|
@@ -75,6 +75,7 @@ files:
|
|
75
75
|
- Rakefile
|
76
76
|
- VERSION
|
77
77
|
- lib/piggy_latin.rb
|
78
|
+
- piggy_latin.gemspec
|
78
79
|
- test/helper.rb
|
79
80
|
- test/test_piggy_latin.rb
|
80
81
|
has_rdoc: true
|
@@ -91,7 +92,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
91
92
|
requirements:
|
92
93
|
- - ">="
|
93
94
|
- !ruby/object:Gem::Version
|
94
|
-
hash: -
|
95
|
+
hash: -740464553650165463
|
95
96
|
segments:
|
96
97
|
- 0
|
97
98
|
version: "0"
|