kishu 1.0.2 → 1.0.3

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: ee0cd8a5390a410bf9474041212814b89a4a6e37a8a367ce7ad25eb8da685818
4
- data.tar.gz: f8c0b9a014d858d3b12961d6832e7261f20b2b6bc966089a9ead285686c2ec77
3
+ metadata.gz: cca50d11b46c1f80e3bcda0ecbe25fcbf1d99a725856592f92624112ca0bba51
4
+ data.tar.gz: b1d453473dce2dcc7ad928cd475015d4ee11ea71072ffa37be630249b579827f
5
5
  SHA512:
6
- metadata.gz: 8e525cf5b8a9f0ff66d7c47532572f05c8775af7d7e21900d50879232a31c34b9f7cef3afb789e56cfb66df49e4ae1233874ddb66c1c0ca70bc3f87ad943831d
7
- data.tar.gz: 1ff5b3e2d97b8d7304ae2b32f43a6da1b15a872ab6eb79774d5638ea148fcc6cc01fb8e530790157c1859c41446c254e3f9f9f670b76e6d16c57f518c0e3dbe7
6
+ metadata.gz: f338efe90ec839636f162af8f0609db726dacc0abf4ac2678c057aeb2367896195c1a115392a563ac87c9df307899e5bc426a7240fcaf4e6a77d12d4460fecb9
7
+ data.tar.gz: 708d00a087a6a60d9927ff0986a1d764c2252faa198a037be75f76657e6cee44747bb8f0d0e1976c2bcc63bd28c9bfd2bd91ca457edb527f80e7a88bafc6dad5
data/.codeclimate.yml ADDED
@@ -0,0 +1,34 @@
1
+ ---
2
+ engines:
3
+ brakeman:
4
+ enabled: true
5
+ bundler-audit:
6
+ enabled: true
7
+ duplication:
8
+ enabled: true
9
+ config:
10
+ languages:
11
+ - ruby
12
+ fixme:
13
+ enabled: true
14
+ rubocop:
15
+ enabled: true
16
+ ratings:
17
+ paths:
18
+ - Gemfile.lock
19
+ - "**.erb"
20
+ - "**.haml"
21
+ - "**.rb"
22
+ - "**.rhtml"
23
+ - "**.slim"
24
+ - "**.inc"
25
+ - "**.js"
26
+ - "**.jsx"
27
+ - "**.module"
28
+ - "**.php"
29
+ - "**.py"
30
+ exclude_paths:
31
+ - config/
32
+ - db/
33
+ - spec/
34
+ - vendor/
data/.gitignore CHANGED
@@ -9,29 +9,5 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
- 201804/DataCite-access.log-201804-sps4
13
- 201804/datacite_resolution_logs_2018-04-01.log
14
- 201804/datacite_resolution_logs_2018-04-01_sorted.log
15
- 201808/DataCite-access.log-201808-ap-southeast-1
16
- 201808/DataCite-access.log-201808-eu-west-1
17
- 201808/DataCite-access.log-201808-sa-east-1
18
- 201808/DataCite-access.log-201808-us-east-1
19
- 201808/DataCite-access.log-201808-us-west-2
20
- 201808/datacite_resolution_logs_2018-08-01.log
21
- 201808/datacite_resolution_logs_2018-08-01_sorted.log
22
- 201809/DataCite-access.log-201809-ap-southeast-1
23
- 201809/DataCite-access.log-201809-eu-west-1
24
- 201809/DataCite-access.log-201809-us-east-1
25
- 201809/DataCite-access.log-201809-us-west-2
26
- 201809/datacite_resolution_logs_2018-09-01.log
27
- 201809/datacite_resolution_logs_2018-09-01_sorted.log
28
- 201810/DataCite-access.log-201810-ap-southeast-1
29
- 201810/DataCite-access.log-201810-eu-west-1
30
- 201810/DataCite-access.log-201810-us-east-1
31
- 201810/DataCite-access.log-201810-us-west-2
32
- 201810/datacite_resolution_logs_2018-10-01.log
33
- 201810/datacite_resolution_logs_2018-10-01_sorted.log
34
- reports/datacite_resolution_report_2018-04.json
35
- reports/datacite_resolution_report_2018-08.json
36
- reports/datacite_resolution_report_2018-08_2.json
37
- .gem
12
+ *.gem
13
+ reports/*.json
data/.travis.yml CHANGED
@@ -10,7 +10,7 @@ notifications:
10
10
  deploy:
11
11
  provider: rubygems
12
12
  api_key:
13
- secure: "$RUBYGEMS_KEY"
13
+ secure: 63b5df1bb3cccc852a8735dac74655b0
14
14
  gem: kishu
15
15
  on:
16
16
  tags: true
data/lib/kishu/client.rb CHANGED
@@ -32,6 +32,7 @@ module Kishu
32
32
 
33
33
  x =@client.search(body:{
34
34
  size: options[:size] ||= 0,
35
+ track_total_hits: false,
35
36
  query: {
36
37
  query_string: {
37
38
  query: "*"
data/lib/kishu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kishu
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kishu
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
  - Kristian Garza
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-11 00:00:00.000000000 Z
11
+ date: 2019-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -335,6 +335,7 @@ executables:
335
335
  extensions: []
336
336
  extra_rdoc_files: []
337
337
  files:
338
+ - ".codeclimate.yml"
338
339
  - ".gitignore"
339
340
  - ".rspec"
340
341
  - ".travis.yml"
@@ -386,15 +387,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
386
387
  - !ruby/object:Gem::Version
387
388
  version: '0'
388
389
  requirements: []
389
- rubyforge_project:
390
- rubygems_version: 2.7.6
390
+ rubygems_version: 3.0.3
391
391
  signing_key:
392
392
  specification_version: 4
393
393
  summary: Client for DOI Resolution Logs processing pipeline
394
- test_files:
395
- - spec/factories/default.rb
396
- - spec/fixtures/vcr_cassettes/Kishu_Sushi/wrap_event/when_doi_doesn_t_exist/should_fail.yml
397
- - spec/kishu_spec.rb
398
- - spec/report_spec.rb
399
- - spec/resolution_event_spec.rb
400
- - spec/spec_helper.rb
394
+ test_files: []