lorem-rails 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/bin/lorem-rails +4 -0
- data/lib/lorem-rails.rb +17 -0
- data/lib/lorem-rails/translator.rb +14 -0
- metadata +47 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d7b28ac71966bc4bf1962b4e726127baa85b6102
|
4
|
+
data.tar.gz: f16185714c1058b7ed962621daaae58a025f7f69
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c5710535cd1d7af04e744cc5fef3ef98bc3027b23528fbbf435babb327d54e8c311c29a9582fd78181c887d95cf36f2e4ce43751f2df102c863f0a3712c0efc3
|
7
|
+
data.tar.gz: 054cde575385b6c2b02d1bba4b01671cee50e94ecfa1791f754708a6ccf500564ce004b8e951e831f3b7141ad6bc3fb3e16631615c83d1c373cc546e0182db31
|
data/bin/lorem-rails
ADDED
data/lib/lorem-rails.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# The main LoremRails driver
|
2
|
+
class LoremRails
|
3
|
+
# Say hi to the world!
|
4
|
+
#
|
5
|
+
# Example:
|
6
|
+
# >> LoremRails.hi("khmer")
|
7
|
+
# => សួស្តី LoremRails!
|
8
|
+
#
|
9
|
+
# Arguments:
|
10
|
+
# language: (String)
|
11
|
+
def self.hi(language = "english")
|
12
|
+
translator = Translator.new(language)
|
13
|
+
translator.hi
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
require 'lorem-rails/translator'
|
metadata
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lorem-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Radin Reth
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-08-05 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: A simple hello world gem
|
14
|
+
email: radin-reth.branded.me
|
15
|
+
executables:
|
16
|
+
- lorem-rails
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- bin/lorem-rails
|
21
|
+
- lib/lorem-rails.rb
|
22
|
+
- lib/lorem-rails/translator.rb
|
23
|
+
homepage: http://rubygems.org/gems/lorem-rails
|
24
|
+
licenses:
|
25
|
+
- MIT
|
26
|
+
metadata: {}
|
27
|
+
post_install_message:
|
28
|
+
rdoc_options: []
|
29
|
+
require_paths:
|
30
|
+
- lib
|
31
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
requirements: []
|
42
|
+
rubyforge_project:
|
43
|
+
rubygems_version: 2.4.3
|
44
|
+
signing_key:
|
45
|
+
specification_version: 4
|
46
|
+
summary: Lorem Rails!
|
47
|
+
test_files: []
|