ruboty-idobata 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a40558daed55d8031ecc3118210d6865cee703ee
4
- data.tar.gz: bfa9b8b7de74450cc737a1a29f58b77ddbcb73b8
3
+ metadata.gz: 8a6c3daebc406d8907b34a6025689e7dcef38a14
4
+ data.tar.gz: 64873f0cb8d88ebfba524e381ea360464614cfa6
5
5
  SHA512:
6
- metadata.gz: 0c1dc43e36607bf58566fc0adc81c3ae8e8f08cb08bf26b4f62ac7a09f50dafdd54251c68ae8aea1d89b18b757771289a8221cf7e6cfd380cf42d12ef0ce7801
7
- data.tar.gz: d50622f287a0a95fa72069a8b4cc9a4590d5339c805700510f062e0347e724b01cae54052b4a7d6972c984be84997698945e17a49f00e3faaad40dd06bfc3adb
6
+ metadata.gz: dfd7c55b85a6047196f3dd712e333701bf2df409ef4ccc22c0ed4bcdbc5bb74f5941ce632dbe54db93066373b0692a95f4586a6da61045b62bb0da32b16a5c0f
7
+ data.tar.gz: ef8e41e5f28b0db84b60f7ea508f4b1b0533036bba210bd8cd175c220a28f1bf14f7ead2fa9ef578f0ae3a1172538fca0fe17f57ebbf4ac08f67d8c8a495bb78
@@ -1,6 +1,6 @@
1
- Copyright (c) 2014 Seiei Higa
1
+ The MIT License
2
2
 
3
- MIT License
3
+ Copyright © 2014-2015 [YassLab](http://yasslab.jp)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Ruboty::Idobata
2
2
 
3
3
  Idobata adapter for [Ruboty](https://github.com/r7kamura/ruboty).
4
+ ruboty-idobata requires Ruby 2.1 or later.
4
5
 
5
6
  ## Usage
6
7
  Get your idobata bots api token
@@ -10,7 +11,6 @@ Get your idobata bots api token
10
11
 
11
12
  ``` ruby
12
13
  # Gemfile
13
- ruby '2.1.2'
14
14
  gem 'ruboty-idobata'
15
15
  ```
16
16
 
@@ -24,14 +24,20 @@ gem 'ruboty-idobata'
24
24
 
25
25
  ## Screenshot
26
26
 
27
- ![](https://raw.githubusercontent.com/hanachin/ruboty-idobata/master/images/screenshot.png)
27
+ ![](https://raw.githubusercontent.com/yasslab/ruboty-idobata/master/images/screenshot.png)
28
28
 
29
29
  Notice: _The default robot name is `ruboty`, so if you want to use another name(e.x. `ellen`), you must be set `ROBOT_NAME` environment variable._
30
30
 
31
31
  ## Contributing
32
32
 
33
- 1. Fork it ( http://github.com/hanachin/ruboty-idobata/fork )
33
+ 1. Fork it ( http://github.com/yasslab/ruboty-idobata/fork )
34
34
  2. Create your feature branch (`git checkout -b my-new-feature`)
35
35
  3. Commit your changes (`git commit -am 'Add some feature'`)
36
36
  4. Push to the branch (`git push origin my-new-feature`)
37
37
  5. Create new Pull Request
38
+
39
+ ## License
40
+
41
+ Copyright © 2014-2015 [YassLab](http://yasslab.jp)
42
+
43
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -25,7 +25,7 @@ module Ruboty
25
25
  def say(message)
26
26
  pp message
27
27
  req = Net::HTTP::Post.new(idobata_messages_url.path, headers)
28
- req.form_data = { 'message[room_id]' => message[:original][:room_id], 'message[source]' => message[:body] }
28
+ req.form_data = { 'message[room_id]' => message[:original][:room_id], 'message[source]' => message[:body], 'message[format]' => 'markdown' }
29
29
  https = Net::HTTP.new(idobata_messages_url.host, idobata_messages_url.port)
30
30
  https.use_ssl = true
31
31
  https.start {|https| https.request(req) }
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module Idobata
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-idobata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seiei Higa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-14 00:00:00.000000000 Z
11
+ date: 2015-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruboty
@@ -75,7 +75,7 @@ extra_rdoc_files: []
75
75
  files:
76
76
  - ".gitignore"
77
77
  - Gemfile
78
- - LICENSE.txt
78
+ - LICENSE.md
79
79
  - README.md
80
80
  - Rakefile
81
81
  - images/screenshot.png
@@ -103,9 +103,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  version: '0'
104
104
  requirements: []
105
105
  rubyforge_project:
106
- rubygems_version: 2.4.5
106
+ rubygems_version: 2.4.5.1
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: Idobata adapter for Ruboty.
110
110
  test_files: []
111
- has_rdoc: