pulsedive 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -1
- data/exe/pulsedive +1 -1
- data/lib/pulsedive/api.rb +0 -2
- data/lib/pulsedive/cli.rb +4 -4
- data/lib/pulsedive/version.rb +1 -1
- data/pulsedive.gemspec +1 -1
- metadata +17 -18
- data/Gemfile.lock +0 -66
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e6c99ce9e0dba22ef90eb14116153774a4747d0010ffb5b69729cba44f4f4bec
|
4
|
+
data.tar.gz: 0a865c8f70e53902c71ac6d15b9067c07a9c54eb678cf6a8217d4218d0719ea2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 132863192f187bbaf146147ffc424be55a66c77891786ce2aeffa878ce73b4ec8f53571b65fd72ebbfa80cc4f5c248ea5d9cbee3b6a072610096aad54fd2495d
|
7
|
+
data.tar.gz: 4d9ca51b02c25049a1840ae75b3f5b766aab8ed5ea47cdac90b9f76d186c74ac047140a7bb00474c8af47c2cfe0adc36cf1e301614c72e0c43244d4e792a7e30
|
data/.gitignore
CHANGED
data/exe/pulsedive
CHANGED
data/lib/pulsedive/api.rb
CHANGED
data/lib/pulsedive/cli.rb
CHANGED
@@ -131,16 +131,16 @@ module Pulsedive
|
|
131
131
|
end
|
132
132
|
|
133
133
|
class Main < Thor
|
134
|
-
desc "indicator COMMAND", "indicator
|
134
|
+
desc "indicator [COMMAND]", "indicator [COMMAND](get_by_id, get_by_value, get_links_by_id, get_properties_by_id)"
|
135
135
|
subcommand "indicator", Indicator
|
136
136
|
|
137
|
-
desc "threat COMMAND", "threat
|
137
|
+
desc "threat [COMMAND]", "threat [COMMAND](get_by_id get_by_name, get_linked_indicators_by_id, get_summary_by_id)"
|
138
138
|
subcommand "threat", Threat
|
139
139
|
|
140
|
-
desc "feed COMMAND", "feed
|
140
|
+
desc "feed [COMMAND]", "feed [COMMAND](get_by_id, get_linked_indicators_by_id)"
|
141
141
|
subcommand "feed", Feed
|
142
142
|
|
143
|
-
desc "analyze COMMAND", "analyze
|
143
|
+
desc "analyze [COMMAND]", "analyze [COMMAND](add_to_queue, get_results_by_id)"
|
144
144
|
subcommand "analyze", Analyze
|
145
145
|
end
|
146
146
|
end
|
data/lib/pulsedive/version.rb
CHANGED
data/pulsedive.gemspec
CHANGED
@@ -23,12 +23,12 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.16"
|
26
|
+
spec.add_development_dependency "dotenv", "~> 2.5"
|
26
27
|
spec.add_development_dependency "rake", "~> 10.0"
|
27
28
|
spec.add_development_dependency "rspec", "~> 3.0"
|
28
29
|
spec.add_development_dependency "vcr", "~> 4.0"
|
29
30
|
spec.add_development_dependency "webmock", "~> 3.4"
|
30
31
|
|
31
32
|
spec.add_runtime_dependency "activesupport", "~> 5.2"
|
32
|
-
spec.add_runtime_dependency "dotenv", "~> 2.5"
|
33
33
|
spec.add_runtime_dependency "thor", "~> 0.20"
|
34
34
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulsedive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manabu Niseki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.16'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: dotenv
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.5'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.5'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rake
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,20 +108,6 @@ dependencies:
|
|
94
108
|
- - "~>"
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '5.2'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: dotenv
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '2.5'
|
104
|
-
type: :runtime
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '2.5'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: thor
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,7 +136,6 @@ files:
|
|
136
136
|
- ".travis.yml"
|
137
137
|
- CODE_OF_CONDUCT.md
|
138
138
|
- Gemfile
|
139
|
-
- Gemfile.lock
|
140
139
|
- LICENSE
|
141
140
|
- README.md
|
142
141
|
- Rakefile
|
@@ -176,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
175
|
version: '0'
|
177
176
|
requirements: []
|
178
177
|
rubyforge_project:
|
179
|
-
rubygems_version: 2.6
|
178
|
+
rubygems_version: 2.7.6
|
180
179
|
signing_key:
|
181
180
|
specification_version: 4
|
182
181
|
summary: Ruby library for Pulsedive API
|
data/Gemfile.lock
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
pulsedive (0.1.1)
|
5
|
-
activesupport (~> 5.2)
|
6
|
-
dotenv (~> 2.5)
|
7
|
-
thor (~> 0.20)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: https://rubygems.org/
|
11
|
-
specs:
|
12
|
-
activesupport (5.2.0)
|
13
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
|
-
i18n (>= 0.7, < 2)
|
15
|
-
minitest (~> 5.1)
|
16
|
-
tzinfo (~> 1.1)
|
17
|
-
addressable (2.5.2)
|
18
|
-
public_suffix (>= 2.0.2, < 4.0)
|
19
|
-
concurrent-ruby (1.0.5)
|
20
|
-
crack (0.4.3)
|
21
|
-
safe_yaml (~> 1.0.0)
|
22
|
-
diff-lcs (1.3)
|
23
|
-
dotenv (2.5.0)
|
24
|
-
hashdiff (0.3.7)
|
25
|
-
i18n (1.0.1)
|
26
|
-
concurrent-ruby (~> 1.0)
|
27
|
-
minitest (5.11.3)
|
28
|
-
public_suffix (3.0.2)
|
29
|
-
rake (10.5.0)
|
30
|
-
rspec (3.7.0)
|
31
|
-
rspec-core (~> 3.7.0)
|
32
|
-
rspec-expectations (~> 3.7.0)
|
33
|
-
rspec-mocks (~> 3.7.0)
|
34
|
-
rspec-core (3.7.1)
|
35
|
-
rspec-support (~> 3.7.0)
|
36
|
-
rspec-expectations (3.7.0)
|
37
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
38
|
-
rspec-support (~> 3.7.0)
|
39
|
-
rspec-mocks (3.7.0)
|
40
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
41
|
-
rspec-support (~> 3.7.0)
|
42
|
-
rspec-support (3.7.1)
|
43
|
-
safe_yaml (1.0.4)
|
44
|
-
thor (0.20.0)
|
45
|
-
thread_safe (0.3.6)
|
46
|
-
tzinfo (1.2.5)
|
47
|
-
thread_safe (~> 0.1)
|
48
|
-
vcr (4.0.0)
|
49
|
-
webmock (3.4.2)
|
50
|
-
addressable (>= 2.3.6)
|
51
|
-
crack (>= 0.3.2)
|
52
|
-
hashdiff
|
53
|
-
|
54
|
-
PLATFORMS
|
55
|
-
ruby
|
56
|
-
|
57
|
-
DEPENDENCIES
|
58
|
-
bundler (~> 1.16)
|
59
|
-
pulsedive!
|
60
|
-
rake (~> 10.0)
|
61
|
-
rspec (~> 3.0)
|
62
|
-
vcr (~> 4.0)
|
63
|
-
webmock (~> 3.4)
|
64
|
-
|
65
|
-
BUNDLED WITH
|
66
|
-
1.16.3
|