jess 1.0.0 → 1.2.0

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: e2fb63d7c3579031f5f90a9687b5749aba84b54838fcd3a47ef650565a2b6635
4
- data.tar.gz: d998a3000c963278afbb9b1b280f474b2e8766f7b32ceeb6230dc6b9bfd3c5f2
3
+ metadata.gz: f40ff8eacca963110b70678673a4944b872968d1e97d09b6ec1c46420f05e2c0
4
+ data.tar.gz: 2242f7d9e9519b7350151b5bb82468f292db44bd15a0547df03db50715fb751f
5
5
  SHA512:
6
- metadata.gz: cf571073f1dd93d384757f9fef0d16e00620213f985b9846cdd5c3f7eb71e2453a978490c1ef46129ade9f1da89e47e0b7c678734f5d54a73dbbf333daea9990
7
- data.tar.gz: 439e3a5d44a5e4932f6aedb39213677494aa541e9909f7a3f4ce9c90c8ed0930222a33540368f3fed6ddaeb6ca45574e1b2236e502a62b1ebb5f2c45ede012d2
6
+ metadata.gz: 61d33613b4f4be07e543e136c0e198cf30583bc1869d0af00e7fb00b2d8306703a5095e397e3a96c1f2e31b43d4f7d2940ef45306526a0b2f12b41c7b24990de
7
+ data.tar.gz: 4a40d40cad045bcf123f87d3926894fdda1b7cfc7482e0a63f6139549cfa7ae214a23fe9d363a4cccce886130b6fc6dd75922eb533adcc61959eed77333ecbf8
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020 Matt Brictson
3
+ Copyright (c) 2021 Matt Brictson
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Jess
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/jess.svg)](http://badge.fury.io/rb/jess)
4
- [![Build Status](https://travis-ci.org/mattbrictson/jess.svg?branch=master)](https://travis-ci.org/mattbrictson/jess)
4
+ [![Build Status](https://circleci.com/gh/mattbrictson/jess/tree/main.svg?style=shield)](https://app.circleci.com/pipelines/github/mattbrictson/jess?branch=main)
5
5
  [![Code Climate](https://codeclimate.com/github/mattbrictson/jess/badges/gpa.svg)](https://codeclimate.com/github/mattbrictson/jess)
6
6
 
7
7
  **Jess is an extremely lightweight, read-only client for the JAMF Software Server (JSS) API.**
@@ -31,7 +31,7 @@ Or install it yourself as:
31
31
 
32
32
  $ gem install jess
33
33
 
34
- *Note that Jess requires Ruby 2.4 or newer.*
34
+ *Note that Jess requires Ruby 2.6 or newer.*
35
35
 
36
36
  ## Usage
37
37
 
@@ -26,7 +26,6 @@ module Jess
26
26
  raise Error, res.message
27
27
  end
28
28
 
29
- # rubocop:disable Lint/EmptyWhen
30
29
  def handle_exception(err, req, res)
31
30
  case err
32
31
  when IOError, Timeout::Error
@@ -40,7 +39,6 @@ module Jess
40
39
  fill_exception(err, req, res)
41
40
  raise err
42
41
  end
43
- # rubocop:enable Lint/EmptyWhen
44
42
 
45
43
  def fill_exception(err, req, res)
46
44
  err.uri = req.uri
data/lib/jess/resource.rb CHANGED
@@ -34,7 +34,7 @@ module Jess
34
34
  when Hash
35
35
  Resource.new(json)
36
36
  when Array
37
- json.map(&method(:_as_resource)).freeze
37
+ json.map { |j| _as_resource(j) }.freeze
38
38
  else
39
39
  json.freeze
40
40
  end
data/lib/jess/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jess
2
- VERSION = "1.0.0".freeze
2
+ VERSION = "1.2.0".freeze
3
3
  end
metadata CHANGED
@@ -1,165 +1,24 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jess
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-05 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: awesome_print
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.7'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.7'
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '2.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '2.0'
41
- - !ruby/object:Gem::Dependency
42
- name: minitest
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '5.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '5.0'
55
- - !ruby/object:Gem::Dependency
56
- name: minitest-reporters
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.1'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.1'
69
- - !ruby/object:Gem::Dependency
70
- name: rake
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '13.0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '13.0'
83
- - !ruby/object:Gem::Dependency
84
- name: rexml
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '3.2'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '3.2'
97
- - !ruby/object:Gem::Dependency
98
- name: rubocop
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - '='
102
- - !ruby/object:Gem::Version
103
- version: 0.80.1
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - '='
109
- - !ruby/object:Gem::Version
110
- version: 0.80.1
111
- - !ruby/object:Gem::Dependency
112
- name: rubocop-performance
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - '='
116
- - !ruby/object:Gem::Version
117
- version: 1.5.2
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - '='
123
- - !ruby/object:Gem::Version
124
- version: 1.5.2
125
- - !ruby/object:Gem::Dependency
126
- name: webmock
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '3.1'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: '3.1'
139
- description:
11
+ date: 2021-05-30 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
140
14
  email:
141
15
  - opensource@mattbrictson.com
142
16
  executables: []
143
17
  extensions: []
144
18
  extra_rdoc_files: []
145
19
  files:
146
- - ".github/pull_request_template.md"
147
- - ".github/release-drafter.yml"
148
- - ".github/workflows/push.yml"
149
- - ".gitignore"
150
- - ".prettierignore"
151
- - ".rubocop.yml"
152
- - ".travis.yml"
153
- - CHANGELOG.md
154
- - CODE_OF_CONDUCT.md
155
- - CONTRIBUTING.md
156
- - Gemfile
157
20
  - LICENSE.txt
158
21
  - README.md
159
- - Rakefile
160
- - bin/console
161
- - bin/setup
162
- - jess.gemspec
163
22
  - lib/jess.rb
164
23
  - lib/jess/computer.rb
165
24
  - lib/jess/computers.rb
@@ -178,10 +37,10 @@ licenses:
178
37
  - MIT
179
38
  metadata:
180
39
  homepage_uri: https://github.com/mattbrictson/jess
181
- changelog_uri: https://github.com/mattbrictson/jess/blob/master/CHANGELOG.md
40
+ changelog_uri: https://github.com/mattbrictson/jess/releases
182
41
  source_code_uri: https://github.com/mattbrictson/jess/
183
42
  bug_tracker_uri: https://github.com/mattbrictson/jess/issues
184
- post_install_message:
43
+ post_install_message:
185
44
  rdoc_options: []
186
45
  require_paths:
187
46
  - lib
@@ -189,15 +48,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
189
48
  requirements:
190
49
  - - ">="
191
50
  - !ruby/object:Gem::Version
192
- version: 2.4.0
51
+ version: 2.6.0
193
52
  required_rubygems_version: !ruby/object:Gem::Requirement
194
53
  requirements:
195
54
  - - ">="
196
55
  - !ruby/object:Gem::Version
197
56
  version: '0'
198
57
  requirements: []
199
- rubygems_version: 3.1.2
200
- signing_key:
58
+ rubygems_version: 3.2.17
59
+ signing_key:
201
60
  specification_version: 4
202
61
  summary: Lightweight, unofficial client for the JAMF Software Server (JSS) API
203
62
  test_files: []
@@ -1,6 +0,0 @@
1
- Describe what you changed and why you changed it, and then review the checklist below.
2
-
3
- ---
4
-
5
- - [ ] All tests and RuboCop checks pass (`bundle exec rake`)
6
- - [ ] Test(s) included
@@ -1,17 +0,0 @@
1
- name-template: "$NEXT_PATCH_VERSION"
2
- tag-template: "v$NEXT_PATCH_VERSION"
3
- categories:
4
- - title: "⚠️ Breaking Changes"
5
- label: "⚠️ Breaking"
6
- - title: "✨ New Features"
7
- label: "✨ Feature"
8
- - title: "🐛 Bug Fixes"
9
- label: "🐛 Bug Fix"
10
- - title: "📚 Documentation"
11
- label: "📚 Docs"
12
- - title: "🏠 Housekeeping"
13
- label: "🏠 Housekeeping"
14
- change-template: "- $TITLE (#$NUMBER) @$AUTHOR"
15
- no-changes-template: "- No changes"
16
- template: |
17
- $CHANGES
@@ -1,12 +0,0 @@
1
- on: push
2
- name: Push
3
- jobs:
4
- draftRelease:
5
- name: Draft Release
6
- runs-on: ubuntu-latest
7
- steps:
8
- - uses: actions/checkout@master
9
- - name: Draft Release
10
- uses: toolmantim/release-drafter@v5.2.0
11
- env:
12
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
data/.gitignore DELETED
@@ -1,8 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
data/.prettierignore DELETED
@@ -1,2 +0,0 @@
1
- /.travis.yml
2
- /CODE_OF_CONDUCT.md
data/.rubocop.yml DELETED
@@ -1,66 +0,0 @@
1
- require:
2
- - rubocop-performance
3
-
4
- AllCops:
5
- DisplayCopNames: true
6
- DisplayStyleGuide: true
7
- TargetRubyVersion: 2.4
8
-
9
- Layout/LineLength:
10
- Exclude:
11
- - "*.gemspec"
12
-
13
- Layout/SpaceAroundEqualsInParameterDefault:
14
- EnforcedStyle: no_space
15
-
16
- Metrics/AbcSize:
17
- Exclude:
18
- - "test/**/*"
19
-
20
- Metrics/BlockLength:
21
- Exclude:
22
- - "*.gemspec"
23
- - "Rakefile"
24
-
25
- Metrics/ClassLength:
26
- Exclude:
27
- - "test/**/*"
28
-
29
- Metrics/MethodLength:
30
- Exclude:
31
- - "test/**/*"
32
-
33
- Naming/MemoizedInstanceVariableName:
34
- Enabled: false
35
-
36
- Style/BarePercentLiterals:
37
- EnforcedStyle: percent_q
38
-
39
- Style/ClassAndModuleChildren:
40
- Enabled: false
41
-
42
- Style/Documentation:
43
- Exclude:
44
- - "Rakefile"
45
- - "test/**/*"
46
-
47
- Style/DoubleNegation:
48
- Enabled: false
49
-
50
- Style/FrozenStringLiteralComment:
51
- Enabled: false
52
-
53
- Style/HashEachMethods:
54
- Enabled: true
55
-
56
- Style/HashTransformKeys:
57
- Enabled: true
58
-
59
- Style/HashTransformValues:
60
- Enabled: true
61
-
62
- Style/StringLiterals:
63
- EnforcedStyle: double_quotes
64
-
65
- Style/TrivialAccessors:
66
- AllowPredicates: true
data/.travis.yml DELETED
@@ -1,16 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- branches:
6
- only:
7
- - master
8
- rvm:
9
- - 2.4.9
10
- - 2.5.7
11
- - 2.6.5
12
- - 2.7.0
13
- - ruby-head
14
- before_install:
15
- - gem install bundler -v 2.1.3 --conservative --no-document
16
- - gem install executable-hooks --conservative --no-document
data/CHANGELOG.md DELETED
@@ -1 +0,0 @@
1
- Release notes for this project are kept here: https://github.com/mattbrictson/jess/releases
data/CODE_OF_CONDUCT.md DELETED
@@ -1,74 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to making participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
11
-
12
- ## Our Standards
13
-
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
16
-
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
22
-
23
- Examples of unacceptable behavior by participants include:
24
-
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
33
-
34
- ## Our Responsibilities
35
-
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
39
-
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
45
-
46
- ## Scope
47
-
48
- This Code of Conduct applies both within project spaces and in public spaces
49
- when an individual is representing the project or its community. Examples of
50
- representing a project or community include using an official project e-mail
51
- address, posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event. Representation of a project may be
53
- further defined and clarified by project maintainers.
54
-
55
- ## Enforcement
56
-
57
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at matt@mattbrictson.com. All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
63
-
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
67
-
68
- ## Attribution
69
-
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [http://contributor-covenant.org/version/1/4][version]
72
-
73
- [homepage]: http://contributor-covenant.org
74
- [version]: http://contributor-covenant.org/version/1/4/
data/CONTRIBUTING.md DELETED
@@ -1,21 +0,0 @@
1
- # Contributing to Jess
2
-
3
- Have a feature idea, bug fix, or refactoring suggestion? Contributions are welcome! Here are some general guidelines.
4
-
5
- ## Discuss first!
6
-
7
- 1. Check [Issues][] to see if your contribution has already been discussed and/or implemented.
8
- 2. If not, open an issue to discuss your contribution. I won't accept all changes and do not want to waste your time.
9
- 3. Once you have the :thumbsup:, fork the repo, make your changes, and open a PR.
10
-
11
- ## Before you commit
12
-
13
- * Did you add tests? New features or changes in behavior should be tested.
14
- * Do all tests and RuboCop checks pass? Run `bundle exec rake` to be sure.
15
- * Did you add a CHANGELOG entry? All non-trivial PRs need one.
16
-
17
- ## Questions?
18
-
19
- Need help writing an appropriate test? Not sure the best way to attack a problem? Please ask by [posting a GitHub issue][Issues]!
20
-
21
- [Issues]: https://github.com/mattbrictson/jess/issues
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- # Specify your gem's dependencies in jess.gemspec
4
- gemspec
data/Rakefile DELETED
@@ -1,93 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rake/testtask"
3
- require "rubocop/rake_task"
4
-
5
- Rake::TestTask.new(:test) do |t|
6
- t.libs << "test"
7
- t.libs << "lib"
8
- t.test_files = FileList["test/**/*_test.rb"]
9
- end
10
-
11
- RuboCop::RakeTask.new
12
-
13
- task default: %i[test rubocop]
14
-
15
- Rake::Task["release"].enhance do
16
- puts "Don't forget to publish the release on GitHub!"
17
- system "open https://github.com/mattbrictson/jess/releases"
18
- end
19
-
20
- task bump: %w[bump:bundler bump:ruby bump:year]
21
-
22
- namespace :bump do
23
- task :bundler do
24
- version = Gem.latest_version_for("bundler").to_s
25
- replace_in_file ".travis.yml", /bundler -v (\S+)/ => version
26
- replace_in_file "Gemfile.lock", /^BUNDLED WITH\n\s+([\d\.]+)$/ => version
27
- end
28
-
29
- task :ruby do
30
- lowest = RubyVersions.lowest_supported
31
- lowest_minor = RubyVersions.lowest_supported_minor
32
-
33
- replace_in_file "jess.gemspec", /ruby_version = ">= (.*)"/ => lowest
34
- replace_in_file ".rubocop.yml", /TargetRubyVersion: (.*)/ => lowest_minor
35
- replace_in_file "README.md", /requires Ruby (\d\.\d)/i => lowest_minor
36
-
37
- travis = YAML.safe_load(open(".travis.yml"))
38
- travis["rvm"] = RubyVersions.latest_supported_patches + ["ruby-head"]
39
- IO.write(".travis.yml", YAML.dump(travis))
40
- end
41
-
42
- task :year do
43
- replace_in_file "LICENSE.txt", /\(c\) (\d+)/ => Date.today.year.to_s
44
- end
45
- end
46
-
47
- require "date"
48
- require "open-uri"
49
- require "yaml"
50
-
51
- def replace_in_file(path, replacements)
52
- contents = IO.read(path)
53
- orig_contents = contents.dup
54
- replacements.each do |regexp, text|
55
- contents.gsub!(regexp) do |match|
56
- match[regexp, 1] = text
57
- match
58
- end
59
- end
60
- IO.write(path, contents) if contents != orig_contents
61
- end
62
-
63
- module RubyVersions
64
- class << self
65
- def lowest_supported
66
- "#{lowest_supported_minor}.0"
67
- end
68
-
69
- def lowest_supported_minor
70
- latest_supported_patches.first[/\d+\.\d+/]
71
- end
72
-
73
- def latest
74
- latest_supported_patches.last
75
- end
76
-
77
- def latest_supported_patches
78
- patches = [versions[:stable], versions[:security_maintenance]].flatten
79
- patches.map(&Gem::Version.method(:new)).sort.map(&:to_s)
80
- end
81
-
82
- private
83
-
84
- def versions
85
- @_versions ||= begin
86
- yaml = URI.open(
87
- "https://raw.githubusercontent.com/ruby/www.ruby-lang.org/master/_data/downloads.yml"
88
- )
89
- YAML.safe_load(yaml, symbolize_names: true)
90
- end
91
- end
92
- end
93
- end
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "jess"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
data/jess.gemspec DELETED
@@ -1,41 +0,0 @@
1
- lib = File.expand_path("lib", __dir__)
2
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require "jess/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "jess"
7
- spec.version = Jess::VERSION
8
- spec.authors = ["Matt Brictson"]
9
- spec.email = ["opensource@mattbrictson.com"]
10
-
11
- spec.summary = "Lightweight, unofficial client for the JAMF Software "\
12
- "Server (JSS) API"
13
- spec.homepage = "https://github.com/mattbrictson/jess"
14
- spec.license = "MIT"
15
-
16
- spec.metadata = {
17
- "homepage_uri" => "https://github.com/mattbrictson/jess",
18
- "changelog_uri" => "https://github.com/mattbrictson/jess/blob/master/CHANGELOG.md",
19
- "source_code_uri" => "https://github.com/mattbrictson/jess/",
20
- "bug_tracker_uri" => "https://github.com/mattbrictson/jess/issues"
21
- }
22
-
23
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
24
- f.match(%r{^(test|spec|features)/})
25
- end
26
- spec.bindir = "exe"
27
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
- spec.require_paths = ["lib"]
29
-
30
- spec.required_ruby_version = ">= 2.4.0"
31
-
32
- spec.add_development_dependency "awesome_print", "~> 1.7"
33
- spec.add_development_dependency "bundler", "~> 2.0"
34
- spec.add_development_dependency "minitest", "~> 5.0"
35
- spec.add_development_dependency "minitest-reporters", "~>1.1"
36
- spec.add_development_dependency "rake", "~> 13.0"
37
- spec.add_development_dependency "rexml", "~> 3.2"
38
- spec.add_development_dependency "rubocop", "= 0.80.1"
39
- spec.add_development_dependency "rubocop-performance", "= 1.5.2"
40
- spec.add_development_dependency "webmock", "~> 3.1"
41
- end