ruboty 1.0.2 → 1.0.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 +3 -0
- data/README.md +10 -10
- data/lib/ruboty.rb +1 -1
- data/lib/ruboty/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 95c695bb0d9f550d464a2417ae4b29f3bed23ac8
|
|
4
|
+
data.tar.gz: a3fd238b18ad1c50d3d51e6a9ba4061425a23b0d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a79ff419c471ec6829dfc82573cf0e3ed1ec0a58b06e6947dee87ffa54a20b1602f15ff6b439be59c64a16b559e2f47542c681dfc7249ce10b44f59043c17af1
|
|
7
|
+
data.tar.gz: 9bdae2c329be3b91236f0b0e79ad3a4363d24ce7f942f8a2493a9d3cc260f96904ec4cd3fff9ab97b2c1ecf2b39494904f000cf9dfae145cee9f5179e0361cc1
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -25,6 +25,7 @@ Handler provides various behaviors to your robot.
|
|
|
25
25
|
* [ruboty-cron](https://github.com/r7kamura/ruboty-cron)
|
|
26
26
|
* [ruboty-github](https://github.com/r7kamura/ruboty-github)
|
|
27
27
|
* [ruboty-google_image](https://github.com/r7kamura/ruboty-google_image)
|
|
28
|
+
* [ruboty-japan_weather](https://github.com/taiki45/ruboty-japan_weather)
|
|
28
29
|
* [ruboty-lgtm](https://github.com/negipo/ruboty-lgtm)
|
|
29
30
|
* [ruboty-syoboi_calendar](https://github.com/r7kamura/ruboty-syoboi_calendar)
|
|
30
31
|
|
|
@@ -45,28 +46,27 @@ gem "ruboty-slack"
|
|
|
45
46
|
```
|
|
46
47
|
|
|
47
48
|
## Environment
|
|
48
|
-
|
|
49
|
-
You can specify Ruboty environment via environment variables:
|
|
49
|
+
You can change loaded gems via `RUBOTY_ENV` (default: development).
|
|
50
50
|
|
|
51
|
-
```
|
|
51
|
+
```sh
|
|
52
52
|
RUBOTY_ENV=production bundle exec ruboty
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
Ruboty only loads dependent gems group by current environment.
|
|
56
|
-
|
|
57
55
|
```ruby
|
|
58
|
-
#
|
|
56
|
+
# Use ruboty-cron in any env
|
|
57
|
+
gem "ruboty-cron"
|
|
58
|
+
|
|
59
|
+
# Use HipChat in development env
|
|
59
60
|
group :development do
|
|
60
|
-
gem "ruboty"
|
|
61
|
+
gem "ruboty-hipchat"
|
|
61
62
|
end
|
|
62
63
|
|
|
64
|
+
# Use Slack in production env
|
|
63
65
|
group :production do
|
|
64
|
-
gem "ruboty-slack"
|
|
66
|
+
gem "ruboty-slack"
|
|
65
67
|
end
|
|
66
68
|
```
|
|
67
69
|
|
|
68
|
-
The default Ruboty environment is `development`.
|
|
69
|
-
|
|
70
70
|
## Deploy
|
|
71
71
|
Here is the smallest example to deploy a simple chatterbot to Heroku.
|
|
72
72
|
|
data/lib/ruboty.rb
CHANGED
data/lib/ruboty/version.rb
CHANGED
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.0.
|
|
4
|
+
version: 1.0.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-
|
|
11
|
+
date: 2014-07-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|