tpscript 0.0.2 → 0.0.3

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: 9c14985e9c67f5ae7fbb470a60ee23c742b236ad
4
- data.tar.gz: 21438a0bd2fbb4fb75e8d17372a21f88d91c4778
3
+ metadata.gz: 5700dc54c2abaef9e8b12a7376ed5fdc610369e1
4
+ data.tar.gz: 21687b3e73fe81c92a66330f655ba2a390ecdad4
5
5
  SHA512:
6
- metadata.gz: 1da436e5d1e9b660cec11aad99aa73c26e5121091677a05524d2bc41db50969a129ccee6286caedb383afcddfb6110221d13316fffa2d538b5ced3fa755d8ce8
7
- data.tar.gz: 5972fe9c05d9a9341c6fa001b08350bec4242b6b34dbf4e98401097ce684015ab9440326bbde80d016fccf57d75e3b239b25994ba1f7a83b5bc5bd69eb20d5f0
6
+ metadata.gz: cc4288b85904075af681b7d37169fb0eeacc521bb30d3c4fd327e0445b35bea630b225a71701106f7a9e8d07faaf559e54fdf643c27f59b439b1850dd38ce40a
7
+ data.tar.gz: d96dd602aa3cf146ec70ed8ffaa70e25088cfcd3e4c9ddaa7d4c51afd9104acb3b5659f2fe5f52023267133ca7f8ceb6c81f098d931dc8da61af9f7a4f29f0ee
data/README.md CHANGED
@@ -8,24 +8,26 @@ Extracts from TargetProcess the cumulative flow for a specific team, and prints
8
8
 
9
9
  From the repository main directory, run:
10
10
 
11
- ./cumulative_flow -t <a TP team> -b <TP base url> -u <TP username> -p <TP password>
11
+ ./cumulative_flow -t <a TP team> -p <a TP project> -b <TP base url> -u <TP username> -p <TP password>
12
+
13
+ The team and the project must be provided as the abbreviation assigned to them in TargetProcess.
14
+
12
15
 
13
- The team must be provided as the abbreviation assigned to it in TargetProcess.
14
16
 
15
17
  *Example:*
16
18
 
17
- ./cumulative_flow -t XYZ -b https://mytpurl -u bob -p agqywq865q
19
+ ./cumulative_flow -t XYZ -p XYZ -b https://mytpurl -u bob -p agqywq865q
18
20
 
19
21
  ### Select specific states
20
22
 
21
23
  It is possible to include only specific states in the result, and to define a specific order for them.
22
24
  To do this, add the `--states` option with the names of the states you want, separated by commas.
23
25
 
24
- ./cumulative_flow -t XYZ -b https://mytpurl -u bob -p agqywq865q \
26
+ ./cumulative_flow -t XYZ -p XYZ -b https://mytpurl -u bob -p agqywq865q \
25
27
  --states 'State one,State two,State three'
26
28
 
27
29
  ### Iteration day
28
30
 
29
31
  Iteration start day can be defined using the `--day` option.
30
32
 
31
- ./cumulative_flow -t XYZ -b https://mytpurl -u bob -p agqywq865q --day wednesday
33
+ ./cumulative_flow -t XYZ -p XYZ -b https://mytpurl -u bob -p agqywq865q --day wednesday
data/lib/cli.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'optparse'
2
+ require 'io/console'
2
3
 
3
4
  module Cli
4
5
 
@@ -1,3 +1,3 @@
1
1
  module Tpscript
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["mfliri@thoughtworks.com"]
11
11
  spec.summary = %q{Scripts for TargetProcess}
12
12
  spec.description = %q{Scripts for TargetProcess}
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/maxfliri/tpscript"
14
14
  spec.license = "MIT"
15
15
  spec.required_ruby_version = "~> 2.1"
16
16
 
@@ -21,5 +21,6 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_development_dependency "bundler", "~> 1.6"
23
23
  spec.add_development_dependency "rake"
24
- spec.add_development_dependency "httparty", "0.13.2"
24
+
25
+ spec.add_runtime_dependency "httparty", "~> 0.13"
25
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tpscript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Fliri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-04 00:00:00.000000000 Z
11
+ date: 2014-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: httparty
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '='
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.13.2
48
- type: :development
47
+ version: '0.13'
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: 0.13.2
54
+ version: '0.13'
55
55
  description: Scripts for TargetProcess
56
56
  email:
57
57
  - mfliri@thoughtworks.com
@@ -73,7 +73,7 @@ files:
73
73
  - lib/target_process.rb
74
74
  - lib/version.rb
75
75
  - tpscript.gemspec
76
- homepage: ''
76
+ homepage: https://github.com/maxfliri/tpscript
77
77
  licenses:
78
78
  - MIT
79
79
  metadata: {}