censu 0.1.5 → 0.1.6

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: b83daf6ddb78d97687a6f5cf07460e1de49f28b10b91f89cfaf98c0279b05652
4
- data.tar.gz: ed0bad88402f63cf4a6961386cb763b1ab20af8c71e611957f76c7c9042af457
3
+ metadata.gz: 689085dedc6c546aab344362dafad21976d0d9ad42c3402873b907745cdb41f0
4
+ data.tar.gz: b0e0c0eb6a0f03b25289e827834f322ac6293bff8869d09355ed87592a457c13
5
5
  SHA512:
6
- metadata.gz: 719b55f148ead33e32e3ef7d8290e05212d9efa80d4cbf407448bde0d1adee8ecb2d845b4fd5797fd88c8f5b7497a243e7bbb71aaf7168cfc67f05a8a08b8d2a
7
- data.tar.gz: d246faf28d7f19dfc9a390d96200042bbc4a606f3c4a0889f64384ebdc2a0d9eb11c12ffbce83e8220fd2a93ea7de39d23c33ebb7eaabb9aa4218d97391a780a
6
+ metadata.gz: 1db979e480c89463f6218b9ce05df6e8e13f30fe74a87dabf414943bc9e8f07e52afb1ab07274c1814ac27f2713231529165304e1c8ae2e319066e97de8af535
7
+ data.tar.gz: 98e8fde7d80fba0033d882ff5f65d387982c3113875c1bc4a10ec377c0940fd3d2625279384af2431f2ea3c2ebce024a0dea7be2e41352ef106c5b99fc33d80c
@@ -5,8 +5,9 @@ cache:
5
5
 
6
6
  rvm:
7
7
  - 2.4
8
+ - 2.5
8
9
 
9
10
  script: bundle exec rake test
10
11
 
11
12
  gemfile:
12
- - Gemfile
13
+ - Gemfile
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![Build Status](https://travis-ci.org/ninoseki/censu.svg?branch=master)](https://travis-ci.org/ninoseki/censu)
4
4
  [![Maintainability](https://api.codeclimate.com/v1/badges/39e77d63ce6a7d89b4dc/maintainability)](https://codeclimate.com/github/ninoseki/censu/maintainability)
5
+ [![Coverage Status](https://coveralls.io/repos/github/ninoseki/censu/badge.svg?branch=master)](https://coveralls.io/github/ninoseki/censu?branch=master)
5
6
 
6
7
  * [Homepage](https://github.com/ninoseki/censu)
7
8
  * [Issues](https://github.com/ninoseki/censu/issues)
@@ -19,8 +20,7 @@ require 'censys'
19
20
  api = Censys::API.new(uid, secret)
20
21
  ```
21
22
 
22
- Initialize the API using `$CENSYS_ID` and `$CENSYS_SECRET` environment
23
- variables:
23
+ Initialize the API using `$CENSYS_ID` and `$CENSYS_SECRET` environment variables:
24
24
 
25
25
  ```ruby
26
26
  api = Censys::API.new
@@ -18,11 +18,12 @@ Gem::Specification.new do |gem|
18
18
  gem.require_paths = ['lib']
19
19
 
20
20
  gem.add_development_dependency 'bundler', '~> 1.16'
21
- gem.add_development_dependency 'dotenv', '~> 2.2'
21
+ gem.add_development_dependency 'coveralls', "~> 0.8"
22
+ gem.add_development_dependency 'dotenv', '~> 2.5'
22
23
  gem.add_development_dependency 'rake', '~> 12.3'
23
- gem.add_development_dependency 'rspec', '~> 3.7'
24
+ gem.add_development_dependency 'rspec', '~> 3.8'
24
25
  gem.add_development_dependency 'rubygems-tasks', '~> 0.2'
25
26
  gem.add_development_dependency 'vcr', '~> 4.0'
26
- gem.add_development_dependency 'webmock', '~> 3.1'
27
+ gem.add_development_dependency 'webmock', '~> 3.4'
27
28
  gem.add_development_dependency 'yard', '~> 0.9'
28
29
  end
@@ -1,4 +1,4 @@
1
1
  module Censys
2
2
  # censys version
3
- VERSION = "0.1.5".freeze
3
+ VERSION = "0.1.6".freeze
4
4
  end
@@ -3,6 +3,9 @@ require 'rspec'
3
3
  require 'vcr'
4
4
  require 'censys'
5
5
 
6
+ require 'coveralls'
7
+ Coveralls.wear!
8
+
6
9
  include Censys
7
10
 
8
11
  def authorization_field
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: censu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manabu Niseki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-16 00:00:00.000000000 Z
11
+ date: 2018-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -24,20 +24,34 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: coveralls
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.8'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.8'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: dotenv
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: '2.2'
47
+ version: '2.5'
34
48
  type: :development
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: '2.2'
54
+ version: '2.5'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rake
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +72,14 @@ dependencies:
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: '3.7'
75
+ version: '3.8'
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: '3.7'
82
+ version: '3.8'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rubygems-tasks
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +114,14 @@ dependencies:
100
114
  requirements:
101
115
  - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: '3.1'
117
+ version: '3.4'
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
122
  - - "~>"
109
123
  - !ruby/object:Gem::Version
110
- version: '3.1'
124
+ version: '3.4'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: yard
113
127
  requirement: !ruby/object:Gem::Requirement