ellen-github 0.0.4 → 0.0.5

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: 840f7c706f1f5332b87c3e9e0ab87df61dab4a41
4
- data.tar.gz: 5d9a376a02e562220123eec71a7f38c9179ed5de
3
+ metadata.gz: c3b81594571f777fd7b3ec92edd882a1cf9c452c
4
+ data.tar.gz: a7646dc959bc767b270023ed4cae94af3175ee60
5
5
  SHA512:
6
- metadata.gz: 23048c0c8fb1fcf8f3839aaf8e52d6be836dd1f05a4417af37e41ffaa49cc8a43ed69c1bbea4ef3f2d9f8c6fa6673674e71e438be7452758999a7ac9673aa13b
7
- data.tar.gz: 9617bcf4c983e776b4fe17d7d1a457ae7268540ca4dcdafc5fd5f2d53fe4724587b6f021e37dc16a282917ec1b07564ac8e3fb5969590d308f4eade08fac2db5
6
+ metadata.gz: 91e782c4c2214b22958ffe89d9905ccc49a80ea65545d8ae2a3426349f7f8b2f58c7d69da9d7c6aabcf64f733dc6f659065adec9aa9baf64be9d20395e7827a0
7
+ data.tar.gz: 52834342144e33db97ce85eaf335b9adcc195a229d15f8bddc6df32acbf8f8a572589dc71a70f0eee30c0e65a89644ba0c7da7a55f769249da18516818c7f813
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.0.5
2
+ * Description support
3
+
1
4
  ## 0.0.4
2
5
  * Add close command
3
6
 
data/ellen-github.gemspec CHANGED
@@ -16,6 +16,7 @@ Gem::Specification.new do |spec|
16
16
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
17
17
  spec.require_paths = ["lib"]
18
18
 
19
+ spec.add_dependency "activesupport"
19
20
  spec.add_dependency "ellen", ">= 0.2.0"
20
21
  spec.add_dependency "octokit"
21
22
  spec.add_development_dependency "bundler", "~> 1.6"
data/lib/ellen/github.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require "active_support/core_ext/string/strip"
1
2
  require "octokit"
2
3
 
3
4
  require "ellen"
@@ -33,7 +33,7 @@ module Ellen
33
33
  end
34
34
 
35
35
  def body
36
- nil
36
+ message[:description]
37
37
  end
38
38
  end
39
39
  end
@@ -1,5 +1,5 @@
1
1
  module Ellen
2
2
  module Github
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
@@ -2,7 +2,7 @@ module Ellen
2
2
  module Handlers
3
3
  class Github < Base
4
4
  on(
5
- /create issue "(?<title>.+)" on (?<repo>.+)\z/,
5
+ /create issue "(?<title>.+)" on (?<repo>.+)(?:\n(?<description>[\s\S]+))?\z/,
6
6
  name: "create_issue",
7
7
  description: "Create a new issue",
8
8
  )
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ellen-github
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
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-04-27 00:00:00.000000000 Z
11
+ date: 2014-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: ellen
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -130,7 +144,6 @@ files:
130
144
  - lib/ellen/github/actions/remember.rb
131
145
  - lib/ellen/github/version.rb
132
146
  - lib/ellen/handlers/github.rb
133
- - spec/ellen/github_spec.rb
134
147
  - spec/ellen/handlers/github_spec.rb
135
148
  - spec/spec_helper.rb
136
149
  homepage: https://github.com/r7kamura/ellen-github
@@ -158,7 +171,6 @@ signing_key:
158
171
  specification_version: 4
159
172
  summary: Manage GitHub via Ellen.
160
173
  test_files:
161
- - spec/ellen/github_spec.rb
162
174
  - spec/ellen/handlers/github_spec.rb
163
175
  - spec/spec_helper.rb
164
176
  has_rdoc:
@@ -1,7 +0,0 @@
1
- require "spec_helper"
2
-
3
- describe Ellen::Github do
4
- it "can be loaded without any errors" do
5
- should be_true
6
- end
7
- end