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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDA4Y2JlYWYyNjI1NmJhNmMxMGM0ZmY5ZmU2MmZiNGU3ZTNiZjllMQ==
4
+ YmE3NTBkZDk2NjZmZDAyODdmZDUzMDRiMmZiZmY2MzdkYjIyYzY4MQ==
5
5
  data.tar.gz: !binary |-
6
- MzViNDUyZWQxMjE3N2Q3YWFmNDQ4YjYwMzk1ZGI5NTE0YWY3ZmQ2MA==
7
- !binary "U0hBNTEy":
6
+ MDBhZTVkNWJmZDcwMjM0M2ZmYmM2Nzg1ZjI5OWM4NjJkMzU1ODEzMQ==
7
+ SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTI1ZmE4MjA2YjA1OTI2NmE3MjI3MTRhMWEwMGQ2N2QyOTMwODg2ZTk4NjI3
10
- MmM2ZWQ4YzUyZGUzN2I5MTdjYzBkZTU4MTljMjVmNjM3ZWI4MWQxNDI0OTg2
11
- NmUxN2Q2ZTRmZDE3ZWVlODRmZmViMjJiZjlmZGUyMmIxNWRjNmI=
9
+ OWY3NmM1ZjYzMTAxMTI5ZWY2NzVjOWUzMDFlY2I4MjA3NDcxNjkzMTA5ZGRm
10
+ MTY2ODgzMjQ5OGJiYjk4NmE4ZWY3NWUyOTIwODEzMTViYWYxYzhiYzJlNzc2
11
+ ZDk4NTEyYTQwZjYzNmYxMTBkN2FjMWJjNzA5ODFhNmM5MmU4MzE=
12
12
  data.tar.gz: !binary |-
13
- NzU0NDY3NzNhM2QyODU3OWVjNjhkMmRlNmM4YmIyMWU3ZDQ0OGY5MDZiZmU1
14
- NzNiZTA5ZmJkZTQzMTBjNTU2YWUyOTg2ZDFjN2M3ZjFlZTBjZTQwZDg4NDU1
15
- ZGNhZDNjMDNjNGJiZTQ2MmVkNzZjODkzYzY5YjI1Y2U5Yzk5OTc=
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
- desc 'Setup git to for the target story id'
59
- arg_name :id, 'the item id of the story you wish to branch for'
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 abourt and not call the
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
- post do |global,command,options,args|
78
- # Post logic here
79
- # Use skips_post before a command to skip this
80
- # block on that command only
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
@@ -1,5 +1,5 @@
1
1
  module Sly
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
 
4
4
  class VersionChecker
5
5
  def self.run
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.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
- - !binary |-
12
- LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURPakNDQWlLZ0F3SUJB
13
- Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREJETVE4d0RRWURWUVFEREFaeWIy
14
- SmwKY25ReEd6QVpCZ29Ka2lhSmsvSXNaQUVaRmd0MFpYSnlZV052WkdsdVp6
15
- RVRNQkVHQ2dtU0pvbVQ4aXhrQVJrVwpBMk52YlRBZUZ3MHhNekExTWpJeE1E
16
- VXdNakJhRncweE5EQTFN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TFndAp5S2tzZG9x
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: rake
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: :development
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: rdoc
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: :development
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: aruba
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: webmock
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: curb
98
+ name: aruba
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ! '>='
102
102
  - !ruby/object:Gem::Version
103
- version: '0.8'
104
- type: :runtime
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.8'
110
+ version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: json
112
+ name: webmock
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ! '>='
116
116
  - !ruby/object:Gem::Version
117
- version: '1.4'
118
- type: :runtime
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: '1.4'
124
+ version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: gli
126
+ name: cucumber
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - ! '>='
130
130
  - !ruby/object:Gem::Version
131
- version: 2.5.0
132
- type: :runtime
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: 2.5.0
138
+ version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
- name: rainbow
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: :runtime
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.0.5
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
@@ -1,2 +0,0 @@
1
- >�ۏ1��9�ԑ^�5���r����U|�����nF�W
2
- �K����+V0*�
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file