Lane-Reporter 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 +4 -4
- data/bin/{Lane.rb → Lane} +3 -1
- data/data/lane_config.yaml +4 -0
- data/lib/Lane/connection.rb +0 -1
- data/lib/Lane/messages.rb +12 -4
- data/lib/Lane/version.rb +1 -1
- metadata +10 -29
- data/.gitignore +0 -13
- data/.ruby-version +0 -1
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -4
- data/Gemfile.lock +0 -49
- data/Lane-Reporter-0.1.0.gem +0 -0
- data/Lane.gemspec +0 -42
- data/Rakefile +0 -7
- data/vendor/cache/domain_name-0.5.20180417.gem +0 -0
- data/vendor/cache/http-cookie-1.0.3.gem +0 -0
- data/vendor/cache/immutable-struct-2.4.0.gem +0 -0
- data/vendor/cache/mime-types-3.2.2.gem +0 -0
- data/vendor/cache/mime-types-data-3.2019.0331.gem +0 -0
- data/vendor/cache/net-ldap-0.16.1.gem +0 -0
- data/vendor/cache/netrc-0.11.0.gem +0 -0
- data/vendor/cache/plist-3.5.0.gem +0 -0
- data/vendor/cache/rake-10.5.0.gem +0 -0
- data/vendor/cache/recursive-open-struct-1.1.0.gem +0 -0
- data/vendor/cache/rest-client-2.0.2.gem +0 -0
- data/vendor/cache/ruby-jss-1.0.2.gem +0 -0
- data/vendor/cache/ruby-mysql-2.9.14.gem +0 -0
- data/vendor/cache/unf-0.1.4.gem +0 -0
- data/vendor/cache/unf_ext-0.0.7.5.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 453aee22bbe41b6ca96a73cc040ab5f5b7a18a1ea9384a401506370f144da86c
|
4
|
+
data.tar.gz: bd1fbb146c8af9dcc800c8c3f78993da929ecf1b9df3229fcad29136716d9a69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 268f827f3dfd6c44817f08b38c54d1d9fbfff6f957aeb9e6c614caea62980b3294d6f64504340812eba99e6b4a533258eca8ad9ccb87921c750c3f2cb281d7f4
|
7
|
+
data.tar.gz: 5c365deebdec9ad60da8db405961d2c97098f4184e33d033339a52113fc5c01caf006606b93c11e7a79242a53358b106615e7100b8c3348c98bd4b8e8b82c85a
|
data/bin/{Lane.rb → Lane}
RENAMED
data/lib/Lane/connection.rb
CHANGED
data/lib/Lane/messages.rb
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module Lane
|
4
|
-
USAGE = "
|
4
|
+
USAGE = "
|
5
|
+
|
6
|
+
≈≈≈ Lane, a real world reporter for JSS. ≈≈≈
|
5
7
|
|
6
8
|
Usage: lane --advanced_search | -a ID [-separator | -s char] [-output | -o output path]
|
7
9
|
|
@@ -12,13 +14,19 @@ module Lane
|
|
12
14
|
Character that will be used as separator on the output file. Defaults to ';'
|
13
15
|
|
14
16
|
-o path, --output path:
|
15
|
-
Path for the output of the processed report. Defaults to /Users/Shared/lane_report_YY-MM-DD.txt
|
17
|
+
Path for the output of the processed report. Defaults to /Users/Shared/lane_report_YY-MM-DD.txt
|
18
|
+
|
19
|
+
"
|
16
20
|
|
17
21
|
|
18
|
-
CONFIG_ERROR = "
|
22
|
+
CONFIG_ERROR = "
|
23
|
+
|
24
|
+
≈≈≈ Lane, a real world reporter for JSS. ≈≈≈
|
19
25
|
|
20
26
|
[ERROR] The configuration file is missing in /etc/lane.conf
|
21
27
|
|
22
28
|
You can copy a sample file from the data folder inside the installation path of Lane and
|
23
|
-
fill the JSS URL, User and Password.
|
29
|
+
fill the JSS URL, User and Password.
|
30
|
+
|
31
|
+
"
|
24
32
|
end
|
data/lib/Lane/version.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Lane-Reporter
|
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
|
- Bearzooka
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2019-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
@@ -69,25 +69,21 @@ dependencies:
|
|
69
69
|
description:
|
70
70
|
email:
|
71
71
|
- bprieto@gmail.com
|
72
|
-
executables:
|
72
|
+
executables:
|
73
|
+
- Lane
|
73
74
|
extensions: []
|
74
|
-
extra_rdoc_files:
|
75
|
+
extra_rdoc_files:
|
76
|
+
- README.md
|
77
|
+
- LICENSE.txt
|
75
78
|
files:
|
76
|
-
- ".gitignore"
|
77
|
-
- ".ruby-version"
|
78
|
-
- CODE_OF_CONDUCT.md
|
79
|
-
- Gemfile
|
80
|
-
- Gemfile.lock
|
81
79
|
- LICENSE.txt
|
82
|
-
- Lane-Reporter-0.1.0.gem
|
83
|
-
- Lane.gemspec
|
84
80
|
- README.md
|
85
|
-
-
|
86
|
-
- bin/Lane.rb
|
81
|
+
- bin/Lane
|
87
82
|
- bin/console
|
88
83
|
- bin/setup
|
89
84
|
- data/lane.conf
|
90
85
|
- data/lane.conf.example
|
86
|
+
- data/lane_config.yaml
|
91
87
|
- lib/Lane.rb
|
92
88
|
- lib/Lane/config.rb
|
93
89
|
- lib/Lane/connection.rb
|
@@ -95,21 +91,6 @@ files:
|
|
95
91
|
- lib/Lane/messages.rb
|
96
92
|
- lib/Lane/report.rb
|
97
93
|
- lib/Lane/version.rb
|
98
|
-
- vendor/cache/domain_name-0.5.20180417.gem
|
99
|
-
- vendor/cache/http-cookie-1.0.3.gem
|
100
|
-
- vendor/cache/immutable-struct-2.4.0.gem
|
101
|
-
- vendor/cache/mime-types-3.2.2.gem
|
102
|
-
- vendor/cache/mime-types-data-3.2019.0331.gem
|
103
|
-
- vendor/cache/net-ldap-0.16.1.gem
|
104
|
-
- vendor/cache/netrc-0.11.0.gem
|
105
|
-
- vendor/cache/plist-3.5.0.gem
|
106
|
-
- vendor/cache/rake-10.5.0.gem
|
107
|
-
- vendor/cache/recursive-open-struct-1.1.0.gem
|
108
|
-
- vendor/cache/rest-client-2.0.2.gem
|
109
|
-
- vendor/cache/ruby-jss-1.0.2.gem
|
110
|
-
- vendor/cache/ruby-mysql-2.9.14.gem
|
111
|
-
- vendor/cache/unf-0.1.4.gem
|
112
|
-
- vendor/cache/unf_ext-0.0.7.5.gem
|
113
94
|
homepage: https://github.com/Bearzooka/Lane
|
114
95
|
licenses:
|
115
96
|
- MIT
|
@@ -136,5 +117,5 @@ requirements: []
|
|
136
117
|
rubygems_version: 3.0.2
|
137
118
|
signing_key:
|
138
119
|
specification_version: 4
|
139
|
-
summary: Lane is a real-life reporter for JSS.
|
120
|
+
summary: "≈≈≈ Lane is a real-life reporter for JSS. ≈≈≈"
|
140
121
|
test_files: []
|
data/.gitignore
DELETED
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.5.1
|
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 bernardo.prieto.curiel@zalando.de. 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/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
Lane-Reporter (0.1.0)
|
5
|
-
ruby-jss (~> 1.0.2)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
domain_name (0.5.20180417)
|
11
|
-
unf (>= 0.0.5, < 1.0.0)
|
12
|
-
http-cookie (1.0.3)
|
13
|
-
domain_name (~> 0.5)
|
14
|
-
immutable-struct (2.4.0)
|
15
|
-
mime-types (3.2.2)
|
16
|
-
mime-types-data (~> 3.2015)
|
17
|
-
mime-types-data (3.2019.0331)
|
18
|
-
net-ldap (0.16.1)
|
19
|
-
netrc (0.11.0)
|
20
|
-
plist (3.5.0)
|
21
|
-
rake (10.5.0)
|
22
|
-
recursive-open-struct (1.1.0)
|
23
|
-
rest-client (2.0.2)
|
24
|
-
http-cookie (>= 1.0.2, < 2.0)
|
25
|
-
mime-types (>= 1.16, < 4.0)
|
26
|
-
netrc (~> 0.8)
|
27
|
-
ruby-jss (1.0.2)
|
28
|
-
immutable-struct (~> 2.3, >= 2.3.0)
|
29
|
-
net-ldap (~> 0.16)
|
30
|
-
plist (~> 3.1)
|
31
|
-
recursive-open-struct (~> 1.1, >= 1.1.0)
|
32
|
-
rest-client (>= 1.8.0, < 2.1)
|
33
|
-
ruby-mysql (~> 2.9, >= 2.9.12)
|
34
|
-
ruby-mysql (2.9.14)
|
35
|
-
unf (0.1.4)
|
36
|
-
unf_ext
|
37
|
-
unf_ext (0.0.7.5)
|
38
|
-
|
39
|
-
PLATFORMS
|
40
|
-
ruby
|
41
|
-
|
42
|
-
DEPENDENCIES
|
43
|
-
Lane-Reporter!
|
44
|
-
bundler (~> 2.0)
|
45
|
-
rake (~> 10.0)
|
46
|
-
ruby-jss (~> 1.0.2)
|
47
|
-
|
48
|
-
BUNDLED WITH
|
49
|
-
2.0.1
|
data/Lane-Reporter-0.1.0.gem
DELETED
Binary file
|
data/Lane.gemspec
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
|
2
|
-
lib = File.expand_path("../lib", __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require "Lane/version"
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "Lane-Reporter"
|
8
|
-
spec.version = Lane::VERSION
|
9
|
-
spec.authors = ["Bearzooka"]
|
10
|
-
spec.email = ["bprieto@gmail.com"]
|
11
|
-
|
12
|
-
spec.summary = "Lane is a real-life reporter for JSS."
|
13
|
-
spec.homepage = "https://github.com/Bearzooka/Lane"
|
14
|
-
spec.license = "MIT"
|
15
|
-
|
16
|
-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
17
|
-
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
18
|
-
if spec.respond_to?(:metadata)
|
19
|
-
spec.metadata["allowed_push_host"] = "https://rubygems.org/"
|
20
|
-
|
21
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
22
|
-
spec.metadata["source_code_uri"] = "https://github.com/Bearzooka/Lane"
|
23
|
-
spec.metadata["changelog_uri"] = "https://github.com/Bearzooka/Lane"
|
24
|
-
else
|
25
|
-
raise "RubyGems 2.0 or newer is required to protect against " \
|
26
|
-
"public gem pushes."
|
27
|
-
end
|
28
|
-
|
29
|
-
# Specify which files should be added to the gem when it is released.
|
30
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
31
|
-
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
32
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
33
|
-
end
|
34
|
-
spec.bindir = "exe"
|
35
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
36
|
-
spec.require_paths = ["lib"]
|
37
|
-
|
38
|
-
spec.add_development_dependency "bundler", "~> 2.0"
|
39
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
40
|
-
spec.add_development_dependency "ruby-jss", "~> 1.0.2"
|
41
|
-
spec.add_runtime_dependency "ruby-jss", "~> 1.0.2"
|
42
|
-
end
|
data/Rakefile
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/cache/unf-0.1.4.gem
DELETED
Binary file
|
Binary file
|