git-storyid 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/git-storyid.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "git-storyid"
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bogdan Gusiev"]
data/lib/git_storyid.rb CHANGED
@@ -16,7 +16,7 @@ class GitStoryid
16
16
  @message = message
17
17
  end
18
18
  end
19
- parser.parse!
19
+ parser.parse!(arguments)
20
20
 
21
21
  unless arguments.empty?
22
22
  @stories = arguments.map do |argument|
@@ -54,6 +54,7 @@ class GitStoryid
54
54
 
55
55
  end
56
56
  end
57
+
57
58
  message = ("[#{@stories.map { |s| "\##{s.id}"}.join(", ")}]").rjust 12
58
59
  message += ' '
59
60
  if @message && !@message.empty?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-storyid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-09-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pivotal-tracker
16
- requirement: &18360300 !ruby/object:Gem::Requirement
16
+ requirement: &11514360 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *18360300
24
+ version_requirements: *11514360
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &18391140 !ruby/object:Gem::Requirement
27
+ requirement: &11555960 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 2.8.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *18391140
35
+ version_requirements: *11555960
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: jeweler
38
- requirement: &18399340 !ruby/object:Gem::Requirement
38
+ requirement: &11575160 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 1.8.3
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *18399340
46
+ version_requirements: *11575160
47
47
  description: Helps include pivotal story id and description in commit
48
48
  email: agresso@gmail.com
49
49
  executables:
@@ -82,7 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  segments:
84
84
  - 0
85
- hash: 2052410436570425512
85
+ hash: 968133884805845043
86
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  none: false
88
88
  requirements: