sirius-client 1.4.67 → 2013.4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +9 -25
- data/Rakefile +3 -14
- data/lib/sirius.rb +2 -1
- metadata +2 -18
data/README.rdoc
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
{<img src="https://badge.fury.io/rb/sirius-client.png" alt="Gem Version" />}[http://badge.fury.io/rb/sirius-client]
|
2
|
-
|
3
1
|
= Sirius Ruby Client Overview
|
4
2
|
|
5
3
|
This is the client library for Sirius test automation platform for Ruby programming language.
|
@@ -9,28 +7,14 @@ This is the client library for Sirius test automation platform for Ruby programm
|
|
9
7
|
Ruby client library is delivered as GEM package and can be installed using the following command:
|
10
8
|
|
11
9
|
|
12
|
-
|
13
|
-
|
10
|
+
gem install sirius-client
|
11
|
+
|
14
12
|
|
15
13
|
After that the library can be accessible and can be included using
|
16
14
|
|
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:
|
22
15
|
|
23
|
-
|
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]
|
16
|
+
reguire 'sirius.rb'
|
26
17
|
|
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.
|
34
18
|
|
35
19
|
= Sample usage
|
36
20
|
|
@@ -38,21 +22,21 @@ Once you have an access to Sirius Client classes you can use them as an ordinary
|
|
38
22
|
Typically you just have to initialize the connection to Sirius Server. It's done while creating new
|
39
23
|
instance of any library object. For example:
|
40
24
|
|
41
|
-
|
25
|
+
@file_client = Sirius::Client::Core::System::FileOperations.new
|
42
26
|
|
43
27
|
If you need to connect to specific instance of Sirius Server you can specify which host and port it listens to:
|
44
28
|
|
45
|
-
|
29
|
+
@file_client = Sirius::Client::Core::System::FileOperations.new "my_host","8080"
|
46
30
|
|
47
31
|
That instruction will connect to the server instance listening the http://my_host:8080 host.
|
48
32
|
|
49
33
|
By default the connection is set up for the following URL: http://localhost:21212
|
50
34
|
|
35
|
+
= Authors
|
36
|
+
|
37
|
+
Myk Kolisnyk ({kolesnik.nickolay@gmail.com}[mailto://kolesnik.nickolay@gmail.com])
|
38
|
+
|
51
39
|
= Links
|
52
40
|
|
53
41
|
* {GitHub project}[https://github.com/mkolisnyk/Sirius]
|
54
42
|
* {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,8 +2,6 @@ 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'
|
7
5
|
|
8
6
|
spec = Gem::Specification.new do |s|
|
9
7
|
s.platform = Gem::Platform::RUBY
|
@@ -22,20 +20,11 @@ spec = Gem::Specification.new do |s|
|
|
22
20
|
s.email="kolesnik.nickolay@gmail.com"
|
23
21
|
s.add_dependency('sirius-client-core', '>= 0.0')
|
24
22
|
s.add_dependency('sirius-client-win32', '>= 0.0')
|
25
|
-
s.add_dependency('sirius-client-web', '>= 0.0')
|
26
23
|
end
|
27
24
|
|
28
|
-
|
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'
|
25
|
+
Gem::PackageTask.new(spec) do |pkg|
|
34
26
|
end
|
35
27
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
task :push => [:package] do |t|
|
40
|
-
sh "call gem push -k sirius_api_key -V pkg/#{spec.name}-#{spec.version}.gem"
|
28
|
+
Cucumber::Rake::Task.new(:test) do |t|
|
29
|
+
t.cucumber_opts = "tests/features --format pretty --guess"
|
41
30
|
end
|
data/lib/sirius.rb
CHANGED
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:
|
4
|
+
version: 2013.4.1.0
|
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-04-
|
12
|
+
date: 2013-04-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sirius-client-core
|
@@ -43,22 +43,6 @@ 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'
|
62
46
|
description: ! "\n The core ruby client part for Sirius system. \n "
|
63
47
|
email: kolesnik.nickolay@gmail.com
|
64
48
|
executables: []
|