torque 0.0.1 → 0.0.2
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/VERSION +1 -1
- data/bin/config +5 -5
- data/bin/email +6 -1
- data/bin/project +1 -1
- data/bin/torque +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f854381b747109eef15b6e25a52269228662c14
|
|
4
|
+
data.tar.gz: c30b8f46bb06b4d603ee239b77334b70dad1316d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 09f97b9a365ef4445b34b1d4e4c6b0eeed47b9dcf92c45cdafa05a6308fb742ed8b1f81e2f5d6b8c0354a0f6d7d8b5fb3c2ba98a0fc45b1a4513d7e811547cfd
|
|
7
|
+
data.tar.gz: 99722a445aae3779420ab5b018f6b2fede07bb280ba6a4612f099aa2035b95c31e208f72174fba2f6b496cab7d104945f25c211ceb7140dba9b84c42ac0582e1
|
data/VERSION
CHANGED
data/bin/config
CHANGED
|
@@ -20,10 +20,10 @@ require "#{lib_dir}/torque/project/project_manager"
|
|
|
20
20
|
options = {}
|
|
21
21
|
option_parser = OptionParser.new do |opts|
|
|
22
22
|
|
|
23
|
-
help_message = "Configures a directory to use Torque."
|
|
23
|
+
help_message = "Configures a directory to use Torque. (This script must be run before generating release notes)"
|
|
24
24
|
help_message += "\n"
|
|
25
25
|
help_message += "\nThis script will create a template for .torqueinfo.yaml and set up an output directory. It " \
|
|
26
|
-
"will
|
|
26
|
+
"will then set up access to the Pivotal Tracker API."
|
|
27
27
|
|
|
28
28
|
opts.banner = "\nUsage:"
|
|
29
29
|
opts.banner += "\n torque config [options]"
|
|
@@ -67,7 +67,7 @@ end
|
|
|
67
67
|
|
|
68
68
|
# Handles special cases and exceptions
|
|
69
69
|
|
|
70
|
-
if ARGV.member? "help" || options[:help]
|
|
70
|
+
if ((ARGV.member? "help") || options[:help])
|
|
71
71
|
puts "(Ran with 'help' option; other options ignored)"
|
|
72
72
|
puts option_parser
|
|
73
73
|
exit
|
|
@@ -100,7 +100,7 @@ if !options[:token]
|
|
|
100
100
|
if !options[:force] && !options[:output_dir] && output_path.exist?
|
|
101
101
|
puts "ABORTING"
|
|
102
102
|
puts "The default output directory, #{default_output_dir}, already exists."
|
|
103
|
-
puts "(Use -o to choose an existing output directory or create a new one)"
|
|
103
|
+
puts "(Use -o to manually choose an existing output directory or create a new one)"
|
|
104
104
|
puts "(Use -f to overwrite an existing directory)"
|
|
105
105
|
exit
|
|
106
106
|
end
|
|
@@ -185,7 +185,7 @@ if should_setup_info
|
|
|
185
185
|
}
|
|
186
186
|
token = token_input.to_s
|
|
187
187
|
|
|
188
|
-
Torque::Pivotal.new(token).check_token ? break : (puts "Token was invalid
|
|
188
|
+
Torque::Pivotal.new(token).check_token ? break : (puts "Token was invalid, try again")
|
|
189
189
|
end
|
|
190
190
|
|
|
191
191
|
File.open(".torqueinfo.yaml", "a+") do |file|
|
data/bin/email
CHANGED
|
@@ -35,6 +35,11 @@ option_parser = OptionParser.new do |opts|
|
|
|
35
35
|
options[:add] << arg
|
|
36
36
|
end
|
|
37
37
|
|
|
38
|
+
opts.on("-h", "--help", "Displays this help screen") do
|
|
39
|
+
|arg|
|
|
40
|
+
options[:help] = arg
|
|
41
|
+
end
|
|
42
|
+
|
|
38
43
|
opts.on("-r", "--rm ADDRESS", "Remove an email address from the list") do
|
|
39
44
|
|arg|
|
|
40
45
|
options[:rm] << arg
|
|
@@ -60,7 +65,7 @@ end
|
|
|
60
65
|
|
|
61
66
|
# Handles special cases and exceptions
|
|
62
67
|
|
|
63
|
-
if ARGV.member? "help" || options[:help]
|
|
68
|
+
if ((ARGV.member? "help") || options[:help])
|
|
64
69
|
puts "(Ran with 'help' option; other options ignored)"
|
|
65
70
|
puts option_parser
|
|
66
71
|
exit
|
data/bin/project
CHANGED
data/bin/torque
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: torque
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nico Adams, Scrimmage
|
|
@@ -58,28 +58,28 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - '>='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version:
|
|
61
|
+
version: 0.14.0
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - '>='
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version:
|
|
68
|
+
version: 0.14.0
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: rspec
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - '
|
|
73
|
+
- - '>'
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version:
|
|
75
|
+
version: 2.14.1
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- - '
|
|
80
|
+
- - '>'
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version:
|
|
82
|
+
version: 2.14.1
|
|
83
83
|
description: Compiles Pivotal Tracker stories into a local document to help generate
|
|
84
84
|
release notes
|
|
85
85
|
email:
|