hipchat_smart 1.0.0 → 1.0.2
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 +5 -5
- data/lib/hipchat_smart.rb +5 -0
- metadata +13 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a0f8fa0db1c04e003abf520a096e7f7ed39b932f4885ac9b6f3cbce0254a9f8e
|
|
4
|
+
data.tar.gz: 1cb3ec7012e6131d7e73fc50ea27a212fd47f7e9bf68cab74f92b1ee67ffef59
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5e3fdeb06e15c5ec46278096f386646316390f70c0909991ceefbe5fd670f388fccd1a40275c6be773228b8267f3ce2c52a3a3f7c1e49f628732d8e9e70ec90b
|
|
7
|
+
data.tar.gz: 1b1f535401b836a64babfcdefed3c4899ede8cc5a62cfdbd66050aabc0b7103a093b74cbeaf15f2594a7d3b240d004c79a8b44e2c10cd7344df724712b8ed4c7
|
data/lib/hipchat_smart.rb
CHANGED
|
@@ -12,6 +12,11 @@ if ARGV.size==0
|
|
|
12
12
|
ON_MASTER_ROOM = true
|
|
13
13
|
ADMIN_USERS = MASTER_USERS
|
|
14
14
|
RULES_FILE = "#{$0.gsub('.rb', '_rules.rb')}" unless defined?(RULES_FILE)
|
|
15
|
+
unless File.exist?(RULES_FILE)
|
|
16
|
+
require 'fileutils'
|
|
17
|
+
default_rules=(__FILE__).gsub(".rb", "_rules.rb")
|
|
18
|
+
FileUtils.copy_file(default_rules, RULES_FILE)
|
|
19
|
+
end
|
|
15
20
|
STATUS_INIT = :on
|
|
16
21
|
else
|
|
17
22
|
ON_MASTER_ROOM = false
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hipchat_smart
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mario Ruiz
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-03-
|
|
11
|
+
date: 2018-03-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: xmpp4r
|
|
@@ -50,12 +50,14 @@ dependencies:
|
|
|
50
50
|
- - ">="
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
52
|
version: 1.6.0
|
|
53
|
-
description:
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
description: "Create a hipchat bot that is smart and so easy to expand, create new
|
|
54
|
+
bots on demand, run ruby code on chat, create shortcuts... \n The main scope of
|
|
55
|
+
this gem is to be used internally in the company so teams can create team rooms
|
|
56
|
+
with their own bot to help them on their daily work, almost everything is suitable
|
|
57
|
+
to be automated!! \n hipchat_smart can create bots on demand, create shortcuts,
|
|
58
|
+
run ruby code... just on a chat room. \n You can access it just from your mobile
|
|
59
|
+
phone if you want and run those tests you forgot to run, get the results, restart
|
|
60
|
+
a server... no limits."
|
|
59
61
|
email: marioruizs@gmail.com
|
|
60
62
|
executables: []
|
|
61
63
|
extensions: []
|
|
@@ -87,9 +89,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
87
89
|
version: '0'
|
|
88
90
|
requirements: []
|
|
89
91
|
rubyforge_project:
|
|
90
|
-
rubygems_version: 2.6
|
|
92
|
+
rubygems_version: 2.7.6
|
|
91
93
|
signing_key:
|
|
92
94
|
specification_version: 4
|
|
93
|
-
summary: Create a hipchat bot that is
|
|
94
|
-
|
|
95
|
+
summary: Create a hipchat bot that is smart and so easy to expand, create new bots
|
|
96
|
+
on demand, run ruby code on chat, create shortcuts...
|
|
95
97
|
test_files: []
|