one_pop 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +8 -0
- data/bin/one_pop +4 -0
- data/lib/one_pop.rb +8 -0
- data/lib/one_pop/translator.rb +16 -0
- data/test/test_one_pop.rb +16 -0
- metadata +49 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c4dea679a37b3bc662f40a5d4401d02de003c8d8
|
4
|
+
data.tar.gz: 116bead4a829a049d5442fed0b2806474027adf0
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: '08231332a08af48b3a67666c776e6c2816e0b3e639f0213d223a951cdc404338ba6b9128680ea53af23a459cd11344d0561049fd2561aca3402c7189e2a3f7ba'
|
7
|
+
data.tar.gz: be7e83bd0321c8c826db2ac46c9d4b8ee577b07ff80d94f664d5a05d185ee89d3d35e28af57fe129095f5fe0cdd97b4ec7dd6bdb7a619e8ce311152848754cf3
|
data/Rakefile
ADDED
data/bin/one_pop
ADDED
data/lib/one_pop.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'one_pop'
|
3
|
+
|
4
|
+
class OnePopTest < Test::Unit::TestCase
|
5
|
+
def test_english_hello
|
6
|
+
assert_equal "hello world", OnePop.hi("english")
|
7
|
+
end
|
8
|
+
|
9
|
+
def test_any_hello
|
10
|
+
assert_equal "hello world", OnePop.hi("ruby")
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_spanish_hello
|
14
|
+
assert_equal "one_pop mundo", OnePop.hi("spanish")
|
15
|
+
end
|
16
|
+
end
|
metadata
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: one_pop
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Troy Unverdruss
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2010-04-03 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: A simple hello world gem
|
14
|
+
email: nick@quaran.to
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- Rakefile
|
20
|
+
- bin/one_pop
|
21
|
+
- lib/one_pop.rb
|
22
|
+
- lib/one_pop/translator.rb
|
23
|
+
- test/test_one_pop.rb
|
24
|
+
homepage: http://rubygems.org/gems/one_pop
|
25
|
+
licenses:
|
26
|
+
- Apache-2.0
|
27
|
+
metadata: {}
|
28
|
+
post_install_message:
|
29
|
+
rdoc_options: []
|
30
|
+
require_paths:
|
31
|
+
- lib
|
32
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '0'
|
37
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
requirements: []
|
43
|
+
rubyforge_project:
|
44
|
+
rubygems_version: 2.6.11
|
45
|
+
signing_key:
|
46
|
+
specification_version: 3
|
47
|
+
summary: Hola!
|
48
|
+
test_files:
|
49
|
+
- test/test_one_pop.rb
|