taskmapper 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -3,7 +3,6 @@ source 'https://rubygems.org'
3
3
  gem 'activeresource', '~> 3.0'
4
4
  gem 'activesupport', '~> 3.0'
5
5
  gem 'hashie', "~> 2.0"
6
- gem 'taskmapper-cli', '0.0.3'
7
6
 
8
7
  group :test, :development do
9
8
  gem 'rspec', '~> 2.0'
@@ -10,29 +10,10 @@ GEM
10
10
  activesupport (3.2.13)
11
11
  i18n (= 0.6.1)
12
12
  multi_json (~> 1.0)
13
- addressable (2.3.3)
14
- basecamp (0.0.9)
15
- activeresource (>= 2.3.0)
16
- oauth2
17
- xml-simple
18
- bugherd-api (0.0.3)
19
- activeresource
20
- activesupport
21
13
  builder (3.0.4)
22
- crack (0.3.2)
23
- diff-lcs (1.2.2)
24
- faraday (0.8.7)
25
- multipart-post (~> 1.1)
26
- faraday_middleware (0.9.0)
27
- faraday (>= 0.7.4, < 0.9)
28
- gash (0.1.4)
29
- open4 (>= 0.9.6)
14
+ diff-lcs (1.2.3)
30
15
  git (1.2.5)
31
- gli (2.5.5)
32
- grancher (0.1.5)
33
- gash
34
16
  hashie (2.0.3)
35
- httpauth (0.2.0)
36
17
  i18n (0.6.1)
37
18
  jeweler (1.8.4)
38
19
  bundler (~> 1.0)
@@ -40,37 +21,10 @@ GEM
40
21
  rake
41
22
  rdoc
42
23
  json (1.7.7)
43
- jwt (0.1.8)
44
- multi_json (>= 1.5)
45
- lighthouse-api (2.0)
46
- activeresource (>= 3.0.0)
47
- activesupport (>= 3.0.0)
48
24
  multi_json (1.7.2)
49
- multi_xml (0.5.3)
50
- multipart-post (1.2.0)
51
- netrc (0.7.7)
52
- nokogiri (1.5.9)
53
- oauth2 (0.9.1)
54
- faraday (~> 0.8)
55
- httpauth (~> 0.1)
56
- jwt (~> 0.1.4)
57
- multi_json (~> 1.0)
58
- multi_xml (~> 0.5)
59
- rack (~> 1.2)
60
- octokit (1.24.0)
61
- addressable (~> 2.2)
62
- faraday (~> 0.8)
63
- faraday_middleware (~> 0.9)
64
- hashie (~> 2.0)
65
- multi_json (~> 1.3)
66
- netrc (~> 0.7.7)
67
- open4 (1.3.0)
68
- rack (1.5.2)
69
- rainbow (1.1.4)
70
- rake (0.9.6)
71
- rally_rest_api (1.0.5)
25
+ rake (10.0.4)
72
26
  rcov (1.0.0)
73
- rdoc (3.12.2)
27
+ rdoc (4.0.1)
74
28
  json (~> 1.4)
75
29
  rspec (2.13.0)
76
30
  rspec-core (~> 2.13.0)
@@ -80,89 +34,10 @@ GEM
80
34
  rspec-expectations (2.13.0)
81
35
  diff-lcs (>= 1.1.3, < 2.0)
82
36
  rspec-mocks (2.13.1)
83
- ruby-fogbugz (0.1.1)
84
- crack
85
- rubyzilla (0.1.1)
86
- sdoc (0.3.20)
87
- json (>= 1.1.3)
88
- rdoc (~> 3.10)
89
37
  simplecov (0.7.1)
90
38
  multi_json (~> 1.0)
91
39
  simplecov-html (~> 0.7.1)
92
40
  simplecov-html (0.7.1)
93
- taskmapper (0.8.1)
94
- activeresource (~> 3.0)
95
- activesupport (~> 3.0)
96
- hashie (~> 2.0)
97
- taskmapper-basecamp (0.7.1)
98
- basecamp
99
- taskmapper (~> 0.8)
100
- taskmapper-bugherd (0.1.0)
101
- bugherd-api (~> 0.0)
102
- taskmapper (~> 0.8)
103
- taskmapper-bugzilla (0.3.0)
104
- rubyzilla (~> 0.1)
105
- taskmapper (~> 0.8)
106
- taskmapper-cli (0.0.3)
107
- gli (= 2.5.5)
108
- rainbow
109
- taskmapper
110
- taskmapper-basecamp
111
- taskmapper-bugherd
112
- taskmapper-bugzilla
113
- taskmapper-fogbugz
114
- taskmapper-github
115
- taskmapper-kanbanpad
116
- taskmapper-lighthouse
117
- taskmapper-pivotal
118
- taskmapper-rally
119
- taskmapper-redmine
120
- taskmapper-trac
121
- taskmapper-unfuddle
122
- taskmapper-zendesk
123
- terminal-table
124
- taskmapper-fogbugz (0.4.0)
125
- rake (~> 0.9)
126
- ruby-fogbugz (~> 0.1)
127
- taskmapper (~> 0.7)
128
- taskmapper-github (0.11.4)
129
- octokit
130
- taskmapper (~> 0.8)
131
- taskmapper-kanbanpad (0.8.1)
132
- taskmapper (~> 0.8)
133
- taskmapper-lighthouse (0.9.0)
134
- addressable (~> 2.2)
135
- lighthouse-api (~> 2.0)
136
- taskmapper (~> 0.8)
137
- xml-simple (~> 1.1)
138
- taskmapper-pivotal (0.8.2)
139
- taskmapper (~> 0.8)
140
- taskmapper-rally (0.3.0)
141
- rally_rest_api (~> 1.0)
142
- taskmapper (~> 0.8)
143
- taskmapper-redmine (0.5.1)
144
- taskmapper (~> 0.8)
145
- taskmapper-trac (0.6.1)
146
- nokogiri
147
- nokogiri (~> 1.5)
148
- taskmapper (~> 0.8)
149
- trac4r
150
- trac4r (~> 1.2)
151
- taskmapper-unfuddle (0.7.0)
152
- addressable (~> 2.2)
153
- taskmapper (~> 0.8)
154
- taskmapper-zendesk (0.6.0)
155
- taskmapper (~> 0.8)
156
- terminal-table (1.4.5)
157
- trac4r (1.2.4)
158
- gli
159
- gli (>= 1.1.0)
160
- grancher
161
- jeweler
162
- rainbow
163
- rainbow (>= 1.0.4)
164
- sdoc
165
- xml-simple (1.1.2)
166
41
 
167
42
  PLATFORMS
168
43
  ruby
@@ -175,4 +50,3 @@ DEPENDENCIES
175
50
  rcov (~> 1.0)
176
51
  rspec (~> 2.0)
177
52
  simplecov (~> 0.5)
178
- taskmapper-cli (= 0.0.3)
data/README.md CHANGED
@@ -233,11 +233,15 @@ The source code is located at [taskmapper-bugzilla](http://github.com/hybridgrou
233
233
  For the full documentation on the CLI
234
234
  [taskmapper-cli](http://github.com/hybridgroup/taskmapper-cli)
235
235
 
236
+ ### Installing the CLI
237
+
238
+ gem install taskmapper-cli
239
+
236
240
  ## Creating a provider
237
241
  Creating a provider consists of three steps:
238
242
 
239
243
  * Run the generator like this:
240
- tm generate myprovider
244
+ tm generate --provider-name='myprovider'
241
245
  * Implement whatever is needed to connect to your desired backend
242
246
  * Release it to RubyGems
243
247
 
@@ -285,4 +289,4 @@ They should be presented with a nice list of all available providers.
285
289
 
286
290
  ## Copyright
287
291
 
288
- Copyright (c) 2010-2012 [The Hybrid Group](http://hybridgroup.com). See LICENSE for details.
292
+ Copyright (c) 2010-2013 [The Hybrid Group](http://hybridgroup.com). See LICENSE for details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "taskmapper"
8
- s.version = "1.0.0"
8
+ s.version = "1.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["kiafaldorius", "Sirupsen", "deadprogrammer"]
12
- s.date = "2013-04-09"
12
+ s.date = "2013-04-16"
13
13
  s.description = "TaskMapper provides a universal API to ticket tracking and project management systems."
14
14
  s.email = "info@hybridgroup.com"
15
15
  s.extra_rdoc_files = [
@@ -53,7 +53,6 @@ Gem::Specification.new do |s|
53
53
  "spec/rcov.opts",
54
54
  "spec/spec.opts",
55
55
  "spec/spec_helper.rb",
56
- "spec/taskmapper-cli_spec.rb",
57
56
  "spec/taskmapper-exception_spec.rb",
58
57
  "spec/taskmapper_spec.rb",
59
58
  "spec/ticket_spec.rb",
@@ -71,7 +70,6 @@ Gem::Specification.new do |s|
71
70
  s.add_runtime_dependency(%q<activeresource>, ["~> 3.0"])
72
71
  s.add_runtime_dependency(%q<activesupport>, ["~> 3.0"])
73
72
  s.add_runtime_dependency(%q<hashie>, ["~> 2.0"])
74
- s.add_runtime_dependency(%q<taskmapper-cli>, ["= 0.0.3"])
75
73
  s.add_development_dependency(%q<rspec>, ["~> 2.0"])
76
74
  s.add_development_dependency(%q<jeweler>, ["~> 1.8"])
77
75
  s.add_development_dependency(%q<simplecov>, ["~> 0.5"])
@@ -80,7 +78,6 @@ Gem::Specification.new do |s|
80
78
  s.add_dependency(%q<activeresource>, ["~> 3.0"])
81
79
  s.add_dependency(%q<activesupport>, ["~> 3.0"])
82
80
  s.add_dependency(%q<hashie>, ["~> 2.0"])
83
- s.add_dependency(%q<taskmapper-cli>, ["= 0.0.3"])
84
81
  s.add_dependency(%q<rspec>, ["~> 2.0"])
85
82
  s.add_dependency(%q<jeweler>, ["~> 1.8"])
86
83
  s.add_dependency(%q<simplecov>, ["~> 0.5"])
@@ -90,7 +87,6 @@ Gem::Specification.new do |s|
90
87
  s.add_dependency(%q<activeresource>, ["~> 3.0"])
91
88
  s.add_dependency(%q<activesupport>, ["~> 3.0"])
92
89
  s.add_dependency(%q<hashie>, ["~> 2.0"])
93
- s.add_dependency(%q<taskmapper-cli>, ["= 0.0.3"])
94
90
  s.add_dependency(%q<rspec>, ["~> 2.0"])
95
91
  s.add_dependency(%q<jeweler>, ["~> 1.8"])
96
92
  s.add_dependency(%q<simplecov>, ["~> 0.5"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taskmapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-04-09 00:00:00.000000000 Z
14
+ date: 2013-04-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activeresource
@@ -61,22 +61,6 @@ dependencies:
61
61
  - - ~>
62
62
  - !ruby/object:Gem::Version
63
63
  version: '2.0'
64
- - !ruby/object:Gem::Dependency
65
- name: taskmapper-cli
66
- requirement: !ruby/object:Gem::Requirement
67
- none: false
68
- requirements:
69
- - - '='
70
- - !ruby/object:Gem::Version
71
- version: 0.0.3
72
- type: :runtime
73
- prerelease: false
74
- version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
- requirements:
77
- - - '='
78
- - !ruby/object:Gem::Version
79
- version: 0.0.3
80
64
  - !ruby/object:Gem::Dependency
81
65
  name: rspec
82
66
  requirement: !ruby/object:Gem::Requirement
@@ -186,7 +170,6 @@ files:
186
170
  - spec/rcov.opts
187
171
  - spec/spec.opts
188
172
  - spec/spec_helper.rb
189
- - spec/taskmapper-cli_spec.rb
190
173
  - spec/taskmapper-exception_spec.rb
191
174
  - spec/taskmapper_spec.rb
192
175
  - spec/ticket_spec.rb
@@ -205,7 +188,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
205
188
  version: '0'
206
189
  segments:
207
190
  - 0
208
- hash: 1781745425809594962
191
+ hash: -3077534694576006131
209
192
  required_rubygems_version: !ruby/object:Gem::Requirement
210
193
  none: false
211
194
  requirements:
@@ -1,60 +0,0 @@
1
- $LOAD_PATH.unshift(File.dirname(__FILE__))
2
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
4
-
5
- require 'fileutils'
6
-
7
- # Tests for the cli
8
- # I'm not quite sure what the most effective way to test this is...
9
- describe "TaskMapper CLI" do
10
- before(:all) do
11
- @ticket = File.expand_path(File.dirname(__FILE__) + '/../bin/tm')
12
- @cli_dir = File.expand_path(File.dirname(__FILE__) + '/../lib/taskmapper/cli')
13
- end
14
-
15
- it "should output help if no command given" do
16
- help = `#{@ticket}`
17
- $?.should == 0
18
- help.should include('Usage: tm [options] COMMAND [command_options]')
19
- end
20
-
21
- it "should be able to show help pages" do
22
- `#{@ticket} help`.should include(File.read(@cli_dir + '/commands/help/help'))
23
- `#{@ticket} help config`.should include(File.read(@cli_dir + '/commands/help/config'))
24
- `#{@ticket} help console`.should include(File.read(@cli_dir + '/commands/help/console'))
25
- end
26
-
27
- it "should be able to add and edit config info" do
28
- pending
29
- end
30
-
31
- it "should be able to open up a console" do
32
- pending
33
- end
34
-
35
- describe :generate do
36
- it "should generate provider skeleton w/o runtime errors" do
37
- provider_name = "test-provider"
38
- expected_name = "taskmapper-#{provider_name}"
39
- begin
40
- generate = `#{@ticket} generate #{provider_name}`
41
- $?.should == 0
42
- File.exists?(expected_name).should == true
43
- ensure
44
- FileUtils.remove_dir(expected_name) if File.exists? expected_name
45
- end
46
- end
47
-
48
- it "should not prefix 'taskmapper' when not asked to" do
49
- provider_name = "test-provider"
50
- begin
51
- generate = `#{@ticket} generate _#{provider_name}`
52
- $?.should == 0
53
- File.exists?(provider_name).should == true
54
- ensure
55
- FileUtils.remove_dir(provider_name) if File.exists? provider_name
56
- end
57
- end
58
- end
59
-
60
- end