docodoco_jp 1.0.0 → 1.0.4

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
- SHA1:
3
- metadata.gz: 54c5722306e5c4d5cb73393dd829937c8beafe94
4
- data.tar.gz: 4a1b35aa2f151ef3eb7bc1227178ea1c5b7aef03
2
+ SHA256:
3
+ metadata.gz: 722084f8148f5d5857ef33d615fd1f9eb310e8e1b7f1bdd32a6627ea6351554d
4
+ data.tar.gz: ff98289527258a5037e5d1d3bbe6c55aa3184db89140c9efd64c3a442e56e7ed
5
5
  SHA512:
6
- metadata.gz: 5f61e05da2a465d6f7a4ba50bc9a6cc8a8a5456dd5eecbc363c87a648a7d89b73a6277bfaf32de2004582a2a23c237a243a0f9a2919c94f747d88d6b905c5bbd
7
- data.tar.gz: fb3c9e6549d3352ed435cc3c68cc14f736ecaba07b6c687ac2ead15a2a3f75150ce4c882f064fb94d471cc07fc4ea99376960aac43251499c8e91df6eb900f18
6
+ metadata.gz: e706e78a09c65d9459995e11de7e963c03ebef4ca38ace954d1ae0bc07fd170f09aaf8bbdd0f6a8dc06dbedcc073a561b6193988cc384d0520d681820006f918
7
+ data.tar.gz: 599abb743ed37a4fc6ba6b1f201ba554927d84b6d96eb88f706be92545fefa3d59797ae06c5bdbf00529f9c8ccaa65a6f25c6d1614f8b1a4c60ead17939435ce
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.6.6
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
- [![Build Status](https://travis-ci.org/magicdrive/ruby-docodoco_jp.svg?branch=master)](https://travis-ci.org/magicdrive/ruby-docodoco_jp)
2
1
  [![Gem Version](https://badge.fury.io/rb/docodoco_jp.svg)](http://badge.fury.io/rb/docodoco_jp)
2
+ [![Build Status](https://travis-ci.org/magicdrive/ruby-docodoco_jp.svg?branch=master)](https://travis-ci.org/magicdrive/ruby-docodoco_jp)
3
3
 
4
4
  # DocodocoJp
5
5
 
@@ -37,8 +37,8 @@ Or install it yourself as:
37
37
  ```ruby
38
38
  require 'docodoco_jp'
39
39
 
40
- apikey1 = "YOURAPIKEY1"
41
- apikey2 = "YOURAPIKEY2"
40
+ apikey1 = "YOUR_APIKEY_1"
41
+ apikey2 = "YOUR_APIKEY_2"
42
42
 
43
43
  options = {
44
44
  ssl: false, # => default: true
data/docodoco_jp.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'docodoco_jp/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.required_ruby_version = '>= 1.9.3'
7
+ spec.required_ruby_version = '>= 2.6.0'
8
8
  spec.name = "docodoco_jp"
9
9
  spec.version = DocodocoJp::VERSION
10
10
  spec.authors = ["Hiroshi IKEGAMI"]
@@ -20,13 +20,16 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.add_dependency "thor", "~> 0.0"
24
- spec.add_dependency "faraday", "~> 0.9"
25
- spec.add_dependency "hashie", "~> 3.0"
23
+ spec.add_dependency "thor", '~> 1.0'
24
+ spec.add_dependency "faraday", "~> 1.0"
25
+ spec.add_dependency "hashie", "~> 4.1.0"
26
+ spec.add_dependency 'rexml', '~> 3.2', '>= 3.2.4'
26
27
 
27
- spec.add_development_dependency "minitest", "~> 5.0"
28
+ spec.add_development_dependency "minitest", "~> 5.14"
28
29
  spec.add_development_dependency "pry"
29
30
  spec.add_development_dependency "rack"
30
- spec.add_development_dependency "bundler", "~> 1.0"
31
- spec.add_development_dependency "rake", "~> 10.0"
31
+ spec.add_development_dependency "bundler", '~> 2.2', '>= 2.2.27'
32
+ spec.add_development_dependency "rake", ">= 12.3.3"
33
+ spec.add_development_dependency 'webrick', '~> 1.7'
34
+
32
35
  end
@@ -9,7 +9,7 @@ require 'docodoco_jp'
9
9
  class DocodocoJp
10
10
  class CLI < Thor
11
11
  desc "search [IP_ADDRESS]", "Search target IP_ADDRESS infomation"
12
- def search(ipaddr)
12
+ def search(ipaddr = nil)
13
13
  $stdout.puts JSON.pretty_generate(client.search(ipaddr))
14
14
  end
15
15
 
@@ -1,5 +1,5 @@
1
1
  # coding: utf-8
2
2
 
3
3
  class DocodocoJp
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docodoco_jp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroshi IKEGAMI
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-01 00:00:00.000000000 Z
11
+ date: 2021-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -16,56 +16,76 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.0'
19
+ version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.0'
26
+ version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.9'
33
+ version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.9'
40
+ version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: hashie
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3.0'
47
+ version: 4.1.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 4.1.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: rexml
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.2'
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 3.2.4
48
65
  type: :runtime
49
66
  prerelease: false
50
67
  version_requirements: !ruby/object:Gem::Requirement
51
68
  requirements:
52
69
  - - "~>"
53
70
  - !ruby/object:Gem::Version
54
- version: '3.0'
71
+ version: '3.2'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 3.2.4
55
75
  - !ruby/object:Gem::Dependency
56
76
  name: minitest
57
77
  requirement: !ruby/object:Gem::Requirement
58
78
  requirements:
59
79
  - - "~>"
60
80
  - !ruby/object:Gem::Version
61
- version: '5.0'
81
+ version: '5.14'
62
82
  type: :development
63
83
  prerelease: false
64
84
  version_requirements: !ruby/object:Gem::Requirement
65
85
  requirements:
66
86
  - - "~>"
67
87
  - !ruby/object:Gem::Version
68
- version: '5.0'
88
+ version: '5.14'
69
89
  - !ruby/object:Gem::Dependency
70
90
  name: pry
71
91
  requirement: !ruby/object:Gem::Requirement
@@ -100,28 +120,48 @@ dependencies:
100
120
  requirements:
101
121
  - - "~>"
102
122
  - !ruby/object:Gem::Version
103
- version: '1.0'
123
+ version: '2.2'
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: 2.2.27
104
127
  type: :development
105
128
  prerelease: false
106
129
  version_requirements: !ruby/object:Gem::Requirement
107
130
  requirements:
108
131
  - - "~>"
109
132
  - !ruby/object:Gem::Version
110
- version: '1.0'
133
+ version: '2.2'
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: 2.2.27
111
137
  - !ruby/object:Gem::Dependency
112
138
  name: rake
139
+ requirement: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: 12.3.3
144
+ type: :development
145
+ prerelease: false
146
+ version_requirements: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: 12.3.3
151
+ - !ruby/object:Gem::Dependency
152
+ name: webrick
113
153
  requirement: !ruby/object:Gem::Requirement
114
154
  requirements:
115
155
  - - "~>"
116
156
  - !ruby/object:Gem::Version
117
- version: '10.0'
157
+ version: '1.7'
118
158
  type: :development
119
159
  prerelease: false
120
160
  version_requirements: !ruby/object:Gem::Requirement
121
161
  requirements:
122
162
  - - "~>"
123
163
  - !ruby/object:Gem::Version
124
- version: '10.0'
164
+ version: '1.7'
125
165
  description: Location service www.docodoco.jp API Client.
126
166
  email:
127
167
  - hiroshi.ikegami@magicdrive.jp
@@ -131,6 +171,7 @@ extensions: []
131
171
  extra_rdoc_files: []
132
172
  files:
133
173
  - ".gitignore"
174
+ - ".ruby-version"
134
175
  - ".travis.yml"
135
176
  - CODE_OF_CONDUCT.md
136
177
  - Gemfile
@@ -159,17 +200,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
159
200
  requirements:
160
201
  - - ">="
161
202
  - !ruby/object:Gem::Version
162
- version: 1.9.3
203
+ version: 2.6.0
163
204
  required_rubygems_version: !ruby/object:Gem::Requirement
164
205
  requirements:
165
206
  - - ">="
166
207
  - !ruby/object:Gem::Version
167
208
  version: '0'
168
209
  requirements: []
169
- rubyforge_project:
170
- rubygems_version: 2.4.5
210
+ rubygems_version: 3.0.3
171
211
  signing_key:
172
212
  specification_version: 4
173
213
  summary: Location service www.docodoco.jp API Client.
174
214
  test_files: []
175
- has_rdoc: