mantis_ruby 0.0.2 → 0.1.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mantis_ruby.rb +4 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5e2d89fd0388c35e9024e85bf8a529838bf08ab
4
- data.tar.gz: 66821a29e20664d941ec60cf84b373bd62c5d2c6
3
+ metadata.gz: 98207677795942805fed51e30ece6f74ee0a5d25
4
+ data.tar.gz: f2049e6696bd3ec13be7a05ea6c6f5eee0b10964
5
5
  SHA512:
6
- metadata.gz: b5b31a514447693a99430ab4676764f5368f0b347e182feadd90ea3ba4fef555d175331b175470e19b72d0cf72e0d8fc89d7c9897e5970c7be5e662062674c1e
7
- data.tar.gz: 0c364ffc94d319e68c69f42fc056dc16c927e5db9845949b2ec0fb1e2922b3b7ba2f8f10516c58128bb1322900761d75a748550b33d629bc6ec37167a2e32015
6
+ metadata.gz: d479f9c14d15ed507da45a5fb05cba63086c1aa737ecbd732b1b3d3cc420f83a3e010996e93d648cd1b1a8a8a0b8e301bbd015da03f3d3a747e5b64397c1fd06
7
+ data.tar.gz: e7670d1f2ba5d62f3c9639caf48517d888003da09a1fdad3bd4db2f8112da2c51ac12cacef9b816d50f549ef084eafc11ca207a39275fd095d38433472735f48
data/lib/mantis_ruby.rb CHANGED
@@ -26,8 +26,9 @@ class MantisRuby
26
26
  }).merge(issue)
27
27
  end
28
28
  def self.hi
29
- puts "Hello developer! Welcome to Mantis Ruby Gem."
30
- puts "You can use MantisRuby.help any time to get the help."
29
+ "Hello developer! Welcome to Mantis Ruby Gem."+
30
+ "You can use MantisRuby.help any time to get the help."
31
+
31
32
  end
32
33
 
33
34
  def self.help
@@ -42,7 +43,7 @@ class MantisRuby
42
43
  end
43
44
 
44
45
  def connect_to_tracker
45
- @client = Savon.client(wsdl: "#{@wsdl}/api/soap/mantisconnect.php?wsdl" )
46
+ Savon.client(wsdl: "#{@wsdl}/api/soap/mantisconnect.php?wsdl" )
46
47
  end
47
48
 
48
49
  def check_version
@@ -58,7 +59,6 @@ class MantisRuby
58
59
  end
59
60
 
60
61
  def push_all_bugs(bugs)
61
- client=connect_to_tracker
62
62
  bugs.each do |bug|
63
63
  push_bug(bug)
64
64
  begin
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mantis_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dimo Mohit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-07 00:00:00.000000000 Z
11
+ date: 2016-06-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Gem to integrate Mantis Testing tool with Ruby apps
14
14
  email: mohitdutta@live.com