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.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/lib/hipchat_smart.rb +5 -0
  3. metadata +13 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: da292e2d66a6bbbf1edf2ebc2fd28232d3cfeb29
4
- data.tar.gz: 62d4d3b1363829d97e3b867c2a973212011c1fe3
2
+ SHA256:
3
+ metadata.gz: a0f8fa0db1c04e003abf520a096e7f7ed39b932f4885ac9b6f3cbce0254a9f8e
4
+ data.tar.gz: 1cb3ec7012e6131d7e73fc50ea27a212fd47f7e9bf68cab74f92b1ee67ffef59
5
5
  SHA512:
6
- metadata.gz: b5e72a6e8782ced566bbbe365e95c281f8c7166e9898d538692c148ff466e0a2a8cbe45ef3c9db427d4aed01c04fc88528d1dba1f423e56902d8e470a630c87c
7
- data.tar.gz: ef0691f01534b9e91394fec3bff846dd5d9612dc07ef17bc947d33b81b818cd968bbc58a8954a83363d23e68590003dabc78a2080c7c78a3b745cd31d982b42e
6
+ metadata.gz: 5e3fdeb06e15c5ec46278096f386646316390f70c0909991ceefbe5fd670f388fccd1a40275c6be773228b8267f3ce2c52a3a3f7c1e49f628732d8e9e70ec90b
7
+ data.tar.gz: 1b1f535401b836a64babfcdefed3c4899ede8cc5a62cfdbd66050aabc0b7103a093b74cbeaf15f2594a7d3b240d004c79a8b44e2c10cd7344df724712b8ed4c7
@@ -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.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-14 00:00:00.000000000 Z
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: The main scope of this gem is to be used internally in your company so
54
- teams can create team rooms with their own bot to help them on their daily work,
55
- almost everything is suitable to be automated!! hipchat_smart can create bots on
56
- demand, create shortcuts, run ruby code... just on a chat room, you can access it
57
- just from your mobile phone if you want and run those tests you forgot to run, get
58
- the results, restart a server... no limits.
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.11
92
+ rubygems_version: 2.7.6
91
93
  signing_key:
92
94
  specification_version: 4
93
- summary: Create a hipchat bot that is really smart and so easy to expand, create new
94
- bots on demand, run ruby code on chat, create shortcuts...
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: []