mosbot 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/bin/mosbot +22 -0
- metadata +47 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 1d104d6e7e40fe03bcbe62422d2cc9d2260a1281
|
|
4
|
+
data.tar.gz: f1f1e6b53042fb2995c2f69a95c4121bfd44e86f
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 6604538cec7b171c69a930d9aae32a3001e67301011b37a66917536392c955ceb687be4d2e94f9298e53e513dba8cb2717f7710250e556a81a26fd691b8626fe
|
|
7
|
+
data.tar.gz: 58178de3f3dba1a0d44d92f505c5097d46a560272e71b51f588d8fe42f442a985f726ceeaf35c37a87eb33191546aa0e67eb2d0d85098edb5ad2f60b39156dcb
|
data/bin/mosbot
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
#options
|
|
4
|
+
type = ARGV.shift || "help"
|
|
5
|
+
id = ARGV.shift
|
|
6
|
+
|
|
7
|
+
case type
|
|
8
|
+
when "doc"
|
|
9
|
+
mosurl = "https://support.oracle.com/epmos/faces/DocumentDisplay?id=" + id
|
|
10
|
+
when "bug"
|
|
11
|
+
mosurl = "https://support.oracle.com/epmos/faces/BugMatrix?id=" + id
|
|
12
|
+
when "patch"
|
|
13
|
+
mosurl = "https://support.oracle.com/epmos/faces/PatchResultsNDetails?patchId=" + id
|
|
14
|
+
when "idea"
|
|
15
|
+
mosurl = "https://community.oracle.com/ideas/" + id
|
|
16
|
+
when "help"
|
|
17
|
+
mosurl = "TODO: Generate Help Screen"
|
|
18
|
+
else
|
|
19
|
+
mosurl = "https://support.oracle.com/epmos/faces/DocumentDisplay?id=" + type
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
puts mosurl
|
metadata
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: mosbot
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Dan Iverson
|
|
8
|
+
- Kyle Benson
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: bin
|
|
11
|
+
cert_chain: []
|
|
12
|
+
date: 2018-08-31 00:00:00.000000000 Z
|
|
13
|
+
dependencies: []
|
|
14
|
+
description: Use mosbot to generate URLs for MOS Docs, Bugs, Ideas and Patches.
|
|
15
|
+
email:
|
|
16
|
+
- dan@psadmin.io
|
|
17
|
+
executables:
|
|
18
|
+
- mosbot
|
|
19
|
+
extensions: []
|
|
20
|
+
extra_rdoc_files: []
|
|
21
|
+
files:
|
|
22
|
+
- bin/mosbot
|
|
23
|
+
homepage: https://github.com/psadmin-io/mosbot-cli
|
|
24
|
+
licenses:
|
|
25
|
+
- MIT
|
|
26
|
+
metadata: {}
|
|
27
|
+
post_install_message:
|
|
28
|
+
rdoc_options: []
|
|
29
|
+
require_paths:
|
|
30
|
+
- lib
|
|
31
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
32
|
+
requirements:
|
|
33
|
+
- - ">="
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: '0'
|
|
36
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
41
|
+
requirements: []
|
|
42
|
+
rubyforge_project:
|
|
43
|
+
rubygems_version: 2.6.12
|
|
44
|
+
signing_key:
|
|
45
|
+
specification_version: 4
|
|
46
|
+
summary: Generates MOS URLs based on a type and number
|
|
47
|
+
test_files: []
|