ecoportal-api 0.1.7 → 0.1.8

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
  SHA256:
3
- metadata.gz: be39bab230028be5175443cdc9941beb3e5a2c19185d75d1eabfb884e146bedb
4
- data.tar.gz: 7a714804fd4ba3d21a96e10e21d778419efa108142aead0e43bddccda9b34fbc
3
+ metadata.gz: 2cf105c91262d40dd9d8e17b44d5897dcaab229d35790685e49a514fb2976409
4
+ data.tar.gz: 3a83e0ccac5363965c487b4850427b3115d6fc65c8cfe378d5f2e300dac7d089
5
5
  SHA512:
6
- metadata.gz: ef5c0152f3041442f235ded57b5a0d32fcb79bf56c37d6c1c1948b6a08805115962cd0d634ad51d1ba8441b8897e0f90896d8c037bdd4281fcd74e864376b8d5
7
- data.tar.gz: 4348c624a1b6e0040cabd884f1764e419f405bb8407b35d76c3df814f23dc03150e9c5d6d5d0fc8df5ffe33ee45d7e73a598c6640ee0191b777069c6a9fdae17
6
+ metadata.gz: 4f6350285bac0decaa05ea0119852c7756e5e953ea44036a7a4cc46c52b6bd317697f8f9a45f64c202b449d4b060c04bef1e01149a04f3647568886c893002b9
7
+ data.tar.gz: ccc8a82fe7520f995eee9a6dd4de411424798bcb7d0b73d92ddb3a34a34e0ad4695362cc07dde994ae2f75a6fa898222382468df30e484b622e6640d199e4749
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 ecoPortal
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -2,7 +2,8 @@ module Ecoportal
2
2
  module API
3
3
  module Common
4
4
  module HashDiff
5
- ID_KEYS=%w[id]
5
+ ID_KEYS = %w[id]
6
+
6
7
  def self.diff(a, b)
7
8
  return a if a.class != b.class
8
9
  case a
@@ -8,7 +8,7 @@ module Ecoportal
8
8
  def person_class
9
9
  Internal::Person
10
10
  end
11
- end
11
+ end
12
12
  end
13
13
  end
14
14
  end
@@ -31,7 +31,7 @@ module Ecoportal
31
31
  end
32
32
 
33
33
  def get_all(params: {})
34
- each(params).to_a
34
+ each(params: params).to_a
35
35
  end
36
36
 
37
37
  def update(doc)
@@ -1,5 +1,5 @@
1
1
  module Ecoportal
2
2
  module API
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
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.7
4
+ version: 0.1.8
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-04 00:00:00.000000000 Z
11
+ date: 2018-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -78,6 +78,7 @@ files:
78
78
  - ".travis.yml"
79
79
  - Gemfile
80
80
  - Gemfile.lock
81
+ - LICENSE
81
82
  - README.md
82
83
  - Rakefile
83
84
  - bin/console