some-ai 1.0.0

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.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +20 -0
  3. data/README.md +40 -0
  4. data/lib/some-ai.rb +5 -0
  5. metadata +48 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 8b6a937f2b39250c14589e48a2cab73e44ac84e08b2c37b345a7a1036545f2cc
4
+ data.tar.gz: 55041628a8da565f487872dd600e41026a349f9351fd79a0769cef5e04369ef1
5
+ SHA512:
6
+ metadata.gz: 24e3019784d3073aef380c16c3a28bc47f3a6770c12f2a0f6a67549472433d3ed1fdb5de6d8fd309b9960b37c5c20ca9d17c55fe54af7cce4f01c28339723360
7
+ data.tar.gz: 5c7614250cdf71ed56506069130ab1a7abf1ca74ceb0985b704d6a14478c4704b280283d3bcd224473df8707bf231bc19a4e2a36852813998b87f6640d9869e7
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2021 Max Lielje
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,40 @@
1
+ # Some AI ✨
2
+
3
+ This gem adds some AI to your project.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ $ gem install some-ai
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ Installing this gem is generally sufficient to add some AI to your project. You can however
14
+ include the `SomeAI` module in your classes, which gives you access to the `ai` method.
15
+
16
+ ```ruby
17
+ class Example
18
+ # include module here
19
+ include SomeAI
20
+
21
+ def calculate(data)
22
+ # then use some AI
23
+ ai(data)
24
+ end
25
+ end
26
+ ```
27
+
28
+ ## Badge
29
+
30
+ Once you installed some AI (not before!), add a badge to your project’s README:
31
+
32
+ ```markdown
33
+ ![This project uses some AI](https://img.shields.io/badge/uses_some-AI-blue)
34
+ ```
35
+
36
+ It’ll look like this: ![This project uses some AI](https://img.shields.io/badge/uses_some-AI-blue)
37
+
38
+ ## License
39
+
40
+ Some AI is licensed under the **MIT license**. See the `LICENSE` file for details.
@@ -0,0 +1,5 @@
1
+ module SomeAI
2
+ def ai(data)
3
+ data
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,48 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: some-ai
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Max Lielje
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-01-12 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email: hi@maxlielje.co
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - LICENSE
20
+ - README.md
21
+ - lib/some-ai.rb
22
+ homepage: https://github.com/mxlje/some-ai
23
+ licenses:
24
+ - MIT
25
+ metadata: {}
26
+ post_install_message: 'Congratulations on adding some AI to your project. You made
27
+ the right choice.
28
+
29
+ '
30
+ rdoc_options: []
31
+ require_paths:
32
+ - lib
33
+ required_ruby_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ required_rubygems_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
43
+ requirements: []
44
+ rubygems_version: 3.0.3
45
+ signing_key:
46
+ specification_version: 4
47
+ summary: This gem includes some AI to use in your projets.
48
+ test_files: []