kaizen_data 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00fddbc651aee27993eba10cb6d63cdadebc601752c3a778f54cd5f3a4afa94b
4
- data.tar.gz: d3240cb268ea65c6b4fb069cbf0bc271f1265e51e3e7c0b63288724e0625ec7d
3
+ metadata.gz: ea47abecfec9705d8edfd7517f7f73abff154a88cbb572459f0a727df9fd6abd
4
+ data.tar.gz: cac2ce7a58947cc056fadbba1abddc7aea9395b9ebb3394a2f84df84b7096a07
5
5
  SHA512:
6
- metadata.gz: 4cfb21945fefd94dc8eb7728bcb4a1ecc7faf7b5ce79cb90cf231993214304c3a01f31ab8b45bffc21ef2c323b8abf347855c0ad002179f4d02e69544541f09f
7
- data.tar.gz: fd240bb3a2128aa5a318211d61a07efa6670d7becab95f0a7fb4bdf38a3e4ad7fbdcf17a7a59c3b7d16ed8759e54f0bace0884713a9d273df285506865be365c
6
+ metadata.gz: 7217790d305d64ae2ed306d151eebd217b0233c591fc5cc769e8d0aec34a0137df09e980de98d1d850991d39895f1b02fc31f65b8057add6db564b24f937c80b
7
+ data.tar.gz: e955dcc901251465d0f12fd7c930dca45bb614c4c4a718e66e1e2308f5f4fef1e3f187e357367a161a7f267aec227cc6500e2f4c25639f0dfc3ba68da350f824
data/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Kaizen Data
2
+
3
+ A clean way to model data in Ruby.
data/bin/kaizen_data ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'kaizen_data'
4
+ puts KaizenData.hi(ARGV[0])
@@ -0,0 +1,14 @@
1
+ class KaizenData::Translator
2
+ def initialize(language)
3
+ @language = language
4
+ end
5
+
6
+ def hi
7
+ case @language
8
+ when "spanish"
9
+ "hola mundo"
10
+ else
11
+ "hello world"
12
+ end
13
+ end
14
+ end
data/lib/kaizen_data.rb CHANGED
@@ -1,5 +1,8 @@
1
1
  class KaizenData
2
- def self.hello
3
- puts "hello from kaizen-data"
2
+ def self.hi(language = "english")
3
+ translator = Translator.new(language)
4
+ translator.hi
4
5
  end
5
- end
6
+ end
7
+
8
+ require "kaizen_data/translator"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaizen_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Burns
@@ -12,11 +12,15 @@ date: 2023-03-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A clean way to model and query data in Ruby
14
14
  email:
15
- executables: []
15
+ executables:
16
+ - kaizen_data
16
17
  extensions: []
17
18
  extra_rdoc_files: []
18
19
  files:
20
+ - README.md
21
+ - bin/kaizen_data
19
22
  - lib/kaizen_data.rb
23
+ - lib/kaizen_data/translator.rb
20
24
  homepage:
21
25
  licenses:
22
26
  - MIT
@@ -39,5 +43,5 @@ requirements: []
39
43
  rubygems_version: 3.4.6
40
44
  signing_key:
41
45
  specification_version: 4
42
- summary: A clean way to model and query data in Ruby
46
+ summary: Modeling and querying data in Ruby
43
47
  test_files: []