ruboty-redmine 0.0.10 → 0.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28cfa0c5ef4048efef19d0e357dd019577b63747
4
- data.tar.gz: 28187057f166ef44785b0e895fb5fc7754df0221
3
+ metadata.gz: 830bbd6dd99ba0b9d576d576c8ca7fb3f8feb057
4
+ data.tar.gz: 3ffadf62a1cf8a941f4c2e66de9d4ec433f355cc
5
5
  SHA512:
6
- metadata.gz: 12ca7ec1cf59515b82a5bb168d85b9e5dbf58cd38108de55394af6bdceffb882d85b2041868d63890654da8ffc1e0f334422b7fb25cf74784c04727612fa6fde
7
- data.tar.gz: b10767e3e0013fad24284ccad8965f912322fb16ce6bec60b95b1f8134bb87edad809d5f8bce5e7974cb4c122bfc3d1e10cdddb5f532b1f225ec6df369e43b92
6
+ metadata.gz: 994656ffb455052b57abed08e6b53ee4e91ba0146709ce9d3bffabe092c9dc4ea4c8e1665608b8e45fd30d0ec2d88b1a26b7b7b8f81e4ba06895d8e8fec032ba
7
+ data.tar.gz: cc88251ba05b6394d6aa3da5f155917da4aaa26d8f97990a10d8895f7e2f83b136017f32fc013eee221d957b8f842224203f80059894a52e5b246ceac74c63de
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Redmine plugin for Ruboty
4
4
 
5
+ This plugin is tested only with ruboty-hipchat.
6
+
5
7
  ## Available commands
6
8
 
7
9
  ### create issue
@@ -52,9 +52,11 @@ module Ruboty
52
52
  end
53
53
 
54
54
  def create_issue(message)
55
+ from_name = message.original[:from_name]
56
+
55
57
  words = parse_arg(message[:rest])
56
58
  req = {}
57
- req[:subject] = words.shift
59
+ req[:subject] = "#{words.shift} (by #{from_name})"
58
60
 
59
61
  if words.size == 1
60
62
  expand_to = alias_for(words.first)
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module Redmine
3
- VERSION = "0.0.10"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-redmine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryota Arai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-19 00:00:00.000000000 Z
11
+ date: 2015-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruboty
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  requirements: []
133
133
  rubyforge_project:
134
- rubygems_version: 2.2.2
134
+ rubygems_version: 2.4.5
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: Redmine plugin for Ruboty