smart-bot 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +20 -0
- data/lib/smart-bot.rb +16 -0
- metadata +142 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f9f6d72b5c79b37d982ddb91d3e4c0982eda510fff26e96aa7159eed5b39940c
|
4
|
+
data.tar.gz: 2f3d44b27bb96a0e476485a47ac104239e4f4a7c7e97930f867c7b26bdadeaf0
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: '041482dd0f573380abb0055ab3ad5af737b6d7e165807e97372feba2a35dcbc7c8455bcd6fa77cacaecb0eb95d5dd079b24390b067277844f4e310832bf1900f'
|
7
|
+
data.tar.gz: 5026d3072a1b778d6f02a3e4de7f5219830eba12686ed7abce272ae5734f804c4f297c2b50d81c790f5381013c7bfd30ef9c4b08c63ebb97e31b56add6858e0e
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2019 Mario Ruiz
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Smart Bot
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/smart-bot.svg)](https://rubygems.org/gems/smart-bot)
|
4
|
+
[![Build Status](https://travis-ci.com/MarioRuiz/smart-bot.svg?branch=master)](https://github.com/MarioRuiz/smart-bot)
|
5
|
+
[![Coverage Status](https://coveralls.io/repos/github/MarioRuiz/smart-bot/badge.svg?branch=master)](https://coveralls.io/github/MarioRuiz/smart-bot?branch=master)
|
6
|
+
|
7
|
+
WIP. Please take a look at [slack-smart-bot](https://https://github.com/marioruiz/slack-smart-bot) for the previous version.
|
8
|
+
|
9
|
+
SmartBot gem will be able to use different plugins to be used in Slack, Microsoft Teams, Telegram....
|
10
|
+
|
11
|
+
|
12
|
+
## Contributing
|
13
|
+
|
14
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/marioruiz/smart-bot.
|
15
|
+
|
16
|
+
|
17
|
+
## License
|
18
|
+
|
19
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
20
|
+
|
data/lib/smart-bot.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require "open-uri"
|
2
|
+
require "cgi"
|
3
|
+
require "json"
|
4
|
+
require "logger"
|
5
|
+
require "fileutils"
|
6
|
+
require "open3"
|
7
|
+
require "nice_http"
|
8
|
+
require "nice_hash"
|
9
|
+
require 'cgi'
|
10
|
+
require 'yaml'
|
11
|
+
|
12
|
+
class SmartBot
|
13
|
+
def initialize()
|
14
|
+
puts "WIP. Visit https://github.com/MarioRuiz/smart-bot"
|
15
|
+
end
|
16
|
+
end
|
metadata
ADDED
@@ -0,0 +1,142 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: smart-bot
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mario Ruiz
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-03-01 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: nice_http
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nice_hash
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1'
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 1.18.4
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '1'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.18.4
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: string_pattern
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '2'
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.2.3
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '2'
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.2.3
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: amazing_print
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '1'
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 1.4.0
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '1'
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 1.4.0
|
87
|
+
- !ruby/object:Gem::Dependency
|
88
|
+
name: rspec
|
89
|
+
requirement: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - "~>"
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '3.9'
|
94
|
+
type: :development
|
95
|
+
prerelease: false
|
96
|
+
version_requirements: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - "~>"
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '3.9'
|
101
|
+
description: "Create a Bot that is smart and so easy to expand, create new bots on
|
102
|
+
demand, run ruby code on chat, create shortcuts... \n The main scope of this gem
|
103
|
+
is to be used internally in the company so teams can create team channels with their
|
104
|
+
own bot to help them on their daily work, almost everything is suitable to be automated!!
|
105
|
+
\n smart-bot can create bots on demand, create shortcuts, run ruby code... just
|
106
|
+
on a chat channel. \n You can access it just from your mobile phone if you want
|
107
|
+
and run those tests you forgot to run, get the results, restart a server... no limits."
|
108
|
+
email: marioruizs@gmail.com
|
109
|
+
executables: []
|
110
|
+
extensions: []
|
111
|
+
extra_rdoc_files:
|
112
|
+
- LICENSE
|
113
|
+
- README.md
|
114
|
+
files:
|
115
|
+
- LICENSE
|
116
|
+
- README.md
|
117
|
+
- lib/smart-bot.rb
|
118
|
+
homepage: https://github.com/MarioRuiz/smart-bot
|
119
|
+
licenses:
|
120
|
+
- MIT
|
121
|
+
metadata: {}
|
122
|
+
post_install_message: Thanks for installing! Visit us on https://github.com/MarioRuiz/smart-bot
|
123
|
+
rdoc_options: []
|
124
|
+
require_paths:
|
125
|
+
- lib
|
126
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: 2.7.3
|
131
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
requirements: []
|
137
|
+
rubygems_version: 3.4.3
|
138
|
+
signing_key:
|
139
|
+
specification_version: 4
|
140
|
+
summary: Create a Bot that is smart and so easy to expand, create new bots on demand,
|
141
|
+
run ruby code on chat, create shortcuts...
|
142
|
+
test_files: []
|