sly 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +9 -9
- data/bin/sly +19 -17
- data/lib/sly/item.rb +1 -1
- data/lib/sly/version.rb +1 -1
- metadata +54 -54
- checksums.yaml.gz.sig +0 -2
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmE3NTBkZDk2NjZmZDAyODdmZDUzMDRiMmZiZmY2MzdkYjIyYzY4MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
7
|
-
|
6
|
+
MDBhZTVkNWJmZDcwMjM0M2ZmYmM2Nzg1ZjI5OWM4NjJkMzU1ODEzMQ==
|
7
|
+
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OWY3NmM1ZjYzMTAxMTI5ZWY2NzVjOWUzMDFlY2I4MjA3NDcxNjkzMTA5ZGRm
|
10
|
+
MTY2ODgzMjQ5OGJiYjk4NmE4ZWY3NWUyOTIwODEzMTViYWYxYzhiYzJlNzc2
|
11
|
+
ZDk4NTEyYTQwZjYzNmYxMTBkN2FjMWJjNzA5ODFhNmM5MmU4MzE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzQxNjQ4NDcxNTRlOGQ3MjE4MmM2OTk5NWNlZjNhMmRhZjZjOWRlNWM2ZThk
|
14
|
+
ZmUxZWUwOGZmMDBhZWNlNzUxZmQ3OWVhNzJlMDI4NmQ2MDA1MTdhYWJlYTQ3
|
15
|
+
NmE2MjYxODA0OGYyMDU0YzVjYjkzNDM5ZTNkZTJhNGIxNGUwNzE=
|
data/bin/sly
CHANGED
@@ -10,8 +10,8 @@ program_desc 'Sly - A Sprint.ly Command Line Interface'
|
|
10
10
|
|
11
11
|
version Sly::VERSION
|
12
12
|
|
13
|
-
desc 'creates a .slyrc file in your home folder; used by Sprint.ly CLI for authenticating your requests.'
|
14
13
|
skips_pre
|
14
|
+
desc 'creates a .slyrc file in your home folder; used by Sprint.ly CLI for authenticating your requests.'
|
15
15
|
command :install do |c|
|
16
16
|
c.action do |global_options,options,args|
|
17
17
|
puts "Please enter your Sprint.ly username (email):"
|
@@ -37,8 +37,6 @@ end
|
|
37
37
|
|
38
38
|
desc 'shows the current backlog for the project.'
|
39
39
|
command :backlog do |c|
|
40
|
-
arg_name :mine ,'mine Lists the items in the backlog which are assigned to you'
|
41
|
-
arg_name :user, 'USER Lists the items in the backlog which are assigned to USER'
|
42
40
|
c.action do |global_options,options,args|
|
43
41
|
project = Sly::Project.load(SLY_PROJECT)
|
44
42
|
project.update
|
@@ -55,8 +53,18 @@ command :current do |c|
|
|
55
53
|
end
|
56
54
|
end
|
57
55
|
|
58
|
-
|
59
|
-
|
56
|
+
arg_name 'id'
|
57
|
+
desc 'Setup git branch for the target story id'
|
58
|
+
long_desc %/
|
59
|
+
Provides the ability to automatically create a git branch for a Sprintly story.
|
60
|
+
|
61
|
+
ARGS
|
62
|
+
|
63
|
+
\e[1A
|
64
|
+
id - the # ref for the story you're wanting to branch
|
65
|
+
|
66
|
+
/
|
67
|
+
|
60
68
|
command :branch do |c|
|
61
69
|
c.action do |global_options,options,args|
|
62
70
|
Sly::Branch.for(args[0])
|
@@ -65,7 +73,7 @@ end
|
|
65
73
|
|
66
74
|
pre do |global,command,options,args|
|
67
75
|
# Pre logic here
|
68
|
-
# Return true to proceed; false to
|
76
|
+
# Return true to proceed; false to abort and not call the
|
69
77
|
# chosen command
|
70
78
|
# Use skips_pre before a command to skip this block
|
71
79
|
# on that command only
|
@@ -74,16 +82,10 @@ pre do |global,command,options,args|
|
|
74
82
|
true
|
75
83
|
end
|
76
84
|
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
end
|
82
|
-
|
83
|
-
on_error do |exception|
|
84
|
-
# Error logic here
|
85
|
-
# return false to skip default error handling
|
86
|
-
true
|
87
|
-
end
|
85
|
+
# on_error do |exception|
|
86
|
+
# # Error logic here
|
87
|
+
# # return false to skip default error handling
|
88
|
+
# false
|
89
|
+
# end
|
88
90
|
|
89
91
|
exit run(ARGV)
|
data/lib/sly/item.rb
CHANGED
@@ -3,7 +3,7 @@ require 'rainbow'
|
|
3
3
|
class Sly::Item
|
4
4
|
|
5
5
|
TYPE_COLOR = { task: :black, test: :blue, defect: :red, feature: :green }
|
6
|
-
TYPES = { "task" => :task, "defect" => :defect, "story" => :feature }
|
6
|
+
TYPES = { "task" => :task, "defect" => :defect, "story" => :feature, "test" => :test}
|
7
7
|
|
8
8
|
attr_accessor :number, :archived, :title, :score, :tags, :status, :type
|
9
9
|
|
data/lib/sly/version.rb
CHANGED
metadata
CHANGED
@@ -1,65 +1,51 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert White
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURPakNDQWlLZ0F3SUJB
|
13
|
-
Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREJETVE4d0RRWURWUVFEREFaeWIy
|
14
|
-
SmwKY25ReEd6QVpCZ29Ka2lhSmsvSXNaQUVaRmd0MFpYSnlZV052WkdsdVp6
|
15
|
-
RVRNQkVHQ2dtU0pvbVQ4aXhrQVJrVwpBMk52YlRBZUZ3MHhNekExTWpJeE1E
|
16
|
-
VXdNakJhRncweE5EQTFNakl4TURVd01qQmFNRU14RHpBTkJnTlZCQU1NCkJu
|
17
|
-
SnZZbVZ5ZERFYk1Ca0dDZ21TSm9tVDhpeGt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ndAp5S2tzZG9x
|
33
|
-
Y2tmbzJuTFZteFF6UkVVbHM4cS92U1JyREFLRmYrbnVSTW5OQlozRGw4WS94
|
34
|
-
MVByd3U4RENqMGpnCjcxaXFWZC9oODg0M1lmS25LTXVOU0hJRTdSNTZJbHU1
|
35
|
-
RTNCRklaV005ZzZxS0I2T2dVT2hRMit3YWhncVA2NUUKeU9RRU9mL05MQWd4
|
36
|
-
ZmsyRjVtZng3VEtPVUlEd0Ywa09Qc1J5ZWxoT2VpSHJILzdnQUw2Vk1EM2Vh
|
37
|
-
RndIWURiTAorSUthUUIzTmFGdjNrWm5zcGRnPQotLS0tLUVORCBDRVJUSUZJ
|
38
|
-
Q0FURS0tLS0tCg==
|
39
|
-
date: 2013-08-25 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-11-01 00:00:00.000000000 Z
|
40
12
|
dependencies:
|
41
13
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
14
|
+
name: curb
|
43
15
|
requirement: !ruby/object:Gem::Requirement
|
44
16
|
requirements:
|
45
17
|
- - ! '>='
|
46
18
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :
|
19
|
+
version: '0.8'
|
20
|
+
type: :runtime
|
49
21
|
prerelease: false
|
50
22
|
version_requirements: !ruby/object:Gem::Requirement
|
51
23
|
requirements:
|
52
24
|
- - ! '>='
|
53
25
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
26
|
+
version: '0.8'
|
55
27
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
28
|
+
name: json
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.4'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.4'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rainbow
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
45
|
- - ! '>='
|
60
46
|
- !ruby/object:Gem::Version
|
61
47
|
version: '0'
|
62
|
-
type: :
|
48
|
+
type: :runtime
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
@@ -67,7 +53,21 @@ dependencies:
|
|
67
53
|
- !ruby/object:Gem::Version
|
68
54
|
version: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
56
|
+
name: gli
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.5.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.5.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ! '>='
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rdoc
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ! '>='
|
@@ -95,55 +95,55 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: aruba
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ! '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0
|
104
|
-
type: :
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - ! '>='
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0
|
110
|
+
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: webmock
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ! '>='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
118
|
-
type: :
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - ! '>='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
124
|
+
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: cucumber
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
132
|
-
type: :
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - ! '>='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: rspec
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - ! '>='
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
|
-
type: :
|
146
|
+
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
198
|
version: '0'
|
199
199
|
requirements: []
|
200
200
|
rubyforge_project:
|
201
|
-
rubygems_version: 2.
|
201
|
+
rubygems_version: 2.1.9
|
202
202
|
signing_key:
|
203
203
|
specification_version: 4
|
204
204
|
summary: A small set of tools for working with Sprint.ly without leaving the command
|
checksums.yaml.gz.sig
DELETED
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED
Binary file
|