poms 2.0.0 → 2.0.1

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: 3cea63c13b563094f616403cd202f9307d635daf
4
- data.tar.gz: f05bbaab761088ef977420564e657be1ee096784
3
+ metadata.gz: 803e21eff20cb74d25166d66205ff1670fb25b29
4
+ data.tar.gz: a80b6ade7269aac4a7b8dcda99b41f17c0c2da9f
5
5
  SHA512:
6
- metadata.gz: ab690b4233af123878bbdffb20e08b73ce1d1bdbd2798f2dc885c323bd8e789df067d83f5969c2ecf356e97715757e248f3f37fe0b91d553759617fd7dc5b56e
7
- data.tar.gz: 70c77bb84d5a2da426117de86383ae791b4df4a819c62e607a3cb8ed92d595a652dfa8438f789ae4ef1bc04a71081ee294d8096dcbbc312560231afcc6b1a709
6
+ metadata.gz: 26bbcd9773cd870bf7259abd829ec7084e76827ffdb2f874619d95bd6eb91f3c0edcf34ab47a915c0f162bcb2961853a681590b84267bb4234843eb60b7d423b
7
+ data.tar.gz: 262cf80bd0b5960b378734e59b4a07f7814a47968685bfded8318e2ec9b1ce52192f0d63daa377f0649fceb33e702f8177b596fd96280249bda0f41021a4d32c
data/.rubocop.yml CHANGED
@@ -22,3 +22,6 @@ Style/AndOr:
22
22
  ModuleLength:
23
23
  Exclude:
24
24
  - spec/**/*_spec.rb # specs are only in module for easier access to functions
25
+
26
+ RSpec/ExampleLength:
27
+ Max: 15
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Poms Release notes
2
2
 
3
+ ## 2.0.1
4
+
5
+ * Fix search parameter `type`. This didn't get picked up properly before, but is now used in the search.
6
+
3
7
  ## 2.0.0
4
8
 
5
9
  Complete rewrite of the Poms gem, which now interfaces with the Frontend API instead of CouchDB. Check the new documentation in the Readme and examples for ways in which the new API works. A short overview:
@@ -16,7 +16,7 @@ module Poms
16
16
  when :starts_at, :ends_at
17
17
  time_params(key, value)
18
18
  when :type
19
- { 'facets' => { 'subsearch' => { 'types' => value } } }
19
+ { 'searches' => { 'types' => value } }
20
20
  end
21
21
  end
22
22
  all.reduce(&:deep_merge)
data/lib/poms/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # The version
2
2
  module Poms
3
- VERSION = '2.0.0'.freeze
3
+ VERSION = '2.0.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poms
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Kruijsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-20 00:00:00.000000000 Z
11
+ date: 2016-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport