mifiel 1.2.1 → 1.2.2

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: 4aabf349411f210a7f230fdf91f8936be65b570a
4
- data.tar.gz: dfd5a2c74464483ab12a7ad4fac6df6af41aaefd
3
+ metadata.gz: a062bd29d434d2b5e1c3454d42e42ed4a3735748
4
+ data.tar.gz: 0cdbbeb3a80539baac11e7186172647dabad4fcc
5
5
  SHA512:
6
- metadata.gz: 6db21aa9fa5c4b1bda2fbcf6592fae28bf8a418b80fda8ab5ebe2766ce50bf203e6028b46f61933252315aa6caf1c933e30c8e03549d3bea4139b272bd479849
7
- data.tar.gz: 686568140c2bbc6c53eb7fdbf3826ad9d7deab2252a9440970aea64edab11a6756946fa81dc47314d568795b4bc2a5668de5034bc604ad252cd1b1347b6ee86b
6
+ metadata.gz: af10664e2cd473c62be20183738b176ad45a9fb8012962395009d225b70e2885b004901f6ebff7e87d78c14143052d2c0274879baf262941fc1cb9781d3b5c3a
7
+ data.tar.gz: acafa09520766f8e1c11f88437a3bed7afe7d5d7edec790c4a28e254c39ac4ec11d2e87ed446280285d9f54ab4373f7f7dfffaabd56ca15754859a59aa368432
data/README.md CHANGED
@@ -164,6 +164,14 @@ User methods
164
164
  user.widget_id
165
165
  ```
166
166
 
167
+ Filtering Results
168
+
169
+ Our API returns a JSON list of items, this result can be filtered using a `where` method matching a specified criteria (or matching using regular expressions):
170
+
171
+ ```ruby
172
+ document = Mifiel::Document.find('id')
173
+ document.signers.where(field: /receiver|issuer/, email: 'some@email.com')
174
+ ```
167
175
 
168
176
  ## Contributing
169
177
 
@@ -1,3 +1,3 @@
1
1
  module Mifiel
2
- VERSION = '1.2.1'.freeze
2
+ VERSION = '1.2.2'.freeze
3
3
  end
data/mifiel.gemspec CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
29
29
  else
30
30
  spec.add_runtime_dependency 'activesupport', '< 5.0.0'
31
31
  end
32
- spec.add_runtime_dependency 'flexirest', '~> 1.3.35'
32
+ spec.add_runtime_dependency 'flexirest', '~> 1.6.6'
33
33
 
34
34
  spec.add_development_dependency 'bump', '~> 0.5', '>= 0.5.3'
35
35
  spec.add_development_dependency 'bundler', '~> 1.6'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mifiel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genaro Madrid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-29 00:00:00.000000000 Z
11
+ date: 2018-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: api-auth
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.3.35
75
+ version: 1.6.6
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.3.35
82
+ version: 1.6.6
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bump
85
85
  requirement: !ruby/object:Gem::Requirement