jess 0.9.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -5
- data/lib/jess/http_client/error_decorator.rb +0 -2
- data/lib/jess/version.rb +1 -1
- metadata +10 -149
- data/.github/pull_request_template.md +0 -7
- data/.gitignore +0 -9
- data/.rubocop.yml +0 -52
- data/.travis.yml +0 -12
- data/CHANGELOG.md +0 -56
- data/CODE_OF_CONDUCT.md +0 -74
- data/CONTRIBUTING.md +0 -21
- data/Gemfile +0 -4
- data/LICENSE.txt +0 -21
- data/Rakefile +0 -15
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/jess.gemspec +0 -41
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54decc31bf64a265a967a7df044bbe091892dac4c58173886be2387f766eec9d
|
4
|
+
data.tar.gz: 8e6c88f9595b6f299ed123ae6cdabd6a77259eec25f0d1af16fecd5ad423d064
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12c86f76f10ca6c60f36657dd11500152f5e1b7803f2faf77c8be2a33afe45b5f130475f7fd41b428b205c6ac8e07f34a35df198d995a410d81e5f2b4978cc16
|
7
|
+
data.tar.gz: 8f06f887a7e122019d01cda4a4cde3afda8554711e0c2898f3170e1c6c2ed2b8a6d19e96368fba0e207ef65304140381f84c5b41205da63b144f7e62bb56be71
|
data/README.md
CHANGED
@@ -1,12 +1,11 @@
|
|
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=
|
4
|
+
[![Build Status](https://travis-ci.org/mattbrictson/jess.svg?branch=main)](https://travis-ci.org/mattbrictson/jess)
|
5
5
|
[![Code Climate](https://codeclimate.com/github/mattbrictson/jess/badges/gpa.svg)](https://codeclimate.com/github/mattbrictson/jess)
|
6
|
-
[![Coverage Status](https://coveralls.io/repos/github/mattbrictson/jess/badge.svg?branch=master)](https://coveralls.io/github/mattbrictson/jess?branch=master)
|
7
6
|
|
8
7
|
**Jess is an extremely lightweight, read-only client for the JAMF Software Server (JSS) API.**
|
9
|
-
|
8
|
+
Currently it only provides access to computer and mobile device records.
|
10
9
|
|
11
10
|
Jess aims to be:
|
12
11
|
|
@@ -32,7 +31,7 @@ Or install it yourself as:
|
|
32
31
|
|
33
32
|
$ gem install jess
|
34
33
|
|
35
|
-
*Note that Jess requires Ruby 2.
|
34
|
+
*Note that Jess requires Ruby 2.5 or newer.*
|
36
35
|
|
37
36
|
## Usage
|
38
37
|
|
@@ -123,7 +122,7 @@ The [ruby-jss](http://pixaranimationstudios.github.io/ruby-jss/) gem is the most
|
|
123
122
|
|
124
123
|
## Who uses Jess?
|
125
124
|
|
126
|
-
Jess powers [Robot Cloud
|
125
|
+
Jess powers [Robot Cloud Vision-Bot](http://www.robotcloud.net/dashboard/).
|
127
126
|
|
128
127
|
## Development
|
129
128
|
|
@@ -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/version.rb
CHANGED
metadata
CHANGED
@@ -1,162 +1,23 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.1
|
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:
|
12
|
-
dependencies:
|
13
|
-
|
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: '1.13'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '1.13'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: chandler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0.3'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0.3'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: coveralls
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 0.8.15
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 0.8.15
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: minitest
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '5.0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '5.0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: minitest-reporters
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '1.1'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '1.1'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rake
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '12.0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '12.0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: rubocop
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - '='
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 0.61.1
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - '='
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 0.61.1
|
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: 2020-08-07 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
|
-
- ".gitignore"
|
148
|
-
- ".rubocop.yml"
|
149
|
-
- ".travis.yml"
|
150
|
-
- CHANGELOG.md
|
151
|
-
- CODE_OF_CONDUCT.md
|
152
|
-
- CONTRIBUTING.md
|
153
|
-
- Gemfile
|
154
|
-
- LICENSE.txt
|
155
20
|
- README.md
|
156
|
-
- Rakefile
|
157
|
-
- bin/console
|
158
|
-
- bin/setup
|
159
|
-
- jess.gemspec
|
160
21
|
- lib/jess.rb
|
161
22
|
- lib/jess/computer.rb
|
162
23
|
- lib/jess/computers.rb
|
@@ -175,10 +36,10 @@ licenses:
|
|
175
36
|
- MIT
|
176
37
|
metadata:
|
177
38
|
homepage_uri: https://github.com/mattbrictson/jess
|
178
|
-
changelog_uri: https://github.com/mattbrictson/jess/
|
39
|
+
changelog_uri: https://github.com/mattbrictson/jess/releases
|
179
40
|
source_code_uri: https://github.com/mattbrictson/jess/
|
180
41
|
bug_tracker_uri: https://github.com/mattbrictson/jess/issues
|
181
|
-
post_install_message:
|
42
|
+
post_install_message:
|
182
43
|
rdoc_options: []
|
183
44
|
require_paths:
|
184
45
|
- lib
|
@@ -186,15 +47,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
186
47
|
requirements:
|
187
48
|
- - ">="
|
188
49
|
- !ruby/object:Gem::Version
|
189
|
-
version: 2.
|
50
|
+
version: 2.5.0
|
190
51
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
52
|
requirements:
|
192
53
|
- - ">="
|
193
54
|
- !ruby/object:Gem::Version
|
194
55
|
version: '0'
|
195
56
|
requirements: []
|
196
|
-
rubygems_version: 3.
|
197
|
-
signing_key:
|
57
|
+
rubygems_version: 3.1.4
|
58
|
+
signing_key:
|
198
59
|
specification_version: 4
|
199
60
|
summary: Lightweight, unofficial client for the JAMF Software Server (JSS) API
|
200
61
|
test_files: []
|
data/.gitignore
DELETED
data/.rubocop.yml
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
AllCops:
|
2
|
-
DisplayCopNames: true
|
3
|
-
DisplayStyleGuide: true
|
4
|
-
TargetRubyVersion: 2.3
|
5
|
-
|
6
|
-
Metrics/AbcSize:
|
7
|
-
Exclude:
|
8
|
-
- "test/**/*"
|
9
|
-
|
10
|
-
Metrics/BlockLength:
|
11
|
-
Exclude:
|
12
|
-
- "*.gemspec"
|
13
|
-
|
14
|
-
Metrics/ClassLength:
|
15
|
-
Exclude:
|
16
|
-
- "test/**/*"
|
17
|
-
|
18
|
-
Metrics/LineLength:
|
19
|
-
Exclude:
|
20
|
-
- "*.gemspec"
|
21
|
-
|
22
|
-
Metrics/MethodLength:
|
23
|
-
Exclude:
|
24
|
-
- "test/**/*"
|
25
|
-
|
26
|
-
Naming/MemoizedInstanceVariableName:
|
27
|
-
Enabled: false
|
28
|
-
|
29
|
-
Style/BarePercentLiterals:
|
30
|
-
EnforcedStyle: percent_q
|
31
|
-
|
32
|
-
Style/ClassAndModuleChildren:
|
33
|
-
Enabled: false
|
34
|
-
|
35
|
-
Style/Documentation:
|
36
|
-
Exclude:
|
37
|
-
- 'test/**/*'
|
38
|
-
|
39
|
-
Style/DoubleNegation:
|
40
|
-
Enabled: false
|
41
|
-
|
42
|
-
Style/FrozenStringLiteralComment:
|
43
|
-
Enabled: false
|
44
|
-
|
45
|
-
Style/SpaceAroundEqualsInParameterDefault:
|
46
|
-
EnforcedStyle: no_space
|
47
|
-
|
48
|
-
Style/StringLiterals:
|
49
|
-
EnforcedStyle: double_quotes
|
50
|
-
|
51
|
-
Style/TrivialAccessors:
|
52
|
-
AllowPredicates: true
|
data/.travis.yml
DELETED
data/CHANGELOG.md
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
# Jess Change Log
|
2
|
-
|
3
|
-
All notable changes to this project will be documented in this file.
|
4
|
-
|
5
|
-
Jess is in a pre-1.0 state. This means that its APIs and behavior are subject to breaking changes without deprecation notices. Until 1.0, version numbers will follow a [Semver][]-ish `0.y.z` format, where `y` is incremented when new features or breaking changes are introduced, and `z` is incremented for lesser changes or bug fixes.
|
6
|
-
|
7
|
-
## [Unreleased][]
|
8
|
-
|
9
|
-
* Your contribution here!
|
10
|
-
|
11
|
-
## [0.9.0][] (2018-12-30)
|
12
|
-
|
13
|
-
* **Drop support for EOL Ruby versions.** Ruby >= 2.3.0 is now required.
|
14
|
-
|
15
|
-
## [0.8.0][] (2018-08-10)
|
16
|
-
|
17
|
-
* Provide more details in the exception object when an error occurs, including the full response body
|
18
|
-
|
19
|
-
## [0.7.0][] (2018-04-13)
|
20
|
-
|
21
|
-
* Roll back logging changes introduced in 0.6.0 (sorry)
|
22
|
-
|
23
|
-
## [0.6.0][] (2018-04-12)
|
24
|
-
|
25
|
-
* Log more detailed stack trace when an HTTP error occurs
|
26
|
-
|
27
|
-
## [0.5.0][] (2018-03-18)
|
28
|
-
|
29
|
-
* `to_s` now produces the same output as `inspect` for `Computer` and `MobileDevice`
|
30
|
-
|
31
|
-
## [0.4.0][] (2018-01-03)
|
32
|
-
|
33
|
-
* `extension_attributes` now responds to `_json` like other objects
|
34
|
-
|
35
|
-
## [0.3.0][] (2017-03-17)
|
36
|
-
|
37
|
-
* Add `computers.all_ids` and `mobile_devices.all_ids`
|
38
|
-
|
39
|
-
## [0.2.0][] (2017-01-21)
|
40
|
-
|
41
|
-
* Improved support for using jess in irb with `awesome_print` by implementing `to_hash` on resources
|
42
|
-
|
43
|
-
## 0.1.0 (2016-10-03)
|
44
|
-
|
45
|
-
* Initial release
|
46
|
-
|
47
|
-
[Semver]: http://semver.org
|
48
|
-
[Unreleased]: https://github.com/mattbrictson/jess/compare/v0.9.0...HEAD
|
49
|
-
[0.9.0]: https://github.com/mattbrictson/jess/compare/v0.8.0...v0.9.0
|
50
|
-
[0.8.0]: https://github.com/mattbrictson/jess/compare/v0.7.0...v0.8.0
|
51
|
-
[0.7.0]: https://github.com/mattbrictson/jess/compare/v0.6.0...v0.7.0
|
52
|
-
[0.6.0]: https://github.com/mattbrictson/jess/compare/v0.5.0...v0.6.0
|
53
|
-
[0.5.0]: https://github.com/mattbrictson/jess/compare/v0.4.0...v0.5.0
|
54
|
-
[0.4.0]: https://github.com/mattbrictson/jess/compare/v0.3.0...v0.4.0
|
55
|
-
[0.3.0]: https://github.com/mattbrictson/jess/compare/v0.2.0...v0.3.0
|
56
|
-
[0.2.0]: https://github.com/mattbrictson/jess/compare/v0.1.0...v0.2.0
|
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
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2018 Matt Brictson
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
data/Rakefile
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
2
|
-
require "chandler/tasks"
|
3
|
-
require "rake/testtask"
|
4
|
-
require "rubocop/rake_task"
|
5
|
-
|
6
|
-
Rake::TestTask.new(:test) do |t|
|
7
|
-
t.libs << "test"
|
8
|
-
t.libs << "lib"
|
9
|
-
t.test_files = FileList["test/**/*_test.rb"]
|
10
|
-
end
|
11
|
-
|
12
|
-
RuboCop::RakeTask.new
|
13
|
-
|
14
|
-
task "release:rubygem_push" => "chandler:push"
|
15
|
-
task default: %i[test rubocop]
|
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
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.3.0"
|
31
|
-
|
32
|
-
spec.add_development_dependency "awesome_print", "~> 1.7"
|
33
|
-
spec.add_development_dependency "bundler", "~> 1.13"
|
34
|
-
spec.add_development_dependency "chandler", "~> 0.3"
|
35
|
-
spec.add_development_dependency "coveralls", "~> 0.8.15"
|
36
|
-
spec.add_development_dependency "minitest", "~> 5.0"
|
37
|
-
spec.add_development_dependency "minitest-reporters", "~>1.1"
|
38
|
-
spec.add_development_dependency "rake", "~> 12.0"
|
39
|
-
spec.add_development_dependency "rubocop", "= 0.61.1"
|
40
|
-
spec.add_development_dependency "webmock", "~> 3.1"
|
41
|
-
end
|