xsys 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f1d3309de2e58b8a65b50e826c9ce7aa2b54566f
4
- data.tar.gz: dba0bf5a7cd06257a4f7898f846a796cd6d6fbd2
3
+ metadata.gz: 49e7000e06ab79e54cad70a2831da14878228053
4
+ data.tar.gz: e904c0dfad14a80581b11de9d874130e1d94d44a
5
5
  SHA512:
6
- metadata.gz: 760c36ec671fe3483b57bf2fe6921f07ef17e68598d891d929044d20eb13f9b6a69a3eeb0c5fb30e2e8236a77a8b0fc62b09f7c3de010759c7e8a08ebc49e5b3
7
- data.tar.gz: 4f3db4085f6c71b28137d77c25e7423b4efd2d6fd73d73902cd4865f28a31122c7f7abb97403ea99a9ce30794a8321e8b1fb393028f232f212c5f9223d111323
6
+ metadata.gz: cc23e0ab522d7297ea070e9be3da76f71357523d437b10be2a7081053ad4534c82e715b0769f8b79f0c9f62dafae123550886e205d1d9e2bca8154ea2eaf5f38
7
+ data.tar.gz: 33482c07e465ba687d7e758f407e50de6346a0baaf8622c76378d78cdd6f487a40b23deb9d616a2728a2341947d08387d284c58c98f67e98d13b39bfe14e174b
data/lib/xsys.rb CHANGED
@@ -18,4 +18,4 @@ require 'xsys/version'
18
18
 
19
19
  # dependencies
20
20
  require 'rest-client'
21
-
21
+ require 'singleton'
data/lib/xsys/api.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  module Xsys
2
2
  class Api
3
+ include Singleton
4
+
3
5
  def self.configure(args={})
4
6
  @access_token = args[:access_token]
5
7
  @endpoint = args[:endpoint]
data/lib/xsys/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Xsys
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xsys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Hick