stash-client 0.0.2 → 0.0.3

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: 2045515f4a912466c8b45dfaa7677d1069f229e1
4
- data.tar.gz: 72c160480f4add8f65f85f5a51fc6db48655e585
3
+ metadata.gz: 37e95a0035c83fa208ad29032a5a89448105af50
4
+ data.tar.gz: f2b6a7bcddd9ad5b9c37d76bc51e8375df4f2ee1
5
5
  SHA512:
6
- metadata.gz: 1894a1445ccdbecb1cc3bd6559610291c4c391745f8431717aa70dbb17b8fa45c8a159001f8e6eab5a73693476a1d616356f46835afc3b556642b15df95df372
7
- data.tar.gz: c6d1d1537b8f0449c9f2445934433a7ec51e47199f8cd1fda14baf72ddac83b778f59953e9d64bf190381adb74cf9cd3e37646dcb8d7bf73e7ee2518472b6db5
6
+ metadata.gz: b9a6f28745f60193f0e1030a80cbef7f35af602d502d0ff43387f04b2edb130e9e05a036f3f32077e7a36ad77ef16eb87e3af035d3b9aced05fe8dacddbb83df
7
+ data.tar.gz: f25294fa009ad9ae9bb6063a0e6fd27d3912d1ef8d3b5e1f06386df5e987dfa6a3289d6b3fa4b0cfffb66cffbd81c4841d5c0fbd39dbd985c6b44f1f56ba1d79
@@ -0,0 +1 @@
1
+ require 'stash/client'
@@ -6,6 +6,8 @@ require 'json'
6
6
  module Stash
7
7
  class Client
8
8
 
9
+ attr_reader :url
10
+
9
11
  def initialize(opts = {})
10
12
  if opts[:host]
11
13
  @url = Addressable::URI.parse('http://' + opts[:host] + '/rest/api/1.0/')
@@ -1,5 +1,5 @@
1
1
  module Stash
2
2
  class Client
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stash-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jari Bakken
@@ -107,6 +107,7 @@ files:
107
107
  - LICENSE.txt
108
108
  - README.md
109
109
  - Rakefile
110
+ - lib/stash-client.rb
110
111
  - lib/stash/client.rb
111
112
  - lib/stash/client/version.rb
112
113
  - spec/spec_helper.rb