jira4r 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
data/jira4r.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{jira4r}
8
- s.version = "0.2.0"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["James Stuart"]
12
- s.date = %q{2009-11-19}
12
+ s.date = %q{2009-11-23}
13
13
  s.description = %q{JIRA Soap Interface Gem}
14
14
  s.email = %q{tastyhat@jamesstuart.org}
15
15
  s.extra_rdoc_files = [
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
26
26
  "jira4r.gemspec",
27
27
  "lib/jira4r.rb",
28
28
  "lib/jira4r/jira_tool.rb",
29
+ "lib/jira4r/server.rb",
29
30
  "lib/jira4r/v2/jira_service.rb",
30
31
  "lib/jira4r/v2/jira_service_mapping_registry.rb",
31
32
  "lib/jira4r/v2/jira_soap_service_driver.rb",
data/lib/jira4r.rb CHANGED
@@ -3,6 +3,7 @@ require "soap/rpc/driver"
3
3
  require "soap/mapping"
4
4
  require "logger"
5
5
  require "jira4r/jira_tool"
6
+ require "jira4r/server"
6
7
  require "jira4r/v2/jira_service"
7
8
  require "jira4r/v2/jira_service_mapping_registry"
8
9
  require "jira4r/v2/jira_soap_service_driver"
@@ -0,0 +1,10 @@
1
+ module Jira4R
2
+ class Server < JiraTool
3
+ def self.connect_to(*args)
4
+ options = args.extract_options!
5
+ server = self.new("2",options[:host])
6
+ server.login(options[:username], options[:password]) if server
7
+ server
8
+ end
9
+ end
10
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jira4r
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Stuart
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-19 00:00:00 -05:00
12
+ date: 2009-11-23 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -51,6 +51,7 @@ files:
51
51
  - jira4r.gemspec
52
52
  - lib/jira4r.rb
53
53
  - lib/jira4r/jira_tool.rb
54
+ - lib/jira4r/server.rb
54
55
  - lib/jira4r/v2/jira_service.rb
55
56
  - lib/jira4r/v2/jira_service_mapping_registry.rb
56
57
  - lib/jira4r/v2/jira_soap_service_driver.rb