softledger 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 +7 -0
- data/Rakefile +8 -0
- data/bin/softledger +4 -0
- data/lib/softledger.rb +8 -0
- data/lib/softledger/translator.rb +16 -0
- data/test/test_softledger.rb +16 -0
- metadata +49 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 2dd367edc5209939840555aa2538a36658ba488f
|
|
4
|
+
data.tar.gz: 60db3ac37cdf93db1867c456a1cd8aac9360d2b2
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 62eb1ca75b5c857af4cb1d0e67ed1d10dd4ddd7b65fde6423d5c32868b81887406624e104bec46efae6eff97dbe5cef63db3c3a65a14d85cabba73231670c8d2
|
|
7
|
+
data.tar.gz: e33c23315daede8d566271aec6aa69e147a96e47c3d13c73984e40a88b245cbce998fe17cb0b3f4dcd8db6a221bbe6d459e6be9a0a7846239060d44da4ad408e
|
data/Rakefile
ADDED
data/bin/softledger
ADDED
data/lib/softledger.rb
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
require 'test/unit'
|
|
2
|
+
require 'softledger'
|
|
3
|
+
|
|
4
|
+
class SoftledgerTest < Test::Unit::TestCase
|
|
5
|
+
def test_english_hello
|
|
6
|
+
assert_equal "hello world", Softledger.hi("english")
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
def test_any_hello
|
|
10
|
+
assert_equal "hello world", Softledger.hi("ruby")
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
def test_spanish_hello
|
|
14
|
+
assert_equal "Softledger mundo", Softledger.hi("spanish")
|
|
15
|
+
end
|
|
16
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: softledger
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Simon Guertin
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2018-07-26 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: A gem to interface with Softledger's API
|
|
14
|
+
email: sim.guertin@gmail.com
|
|
15
|
+
executables: []
|
|
16
|
+
extensions: []
|
|
17
|
+
extra_rdoc_files: []
|
|
18
|
+
files:
|
|
19
|
+
- Rakefile
|
|
20
|
+
- bin/softledger
|
|
21
|
+
- lib/softledger.rb
|
|
22
|
+
- lib/softledger/translator.rb
|
|
23
|
+
- test/test_softledger.rb
|
|
24
|
+
homepage: http://rubygems.org/gems/softledger
|
|
25
|
+
licenses:
|
|
26
|
+
- MIT
|
|
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.14.1
|
|
45
|
+
signing_key:
|
|
46
|
+
specification_version: 3
|
|
47
|
+
summary: Let's do this! https://github.com/SGjunior/softledger
|
|
48
|
+
test_files:
|
|
49
|
+
- test/test_softledger.rb
|