marmotta 0.2.1 → 0.3.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ea914aa533418b10867c03472159b7148bc1e10
4
- data.tar.gz: 5b075c1d9a9a7cab86688f0e37d078f3376c8fe1
3
+ metadata.gz: 7d1d9554c26b785ac4bda424b2e50951434c4a6b
4
+ data.tar.gz: 16dd89ad2e352dccbf76789b37f4068c91492260
5
5
  SHA512:
6
- metadata.gz: d0852cc91bf72ca9fbc668efd480982f754c2d3e8b9249b0b93fb1cf9981656f585e8ad5100f0b88334d167336927c220ae5d0fa7a3715f318069fede3717543
7
- data.tar.gz: 5f4c5c548e91d1f27376db8b242a0451d8b0d9d707d41c94ff4208f7cfa37571fdff7c9522c9aec7ffbcb6b52c89c54e9c66c3e424b2463fd7bf5cd44e880c16
6
+ metadata.gz: aaedbfbc5129ab30ee63967040c2adba577597d7cf2b9ca540cf53fd9b553001289085250e2f55efe2d84f2d0d5253aaf04381b79e5cee77f80b29f9f8d2302c
7
+ data.tar.gz: c63b1aee101eb2d9c999b73f0ca43ce43ea49915fe48fe13839fbfa50036ac83d0b70a12b30647e2c2c79d59832f51eb8513d733d0df5bb396545e7fb3089bea
@@ -1,17 +1,17 @@
1
1
  module Marmotta
2
2
  class LdPathConnection
3
- attr_reader :connection, :path
3
+ attr_reader :connection, :uri
4
4
  # @param [Hurley::Client] connection A client to use for running queries.
5
5
  # @param [String, #to_s] An LDPath to run
6
- def initialize(connection, path)
6
+ def initialize(connection, uri)
7
7
  @connection = connection
8
- @path = path.to_s
8
+ @uri = uri.to_s
9
9
  end
10
10
 
11
- def get(uri)
11
+ def get(path)
12
12
  result = connection.get(api_path) do |req|
13
- req.query[:uri] = uri.to_s
14
- req.query[:path] = path
13
+ req.query[:uri] = uri
14
+ req.query[:path] = path.to_s
15
15
  req.query.delete(:graph)
16
16
  req.header = {}
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module Marmotta
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marmotta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trey Terell