jess 1.1.1 → 1.2.1

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: 54decc31bf64a265a967a7df044bbe091892dac4c58173886be2387f766eec9d
4
- data.tar.gz: 8e6c88f9595b6f299ed123ae6cdabd6a77259eec25f0d1af16fecd5ad423d064
3
+ metadata.gz: ade3a7d4e5e8b8c95deb6047667d5ce4fc392f3e60be6fc4bef9a0c92e484988
4
+ data.tar.gz: f400848c6a6223d51e64b9d770c9be2f8f0b4aa0ad1fd956645ab33ad692b3a4
5
5
  SHA512:
6
- metadata.gz: 12c86f76f10ca6c60f36657dd11500152f5e1b7803f2faf77c8be2a33afe45b5f130475f7fd41b428b205c6ac8e07f34a35df198d995a410d81e5f2b4978cc16
7
- data.tar.gz: 8f06f887a7e122019d01cda4a4cde3afda8554711e0c2898f3170e1c6c2ed2b8a6d19e96368fba0e207ef65304140381f84c5b41205da63b144f7e62bb56be71
6
+ metadata.gz: 4640fd34c0f54e47b2f51813556251ade80e7bde3388aca381b95f66c67abd09b28da17cf6cce17bb9e8913d7058734d5a0659687d50822750d95310fd01ace7
7
+ data.tar.gz: 1b8f058e5f355923981e34a3a7a12cb60975277e24d7acf6eabfa1b21475e4da080ffe54a2f807907170c55747ea095ea7139609dafe24cd3b2b4d8bcdf7a14b
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 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/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=main)](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.5 or newer.*
34
+ *Note that Jess requires Ruby 2.6 or newer.*
35
35
 
36
36
  ## Usage
37
37
 
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.1.1".freeze
2
+ VERSION = "1.2.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jess
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-07 00:00:00.000000000 Z
11
+ date: 2021-09-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
@@ -17,6 +17,7 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
+ - LICENSE.txt
20
21
  - README.md
21
22
  - lib/jess.rb
22
23
  - lib/jess/computer.rb
@@ -47,14 +48,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
47
48
  requirements:
48
49
  - - ">="
49
50
  - !ruby/object:Gem::Version
50
- version: 2.5.0
51
+ version: 2.6.0
51
52
  required_rubygems_version: !ruby/object:Gem::Requirement
52
53
  requirements:
53
54
  - - ">="
54
55
  - !ruby/object:Gem::Version
55
56
  version: '0'
56
57
  requirements: []
57
- rubygems_version: 3.1.4
58
+ rubygems_version: 3.2.26
58
59
  signing_key:
59
60
  specification_version: 4
60
61
  summary: Lightweight, unofficial client for the JAMF Software Server (JSS) API