taas 0.1.1 → 0.1.2

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 CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -1,3 +1,5 @@
1
+ require 'yaml'
2
+
1
3
  module TaaS
2
4
  class Contracts
3
5
 
@@ -6,7 +8,7 @@ module TaaS
6
8
  def self.load(absolute_path)
7
9
  raise "File path cant be nil or empty" if (absolute_path.nil? || absolute_path.empty?)
8
10
  puts "Loading contracts file from #{absolute_path}"
9
- @@contract_hash = YAML.load_file(absolute_path)["contracts"] rescue {}
11
+ @@contract_hash = YAML.load_file(absolute_path)["contracts"]
10
12
  end
11
13
 
12
14
  def self.is_empty?
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "taas"
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Anand Bagmar, Akash Mishra"]
@@ -30,7 +30,6 @@ Gem::Specification.new do |s|
30
30
  "lib/helper/parameter_factory.rb",
31
31
  "lib/server.rb",
32
32
  "lib/taas.rb",
33
- "lib/taas/version.rb",
34
33
  "lib/taas_client.rb",
35
34
  "taas.gemspec",
36
35
  "test/helper/command_executer_test.rb",
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: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Anand Bagmar, Akash Mishra
@@ -181,7 +181,6 @@ files:
181
181
  - lib/helper/parameter_factory.rb
182
182
  - lib/server.rb
183
183
  - lib/taas.rb
184
- - lib/taas/version.rb
185
184
  - lib/taas_client.rb
186
185
  - taas.gemspec
187
186
  - test/helper/command_executer_test.rb
@@ -1,3 +0,0 @@
1
- module TaaS
2
- VERSION = "0.0.1"
3
- end