ruboty 1.1.2 → 1.1.3
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 +4 -4
- data/CHANGELOG.md +38 -35
- data/README.md +2 -0
- data/lib/ruboty/version.rb +1 -1
- data/ruboty.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bf066ff16d0dbb8e878b95d5ab87d814645172f2
|
|
4
|
+
data.tar.gz: d35e34502bfbdf709be6167d219d8d4fafe81346
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87d3c303221569c797e7332cf11e1d7bc1b59215c4f328d689e521692f11453ab13acd351cabf566fa6ca5211c40e0d866d21c1a70e8639ca386647eb70ffd87
|
|
7
|
+
data.tar.gz: c7acb9f14fb3842ac6e677dc04b3c5121128bad802a407b42d5ae432be862185fcdbd9390f9acf5beffa8806af1256b4216360757a69ab539f8514da71002309
|
data/CHANGELOG.md
CHANGED
|
@@ -1,94 +1,97 @@
|
|
|
1
|
+
## 1.1.3
|
|
2
|
+
- Fix slop version (thx @parroty)
|
|
3
|
+
|
|
1
4
|
## 1.1.2
|
|
2
|
-
|
|
5
|
+
- Fix message matching pattern so that "rubotyping" is not responded
|
|
3
6
|
|
|
4
7
|
## 1.1.1
|
|
5
|
-
|
|
8
|
+
- Use action's returned-value to check if :missing action is invoked or not
|
|
6
9
|
|
|
7
10
|
## 1.1.0
|
|
8
|
-
|
|
11
|
+
- Add :missing option for handler to respond with messages that didn't match any handlers
|
|
9
12
|
|
|
10
13
|
## 1.0.4
|
|
11
|
-
|
|
14
|
+
- Support RUBOTY_NAME and obsolete ROBOT_NAME
|
|
12
15
|
|
|
13
16
|
## 1.0.3
|
|
14
|
-
|
|
17
|
+
- Fix help handler
|
|
15
18
|
|
|
16
19
|
## 1.0.2
|
|
17
|
-
|
|
20
|
+
- Add RUBOTY_ENV to change bundled gems with environment
|
|
18
21
|
|
|
19
22
|
## 1.0.1
|
|
20
|
-
|
|
23
|
+
- Ignore if no Gemfile found in current directory or given path
|
|
21
24
|
|
|
22
25
|
## 1.0.0
|
|
23
|
-
|
|
26
|
+
- Rename: Ellen -> Ruboty
|
|
24
27
|
|
|
25
28
|
## 0.2.8
|
|
26
|
-
|
|
29
|
+
- Use Ruboty::Message#from_name in whoami action
|
|
27
30
|
|
|
28
31
|
## 0.2.7
|
|
29
|
-
|
|
32
|
+
- Add Ruboty::Message#from_name for rich chat service
|
|
30
33
|
|
|
31
34
|
## 0.2.6
|
|
32
|
-
|
|
33
|
-
|
|
35
|
+
- Add `who am i?` handler
|
|
36
|
+
- Sort commands in help message
|
|
34
37
|
|
|
35
38
|
## 0.2.5
|
|
36
|
-
|
|
39
|
+
- Hide action defined with `:hidden` option in Help message
|
|
37
40
|
|
|
38
41
|
## 0.2.4
|
|
39
|
-
|
|
42
|
+
- Reveal message prefix pattern as a class method
|
|
40
43
|
|
|
41
44
|
## 0.2.3
|
|
42
|
-
|
|
45
|
+
- Help message is formatted if adapter supported
|
|
43
46
|
|
|
44
47
|
## 0.2.2
|
|
45
|
-
|
|
48
|
+
- Now `Ruboty::Robot#say(message)` can use `message[:original]`
|
|
46
49
|
|
|
47
50
|
## 0.2.1
|
|
48
|
-
|
|
51
|
+
- Store shell history in ~/.ruboty_history
|
|
49
52
|
|
|
50
53
|
## 0.2.0
|
|
51
|
-
|
|
54
|
+
- Change adapter & message interface
|
|
52
55
|
|
|
53
56
|
## 0.1.3
|
|
54
|
-
|
|
57
|
+
- Change Ruboty::Message interface
|
|
55
58
|
|
|
56
59
|
## 0.1.2
|
|
57
|
-
|
|
60
|
+
- Make Handler validatable
|
|
58
61
|
|
|
59
62
|
## 0.1.1
|
|
60
|
-
|
|
63
|
+
- Improve Brain interface
|
|
61
64
|
|
|
62
65
|
## 0.1.0
|
|
63
|
-
|
|
66
|
+
- Deprecate --adapter option
|
|
64
67
|
|
|
65
68
|
## 0.0.9
|
|
66
|
-
|
|
69
|
+
- Adapt mention name to `@<name>: <text>` format
|
|
67
70
|
|
|
68
71
|
## 0.0.8
|
|
69
|
-
|
|
70
|
-
|
|
72
|
+
- Mount Brain
|
|
73
|
+
- Change handler interface
|
|
71
74
|
|
|
72
75
|
## 0.0.7
|
|
73
|
-
|
|
76
|
+
- Add PING handler
|
|
74
77
|
|
|
75
78
|
## 0.0.6
|
|
76
|
-
|
|
79
|
+
- `ruboty help` to show actions list
|
|
77
80
|
|
|
78
81
|
## 0.0.5
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
+
- Now Action can access to MatchData object via Message
|
|
83
|
+
- ENV["ROBOT_NAME"] or "ruboty" is default name
|
|
84
|
+
- Robot only responds to mention unless :all option specified
|
|
82
85
|
|
|
83
86
|
## 0.0.4
|
|
84
|
-
|
|
87
|
+
- Add --dotenv option to load .env before running
|
|
85
88
|
|
|
86
89
|
## 0.0.3
|
|
87
|
-
|
|
90
|
+
- Add env DSL to define adapter
|
|
88
91
|
|
|
89
92
|
## 0.0.2
|
|
90
|
-
|
|
91
|
-
|
|
93
|
+
- Add Handler DSL Syntax
|
|
94
|
+
- Add --load option to load a ruby file before running
|
|
92
95
|
|
|
93
96
|
## 0.0.1
|
|
94
|
-
|
|
97
|
+
- 1st release
|
data/README.md
CHANGED
|
@@ -23,11 +23,13 @@ Handler provides various behaviors to your robot.
|
|
|
23
23
|
|
|
24
24
|
* [ruboty-alias](https://github.com/r7kamura/ruboty-alias)
|
|
25
25
|
* [ruboty-cron](https://github.com/r7kamura/ruboty-cron)
|
|
26
|
+
* [ruboty-echo](https://github.com/taiki45/ruboty-echo)
|
|
26
27
|
* [ruboty-github](https://github.com/r7kamura/ruboty-github)
|
|
27
28
|
* [ruboty-google_image](https://github.com/r7kamura/ruboty-google_image)
|
|
28
29
|
* [ruboty-japan_weather](https://github.com/taiki45/ruboty-japan_weather)
|
|
29
30
|
* [ruboty-lgtm](https://github.com/negipo/ruboty-lgtm)
|
|
30
31
|
* [ruboty-syoboi_calendar](https://github.com/r7kamura/ruboty-syoboi_calendar)
|
|
32
|
+
* [ruboty-talk](https://github.com/r7kamura/ruboty-talk)
|
|
31
33
|
|
|
32
34
|
## Configuration
|
|
33
35
|
Store configuration value in envorinment variables.
|
data/lib/ruboty/version.rb
CHANGED
data/ruboty.gemspec
CHANGED
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
spec.add_dependency "bundler"
|
|
21
21
|
spec.add_dependency "dotenv"
|
|
22
22
|
spec.add_dependency "mem"
|
|
23
|
-
spec.add_dependency "slop"
|
|
23
|
+
spec.add_dependency "slop", "~> 3.6"
|
|
24
24
|
spec.add_development_dependency "codeclimate-test-reporter", ">= 0.3.0"
|
|
25
25
|
spec.add_development_dependency "pry"
|
|
26
26
|
spec.add_development_dependency "rake"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruboty
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ryo Nakamura
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-12-
|
|
11
|
+
date: 2014-12-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -70,16 +70,16 @@ dependencies:
|
|
|
70
70
|
name: slop
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - "
|
|
73
|
+
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '
|
|
75
|
+
version: '3.6'
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- - "
|
|
80
|
+
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '
|
|
82
|
+
version: '3.6'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: codeclimate-test-reporter
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|