jirabas 0.0.1 → 1.0.1

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: cdf1af4f547aa28675a50cc4a286d7976da932db
4
- data.tar.gz: 8fbdb9864d09074a59b6a5527ea19967ef7a9460
3
+ metadata.gz: 4621e1e37b886dfa7bb6582cc8e15396c56e023c
4
+ data.tar.gz: d87c127001ee85e91db5b8ff12a44a1e9ee211cf
5
5
  SHA512:
6
- metadata.gz: 142f4f9e58d10c4c88d73662ef6a03ed4ed73959230e115b1a564b82c842f6379d2ab5eaa8023fb5d47b9beea98f91158ef895e227d203e1463a9f6b640f7472
7
- data.tar.gz: 37c6f58b49fda77e7f88224dab7397ebde621eb6853d150335e10ab3569d94159f4cda861a9c0de77eb376c39c4dd676822fcc96a7b635ee74f16e485b836ae3
6
+ metadata.gz: 7ef20e9083c3da89bad0d19fdff8914ef3fdda63955c70c47de5cefbd798da762e84843051c3b909065ee8a94a892356c5448b618313d60be1f979f9ec3fd6d0
7
+ data.tar.gz: e266dae655d60577f6017cad9d2a72ca761a53184d7363b78efca9e9682484d5c5a5729347b1e15e85c459a1bd484c6e74d8cbc38eea9efd663378f126756c79
data/jirabas.gemspec CHANGED
@@ -18,11 +18,16 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency 'jira-ruby'
22
- spec.add_dependency 'highline'
23
- spec.add_dependency 'trollop'
24
- spec.add_dependency 'activesupport'
25
- spec.add_dependency 'retryable'
21
+ spec.add_dependency 'jira-ruby', '0.1.8'
22
+ spec.add_dependency 'highline', '1.6.21'
23
+ #spec.add_dependency 'trollop'
24
+ spec.add_dependency 'activesupport', '4.0.4'
25
+ spec.add_dependency 'retryable', '1.3.5'
26
+
27
+ #just to shut up WARN Unresolved spec during .. reset
28
+ spec.add_dependency 'multi_json', '1.9.2'
29
+ spec.add_dependency 'tzinfo', '0.3.37'
30
+ spec.add_dependency 'thread_safe', '0.3.3'
26
31
 
27
32
  spec.add_development_dependency 'bundler', "~> 1.5"
28
33
  spec.add_development_dependency 'rake'
@@ -1,3 +1,3 @@
1
1
  module Jirabas
2
- VERSION = "0.0.1"
2
+ VERSION = "1.0.1"
3
3
  end
data/lib/jirabas.rb CHANGED
@@ -21,8 +21,8 @@ module Jirabas
21
21
  def self.issues_i_did_recently
22
22
  client.Issue.jql("assignee = #{Config.username} AND resolution != Unresolved AND updatedDate > '-2d' ORDER BY updatedDate DESC")
23
23
  end
24
- def self.assigned_to_me
25
- client.Issue.jql("assignee = #{Config.username} AND resolution = Unresolved ORDER BY updatedDate DESC")
24
+ def self.to_do_assigned_to_me
25
+ client.Issue.jql("assignee = #{Config.username} AND resolution = Unresolved AND status != 'In Progress' ORDER BY updatedDate DESC")
26
26
  .map { |e| "#{e.key}: #{e.summary}"}
27
27
  end
28
28
 
@@ -41,7 +41,7 @@ module Jirabas
41
41
  puts what_did_i_do_recently.join("\n").to_s
42
42
 
43
43
  puts "----------\nTo do:\n"
44
- puts assigned_to_me.join("\n").to_s
44
+ puts to_do_assigned_to_me.join("\n").to_s
45
45
  end
46
46
 
47
47
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jirabas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Proffard
@@ -9,78 +9,106 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-23 00:00:00.000000000 Z
12
+ date: 2014-04-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jira-ruby
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: '0'
20
+ version: 0.1.8
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: '0'
27
+ version: 0.1.8
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: highline
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ">="
32
+ - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: '0'
34
+ version: 1.6.21
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ">="
39
+ - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: '0'
41
+ version: 1.6.21
42
42
  - !ruby/object:Gem::Dependency
43
- name: trollop
43
+ name: activesupport
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ">="
46
+ - - '='
47
47
  - !ruby/object:Gem::Version
48
- version: '0'
48
+ version: 4.0.4
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ">="
53
+ - - '='
54
54
  - !ruby/object:Gem::Version
55
- version: '0'
55
+ version: 4.0.4
56
56
  - !ruby/object:Gem::Dependency
57
- name: activesupport
57
+ name: retryable
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - '='
61
61
  - !ruby/object:Gem::Version
62
- version: '0'
62
+ version: 1.3.5
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
67
+ - - '='
68
68
  - !ruby/object:Gem::Version
69
- version: '0'
69
+ version: 1.3.5
70
70
  - !ruby/object:Gem::Dependency
71
- name: retryable
71
+ name: multi_json
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ">="
74
+ - - '='
75
75
  - !ruby/object:Gem::Version
76
- version: '0'
76
+ version: 1.9.2
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ">="
81
+ - - '='
82
82
  - !ruby/object:Gem::Version
83
- version: '0'
83
+ version: 1.9.2
84
+ - !ruby/object:Gem::Dependency
85
+ name: tzinfo
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - '='
89
+ - !ruby/object:Gem::Version
90
+ version: 0.3.37
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - '='
96
+ - !ruby/object:Gem::Version
97
+ version: 0.3.37
98
+ - !ruby/object:Gem::Dependency
99
+ name: thread_safe
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - '='
103
+ - !ruby/object:Gem::Version
104
+ version: 0.3.3
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - '='
110
+ - !ruby/object:Gem::Version
111
+ version: 0.3.3
84
112
  - !ruby/object:Gem::Dependency
85
113
  name: bundler
86
114
  requirement: !ruby/object:Gem::Requirement
@@ -152,3 +180,4 @@ signing_key:
152
180
  specification_version: 4
153
181
  summary: This helps you know what you're working on right now
154
182
  test_files: []
183
+ has_rdoc: