terjira 0.1.0 → 0.1.1
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 +4 -4
- data/Gemfile.lock +13 -13
- data/README.md +1 -0
- data/bin/console +9 -7
- data/bin/jira +2 -1
- data/lib/terjira.rb +0 -1
- data/lib/terjira/presenters/issue_presenter.rb +5 -5
- data/lib/terjira/version.rb +1 -1
- data/terjira.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5592eeb887c0b8ce2a4437c36c3e2468417f54f3
|
4
|
+
data.tar.gz: 49483f95737dc6ae8f57d7871c8db30ce4da59d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82a1c765c3328a83d96e4e6e5c800acaee4fac814f672d2f59d11e8292d650d7ea1c531aef9ec42c8d97f408aabd67d2a5697f5cfd24f85b0a135211fa8d5a4f
|
7
|
+
data.tar.gz: 04eea6bbe20ae4474c7b518374ad3a63fefea7f51030b7036e91b2018be799fb99670f2eba6cc51df25d4260e884d17806e2f84babbfcd403c72bb2dcdc5e8c5
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
terjira (0.1.
|
5
|
-
activesupport (
|
4
|
+
terjira (0.1.1)
|
5
|
+
activesupport (= 4.0.13)
|
6
6
|
jira-ruby (~> 1.1)
|
7
7
|
pastel (~> 0.6.1)
|
8
8
|
thor (~> 0.19)
|
@@ -13,12 +13,12 @@ PATH
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
15
15
|
specs:
|
16
|
-
activesupport (4.
|
17
|
-
i18n (~> 0.
|
18
|
-
|
19
|
-
|
20
|
-
thread_safe (~> 0.
|
21
|
-
tzinfo (~>
|
16
|
+
activesupport (4.0.13)
|
17
|
+
i18n (~> 0.6, >= 0.6.9)
|
18
|
+
minitest (~> 4.2)
|
19
|
+
multi_json (~> 1.3)
|
20
|
+
thread_safe (~> 0.1)
|
21
|
+
tzinfo (~> 0.3.37)
|
22
22
|
codeclimate-test-reporter (1.0.3)
|
23
23
|
simplecov
|
24
24
|
coderay (1.1.1)
|
@@ -31,7 +31,8 @@ GEM
|
|
31
31
|
oauth (~> 0.5, >= 0.5.0)
|
32
32
|
json (1.8.3)
|
33
33
|
method_source (0.8.2)
|
34
|
-
minitest (
|
34
|
+
minitest (4.7.5)
|
35
|
+
multi_json (1.12.1)
|
35
36
|
necromancer (0.3.0)
|
36
37
|
oauth (0.5.1)
|
37
38
|
pastel (0.6.1)
|
@@ -79,8 +80,7 @@ GEM
|
|
79
80
|
tty-screen (~> 0.5.0)
|
80
81
|
unicode-display_width (~> 1.1.0)
|
81
82
|
verse (~> 0.5.0)
|
82
|
-
tzinfo (
|
83
|
-
thread_safe (~> 0.1)
|
83
|
+
tzinfo (0.3.52)
|
84
84
|
unicode-display_width (1.1.2)
|
85
85
|
unicode_utils (1.4.0)
|
86
86
|
verse (0.5.0)
|
@@ -93,11 +93,11 @@ PLATFORMS
|
|
93
93
|
|
94
94
|
DEPENDENCIES
|
95
95
|
bundler (~> 1.11)
|
96
|
-
codeclimate-test-reporter (~> 1.0
|
96
|
+
codeclimate-test-reporter (~> 1.0)
|
97
97
|
pry (~> 0.10.0)
|
98
98
|
rake (~> 10.0)
|
99
99
|
rspec (~> 3.5)
|
100
|
-
simplecov
|
100
|
+
simplecov (~> 0)
|
101
101
|
terjira!
|
102
102
|
|
103
103
|
BUNDLED WITH
|
data/README.md
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
[](https://badge.fury.io/rb/terjira)
|
1
2
|
[](https://travis-ci.org/keepcosmos/terjira)
|
2
3
|
[](https://codeclimate.com/github/keepcosmos/terjira/coverage)
|
3
4
|
[](https://codeclimate.com/github/keepcosmos/terjira)
|
data/bin/console
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
2
|
+
# Do I need bundler setup?
|
3
|
+
# require "bundler/setup"
|
4
4
|
require "terjira"
|
5
5
|
|
6
6
|
# You can add fixtures and/or initialization code here to make experimenting
|
7
7
|
# with your gem easier. You can also use a different console, if you like.
|
8
8
|
|
9
9
|
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
10
|
+
begin
|
11
|
+
require "pry"
|
12
|
+
Pry.start
|
13
|
+
rescue
|
14
|
+
require "irb"
|
15
|
+
IRB.start
|
16
|
+
end
|
data/bin/jira
CHANGED
data/lib/terjira.rb
CHANGED
@@ -116,15 +116,15 @@ module Terjira
|
|
116
116
|
def colorize_issue_type(issue_type)
|
117
117
|
title = " #{issue_type.name} "
|
118
118
|
if title =~ /bug/i
|
119
|
-
pastel.on_red.bold(title)
|
119
|
+
pastel.on_red.white.bold(title)
|
120
120
|
elsif title =~ /task/i
|
121
|
-
pastel.on_blue.bold(title)
|
121
|
+
pastel.on_blue.white.bold(title)
|
122
122
|
elsif title =~ /story/i
|
123
|
-
pastel.on_green.bold(title)
|
123
|
+
pastel.on_green.white.bold(title)
|
124
124
|
elsif title =~ /epic/i
|
125
|
-
pastel.on_magenta.bold(title)
|
125
|
+
pastel.on_magenta.white.bold(title)
|
126
126
|
else
|
127
|
-
pastel.on_cyan.bold(title)
|
127
|
+
pastel.on_cyan.white.bold(title)
|
128
128
|
end
|
129
129
|
end
|
130
130
|
|
data/lib/terjira/version.rb
CHANGED
data/terjira.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
|
23
23
|
spec.add_dependency "thor", "~> 0.19"
|
24
24
|
spec.add_dependency "jira-ruby", "~> 1.1"
|
25
|
-
spec.add_dependency "activesupport", "
|
25
|
+
spec.add_dependency "activesupport", "4.0.13"
|
26
26
|
|
27
27
|
spec.add_dependency "tty-table", "~> 0.6.0"
|
28
28
|
spec.add_dependency "tty-prompt", "~> 0.8.0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: terjira
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jaehyun Shin
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: activesupport
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 4.0.13
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 4.0.13
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: tty-table
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|