sirius-client 1.3.63 → 1.4.67

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +25 -9
  2. data/Rakefile +14 -3
  3. data/lib/sirius.rb +1 -2
  4. metadata +18 -2
@@ -1,3 +1,5 @@
1
+ {<img src="https://badge.fury.io/rb/sirius-client.png" alt="Gem Version" />}[http://badge.fury.io/rb/sirius-client]
2
+
1
3
  = Sirius Ruby Client Overview
2
4
 
3
5
  This is the client library for Sirius test automation platform for Ruby programming language.
@@ -7,14 +9,28 @@ This is the client library for Sirius test automation platform for Ruby programm
7
9
  Ruby client library is delivered as GEM package and can be installed using the following command:
8
10
 
9
11
 
10
- gem install sirius-client
11
-
12
+ gem install sirius-client
13
+
12
14
 
13
15
  After that the library can be accessible and can be included using
14
16
 
17
+ reguire 'sirius.rb'
18
+
19
+ = Dependencies
20
+
21
+ Sirius Client module is the main entry point for all other client sub-modules it includes all of them as dependencies. At the moment once you install Sirius Client module the following modules are installed as well:
15
22
 
16
- reguire 'sirius.rb'
23
+ * {Sirius Ruby Core Client}[https://github.com/mkolisnyk/Sirius/tree/master/sirius-ruby-client-core#sirius-ruby-core-client-overview]
24
+ * {Sirius Ruby Win32 Client}[https://github.com/mkolisnyk/Sirius/tree/master/sirius-ruby-client-win32#sirius-ruby-win32-client-overview]
25
+ * {Sirius Ruby Web Client}[https://github.com/mkolisnyk/Sirius/tree/master/sirius-ruby-web-client#sirius-ruby-web-client-overview]
17
26
 
27
+ That's reflected with the following Ruby gem modules installed:
28
+
29
+ * sirius-client-core
30
+ * sirius-client-win32
31
+ * sirius-client-web
32
+
33
+ Additionally main client module provides the access to internal Sirius Server endpoint which is responsible for major Server side operations handling.
18
34
 
19
35
  = Sample usage
20
36
 
@@ -22,21 +38,21 @@ Once you have an access to Sirius Client classes you can use them as an ordinary
22
38
  Typically you just have to initialize the connection to Sirius Server. It's done while creating new
23
39
  instance of any library object. For example:
24
40
 
25
- @file_client = Sirius::Client::Core::System::FileOperations.new
41
+ @file_client = Sirius::Client::Core::System::FileOperations.new
26
42
 
27
43
  If you need to connect to specific instance of Sirius Server you can specify which host and port it listens to:
28
44
 
29
- @file_client = Sirius::Client::Core::System::FileOperations.new "my_host","8080"
45
+ @file_client = Sirius::Client::Core::System::FileOperations.new "my_host","8080"
30
46
 
31
47
  That instruction will connect to the server instance listening the http://my_host:8080 host.
32
48
 
33
49
  By default the connection is set up for the following URL: http://localhost:21212
34
50
 
35
- = Authors
36
-
37
- Myk Kolisnyk ({kolesnik.nickolay@gmail.com}[mailto://kolesnik.nickolay@gmail.com])
38
-
39
51
  = Links
40
52
 
41
53
  * {GitHub project}[https://github.com/mkolisnyk/Sirius]
42
54
  * {Dedicated blog entries}[http://mkolisnyk.blogspot.co.uk/search/label/Sirius]
55
+
56
+ = Authors
57
+
58
+ Myk Kolisnyk ({kolesnik.nickolay@gmail.com}[mailto://kolesnik.nickolay@gmail.com])
data/Rakefile CHANGED
@@ -2,6 +2,8 @@ require 'rubygems'
2
2
  require 'rubygems/package_task'
3
3
  require 'cucumber'
4
4
  require 'cucumber/rake/task.rb'
5
+ require 'rubygems/tasks'
6
+ require 'rubocop'
5
7
 
6
8
  spec = Gem::Specification.new do |s|
7
9
  s.platform = Gem::Platform::RUBY
@@ -20,11 +22,20 @@ spec = Gem::Specification.new do |s|
20
22
  s.email="kolesnik.nickolay@gmail.com"
21
23
  s.add_dependency('sirius-client-core', '>= 0.0')
22
24
  s.add_dependency('sirius-client-win32', '>= 0.0')
23
- end
24
-
25
- Gem::PackageTask.new(spec) do |pkg|
25
+ s.add_dependency('sirius-client-web', '>= 0.0')
26
26
  end
27
27
 
28
28
  Cucumber::Rake::Task.new(:test) do |t|
29
29
  t.cucumber_opts = "tests/features --format pretty --guess"
30
+ end
31
+
32
+ task :rubocop do |t|
33
+ sh 'call rubocop -c .rubocop.yml -e lib'
34
+ end
35
+
36
+ Gem::PackageTask.new(spec) do |pkg|
37
+ end
38
+
39
+ task :push => [:package] do |t|
40
+ sh "call gem push -k sirius_api_key -V pkg/#{spec.name}-#{spec.version}.gem"
30
41
  end
@@ -1,5 +1,4 @@
1
1
  module Sirius
2
2
  module Client
3
-
4
3
  end
5
- end
4
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sirius-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.63
4
+ version: 1.4.67
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-25 00:00:00.000000000 Z
12
+ date: 2013-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sirius-client-core
@@ -43,6 +43,22 @@ dependencies:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0.0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: sirius-client-web
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0.0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0.0'
46
62
  description: ! "\n The core ruby client part for Sirius system. \n "
47
63
  email: kolesnik.nickolay@gmail.com
48
64
  executables: []