pivotal_reporting 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -3,9 +3,13 @@
3
3
  This is a simple ruby script I use to produce a weekly report on what us
4
4
  developers have been up to.
5
5
 
6
+ ### Installation
7
+
8
+ gem install pivotal_reporting
9
+
6
10
  ### Usage
7
11
 
8
- bundle exec ./bin/pivotal_report.rb -t <pivotal token> -p <project id>
12
+ pivotal_report -t <pivotal token> -p <project id>
9
13
 
10
14
  Where `<pivotal token>` is your pivotal API token available at the end
11
15
  of [your profile page][1], and `<project id>` is the id of your project (I
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
data/bin/pivotal_report CHANGED
@@ -4,7 +4,7 @@ require 'optparse'
4
4
  opts = {}
5
5
  parser = OptionParser.new do |os|
6
6
  os.banner =<<-EOT
7
- Usage: pivotal_report.rb [options]
7
+ Usage: pivotal_report [options]
8
8
  EOT
9
9
 
10
10
  os.on('-t [TOKEN]', '--token [TOKEN]', 'Set API token') do |v|
@@ -143,7 +143,7 @@ class PivotalReport
143
143
 
144
144
  def stories_with_label(label, set=nil)
145
145
  set ||= stories
146
- set.select{|s| s.labels =~ /#{label}/ }
146
+ set.select{|s| s.labels.to_s.include? label }
147
147
  end
148
148
 
149
149
  def stories_for_user(user, set=nil)
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "pivotal_reporting"
8
- s.version = "1.0.0"
8
+ s.version = "1.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Joshua Szmajda"]
12
- s.date = "2012-02-07"
12
+ s.date = "2012-02-13"
13
13
  s.description = "Please see the README. This tool generates some reports that could be useful if you're managing a team of developers using Pivotal Tracker"
14
14
  s.email = "joshsz@gmail.com"
15
15
  s.executables = ["pivotal_report"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pivotal_reporting
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-07 00:00:00.000000000Z
12
+ date: 2012-02-13 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pivotal-tracker
16
- requirement: &21831180 !ruby/object:Gem::Requirement
16
+ requirement: &15432460 !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: *21831180
24
+ version_requirements: *15432460
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: jeweler
27
- requirement: &21830700 !ruby/object:Gem::Requirement
27
+ requirement: &15431880 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 1.8.3
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *21830700
35
+ version_requirements: *15431880
36
36
  description: Please see the README. This tool generates some reports that could be
37
37
  useful if you're managing a team of developers using Pivotal Tracker
38
38
  email: joshsz@gmail.com
@@ -65,7 +65,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
65
  version: '0'
66
66
  segments:
67
67
  - 0
68
- hash: -1627381237856098628
68
+ hash: 1893016893280075360
69
69
  required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  none: false
71
71
  requirements: