nexus_api 1.0.2 → 1.0.3

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: a0f26e46b8d952ceba7edcf549dfe334251f746c0968db1c6ceb8c664819c6b0
4
- data.tar.gz: 062b5e894343eb8034f621f0a7837d50752594de1cccd5e79a5c67fd37f3b717
3
+ metadata.gz: 8a0665ad2e059ffc42c631e02c35b460e5684b8b862ed1bc60c428e6a8d2e061
4
+ data.tar.gz: 279060e9c9f91d1e4156ad3a0d9bbde945447ed2d6dbd143bb30861481d3beef
5
5
  SHA512:
6
- metadata.gz: 9604cb6ec57506bd53de6671025883aeeccf79be94d8005ca034482367a56b2d577128c561dbf8befa325def03753e65002f6ecfeed2187c82cea9f07ad9d42b
7
- data.tar.gz: f2599132bf37678f7cdc9a8e78cef4f48558727be9f32bc96c34ef3106034af52352fa310d421d12b7a2f44f39c36de8ab7ea9e1476d25ebe84c96e7e191d875
6
+ metadata.gz: 0eb7d63e09099d9ab9598fd3a7c2c0b5d9f0a8c81e38667c8605f518461bf4f99f158b8afe5fba3a5b37c92873802dc3be24d80aa79c2ec384442bf22b0fd4ae
7
+ data.tar.gz: 1efb8234be47b61af22c500a237e84072a1646fde9ad775a0d3413d85e62db2bf2e9766d37095e0174a84588548f0ea60f50c246a31f2cf7c8dbed6c2152b6e1
data/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
 
8
+ ## [1.0.3](https://github.com/Cisco-AMP/nexus_api/compare/v1.0.2...v1.0.3) - 2020-02-27
9
+ ### Added
10
+ - Filter on CLI search to ignore results that don't include the search name in the file path
11
+
12
+
8
13
  ## [1.0.2](https://github.com/Cisco-AMP/nexus_api/compare/v1.0.1...v1.0.2) - 2020-02-27
9
14
  ### Added
10
15
  - Ability to print the gem version on the CLI with `version`, `--version`, or `-v`
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nexus_api (1.0.2)
4
+ nexus_api (1.0.3)
5
5
  bundler (~> 2)
6
6
  docker-api (~> 1.34.2)
7
7
  dotenv (~> 2.7.5)
@@ -27,7 +27,7 @@ module NexusAPI
27
27
  )
28
28
  break unless @api.paginate?
29
29
  end
30
- end
30
+ end.select { |result| result['path'].include?(options[:name]) }
31
31
  puts options[:full] ? results : results.map { |result| result['path'] }
32
32
  end
33
33
  end
@@ -1,4 +1,4 @@
1
1
  module NexusAPI
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexus_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francis Levesque