taas 0.1.0 → 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.
- data/VERSION +1 -1
- data/lib/helper/contracts.rb +1 -1
- data/lib/server.rb +1 -2
- data/lib/taas.rb +2 -1
- data/lib/taas_client.rb +1 -1
- data/taas.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/helper/contracts.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'pry'
|
2
1
|
module TaaS
|
3
2
|
class Contracts
|
4
3
|
|
@@ -6,6 +5,7 @@ module TaaS
|
|
6
5
|
|
7
6
|
def self.load(absolute_path)
|
8
7
|
raise "File path cant be nil or empty" if (absolute_path.nil? || absolute_path.empty?)
|
8
|
+
puts "Loading contracts file from #{absolute_path}"
|
9
9
|
@@contract_hash = YAML.load_file(absolute_path)["contracts"] rescue {}
|
10
10
|
end
|
11
11
|
|
data/lib/server.rb
CHANGED
data/lib/taas.rb
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
|
2
2
|
require "taas_client"
|
3
|
-
require File.join(
|
3
|
+
require File.join("helper","command_executer")
|
4
4
|
|
5
5
|
module TaaS
|
6
6
|
def self.start_server(contract_file)
|
7
|
+
puts "Starting TaaS server with contract file: #{contract_file}"
|
7
8
|
CommandExecuter.execute_command(File.dirname(__FILE__),"ruby server.rb #{contract_file}")
|
8
9
|
end
|
9
10
|
|
data/lib/taas_client.rb
CHANGED
data/taas.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: taas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Anand Bagmar, Akash Mishra
|