mosespa 0.0.3 → 0.0.4
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/bin/mosespa +7 -1
- data/lib/mosespa.rb +4 -0
- data/mosespa.gemspec +1 -1
- metadata +3 -2
- /data/{scripts/mosespa_completion → bin/completion_mosespa} +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3e6f39cdbcf9b24ef88592702eb69a4047b3794e
|
|
4
|
+
data.tar.gz: f3f21a771286b7b4a679bb1ac8f237291dbdc492
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c493a850b8b601e6687d547fcb7225e137104cc2dd8603a1266897b0347825481dc60f846fd660053629390e611eaa071ab8a49479a1becda014d2094bbebd45
|
|
7
|
+
data.tar.gz: 6ea243819f2056f0507a353963a362e9676c4f07b3fbe0fcee09e6d6d86c34cd8a6b09264400b067fd82536a4ea14e848d27124ee8d676d2dcd614f9191b65ce
|
data/bin/mosespa
CHANGED
|
@@ -11,7 +11,7 @@ end
|
|
|
11
11
|
|
|
12
12
|
default_config = '~/.mosespa'
|
|
13
13
|
|
|
14
|
-
SUB_COMMANDS = %w(show comment create)
|
|
14
|
+
SUB_COMMANDS = %w(show comment create browse)
|
|
15
15
|
global_opts = Trollop::options do
|
|
16
16
|
banner '"Oh, my bones are aching."'
|
|
17
17
|
banner "play with jira on command line"
|
|
@@ -41,6 +41,10 @@ cmd_opts =
|
|
|
41
41
|
opt :summary, "The title of the new ticket", :short => '-s', :type => String
|
|
42
42
|
opt :description, "The description the new ticket", :short => '-d', :type => String
|
|
43
43
|
end
|
|
44
|
+
when "browse"
|
|
45
|
+
Trollop::options do
|
|
46
|
+
opt :verbose, "Output more information"
|
|
47
|
+
end
|
|
44
48
|
end
|
|
45
49
|
puts "Sub command :#{global_opts.inspect}" if global_opts[:debug]
|
|
46
50
|
puts "Rest : #{ARGV.inspect}" if global_opts[:debug]
|
|
@@ -93,4 +97,6 @@ when 'comment'
|
|
|
93
97
|
m.comment(ticket, comment)
|
|
94
98
|
when 'create'
|
|
95
99
|
m.create(client, project, cmd_opts[:summary], cmd_opts[:description])
|
|
100
|
+
when 'browse'
|
|
101
|
+
m.browse((options[:site] + '/browse/'+ticket.key))
|
|
96
102
|
end
|
data/lib/mosespa.rb
CHANGED
data/mosespa.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mosespa
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Grégoire Seux
|
|
@@ -55,6 +55,7 @@ dependencies:
|
|
|
55
55
|
description: ''
|
|
56
56
|
email:
|
|
57
57
|
executables:
|
|
58
|
+
- completion_mosespa
|
|
58
59
|
- mosespa
|
|
59
60
|
extensions: []
|
|
60
61
|
extra_rdoc_files: []
|
|
@@ -62,10 +63,10 @@ files:
|
|
|
62
63
|
- .gitignore
|
|
63
64
|
- LICENSE
|
|
64
65
|
- README.md
|
|
66
|
+
- bin/completion_mosespa
|
|
65
67
|
- bin/mosespa
|
|
66
68
|
- lib/mosespa.rb
|
|
67
69
|
- mosespa.gemspec
|
|
68
|
-
- scripts/mosespa_completion
|
|
69
70
|
homepage: http://github.com/kamaradclimber/mosespa
|
|
70
71
|
licenses: []
|
|
71
72
|
metadata: {}
|
|
File without changes
|