jira_report 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/lib/jira_report/cli.rb +8 -1
- data/lib/jira_report/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d75a222514b53f02ecde9f846ffaa4d6e57d7e8b
|
4
|
+
data.tar.gz: aa44fd5e372f0f52f5a6be0153045c36ae97579c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e89eaaf3a2df8079c8094ce8ce4666fae5d9fc086f1e7bd52639fa72fe85f88e8312894af0eadd84f3cfe4aa5d83342311e22719da691afd1a3ee8e9182e719
|
7
|
+
data.tar.gz: 79052cbebede82b19f3ad00bc72f680f5158a559526e19e817e2191cb4a1a93cb306b122b71667d771f5dda2a2edd0c4923bece844ea0e7d4535896304e69a7d
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#0.1.3
|
2
|
+
* Fixed error when configuration file not exist.
|
3
|
+
* Now version is properly printed.
|
4
|
+
* User can enter password from command line with ruby 2.0 or earlier.
|
5
|
+
|
6
|
+
#0.1.2
|
7
|
+
* README updates to be parsed with Yard.
|
8
|
+
|
9
|
+
#0.1.1
|
10
|
+
* Reporter class can be used directly from Ruby.
|
11
|
+
* Command line parameters reader improvements.
|
12
|
+
|
13
|
+
#0.0.2
|
14
|
+
* Added basic specs.
|
15
|
+
* Bug fixing.
|
data/lib/jira_report/cli.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
require 'jira_report/options'
|
2
2
|
require 'jira_report/config_loader'
|
3
3
|
require 'jira_report/reporter'
|
4
|
+
require 'jira_report/version'
|
5
|
+
require 'io/console'
|
4
6
|
|
5
7
|
module JiraReport
|
6
8
|
class Cli
|
@@ -89,7 +91,12 @@ module JiraReport
|
|
89
91
|
# Loads configuration from configuration file.
|
90
92
|
def load_config(path)
|
91
93
|
config_path = path ? path : DEFAULT_CONFIG_PATH
|
92
|
-
|
94
|
+
begin
|
95
|
+
@config = ConfigLoader.load_config(config_path)
|
96
|
+
rescue => e
|
97
|
+
# Config not loaded from configuration file.
|
98
|
+
# Ignore it.
|
99
|
+
end
|
93
100
|
end
|
94
101
|
|
95
102
|
# Reads required options from user input if those
|
data/lib/jira_report/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jira_report
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vitalii Elenhaupt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parseconfig
|
@@ -90,6 +90,7 @@ extra_rdoc_files: []
|
|
90
90
|
files:
|
91
91
|
- ".gitignore"
|
92
92
|
- ".travis.yml"
|
93
|
+
- CHANGELOG.md
|
93
94
|
- Gemfile
|
94
95
|
- LICENSE.txt
|
95
96
|
- README.md
|