wci-bash 0.20181204135618.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: acf252b607003ba087ab3d71072c2a59bf85245f
4
+ data.tar.gz: 5859506db64dce938b0fc36e5e0b6a59e1b56ed9
5
+ SHA512:
6
+ metadata.gz: 9fcd918a973f721d229af947c3a58e0d39e7b7ad0c373f75c658de4d8a39b5019da46a79b4ec5cc13f5a7a11fdd85505443749f6227365fcce8b658c1affa7f4
7
+ data.tar.gz: 90b7f45fe4b3f0fc2cee931ec4e5dee8692f49c58043714297c8e0df09a34b21d243f37926aba4192602f72af880a194ddaab7f733e6af8cca1a6a335df835cb
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 WibbleCity
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 all
13
+ 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 THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1 @@
1
+ # libs-bash
data/bin/wci-configure ADDED
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'fileutils'
4
+
5
+ this_file_dir = File.expand_path(File.dirname(__FILE__))
6
+ this_gem_dir = File.dirname(this_file_dir)
7
+ this_lib_dir = this_gem_dir + '/lib'
8
+ this_lib_entry = this_lib_dir + '/wci.bash'
9
+
10
+ symlink_path = '/usr/bin/wci.bash'
11
+
12
+ p "Configuring WCI Bash libraries - Gem directory: " + this_gem_dir
13
+
14
+ if File.symlink?(symlink_path)
15
+ FileUtils.rm(symlink_path)
16
+ end
17
+
18
+ p 'Creating symlink from: ' + symlink_path + ' to: ' + this_lib_entry
19
+ FileUtils.ln_s(this_lib_entry, symlink_path)
data/bin/wci-uninstall ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ p "Uninstalling WCI Bash libraries"
@@ -0,0 +1,6 @@
1
+
2
+ ### function include file for wci-libs-bash
3
+
4
+ function test-fish-head {
5
+ echo fish-head
6
+ }
data/lib/wci.bash ADDED
@@ -0,0 +1,14 @@
1
+
2
+ ### index include file for wci-libs-bash
3
+
4
+ export WCI_LIBS_BASH_INSTALLED='TRUE'
5
+
6
+ ENTRY_SYMLINK_PATH="$(which wci.bash)"
7
+ ENTRY_PATH="$(realpath "${ENTRY_SYMLINK_PATH}")"
8
+ WCI_LIBS_BASH_GEM_PATH_LIB="$(dirname "${ENTRY_PATH}")"
9
+ WCI_LIBS_BASH_GEM_PATH="$(dirname "${WCI_LIBS_BASH_GEM_PATH_LIB}")"
10
+ WCI_LIBS_BASH_GEM_PATH_LIB_INCLUDE_D="${WCI_LIBS_BASH_GEM_PATH_LIB}/include.d"
11
+
12
+ for LIB_FILE in `ls -1 "${WCI_LIBS_BASH_GEM_PATH_LIB_INCLUDE_D}" | grep .bash` ; do
13
+ . "${WCI_LIBS_BASH_GEM_PATH_LIB_INCLUDE_D}/${LIB_FILE}"
14
+ done
metadata ADDED
@@ -0,0 +1,61 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wci-bash
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.20181204135618.0
5
+ platform: ruby
6
+ authors:
7
+ - WCI
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-12-04 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: The WCI Bash libraries
14
+ email: contact@wibble.city
15
+ executables:
16
+ - wci-configure
17
+ - wci-uninstall
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - LICENSE
22
+ - README.md
23
+ - bin/wci-configure
24
+ - bin/wci-uninstall
25
+ - lib/include.d/functions.bash
26
+ - lib/wci.bash
27
+ homepage: http://wibble.city
28
+ licenses:
29
+ - MIT
30
+ metadata:
31
+ source_code_uri: https://github.com/wibblecity/libs-bash
32
+ post_install_message: |2+
33
+
34
+ ##################################################
35
+
36
+ Execute 'sudo wci-configure' to setup libraries
37
+
38
+ Execute 'sudo wci-uninstall' to uninstall libraries
39
+
40
+ ##################################################
41
+
42
+ rdoc_options: []
43
+ require_paths:
44
+ - lib
45
+ required_ruby_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ requirements: []
56
+ rubyforge_project:
57
+ rubygems_version: 2.5.2.3
58
+ signing_key:
59
+ specification_version: 4
60
+ summary: WCI Bash Libs
61
+ test_files: []