pope_francis_drumsrgr8forn8 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 989de7cbc8d17399fc6233cdbdd35e76baf94c6e
4
+ data.tar.gz: a850f711680fe5086853e2caa34fbbcdd0a2e6ba
5
+ SHA512:
6
+ metadata.gz: a7fb036c5d766681d7d263fd4b74c57ac5fa896e788a5c69e9fe0724824d041a784084242b2862978f80c8d453cea7a1e15e9aba5687aa5d554c3fa3a8f494ba
7
+ data.tar.gz: e49a26cc59d26e40e4f0abaaa682a48cc99425b6e86ebb6d742161beecc524a9e7b2c14ff18f6c392f93c48456b8292c1fb29ffd195cb054c5a9d717aafdccc1
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in pope_francis.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Jeff Felchner
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,107 @@
1
+ Pope Francis
2
+ ================================
3
+
4
+ <img src="https://dl.dropbox.com/s/5cdo2mjtrbr4xsr/pig-latin-card.jpg" align="right" width="300" />
5
+
6
+ Giving you one of the easiest ways to be even more obnoxious to all of your
7
+ friends and family than you already are!
8
+
9
+ Created for the fine folks at the [Nashville Beginner Rails meetup](http://www.meetup.com/nashvillerails-beginners).
10
+
11
+ Supported Rubies
12
+ --------------------------------
13
+ * MRI Ruby 1.8.7
14
+ * MRI Ruby 1.9.2
15
+ * MRI Ruby 1.9.3
16
+ * JRuby (in 1.8 compat mode)
17
+ * JRuby (in 1.9 compat mode)
18
+
19
+ Forking and Hacking
20
+ --------------------------------
21
+
22
+ 1. Fork the project
23
+ 2. Clone it down to your local machine
24
+
25
+ `git clone your-github-fork-url`
26
+
27
+ 3. Change the gem name to something like:
28
+
29
+ `pope_francis-nash-rails-your-github-username`
30
+
31
+ You can find this in the `gemspec` file.
32
+
33
+ 4. Push your gem to rubygems
34
+
35
+ `rake release`
36
+
37
+ 5. Install your gem in another project
38
+
39
+ `gem install pope_francis-nash-rails-your-github-username`
40
+
41
+ 6. Require your gem in your project
42
+
43
+ `require pope_francis`
44
+
45
+ Installation
46
+ --------------------------------
47
+
48
+ First:
49
+
50
+ ```ruby
51
+ gem install pope_francis
52
+ ```
53
+
54
+ Then in your script:
55
+
56
+ ```ruby
57
+ require 'pope_francis'
58
+ ```
59
+
60
+ or in your Gemfile
61
+
62
+ ```ruby
63
+ gem 'pope_francis'
64
+ ```
65
+
66
+ or from IRB
67
+
68
+ ```ruby
69
+ irb -r 'pope_francis'
70
+ ```
71
+
72
+ Usage
73
+ --------------------------------
74
+
75
+ This is a very simple gem, when it's installed it will add a method to all
76
+ String objects called `to_pig_latin`.
77
+
78
+ Calling it will output a new String in Pig Latin.
79
+
80
+ ```ruby
81
+ "Translating Pig Latin is fun".to_pig_latin
82
+ # => "anslating-tray ig-pay atin-lay is-way un-fay"
83
+ ```
84
+
85
+ Issues
86
+ --------------------------------
87
+
88
+ If you have problems, please create a [Github issue](https://github.com/jfelchner/pope_francis/issues).
89
+
90
+ Credits
91
+ --------------------------------
92
+
93
+ ![thekompanee](http://www.thekompanee.com/public_files/kompanee-github-readme-logo.png)
94
+
95
+ pope_francis is maintained by [The Kompanee, Ltd.](http://www.thekompanee.com)
96
+
97
+ The names and logos for The Kompanee are trademarks of The Kompanee, Ltd.
98
+
99
+ Contributors
100
+ --------------------------------
101
+
102
+ None yet!
103
+
104
+ License
105
+ --------------------------------
106
+
107
+ pope_francis 1.0 is Copyright &copy; 2013 The Kompanee. It is free software, and may be redistributed under the terms specified in the LICENSE file.
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,16 @@
1
+ require "pope_francis/version"
2
+
3
+ module PopeFrancis
4
+ def to_pig_latin
5
+ input = gets.chomp
6
+
7
+ english_text = input.split
8
+
9
+ english_text.map! do |word|
10
+ first_char = word[0]
11
+ word = "#{word.delete!(word[0])}#{first_char}ay"
12
+ end
13
+
14
+ puts english_text.join(" ")
15
+ end
16
+ end
@@ -0,0 +1,3 @@
1
+ module PopeFrancis
2
+ VERSION = "0.0.2"
3
+ end
@@ -0,0 +1,19 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'pope_francis/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "pope_francis_drumsrgr8forn8"
8
+ gem.version = PopeFrancis::VERSION
9
+ gem.authors = ["Nate West"]
10
+ gem.email = ["natescott.west@gmail.com"]
11
+ gem.description = %q{ig-pay atin-lay anslator-tray}
12
+ gem.summary = %q{The one stop shop for all your Pig Latin needs.}
13
+ gem.homepage = "https://github.com/drumsrgr8forn8/pope_francis-nash-rails-class-drumsrgr8forn8"
14
+
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ["lib"]
19
+ end
metadata ADDED
@@ -0,0 +1,51 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pope_francis_drumsrgr8forn8
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Nate West
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-03-22 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: ig-pay atin-lay anslator-tray
14
+ email:
15
+ - natescott.west@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - .gitignore
21
+ - Gemfile
22
+ - LICENSE.txt
23
+ - README.md
24
+ - Rakefile
25
+ - lib/pope_francis.rb
26
+ - lib/pope_francis/version.rb
27
+ - pope_francis.gemspec
28
+ homepage: https://github.com/drumsrgr8forn8/pope_francis-nash-rails-class-drumsrgr8forn8
29
+ licenses: []
30
+ metadata: {}
31
+ post_install_message:
32
+ rdoc_options: []
33
+ require_paths:
34
+ - lib
35
+ required_ruby_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ required_rubygems_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ requirements: []
46
+ rubyforge_project:
47
+ rubygems_version: 2.0.0
48
+ signing_key:
49
+ specification_version: 4
50
+ summary: The one stop shop for all your Pig Latin needs.
51
+ test_files: []