misp 0.1.3 → 0.1.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
2
  SHA256:
3
- metadata.gz: 07311aee3cd4d7fee5ba2d5dbd47948ea93a9ac7d46378acd131638af1c10b91
4
- data.tar.gz: 363f45097f02db033dd2d7ff0a9e098682a23bb96b222530dd7c64e538e65834
3
+ metadata.gz: dc2ae518cdfe5d3872000bf12bd1083a4a8540a3e6857e50573b1b8011604605
4
+ data.tar.gz: 25917d69a7a912ace45ccaa43f5bc0a5202e37e66532e1eabf30a09df0478c2e
5
5
  SHA512:
6
- metadata.gz: 0e8ab18e39772789d47875f4b284a0496044a85d1336c40f4983fd8bde0c0f3822f58be3c84ca1d1cabac8167bc23383fd7901e8ca81cd6f439f9d8a51fe36b1
7
- data.tar.gz: 2668db41a8afaec3190ea6dea42cc4fb32ffc4a39bf1a7d7ef3ec9836a09252d476eaf8442b32a4c34b6c16fe146f53131960bad62d7a1a55c1ddf42e5e3d194
6
+ metadata.gz: 4691cfaffdc82bc4580e08ede833788371b0c9df3b4013bb96a777b2c8b35f92889d466274b301370daa0014a087ad0006d3f92a1de62de9cbea3f5e6e2d78e4
7
+ data.tar.gz: 2c7e5a0d2c3d5c503346d0a208f6dc9efc4b7b5b8470655e0bf29ea89ed4cbe4d8f4cf2e002738d62cb5b74dfd8b175ed99d01dfaf02fa0cc24c3e85029532c0
@@ -0,0 +1,23 @@
1
+ name: Ruby CI
2
+
3
+ on: [pull_request]
4
+
5
+ jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+
9
+ strategy:
10
+ fail-fast: false
11
+ matrix:
12
+ ruby: [2.7, "3.0"]
13
+
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Set up Ruby
17
+ uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: ${{ matrix.ruby }}
20
+ bundler-cache: true
21
+ - name: Build and test with Rake
22
+ run: |
23
+ bundle exec rake
@@ -41,24 +41,24 @@ module MISP
41
41
  def initialize(**attributes)
42
42
  attributes = normalize_attributes(**attributes)
43
43
 
44
- @id = attributes.dig(:id)
45
- @type = attributes.dig(:type)
46
- @category = attributes.dig(:category)
47
- @to_ids = attributes.dig(:to_ids)
48
- @uuid = attributes.dig(:uuid)
49
- @event_id = attributes.dig(:event_id)
50
- @distribution = attributes.dig(:distribution)
51
- @timestamp = attributes.dig(:timestamp)
52
- @comment = attributes.dig(:comment)
53
- @sharing_group_id = attributes.dig(:sharing_group_id)
54
- @deleted = attributes.dig(:deleted)
55
- @disable_correlation = attributes.dig(:disable_correlation)
56
- @value = attributes.dig(:value)
57
- @data = attributes.dig(:data)
58
-
59
- @sharing_groups = build_plural_attribute(items: attributes.dig(:SharingGroup), klass: SharingGroup)
60
- @shadow_attributes = build_plural_attribute(items: attributes.dig(:ShadowAttribute), klass: Attribute )
61
- @tags = build_plural_attribute(items: attributes.dig(:Tag), klass: Tag)
44
+ @id = attributes[:id]
45
+ @type = attributes[:type]
46
+ @category = attributes[:category]
47
+ @to_ids = attributes[:to_ids]
48
+ @uuid = attributes[:uuid]
49
+ @event_id = attributes[:event_id]
50
+ @distribution = attributes[:distribution]
51
+ @timestamp = attributes[:timestamp]
52
+ @comment = attributes[:comment]
53
+ @sharing_group_id = attributes[:sharing_group_id]
54
+ @deleted = attributes[:deleted]
55
+ @disable_correlation = attributes[:disable_correlation]
56
+ @value = attributes[:value]
57
+ @data = attributes[:data]
58
+
59
+ @sharing_groups = build_plural_attribute(items: attributes[:SharingGroup], klass: SharingGroup)
60
+ @shadow_attributes = build_plural_attribute(items: attributes[:ShadowAttribute], klass: Attribute )
61
+ @tags = build_plural_attribute(items: attributes[:Tag], klass: Tag)
62
62
  end
63
63
 
64
64
  #
data/lib/misp/base.rb CHANGED
@@ -66,7 +66,7 @@ module MISP
66
66
  def normalize_attributes(**attributes)
67
67
  klass = class_name.to_sym
68
68
 
69
- attributes.key?(klass) ? attributes.dig(klass) : attributes
69
+ attributes.key?(klass) ? attributes[klass] : attributes
70
70
  end
71
71
 
72
72
  def wrap(params)
@@ -149,9 +149,9 @@ module MISP
149
149
 
150
150
  def default_headers
151
151
  {
152
- "Content-Type": "application/json",
153
- "Accept": "application/json",
154
- "Authorization": api_key
152
+ 'Content-Type': "application/json",
153
+ Accept: "application/json",
154
+ Authorization: api_key
155
155
  }
156
156
  end
157
157
 
data/lib/misp/event.rb CHANGED
@@ -60,34 +60,34 @@ module MISP
60
60
  def initialize(**attrs)
61
61
  attrs = normalize_attributes(**attrs)
62
62
 
63
- @id = attrs.dig(:id)
64
- @orgc_id = attrs.dig(:orgc_id)
65
- @org_id = attrs.dig(:org_id)
66
- @date = attrs.dig(:date)
67
- @threat_level_id = attrs.dig(:threat_level_id)
68
- @info = attrs.dig(:info)
69
- @published = attrs.dig(:published) || false
70
- @uuid = attrs.dig(:uuid)
71
- @attribute_count = attrs.dig(:attribute_count)
72
- @analysis = attrs.dig(:analysis)
73
- @timestamp = attrs.dig(:timestamp)
74
- @distribution = attrs.dig(:distribution)
75
- @proposal_email_lock = attrs.dig(:proposal_email_lock)
76
- @locked = attrs.dig(:locked) || false
77
- @publish_timestamp = attrs.dig(:publish_timestamp)
78
- @sharing_group_id = attrs.dig(:sharing_group_id)
79
- @disable_correlation = attrs.dig(:disable_correlation)
80
- @event_creator_email = attrs.dig(:event_creator_email)
81
-
82
- @org = build_attribute(item: attrs.dig(:Org), klass: Org)
83
- @orgc = build_attribute(item: attrs.dig(:Orgc), klass: Orgc)
84
-
85
- @sharing_groups = build_plural_attribute(items: attrs.dig(:SharingGroup), klass: SharingGroup)
86
- @attributes = build_plural_attribute(items: attrs.dig(:Attribute), klass: Attribute)
87
- @shadow_attributes = build_plural_attribute(items: attrs.dig(:ShadowAttribute), klass: Attribute )
88
- @related_events = build_plural_attribute(items: attrs.dig(:RelatedEvent), klass: Attribute)
89
- @galaxies = build_plural_attribute(items: attrs.dig(:Galaxy), klass: Galaxy)
90
- @tags = build_plural_attribute(items: attrs.dig(:Tag), klass: Tag)
63
+ @id = attrs[:id]
64
+ @orgc_id = attrs[:orgc_id]
65
+ @org_id = attrs[:org_id]
66
+ @date = attrs[:date]
67
+ @threat_level_id = attrs[:threat_level_id]
68
+ @info = attrs[:info]
69
+ @published = attrs[:published] || false
70
+ @uuid = attrs[:uuid]
71
+ @attribute_count = attrs[:attribute_count]
72
+ @analysis = attrs[:analysis]
73
+ @timestamp = attrs[:timestamp]
74
+ @distribution = attrs[:distribution]
75
+ @proposal_email_lock = attrs[:proposal_email_lock]
76
+ @locked = attrs[:locked] || false
77
+ @publish_timestamp = attrs[:publish_timestamp]
78
+ @sharing_group_id = attrs[:sharing_group_id]
79
+ @disable_correlation = attrs[:disable_correlation]
80
+ @event_creator_email = attrs[:event_creator_email]
81
+
82
+ @org = build_attribute(item: attrs[:Org], klass: Org)
83
+ @orgc = build_attribute(item: attrs[:Orgc], klass: Orgc)
84
+
85
+ @sharing_groups = build_plural_attribute(items: attrs[:SharingGroup], klass: SharingGroup)
86
+ @attributes = build_plural_attribute(items: attrs[:Attribute], klass: Attribute)
87
+ @shadow_attributes = build_plural_attribute(items: attrs[:ShadowAttribute], klass: Attribute )
88
+ @related_events = build_plural_attribute(items: attrs[:RelatedEvent], klass: Attribute)
89
+ @galaxies = build_plural_attribute(items: attrs[:Galaxy], klass: Galaxy)
90
+ @tags = build_plural_attribute(items: attrs[:Tag], klass: Tag)
91
91
  end
92
92
 
93
93
  #
@@ -193,7 +193,7 @@ module MISP
193
193
  }
194
194
 
195
195
  _post("/events/restSearch", base.merge(params)) do |json|
196
- events = json.dig(:response) || []
196
+ events = json[:response] || []
197
197
  events.map { |event| Event.new(**event) }
198
198
  end
199
199
  end
data/lib/misp/feed.rb CHANGED
@@ -50,28 +50,28 @@ module MISP
50
50
  def initialize(**attributes)
51
51
  attributes = normalize_attributes(**attributes)
52
52
 
53
- @id = attributes.dig(:id)
54
- @name = attributes.dig(:name) || "feed name"
55
- @provider = attributes.dig(:provider) || "my provider"
56
- @url = attributes.dig(:url) || "http://example.com"
57
- @rules = attributes.dig(:rules) || ""
58
- @enabled = attributes.dig(:enabled)
59
- @distribution = attributes.dig(:distribution)
60
- @sharing_group_id = attributes.dig(:sharing_group_id)
61
- @tag_id = attributes.dig(:tag_id) || "0"
62
- @default = attributes.dig(:default) || true
63
- @source_format = attributes.dig(:source_format) || "misp"
64
- @fixed_event = attributes.dig(:fixed_event) || true
65
- @delta_merge = attributes.dig(:delta_merge) || false
66
- @event_id = attributes.dig(:event_id) || "0"
67
- @publish = attributes.dig(:publish) || true
68
- @override_ids = attributes.dig(:override_ids) || false
69
- @settings = attributes.dig(:settings) || ""
70
- @input_source = attributes.dig(:input_source) || "network"
71
- @delete_local_file = attributes.dig(:delete_local_file) || false
72
- @lookup_visible = attributes.dig(:lookup_visible) || true
73
- @headers = attributes.dig(:headers) || ""
74
- @caching_enabled = attributes.dig(:caching_enabled) || true
53
+ @id = attributes[:id]
54
+ @name = attributes[:name] || "feed name"
55
+ @provider = attributes[:provider] || "my provider"
56
+ @url = attributes[:url] || "http://example.com"
57
+ @rules = attributes[:rules] || ""
58
+ @enabled = attributes[:enabled]
59
+ @distribution = attributes[:distribution]
60
+ @sharing_group_id = attributes[:sharing_group_id]
61
+ @tag_id = attributes[:tag_id] || "0"
62
+ @default = attributes[:default] || true
63
+ @source_format = attributes[:source_format] || "misp"
64
+ @fixed_event = attributes[:fixed_event] || true
65
+ @delta_merge = attributes[:delta_merge] || false
66
+ @event_id = attributes[:event_id] || "0"
67
+ @publish = attributes[:publish] || true
68
+ @override_ids = attributes[:override_ids] || false
69
+ @settings = attributes[:settings] || ""
70
+ @input_source = attributes[:input_source] || "network"
71
+ @delete_local_file = attributes[:delete_local_file] || false
72
+ @lookup_visible = attributes[:lookup_visible] || true
73
+ @headers = attributes[:headers] || ""
74
+ @caching_enabled = attributes[:caching_enabled] || true
75
75
  end
76
76
 
77
77
  #
data/lib/misp/galaxy.rb CHANGED
@@ -21,14 +21,14 @@ module MISP
21
21
  def initialize(**attributes)
22
22
  attributes = normalize_attributes(**attributes)
23
23
 
24
- @id = attributes.dig(:id)
25
- @uuid = attributes.dig(:uuid)
26
- @name = attributes.dig(:name)
27
- @type = attributes.dig(:type)
28
- @description = attributes.dig(:description)
29
- @version = attributes.dig(:version)
24
+ @id = attributes[:id]
25
+ @uuid = attributes[:uuid]
26
+ @name = attributes[:name]
27
+ @type = attributes[:type]
28
+ @description = attributes[:description]
29
+ @version = attributes[:version]
30
30
 
31
- @galaxy_clusters = build_plural_attribute(items: attributes.dig(:GalaxyCluster), klass: GalaxyCluster)
31
+ @galaxy_clusters = build_plural_attribute(items: attributes[:GalaxyCluster], klass: GalaxyCluster)
32
32
  end
33
33
 
34
34
  #
@@ -26,19 +26,19 @@ module MISP
26
26
  attr_reader :meta
27
27
 
28
28
  def initialize(**attributes)
29
- attributes = normalize_attributes(attributes)
29
+ attributes = normalize_attributes(**attributes)
30
30
 
31
- @id = attributes.dig(:id)
32
- @uuid = attributes.dig(:uuid)
33
- @type = attributes.dig(:type)
34
- @value = attributes.dig(:value)
35
- @tag_name = attributes.dig(:tag_name)
36
- @description = attributes.dig(:description)
37
- @galaxy_id = attributes.dig(:galaxy_id)
38
- @source = attributes.dig(:source)
39
- @authors = attributes.dig(:authors)
40
- @tag_id = attributes.dig(:tag_id)
41
- @meta = attributes.dig(:meta)
31
+ @id = attributes[:id]
32
+ @uuid = attributes[:uuid]
33
+ @type = attributes[:type]
34
+ @value = attributes[:value]
35
+ @tag_name = attributes[:tag_name]
36
+ @description = attributes[:description]
37
+ @galaxy_id = attributes[:galaxy_id]
38
+ @source = attributes[:source]
39
+ @authors = attributes[:authors]
40
+ @tag_id = attributes[:tag_id]
41
+ @meta = attributes[:meta]
42
42
  end
43
43
 
44
44
  #
data/lib/misp/org.rb CHANGED
@@ -12,9 +12,9 @@ module MISP
12
12
  def initialize(**attributes)
13
13
  attributes = normalize_attributes(**attributes)
14
14
 
15
- @id = attributes.dig(:id)
16
- @name = attributes.dig(:name)
17
- @uuid = attributes.dig(:uuid)
15
+ @id = attributes[:id]
16
+ @name = attributes[:name]
17
+ @uuid = attributes[:uuid]
18
18
  end
19
19
 
20
20
  #
data/lib/misp/orgc.rb CHANGED
@@ -12,9 +12,9 @@ module MISP
12
12
  def initialize(**attributes)
13
13
  attributes = normalize_attributes(**attributes)
14
14
 
15
- @id = attributes.dig(:id)
16
- @name = attributes.dig(:name)
17
- @uuid = attributes.dig(:uuid)
15
+ @id = attributes[:id]
16
+ @name = attributes[:name]
17
+ @uuid = attributes[:uuid]
18
18
  end
19
19
 
20
20
  #
data/lib/misp/server.rb CHANGED
@@ -12,9 +12,9 @@ module MISP
12
12
  def initialize(**attributes)
13
13
  attributes = normalize_attributes(**attributes)
14
14
 
15
- @id = attributes.dig(:id)
16
- @url = attributes.dig(:url)
17
- @name = attributes.dig(:name)
15
+ @id = attributes[:id]
16
+ @url = attributes[:url]
17
+ @name = attributes[:name]
18
18
  end
19
19
 
20
20
  #
@@ -40,24 +40,24 @@ module MISP
40
40
  def initialize(**attributes)
41
41
  attributes = normalize_attributes(**attributes)
42
42
 
43
- @id = attributes.dig(:id)
44
- @name = attributes.dig(:name) || "default name"
45
- @releasability = attributes.dig(:releasability) || "default sharability"
46
- @description = attributes.dig(:description)
47
- @uuid = attributes.dig(:uuid)
48
- @organisation_uuid = attributes.dig(:organisation_uuid)
49
- @org_id = attributes.dig(:org_id)
50
- @sync_user_id = attributes.dig(:sync_user_id)
51
- @active = attributes.dig(:active)
52
- @created = attributes.dig(:created)
53
- @modified = attributes.dig(:modified)
54
- @local = attributes.dig(:local)
55
- @roaming = attributes.dig(:roaming)
43
+ @id = attributes[:id]
44
+ @name = attributes[:name] || "default name"
45
+ @releasability = attributes[:releasability] || "default sharability"
46
+ @description = attributes[:description]
47
+ @uuid = attributes[:uuid]
48
+ @organisation_uuid = attributes[:organisation_uuid]
49
+ @org_id = attributes[:org_id]
50
+ @sync_user_id = attributes[:sync_user_id]
51
+ @active = attributes[:active]
52
+ @created = attributes[:created]
53
+ @modified = attributes[:modified]
54
+ @local = attributes[:local]
55
+ @roaming = attributes[:roaming]
56
56
 
57
- @organisation = build_attribute(item: attributes.dig(:Organization), klass: Org)
57
+ @organisation = build_attribute(item: attributes[:Organization], klass: Org)
58
58
 
59
- @sharing_group_orgs = build_plural_attribute(items: attributes.dig(:SharingGroupOrg), klass: SharingGroupOrg)
60
- @sharing_group_servers = build_plural_attribute(items: attributes.dig(:SharingGroupServer), klass: SharingGroupServer)
59
+ @sharing_group_orgs = build_plural_attribute(items: attributes[:SharingGroupOrg], klass: SharingGroupOrg)
60
+ @sharing_group_servers = build_plural_attribute(items: attributes[:SharingGroupServer], klass: SharingGroupServer)
61
61
  end
62
62
 
63
63
  #
@@ -93,7 +93,7 @@ module MISP
93
93
  #
94
94
  def list
95
95
  _get("/sharing_groups/") do |res|
96
- sharing_groups = res.dig(:response) || []
96
+ sharing_groups = res[:response] || []
97
97
  sharing_groups.map do |sharing_group|
98
98
  SharingGroup.new(**sharing_group)
99
99
  end
@@ -15,14 +15,14 @@ module MISP
15
15
  attr_reader :organization
16
16
 
17
17
  def initialize(**attributes)
18
- attributes = normalize_attributes(attributes)
18
+ attributes = normalize_attributes(**attributes)
19
19
 
20
- @id = attributes.dig(:id)
21
- @sharing_group_id = attributes.dig(:sharing_group_id)
22
- @org_id = attributes.dig(:org_id)
23
- @extend = attributes.dig(:extend)
20
+ @id = attributes[:id]
21
+ @sharing_group_id = attributes[:sharing_group_id]
22
+ @org_id = attributes[:org_id]
23
+ @extend = attributes[:extend]
24
24
 
25
- @organization = build_attribute(item: attributes.dig(:Organization), klass: Org)
25
+ @organization = build_attribute(item: attributes[:Organization], klass: Org)
26
26
  end
27
27
 
28
28
  #
@@ -17,12 +17,12 @@ module MISP
17
17
  def initialize(**attributes)
18
18
  attributes = normalize_attributes(**attributes)
19
19
 
20
- @id = attributes.dig(:id)
21
- @sharing_group_id = attributes.dig(:sharing_group_id)
22
- @server_id = attributes.dig(:server_id)
23
- @all_orgs = attributes.dig(:all_orgs)
20
+ @id = attributes[:id]
21
+ @sharing_group_id = attributes[:sharing_group_id]
22
+ @server_id = attributes[:server_id]
23
+ @all_orgs = attributes[:all_orgs]
24
24
 
25
- @servers = build_plural_attribute(items: attributes.dig(:Server), klass: Server)
25
+ @servers = build_plural_attribute(items: attributes[:Server], klass: Server)
26
26
  end
27
27
 
28
28
  #
data/lib/misp/tag.rb CHANGED
@@ -16,11 +16,11 @@ module MISP
16
16
  def initialize(**attributes)
17
17
  attributes = normalize_attributes(**attributes)
18
18
 
19
- @id = attributes.dig(:id)
20
- @name = attributes.dig(:name)
21
- @colour = attributes.dig(:colour)
22
- @exportable = attributes.dig(:exportable)
23
- @hide_tag = attributes.dig(:hide_tag)
19
+ @id = attributes[:id]
20
+ @name = attributes[:name]
21
+ @colour = attributes[:colour]
22
+ @exportable = attributes[:exportable]
23
+ @hide_tag = attributes[:hide_tag]
24
24
  end
25
25
 
26
26
  #
data/lib/misp/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MISP
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
data/misp.gemspec CHANGED
@@ -24,10 +24,10 @@ Gem::Specification.new do |spec|
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ["lib"]
26
26
 
27
- spec.add_development_dependency "bundler", "~> 2.1"
28
- spec.add_development_dependency "coveralls", "~> 0.8"
27
+ spec.add_development_dependency "bundler", "~> 2.3"
28
+ spec.add_development_dependency "coveralls_reborn", "~> 0.23"
29
29
  spec.add_development_dependency "rake", "~> 13.0"
30
- spec.add_development_dependency "rspec", "~> 3.9"
31
- spec.add_development_dependency "vcr", "~> 5.1"
32
- spec.add_development_dependency "webmock", "~> 3.8"
30
+ spec.add_development_dependency "rspec", "~> 3.10"
31
+ spec.add_development_dependency "vcr", "~> 6.0"
32
+ spec.add_development_dependency "webmock", "~> 3.14"
33
33
  end
data/renovate.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "extends": [
3
+ "config:base"
4
+ ]
5
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: misp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manabu Niseki
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-12 00:00:00.000000000 Z
11
+ date: 2022-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.1'
19
+ version: '2.3'
20
20
  type: :development
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: '2.1'
26
+ version: '2.3'
27
27
  - !ruby/object:Gem::Dependency
28
- name: coveralls
28
+ name: coveralls_reborn
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.8'
33
+ version: '0.23'
34
34
  type: :development
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.8'
40
+ version: '0.23'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,42 +58,42 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '3.9'
61
+ version: '3.10'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '3.9'
68
+ version: '3.10'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: vcr
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '5.1'
75
+ version: '6.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '5.1'
82
+ version: '6.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: webmock
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '3.8'
89
+ version: '3.14'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '3.8'
96
+ version: '3.14'
97
97
  description: A dead simple MISP API wrapper for Ruby
98
98
  email:
99
99
  - manabu.niseki@gmail.com
@@ -101,9 +101,9 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
+ - ".github/workflows/test.yaml"
104
105
  - ".gitignore"
105
106
  - ".rspec"
106
- - ".travis.yml"
107
107
  - Gemfile
108
108
  - LICENSE
109
109
  - README.md
@@ -125,11 +125,12 @@ files:
125
125
  - lib/misp/tag.rb
126
126
  - lib/misp/version.rb
127
127
  - misp.gemspec
128
+ - renovate.json
128
129
  homepage: https://github.com/ninoseki/misp-rb
129
130
  licenses:
130
131
  - MIT
131
132
  metadata: {}
132
- post_install_message:
133
+ post_install_message:
133
134
  rdoc_options: []
134
135
  require_paths:
135
136
  - lib
@@ -144,8 +145,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
145
  - !ruby/object:Gem::Version
145
146
  version: '0'
146
147
  requirements: []
147
- rubygems_version: 3.1.2
148
- signing_key:
148
+ rubygems_version: 3.2.14
149
+ signing_key:
149
150
  specification_version: 4
150
151
  summary: A dead simple MISP API wrapper for Ruby
151
152
  test_files: []
data/.travis.yml DELETED
@@ -1,8 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.6
7
- - 2.7
8
- before_install: gem install bundler -v 2.1