ecoportal-api 0.1.6 → 0.1.7

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
  SHA256:
3
- metadata.gz: 9a0c22a1e36a028853e2efc210f33272eca1f9d6fbbaa2dd9d9d8b328122454a
4
- data.tar.gz: ecfe9ee97684fef1fea24162329acc83e2ff3bfa3e78b45c6be277b90c558a13
3
+ metadata.gz: be39bab230028be5175443cdc9941beb3e5a2c19185d75d1eabfb884e146bedb
4
+ data.tar.gz: 7a714804fd4ba3d21a96e10e21d778419efa108142aead0e43bddccda9b34fbc
5
5
  SHA512:
6
- metadata.gz: f10e78cefdcbdd00cdc78cd305ba34407b1729c2a28a22e82eb5c62468daa78f8693c859c71c0f22633192945577071b4dafb9ef04d6ab43bb3cb031d29acc61
7
- data.tar.gz: 46b4db9bff7c5ca47b8b1b63b716c2d709a26737f34b45a92bb07af17fd70c498e12865272b9381c6d7382df7c54118dda870f1a7b819c78a69f215ca852b699
6
+ metadata.gz: ef5c0152f3041442f235ded57b5a0d32fcb79bf56c37d6c1c1948b6a08805115962cd0d634ad51d1ba8441b8897e0f90896d8c037bdd4281fcd74e864376b8d5
7
+ data.tar.gz: 4348c624a1b6e0040cabd884f1764e419f405bb8407b35d76c3df814f23dc03150e9c5d6d5d0fc8df5ffe33ee45d7e73a598c6640ee0191b777069c6a9fdae17
data/README.md CHANGED
@@ -31,4 +31,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
31
31
 
32
32
  ## Contributing
33
33
 
34
- Bug reports and pull requests are welcome on GitHub at https://github.com/ecoportal/ecoportal-api.
34
+ Bug reports and pull requests are welcome on GitLab at https://gitlab.com/ecoPortal/ecoportal-api.
@@ -40,7 +40,8 @@ module Ecoportal
40
40
  end
41
41
  end
42
42
 
43
- def get(id)
43
+ def get(doc)
44
+ id = get_id(doc)
44
45
  @operations << {
45
46
  path: @base_path + "/" + CGI::escape(id),
46
47
  method: "GET",
@@ -1,5 +1,5 @@
1
1
  module Ecoportal
2
2
  module API
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecoportal-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tapio Saarinen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-03 00:00:00.000000000 Z
11
+ date: 2018-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler