intermediator 0.0.0 → 0.0.1
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/bin/intermediator +0 -0
- data/lib/intermediator.rb +5 -4
- data/lib/intermediator/translator.rb +14 -0
- data/test/test_intermediator.rb +19 -0
- metadata +6 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 26ebbf4b4d68d77cbec2e5679080492691651bdf
|
|
4
|
+
data.tar.gz: 6b0e3d4b23ee9de406517a338b1a7012fe0530fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a3a05e900a58f141b5a64ef29a720b8b028aa24a4ca52edcc936bd5c0c141ee0147e8fd3c02f5e1db5abf784b3b08b53f0e80cda9d0f76014a65dd752c559a4
|
|
7
|
+
data.tar.gz: 18f23b59b1a06eeb7c592f6a4f1313c40f9670f5af72bdac32dd401d8c4efc99835f6501432eef9f3fc538496d7b447e3654fa14e70cdca2e24baaa29000a0fa
|
data/bin/intermediator
ADDED
|
File without changes
|
data/lib/intermediator.rb
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
require 'minitest/autorun'
|
|
2
|
+
require 'intermediator'
|
|
3
|
+
|
|
4
|
+
class IntermediatorTest < Minitest::Test
|
|
5
|
+
def test_english_hello
|
|
6
|
+
assert_equal "hello world",
|
|
7
|
+
Intermediator.output("english")
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
def test_any_hello
|
|
11
|
+
assert_equal "hello world",
|
|
12
|
+
Intermediator.output("ruby")
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def test_spanish_hello
|
|
16
|
+
assert_equal "intermediator mundo",
|
|
17
|
+
Intermediator.output("spanish")
|
|
18
|
+
end
|
|
19
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: intermediator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nate McGregor
|
|
@@ -14,11 +14,15 @@ description: Intermediator is a voting system that applies unique rules to a for
|
|
|
14
14
|
environment in order to promote meaningful content that might otherwise be lost
|
|
15
15
|
to downvotes.
|
|
16
16
|
email: intermediatorgem@gmail.com
|
|
17
|
-
executables:
|
|
17
|
+
executables:
|
|
18
|
+
- intermediator
|
|
18
19
|
extensions: []
|
|
19
20
|
extra_rdoc_files: []
|
|
20
21
|
files:
|
|
22
|
+
- bin/intermediator
|
|
21
23
|
- lib/intermediator.rb
|
|
24
|
+
- lib/intermediator/translator.rb
|
|
25
|
+
- test/test_intermediator.rb
|
|
22
26
|
homepage: https://github.com/hal2814/intermediator-gem
|
|
23
27
|
licenses:
|
|
24
28
|
- MIT
|